METHOD, APPARATUS AND SYSTEM FOR LAMP CONTROL OF VEHICLE

Information

  • Patent Application
  • 20230226969
  • Publication Number
    20230226969
  • Date Filed
    June 10, 2021
    2 years ago
  • Date Published
    July 20, 2023
    9 months ago
Abstract
A method, an apparatus and a system for lamp control of vehicle, the method includes: receiving, sent by a terminal device, position information of the terminal device, and obtaining position information of the vehicle; calculating a distance between the terminal device and the vehicle according to the position information of the terminal device and the position information of the vehicle; generating, when the distance is less than or equal to a preset distance, first information of the terminal device with respect to the vehicle, and turning on an outer lamp of the vehicle corresponding to a location of the terminal device according to the first information.
Description
FIELD OF TECHNOLOGY

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.


BACKGROUND

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.


SUMMARY

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:

  • receiving, from a terminal device, position information of the terminal device, and obtaining position information of the vehicle;
  • determining a distance between the terminal device and the vehicle according to the position information of the terminal device and the position information of the vehicle; and
  • generating, when the distance is shorter than or equal to a preset distance threshold, first information of the terminal device with respect to the vehicle, and turning on an outer lamp of the vehicle corresponding to a location of the terminal device according to the first information.


Furthermore, the generating the first information of the terminal device with respect to the vehicle includes:

  • generating second orientation information of the terminal device with respect to the vehicle according to the position information of the terminal device;
  • generating third orientation information of a vehicle head orientation of the vehicle according to the position information of the vehicle; and
  • generating first orientation information of the terminal device with respect to the vehicle head orientation of the vehicle according to the second orientation information and the third orientation information.


Furthermore, said turning on the outer lamp of the vehicle corresponding to the location of the terminal device according to the first information includes:

  • turning on a front-left-outer-lamp of the vehicle when the first orientation information indicates that the terminal device is located at a front left position with respect to the vehicle head orientation; or
  • turning on a front-right-outer-lamp of the vehicle when the first orientation information indicates that the terminal device is located at a front right position with respect to the vehicle head orientation; or
  • turning on a rear-left-outer-lamp of the vehicle when the first orientation information indicates that the terminal device is located at a rear left position with respect to the vehicle head orientation; or turning on a rear-right-outer-lamp of the vehicle when the first orientation information indicates that the terminal device is located at a rear right position with respect to the vehicle head orientation.


Furthermore, said generating the first information of the terminal device with respect to the vehicle comprises:

  • generating third orientation information of the vehicle head orientation of the vehicle according to the position information of the vehicle;
  • determining position information of a vehicle head of the vehicle and position information of a parking spot of the vehicle according to the third orientation information and the position information of the vehicle;
  • determining a first distance between the terminal device and the vehicle head according to the position information of the terminal device and the position information of the vehicle head of the vehicle; and
  • determining a second distance between the terminal device and a vehicle tail according to the position information of the terminal device and the position information of the parking spot of the vehicle, where the first distance and the second distance are used as the first information.


Furthermore, said turning on the outer lamp of the vehicle corresponding to the location of the terminal device according to the first information includes:

  • turning on an outer lamp of the vehicle corresponding to the vehicle head when the first distance is shorter than the second distance; or
  • turning on an outer lamp of the vehicle corresponding to the vehicle tail when the first distance is greater than the second distance.


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.





BRIEF DESCRIPTION

Some of the embodiments will be described in detail, with references to the following Figures, wherein like designations denote like members, wherein:



FIG. 1 illustrates a schematic diagram of an implementation process of a method for a lamp control of a vehicle according to one embodiment of the present disclosure;



FIG. 2 illustrates a schematic diagram of an implementation process of the method for the lamp control of the vehicle according to another embodiment of the present disclosure;



FIG. 3 illustrates a schematic diagram of a positional relationship between a terminal device and the vehicle provided by one embodiment of the present disclosure; and



FIG. 4 illustrates a schematic block diagram of a vehicle controller according to one embodiment of the present disclosure.





DETAILED DESCRIPTION

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:



