Search

CN-121985451-A - Vehicle light control method, device, controller and readable storage medium

CN121985451ACN 121985451 ACN121985451 ACN 121985451ACN-121985451-A

Abstract

The application relates to a vehicle light control method, a device, a controller and a storage medium. The method comprises the steps of obtaining the mass center position of a vehicle performance site and the target performance position of any performance vehicle, obtaining the light sequence index of each performance vehicle and the special effect granularity of each performance vehicle according to each target performance position and the mass center position, constructing light control information of each performance vehicle according to each light sequence index and each special effect granularity, constructing control commands of each performance vehicle according to each light control information and each target performance position, and sending each control command to each performance vehicle to instruct each performance vehicle to execute light performance according to the special effect granularity and the light sequence index after each performance vehicle reaches each target performance position. By adopting the method, the light performance can be executed according to the special effect granularity and the light sequence index, so that the intelligent degree of the light performance is improved.

Inventors

  • Zhang Erlian
  • Huo Minghu
  • HU JUN
  • LUO XIXI
  • CHEN QUANYAO

Assignees

  • 重庆赛力斯凤凰智创科技有限公司

Dates

Publication Date
20260505
Application Date
20260316

Claims (10)

  1. 1. A vehicle light control method, applied to a central controller, comprising: Acquiring the mass center position of a vehicle performance site and the target performance position of any performance vehicle; According to the target performance position and the mass center position, acquiring a lamplight sequence index of each performance vehicle and special effect granularity of each performance vehicle; Constructing light control information of each performance vehicle according to each light sequence index and each special effect granularity, and constructing control commands of each performance vehicle according to each light control information and each target performance position; And sending the control commands to the performance vehicles to instruct the performance vehicles to execute the light performance according to the special effect granularity and the light sequence index after reaching the target performance positions.
  2. 2. The method of claim 1, wherein the obtaining the centroid position of the vehicle performance venue comprises: acquiring the field shape type of the vehicle performance field; under the condition that the field shape type represents that the vehicle performance field is a convex polygon field, a plurality of field boundary coordinates of the vehicle performance field are obtained, and the field area of the vehicle performance field is obtained according to each field boundary coordinate; And obtaining the mass center position of the vehicle performance site according to the site boundary coordinates and the site area.
  3. 3. The method of claim 2, wherein after the obtaining the field shape type of the vehicle performance field, further comprising: Under the condition that the field shape type represents that the vehicle performance field is a concave polygon field, performing triangular decomposition on the vehicle performance field to obtain a plurality of performance field subareas; acquiring the area of each performance field subarea and the sub mass center position of each performance field subarea; And weighting the sub-centroid positions by utilizing the area of each region to obtain the centroid position of the vehicle performance site.
  4. 4. The method of claim 1, wherein the light sequence index is obtained by: Acquiring the relative direction between each performance vehicle and the centroid position according to each target performance position and the centroid position; Acquiring site partition information of each performing vehicle according to the relative direction; and acquiring a lamplight index sequence corresponding to each site partition information from a pre-stored mapping relation, and taking the lamplight index sequence as a lamplight sequence index of each performance vehicle.
  5. 5. The method according to claim 1, wherein the special effect granularity is obtained by: according to the target performance positions and the mass center positions, obtaining the distances between the performance vehicles and the mass center positions; determining that the special effect granularity of the performing vehicle is a first special effect granularity under the condition that the distance is smaller than a preset distance threshold; and determining that the special effect granularity of the performing vehicle is the second special effect granularity under the condition that the distance is larger than or equal to the preset distance threshold, wherein the fine degree of the special effect pattern represented by the first special effect granularity is larger than that of the special effect pattern represented by the second special effect granularity.
  6. 6. The method of any one of claims 1 to 5, wherein said sending each of said control commands to each of said show vehicles to instruct each of said show vehicles to perform a light show at said special effects granularity and light sequence index after reaching each target show location, comprises: The performance vehicles are used for controlling to reach a target performance position through an automatic driving system, and sending a position reaching signal to the central controller after the performance vehicles reach the target performance position; and sending light show signals to the show vehicles under the condition that the position arrival signals returned by the show vehicles are detected, wherein the light show signals are used for indicating the show vehicles to execute light show according to the special effect granularity and the light sequence index.
  7. 7. The method of claim 6 wherein each of the location arrival signals carries a vehicle location of each of the show vehicles, and wherein the transmitting a light show signal to each of the show vehicles if a location arrival signal returned by each of the show vehicles is detected comprises: Under the condition that a position arrival signal returned by each performing vehicle is detected, carrying out position verification according to the vehicle position carried in each position arrival signal, and carrying out signal integrity verification on each performing vehicle; Under the condition that the position verification and the signal integrity verification of any performance vehicle pass, a PTP time stamp is obtained, the light performance execution time is obtained according to the PTP time stamp, and a light performance signal is constructed and sent according to the light performance execution time; and sending a signal retransmission instruction to the show vehicle to instruct the show vehicle to re-upload the position arrival signal under the condition that the position check or the signal integrity check of any show vehicle is not passed.
  8. 8. A vehicle light control apparatus for use with a central controller, said apparatus comprising: the performance information acquisition module is used for acquiring the mass center position of the vehicle performance field and the target performance position of any performance vehicle; The light control acquisition module is used for acquiring light sequence indexes of the performance vehicles and special effect granularity of the performance vehicles according to the target performance positions and the mass center positions; The control command construction module is used for constructing light control information of each performance vehicle according to each light sequence index and each special effect granularity, and constructing control commands of each performance vehicle according to each light control information and each target performance position; And the light show execution module is used for sending each control command to each show vehicle so as to instruct each show vehicle to execute light show according to the special effect granularity and the light sequence index after reaching each target show position.
  9. 9. A controller comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 7 when the computer program is executed.
  10. 10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.