FIG. 1 illustrates a schematic diagram of an implementation process of a method for a lamp control of a vehicle according to one embodiment of the present disclosure, which is described in detail below. The method for the lamp control of the vehicle provided in the embodiments of the present disclosure may be applied to a side of a vehicle controller.


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 FIG. 2, before the step of receiving the position information of the terminal device sent from the terminal device in the step S101, the method may further include: receiving information for turning on the outer lamp of the vehicle sent from the terminal device and entering a vehicle entry mode based on light guidance. In some embodiments, the outer lamp of the vehicle does not include a high beam of the vehicle.


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 FIG. 2, before the step S103, the method may further include: whether the distance is shorter than or equal to a preset distance threshold is detected. The step 103 is performed if the distance is shorter than or equal to a preset distance threshold; alternatively, the step S101 and the subsequent steps are continued to be performed when the distance is greater than the preset distance threshold, so that when the mobile terminal moves to or within the preset distance threshold, the step S103 may be continued to be performed.


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 FIG. 3, a plane rectangular coordinate system is established by taking the center of the vehicle as an origin, taking the due east direction as the horizontal coordinate axis and taking the due north direction as the longitudinal coordinate axis. Then, the vehicle head and the vehicle tail of the vehicle are taken as two points, and the second straight line is obtained by connecting the two points, so that the third orientation information of the vehicle head with respect to the reference position of the vehicle can be obtained. For example, the included angle between the vehicle head and the X axis is 100°. An included angle between the first straight line and the Y-axis can also be obtained. The third orientation information of the vehicle head orientation is described with the X-axis herein.


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 FIG. 2, after the position information of the terminal device is received from the terminal device, and before the first orientation information of the terminal device with respect to the vehicle head orientation of the vehicle is generated, the method further includes: second orientation information of the terminal device with respect to the vehicle is generated according to the position information of the terminal device. The second orientation information may be the first included angle between the first straight line formed by the connection line between the terminal device and the vehicle, and the horizontal coordinate axis or the longitudinal coordinate axis in the coordinate system established by taking the vehicle as the center. In some embodiments, as shown in FIG. 3, the plane rectangular coordinate system is established by taking the center of the vehicle as an origin, taking the due east direction as the transverse coordinate axis, and taking the due north direction as the longitudinal coordinate axis, the vehicle and the terminal device are taken as two points, and the first straight line is obtained by connecting the two points. In this way, an included angle of 240 degrees between the terminal device and the X axis can be obtained. An included angle between the first straight line and the Y-axis can also be obtained. The second orientation information are described with the X-axis herein.


As shown in FIG. 2, after said obtaining the position information of the vehicle, and before said generating the first orientation information of the terminal device with respect to the vehicle head orientation of the vehicle, the method may further include: third orientation information of the vehicle head orientation of the vehicle is generated according to the position information of the vehicle. The generation of the third orientation information of the vehicle head orientation is not repeatedly described here.


As shown in FIG. 2, said generating the first orientation information of the terminal device with respect to the vehicle head orientation of the vehicle may include:


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 FIG. 3, the included angle of 140 degrees between the first straight line and the second straight line can be obtained, so that the terminal device is at the rear of the vehicle. It needs to be noted that, when the relative angle is a positive value, it indicates that the terminal device is located at the left side of the vehicle head. When the relative angle is a negative value, it indicates that the terminal device is located at the right side of the vehicle head. In this condition, the first orientation information of the terminal device with respect to the vehicle head is the rear left direction.


As shown in FIG. 2, said turning on the outer lamp of the vehicle corresponding to the location of the terminal device according to the first information may include:

  • a front-left-outer-lamp of the vehicle is turned on when the first orientation information indicates that the terminal device is located at a front left position with respect to the vehicle head orientation;
  • a front-right-outer-lamp of the vehicle is turned on when the first orientation information indicates that the terminal device is located at a front right position with respect to the vehicle head orientation;
  • a rear-left-outer-lamp of the vehicle is turned on when the first orientation information indicates that the terminal device is located at a rear left position with respect to the vehicle head orientation;
  • a rear-right-outer-lamp of the vehicle is turned on when the first orientation information indicates that the terminal device is located at a rear right position with respect to the vehicle head orientation.


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 FIG. 2, after the outer lamps of the vehicle corresponding to the location of the terminal device is turned on according to the first information, the method may further include:

  • whether the vehicle door is turned on is directed;
  • when the vehicle door is turned on, the turned-on outer lamp of the vehicle is turned off, and the vehicle entry mode based on light guidance is exited, and the process is terminated.


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.



FIG. 4 illustrates a schematic diagram of a terminal device according to one embodiment of the present disclosure. As shown in FIG. 4, the vehicle controller 600 in this embodiment includes a processor 601, a memory 602, and a computer program 603 a computer program product, comprising a computer readable hardware storage device having computer readable program code stored therein, said program code executable by a processor of a computer system to implement a method (e.g., a program for controlling the outer lamp of the vehicle) stored in the memory 602 and executable on the processor 601. When the computer program 603 is executed by the processor 601, the steps (e.g., the steps S101-S103 shown in FIG. 1, or the steps shown in FIG. 2) in the embodiments of the method for the lamp control of the vehicle are implemented.


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 FIG. 4 is only one example of the vehicle controller 600, but should not be constituted as limitation to the vehicle controller 600, more or less components than the components shown in FIG. 4 may be included. As an alternative, some components or different components may be combined; for example, the vehicle controller 600 can also include an input and output device, a network access device, a bus, etc.


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.

Claims
  • 1. A method for a lamp control of a vehicle, implemented by a vehicle controller, the method comprising: receiving, from a terminal device, position information of the terminal device, and obtaining position information of the vehicle;determining a distance between the terminal device and the vehicle according to the position information of the terminal device and the position information of the vehicle; andgenerating, when the distance is shorter than or equal to a preset distance threshold, first information of the terminal device with respect to the vehicle, and turning on an outer lamp of the vehicle corresponding to a location of the terminal device according to the first information.
  • 2. The method according to claim 1, wherein the generating the first information of the terminal device with respect to the vehicle comprises: generating second orientation information of the terminal device with respect to the vehicle according to the position information of the terminal device;generating third orientation information of a vehicle head orientation of the vehicle according to the position information of the vehicle; andgenerating first orientation information of the terminal device with respect to the vehicle head orientation of the vehicle according to the second orientation information and the third orientation information.
  • 3. The method according to claim 2, wherein the turning on the outer lamp of the vehicle corresponding to the location of the terminal device according to the first information comprises: turning on a front-left outer lamp of the vehicle when the first orientation information indicates that the terminal device is located at a front left position with respect to the vehicle head orientation; orturning on a front-right-outer-lamp of the vehicle when the first orientation information indicates that the terminal device is located at a front-right position with respect to the vehicle head orientation; orturning on a rear-left outer lamp of the vehicle when the first orientation information indicates that the terminal device is located at a rear-left position with respect to the vehicle head orientation; orturning on a rear-right-outer-lamp of the vehicle when the first orientation information indicates that the terminal device is located at a rear-right position with respect to the vehicle head orientation.
  • 4. The method according to claim 1, wherein the generating the first information of the terminal device with respect to the vehicle comprises: generating third orientation information of the vehicle head orientation of the vehicle according to the position information of the vehicle;determining position information of a vehicle head of the vehicle and position information of a parking spot of the vehicle according to the third orientation information and the position information of the vehicle;determining a first distance between the terminal device and the vehicle head according to the position information of the terminal device and the position information of the vehicle head of the vehicle; anddetermining a second distance between the terminal device and a vehicle tail according to the position information of the terminal device and the position information of the parking spot of the vehicle, wherein the first distance and the second distance are used as the first information.
  • 5. The method according to claim 4, wherein the turning on the outer lamp of the vehicle corresponding to the location of the terminal device according to the first information comprises: turning on an outer lamp of the vehicle corresponding to the vehicle head when the first distance is shorter than the second distance; orturning on an outer lamp of the vehicle corresponding to the vehicle tail when the first distance is greater than the second distance.
  • 6. The method according to claim 1, further comprising: receiving information of turning on the outer lamp of the vehicle from the terminal device to enter a vehicle entry mode based on light guidance.
  • 7. The method according to claim 6, wherein after the turning on the outer lamp of the vehicle corresponding to the location of the terminal device according to the first information, the method further comprising: detecting whether a vehicle door is opened; andturning 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.
  • 8. The method according to claim 2, wherein generating the first orientation information of the terminal device with respect to the vehicle head orientation of the vehicle comprises: determining a difference value between a first included angle and a second included angle according to the second orientation information and the third orientation information, and using the difference value as the first orientation information;wherein the second orientation information is the first included angle between a first straight line formed by a connection line between the terminal device and the vehicle and with a horizontal coordinate axis or a longitudinal coordinate axis in a coordinate system established by taking the vehicle as an origin, the third orientation information is the second included angle between a second straight line formed by a connecting line between the vehicle head and the vehicle tail, and the horizontal coordinate axis or the longitudinal coordinate axis in the coordinate system established by taking the vehicle as the origin.
  • 9. (canceled)
  • 10. (canceled)
  • 11. (canceled)
  • 12. (canceled)
  • 13. (canceled)
  • 14. A vehicle controller, comprising: a processor, a memory and a computer program stored in the memory and executable by the processor;the processor is configured to, when executing the computer program, implement steps of a method for a lamp control of a vehicle, comprising: receiving, from a terminal device, position information of the terminal device, and obtaining position information of the vehicle;determining a distance between the terminal device and the vehicle according to the position information of the terminal device and the position information of the vehicle; andgenerating, when the distance is shorter when the distance is shorter than or equal to a preset distance threshold, first information of the terminal device with respect to the vehicle, and turning on an outer lamp of the vehicle corresponding to a location of the terminal device according to the first information.
  • 15. A non-transitory computer-readable storage medium, which stores a computer program, that, when executed by a processor, causes the processor to implement steps of the method for the lamp control of the vehicle according to claim 1.
  • 16. The vehicle controller according to claim 14, wherein the processor is configured to implement the step of generating the first information of the terminal device with respect to the vehicle by: generating second orientation information of the terminal device with respect to the vehicle according to the position information of the terminal device;generating third orientation information of a vehicle head orientation of the vehicle according to the position information of the vehicle; andgenerating first orientation information of the terminal device with respect to the vehicle head orientation of the vehicle according to the second orientation information and the third orientation information.
  • 17. The vehicle controller according to claim 16, wherein the processor is configured to implement the step of turning on the outer lamp of the vehicle corresponding to the location of the terminal device according to the first information by: turning on a front-left outer lamp of the vehicle when the first orientation information indicates that the terminal device is located at a front-left position with respect to the vehicle head orientation; orturning on a front-right outer lamp of the vehicle when the first orientation information indicates that the terminal device is located at a front-right position with respect to the vehicle head orientation; orturning on a rear-left outer lamp of the vehicle when the first orientation information indicates that the terminal device is located at a rear-left position with respect to the vehicle head orientation; orturning on a rear-right outer lamp of the vehicle when the first orientation information indicates that the terminal device is located at a rear-right position with respect to the vehicle head orientation.
  • 18. The vehicle controller according to claim 14, wherein the processor is configured to implement the step of generating the first information of the terminal device with respect to the vehicle by: generating third orientation information of the vehicle head orientation of the vehicle according to the position information of the vehicle;determining position information of a vehicle head of the vehicle and position information of a parking spot of the vehicle according to the third orientation information and the position information of the vehicle;determining a first distance between the terminal device and the vehicle head according to the position information of the terminal device and the position information of the vehicle head of the vehicle; anddetermining a second distance between the terminal device and a vehicle tail according to the position information of the terminal device and the position information of the parking spot of the vehicle, wherein the first distance and the second distance are used as the first information.
  • 19. The vehicle controller according to claim 18, wherein the processor is configured to implement the step of turning on the outer lamp of the vehicle corresponding to the location of the terminal device according to the first information by: turning on an outer lamp of the vehicle corresponding to the vehicle head when the first distance is shorter than the second distance; orturning on an outer lamp of the vehicle corresponding to the vehicle tail when the first distance is greater than the second distance.
  • 20. The vehicle controller according to claim 14, wherein the processor is further configured to implement a step of receiving information of turning on the outer lamp of the vehicle from the terminal device to enter a vehicle entry mode based on light guidance.
  • 21. The vehicle controller according to claim 20, wherein the processor is further configured to implement steps of 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, after the step of turning on the outer lamp of the vehicle corresponding to the location of the terminal device according to the first information.
  • 22. The vehicle controller according to claim 16, wherein the processor is configured to implement the step of generating the first orientation information of the terminal device with respect to the vehicle head orientation of the vehicle by determining a difference value between a first included angle and a second included angle according to the second orientation information and the third orientation information, and using the difference value as the first orientation information; wherein the second orientation information is the first included angle between a first straight line formed by a connection line between the terminal device and the vehicle and with a horizontal coordinate axis or a longitudinal coordinate axis in a coordinate system established by taking the vehicle as an origin, the third orientation information is the second included angle between a second straight line formed by a connecting line between the vehicle head and the vehicle tail, and the horizontal coordinate axis or the longitudinal coordinate axis in the coordinate system established by taking the vehicle as the origin.
Priority Claims (1)
Number Date Country Kind
202010530614.6 Jun 2020 CN national
CROSS-REFERENCE TO RELATED APPLICATIONS

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.

PCT Information
Filing Document Filing Date Country Kind
PCT/CN2021/099466 6/10/2021 WO