Description

Vehicle light control method, device, controller and readable storage medium Technical Field The present application relates to the field of vehicle technology, and in particular, to a vehicle light control method, device, controller, computer readable storage medium and computer program product. Background With the development of vehicle technology, a technology for performing light show by using vehicle formation has appeared, which can make the formed vehicles reach a specific position and then control each vehicle to perform light control at the specific position, thereby performing light show by vehicle formation. However, this implementation cannot better complete the presentation of the light show pattern, so the current way of completing the light show by vehicle formation is not intelligent enough. Disclosure of Invention In view of the foregoing, it is desirable to provide a vehicle light control method, apparatus, controller, computer readable storage medium and computer program product that can improve the intelligence of a vehicle formation to complete a light show. In a first aspect, the present application provides a vehicle light control method, applied to a central controller, including: Acquiring the mass center position of a vehicle performance site and the target performance position of any performance vehicle; According to the target performance position and the mass center position, acquiring a lamplight sequence index of each performance vehicle and special effect granularity of each performance vehicle; Constructing light control information of each performance vehicle according to each light sequence index and each special effect granularity, and constructing control commands of each performance vehicle according to each light control information and each target performance position; And sending the control commands to the performance vehicles to instruct the performance vehicles to execute the light performance according to the special effect granularity and the light sequence index after reaching the target performance positions. In one embodiment, the method comprises the steps of obtaining the centroid position of a vehicle performance site, obtaining a plurality of site boundary coordinates of the vehicle performance site when the site shape type represents that the vehicle performance site is a convex polygon site, obtaining the site area of the vehicle performance site according to the site boundary coordinates, and obtaining the centroid position of the vehicle performance site according to the site boundary coordinates and the site area. In one embodiment, after the field shape type of the vehicle performance field is obtained, the method further comprises the steps of performing triangular decomposition on the vehicle performance field to obtain a plurality of performance field subareas under the condition that the field shape type represents that the vehicle performance field is a concave polygon field, obtaining area areas of all the performance field subareas and sub centroid positions of all the performance field subareas, and performing weighting processing on all the sub centroid positions by utilizing all the area areas to obtain centroid positions of the vehicle performance field. In one embodiment, the light sequence index is obtained by obtaining a relative direction between each performance vehicle and the centroid position according to each target performance position and the centroid position, obtaining site partition information of each performance vehicle according to the relative direction, and obtaining a light index sequence corresponding to each site partition information from a pre-stored mapping relation to serve as a light sequence index of each performance vehicle. In one embodiment, the special effect granularity is obtained by obtaining the distance between each performance vehicle and the mass center position according to each target performance position and the mass center position, determining that the special effect granularity of the performance vehicle is the first special effect granularity when the distance is smaller than a preset distance threshold value, and determining that the special effect granularity of the performance vehicle is the second special effect granularity when the distance is larger than or equal to the preset distance threshold value, wherein the fine degree of the special effect pattern represented by the first special effect granularity is larger than the fine degree of the special effect pattern represented by the second special effect granularity. In one embodiment, the step of sending each control command to each performance vehicle to instruct each performance vehicle to perform light performance according to the special effect granularity and the light sequence index after each performance vehicle arrives at each target performance position comprises the steps of sending each control command to each performance v