Illumination method and device for vehicle trunk, electronic equipment and storage medium
By installing multiple lighting devices on the top of the vehicle trunk and the top of the seat backs, and using sensors to detect changes in the rear seats and dynamically adjust the lighting devices' switches, the problems of light obstruction and passenger glare in the trunk lighting are solved, reducing costs and extending equipment life.
Patent Information
- Application Number
- CN202510770092.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-10
- Publication Date
- 2025-09-09
AI Technical Summary
Existing vehicle trunk lighting systems are prone to blocking light or causing glare to passengers when the rear seats are moved, increasing the failure rate and maintenance costs of the lighting equipment.
By installing a first lighting device on the top of the trunk and a second lighting device on the top of the rear seat backrest, angle and position sensors are used to detect changes in the rear seats and dynamically adjust the lighting devices to ensure that the light is not blocked and reduce the frequency of device use.
It effectively solves the problems of light obstruction and passenger glare, while reducing lighting costs and equipment maintenance costs and extending the service life of lighting devices.
Smart Images

Figure CN120606755A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle lighting technology, and in particular to a lighting method, device, electronic device and storage medium for a vehicle trunk. Background Art
[0002] At present, with the development of society and the advancement of science and technology, more and more new energy vehicles are beginning to provide lighting for the trunk.
[0003] However, existing trunk lighting may cause the light to block items in the trunk or dazzle passengers as the rear seats move, thereby affecting the lighting effect. In order to solve the above problems, traditional trunk lighting generally installs a transmission mechanism in the trunk to control the movement of the lighting equipment, but this invisibly increases the failure rate of the lighting equipment, lighting costs and equipment maintenance costs. Summary of the Invention
[0004] The embodiments of the present application provide a lighting method, device, electronic device and storage medium for a vehicle trunk. The embodiments provided by the present application solve the technical problems of the prior art trunk lighting, such as the light blocking the trunk items or causing dazzle to passengers, the high failure rate of lighting equipment, and the high lighting costs and equipment maintenance costs. The embodiments provided by the present application solve the problem of light blocking the trunk items or causing dazzle to passengers caused by trunk lighting through a new layout of multiple lighting equipment, and reduce the lighting costs and the maintenance costs of lighting equipment.
[0005] In a first aspect of the embodiments of the present application, the embodiments of the present application provide a method for lighting a vehicle trunk, the method comprising:
[0006] After adjusting the rear seats of the vehicle, obtaining position change data and angle change data of the rear seats before and after the adjustment;
[0007] determining, based on the position change data and the angle change data, whether the rear seat falls within an illumination range of a first illumination device;
[0008] If the rear seats do not fall within the lighting range of the first lighting device, controlling the first lighting device to illuminate the trunk of the vehicle, wherein the first lighting device is installed on the top of the trunk;
[0009] If the rear seat falls within the lighting range of the first lighting device, a second lighting device is controlled to illuminate the trunk of the vehicle, wherein the second lighting device is installed at the top end of the seat back of the rear seat.
[0010] In a feasible implementation manner, the determining whether the rear seat falls within the lighting range of the first lighting device based on the position change data and the angle change data includes:
[0011] determining, based on the position change data and the angle change data, an adjusted seat adjustment coordinate of a highest point of a seat back of the rear seat;
[0012] Based on the adjusted seat adjustment coordinates, it is determined whether the rear seat falls within the lighting range of the first lighting device.
[0013] In a feasible implementation manner, determining whether the rear seat falls within the lighting range of the first lighting device based on the adjusted seat adjustment coordinates includes:
[0014] determining the boundary coordinates of the lighting range of the first lighting device at a target height, wherein the target height is the height corresponding to the highest point of the seat back;
[0015] Based on the adjusted seat adjustment coordinates and the boundary coordinates, it is determined whether the rear seat falls within the lighting range of the first lighting device.
[0016] In a feasible implementation manner, determining whether the rear seat falls within the lighting range of the first lighting device based on the adjusted seat adjustment coordinates and the boundary coordinates includes:
[0017] If the adjusted abscissa of the seat adjustment coordinate is greater than or equal to the abscissa of the boundary coordinate, determining that the rear seat falls within the illumination range of the first illumination device;
[0018] If the horizontal coordinate of the adjusted seat adjustment coordinate is smaller than the horizontal coordinate of the boundary coordinate, it is determined that the rear seat does not fall within the lighting range of the first lighting device.
[0019] In a feasible implementation manner, determining the adjusted seat adjustment coordinates of the highest point of the seat back of the rear seat based on the position change data and the angle change data includes:
[0020] determining a horizontal reference length of the seat back mapped in a horizontal direction based on the angle change data and the length of the seat back;
[0021] A seat adjustment abscissa in the seat adjustment coordinates is determined based on the horizontal reference length, the position change data, and the thickness of the seat back.
[0022] In a feasible implementation manner, determining the boundary coordinates of the lighting range of the first lighting device at the target height includes:
[0023] determining the vertical reference length of the seat back mapped in the vertical direction based on the angle change data and the thickness of the seat back;
[0024] An illumination boundary abscissa in the boundary coordinates is determined based on the vertical reference length, the illumination position data of the first illumination device, the angle of the seat back, the position change data, and the length of the seat back.
[0025] In a feasible implementation manner, the lighting range of the first lighting device is determined by:
[0026] An illumination range of the first illumination device is determined based on a maximum illumination angle corresponding to the first illumination device.
[0027] In a second aspect of the embodiments of the present application, the embodiments of the present application provide a lighting device for a vehicle trunk, the lighting device for the vehicle trunk comprising:
[0028] an acquisition module, configured to acquire position change data and angle change data of the rear seats before and after the rear seats of the vehicle are adjusted;
[0029] a determination module, configured to determine whether the rear seat falls within an illumination range of a first illumination device based on the position change data and the angle change data;
[0030] a first lighting module, configured to control the first lighting device to illuminate the trunk of the vehicle if the rear seats do not fall within the lighting range of the first lighting device, wherein the first lighting device is mounted on the top of the trunk;
[0031] The second lighting module is used to control the second lighting device to illuminate the trunk of the vehicle if the rear seat falls into the lighting range of the first lighting device, wherein the second lighting device is installed at the top of the seat back of the rear seat.
[0032] In a third aspect of the embodiments of the present application, the embodiments of the present application provide an electronic device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and the machine-readable instructions are executed by the processor to execute the steps of the above-mentioned vehicle trunk lighting method.
[0033] In a fourth aspect of the embodiments of the present application, the embodiments of the present application provide a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the vehicle trunk lighting method as described above are executed.
[0034] The vehicle trunk lighting method, device, electronic device and storage medium provided in the embodiments of the present application, compared with the prior art, obtains position change data and angle change data of the rear seats before and after adjustment after adjusting the rear seats of the vehicle, and determines whether the rear seats fall into the lighting range of the first lighting device based on the position change data and the angle change data. When the rear seats do not fall into the lighting range of the first lighting device, the first lighting device installed on the top of the trunk is controlled to illuminate the trunk of the vehicle; when the rear seats fall into the lighting range of the first lighting device, the second lighting device installed on the top of the seat back of the rear seat is controlled to illuminate the trunk of the vehicle. The present application solves the problem of light caused by trunk lighting blocking trunk items or causing dazzle to passengers through a new layout of multiple lighting devices, and reduces lighting costs and maintenance costs of lighting equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 A flowchart of a vehicle trunk lighting method provided by an embodiment of the present application is shown;
[0036] Figure 2 A structural block diagram of a lighting system provided in an embodiment of the present application is shown;
[0037] Figure 3 A schematic diagram showing various parameters in a vehicle seat in a vehicle trunk lighting method provided by an embodiment of the present application;
[0038] Figure 4 A structural block diagram of a vehicle trunk lighting device provided in an embodiment of the present application is shown;
[0039] Figure 5 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown.
[0040] Figure 2 and Figures 4 and 5 The corresponding relationship between the reference numerals and the names of the drawings is as follows:
[0041] 20 lighting system; 1 first lighting device; 2 second lighting device; 3 angle sensor; 4 position sensor; 5 vehicle controller; 400 lighting device of vehicle trunk; 410 acquisition module; 420 determination module; 430 first lighting module; 440 second lighting module; 500 electronic device; 510 processor; 520 memory; 530 bus. DETAILED DESCRIPTION
[0042] In order to better understand the technical solutions provided by the embodiments of this specification, the technical solutions of the embodiments of this specification are described in detail below through the accompanying drawings and specific embodiments. It should be understood that the embodiments of this specification and the specific features in the embodiments are detailed descriptions of the technical solutions of the embodiments of this specification, rather than limitations on the technical solutions of this specification. In the absence of conflict, the embodiments of this specification and the technical features in the embodiments can be combined with each other.
[0043] In this article, relational terms such as first and second are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or equipment comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of further restrictions, the elements defined by the statement "comprising a ..." do not exclude the presence of other identical elements in the process, method, article or equipment comprising the elements. The term "two or more" includes two or more than two cases.
[0044] First, the application scenarios to which this application is applicable are introduced. The embodiments provided in this application are applicable to the field of vehicle lighting technology, and in particular, relate to a lighting method, device, electronic device and storage medium for a vehicle trunk.
[0045] Currently, existing trunk lighting may block items in the trunk or dazzle passengers as the rear seats move, thereby affecting the lighting effect. To solve the above problems, traditional trunk lighting generally installs a transmission mechanism in the trunk to control the movement of the lighting equipment, but this invisibly increases the failure rate of the lighting equipment, lighting costs and equipment maintenance costs.
[0046] Based on this, the embodiments of the present application provide a lighting method, device, electronic device and storage medium for the trunk of a vehicle. The embodiments provided by the present application solve the technical problems of the prior art trunk lighting, such as the phenomenon that light blocks items in the trunk or dazzles passengers, the high failure rate of lighting equipment, and the high lighting cost and equipment maintenance cost. The embodiments provided by the present application solve the problem of light blocking items in the trunk or dazzling passengers caused by trunk lighting through a new layout of multiple lighting equipment, and reduce the lighting cost and the maintenance cost of lighting equipment.
[0047] Figure 1FIG1 shows a flowchart of a vehicle trunk lighting method provided by an embodiment of the present application. Figure 1 As shown, the vehicle trunk lighting method includes the following steps:
[0048] S101. After adjusting the rear seats of the vehicle, obtain position change data and angle change data of the rear seats before and after the adjustment.
[0049] In this step, the vehicle trunk lighting method of the embodiment of the present application is applied in a lighting system. Figure 2 As shown, Figure 2 FIG. 1 shows a structural block diagram of a lighting system provided by an embodiment of the present application. Figure 2 As shown, the lighting system 20 includes a first lighting device 1, a second lighting device 2, an angle sensor 3, a position sensor 4 and a vehicle controller 5. The first lighting device 1, the second lighting device 2, the angle sensor 3 and the position sensor 4 are all communicatively connected to the vehicle controller 5. The vehicle controller 5 can be, but is not limited to, installed near the head instrument panel of the vehicle.
[0050] In the above, the angle sensor 3 is used to collect the angle change data of the rear seat before and after adjustment;
[0051] In the above, the position sensor 4 is used to collect the position change data of the rear seat before and after adjustment;
[0052] In the above, the vehicle controller 5 is used to determine whether the rear seats fall into the lighting range of the first lighting device 1 based on the position change data and the angle change data, and when the rear seats do not fall into the lighting range of the first lighting device 1, send a lighting turn-on signal to the first lighting device 1 and send a lighting turn-off signal to the second lighting device 2; when the rear seats fall into the lighting range of the first lighting device 1, send a lighting turn-on signal to the second lighting device 2 and send a lighting turn-off signal to the first lighting device 1.
[0053] It can be understood that the first lighting device 1 in the embodiment provided in the present application is installed on the top of the trunk, and the second lighting device 2 is installed on the top of the seat back of the rear seat, and the lighting and turning off of the first lighting device 1 and the second lighting device 2 are associated with the position change data and angle change data of the rear seat.
[0054] Among them, the first lighting device 1 and the second lighting device 2 in the embodiments provided in this application are devices that provide basic lighting functions for the trunk. Therefore, the models of the first lighting device 1 and the second lighting device 2 can be customized and selected according to different application scenarios.
[0055] From the above, it can be seen that after adjusting the rear seats of the vehicle, the trunk lighting needs to be updated or adjusted again, and the position change data of the rear seats before and after the adjustment needs to be obtained through the position sensor 4, and the angle change data of the rear seats before and after the adjustment needs to be obtained through the position sensor 4.
[0056] S102: Determine whether the rear seats fall within the lighting range of the first lighting device based on the position change data and the angle change data.
[0057] In this step, the embodiment provided in the present application needs to calculate whether the rearmost point of the seat back in the rear seat falls within the lighting range of the first lighting device 1 based on the position change data and the angle change data.
[0058] It can be understood that in the embodiment provided in this application, the first lighting device 1 is represented by C.
[0059] Exemplarily, based on the position change data and the angle change data, the adjusted seat adjustment coordinates of the highest point of the seat back of the rear seat are determined; the boundary coordinates of the lighting range of the first lighting device 1 at the target height are determined, wherein the target height is the height corresponding to the highest point of the seat back; based on the adjusted seat adjustment coordinates and the boundary coordinates, it is determined whether the rear seat falls within the lighting range of the first lighting device 1.
[0060] In the above, in the embodiment provided in the present application, if the horizontal coordinate of the adjusted seat adjustment coordinate is greater than or equal to the horizontal coordinate of the boundary coordinate, it is determined that the rear seat falls within the lighting range of the first lighting device 1; if the horizontal coordinate of the adjusted seat adjustment coordinate is less than the horizontal coordinate of the boundary coordinate, it is determined that the rear seat does not fall within the lighting range of the first lighting device 1.
[0061] Exemplarily, the lighting range of the first lighting device 1 is determined in the following manner:
[0062] Based on the maximum illumination angle corresponding to the first illumination device 1 , the illumination range of the first illumination device 1 is determined.
[0063] The maximum illumination angle corresponding to the first lighting device 1 in the embodiment provided in this application can be represented by θ.
[0064] like Figure 3 As shown, Figure 3 A schematic diagram showing various parameters in a vehicle seat in a vehicle trunk lighting method provided in an embodiment of the present application is shown. Figure 3 In the figure, R is used to represent the riding reference point, which is customized by the seat manufacturer. That is, its coordinate position on the vehicle is set by the car manufacturer.
[0065] Here, A is used to represent the highest point of the seat back of the rear seat; B is used to represent the boundary point of the lighting range of the first lighting device at the target height; L is used to represent the length of the seat back (effective length); T is used to represent the thickness of the seat back (effective thickness); α is used to represent the angle of the seat back (design angle, customized by the seat manufacturer); β is used to represent the reference angle equal to α; γ is used to represent the reference angle that is a complementary angle to β; θ is used to represent the maximum illumination angle corresponding to the first lighting device; Δs is used to represent the position change data fed back by the position sensor; Δδ is used to represent the angle change data fed back by the angle sensor.
[0066] Here, the R coordinate is represented by (x(R), y(R)); the C coordinate is represented by (x(C), y(C)), the backrest design angle α, the seat back effective length L, the seat back effective thickness T, and the maximum illumination angle θ of the lighting device 1.
[0067] Among them, α=β, γ=90°-β, so γ=90°-α.
[0068] Here, as Figure 3 As shown, when the rear seat of the vehicle slides backward or the angle of the seat back is adjusted, the position of A will also change. If A coincides with B or is on the right side of B, it is determined that the rear seat falls within the lighting range of the first lighting device. Otherwise, it is determined that the rear seat does not fall within the lighting range of the first lighting device. Since the height of B (i.e., the y-axis coordinate) is the same as that of B, it is only necessary to determine the x-axis coordinate relationship between A and B.
[0069] Exemplarily, based on the position change data and the angle change data, the adjusted seat adjustment coordinates of the highest point of the seat back of the rear seat are determined, including: determining the horizontal reference length of the seat back mapped in the horizontal direction based on the angle change data and the length of the seat back; determining the seat adjustment horizontal coordinate in the seat adjustment coordinates based on the horizontal reference length, the position change data and the thickness of the seat back.
[0070] In the above, the calculation formula of the seat adjustment horizontal coordinate in the seat adjustment coordinate is:
[0071] x(A)=[x(R)+Δs+L·sin(α+Δδ)+T·sinγ=x(R)+Δs+L·sin(α+Δδ)+T·sin(90-α);
[0072] The calculation formula for the horizontal reference length is:
[0073] P = L·sin(α+Δδ);
[0074] Exemplarily, determining the boundary coordinates of the lighting range of the first lighting device at a target height includes: determining a vertical reference length mapped in the vertical direction of the seat back based on the angle change data and the thickness of the seat back; and determining the horizontal coordinate of the lighting boundary in the boundary coordinates based on the vertical reference length, the lighting position data of the first lighting device, the angle of the seat back, the position change data, and the length of the seat back.
[0075] In the above, the calculation formula of the illumination boundary horizontal coordinate in the boundary coordinate is:
[0076] x(B)=x(C)-tanθ·{y(C)-[y(R)+L·cos(α+Δδ)-T·cosγ]}=x(C)-tanθ·{y(C)-[y(R)+L·cos(α+Δδ)-T·cos(90-α)]};
[0077] The calculation formula for the vertical reference length is:
[0078] Pp=T·cos(90-α);
[0079] S103: If the rear seats do not fall within the lighting range of the first lighting device, control the first lighting device to illuminate the trunk of the vehicle, wherein the first lighting device is installed on the top of the trunk.
[0080] In this step, if Figure 3 As shown, when x(A) is less than x(B), it is determined that the rear seats do not fall within the lighting range of the first lighting device. At this time, it is necessary to control the first lighting device to illuminate the trunk of the vehicle, or switch the lighting state of the trunk of the vehicle to be illuminated by the above-mentioned first lighting device.
[0081] S104: If the rear seat falls within the lighting range of the first lighting device, control the second lighting device to illuminate the trunk of the vehicle, wherein the second lighting device is installed at the top of the seat back of the rear seat.
[0082] In this step, when x(A) is greater than or equal to x(B), it is determined that the rear seats fall within the lighting range of the second lighting device. At this time, it is necessary to control the second lighting device to illuminate the trunk of the vehicle, or switch the lighting state of the trunk of the vehicle to be illuminated by the above-mentioned second lighting device.
[0083] From the above, it can be seen that the calculation method for determining whether the rear seats fall within the lighting range of the first lighting device in the embodiment provided by the present application can determine: whether Δx=x(A)-x(B) is greater than or equal to 0. If Δx=x(A)-x(B)≥0, it is determined that the rear seats fall within the lighting range of the first lighting device; otherwise, it is determined that the rear seats do not fall within the lighting range of the first lighting device.
[0084] in,
[0085] Δx=x(A)-x(B)
[0086] =[x(R)+Δs+L·sin(α+Δδ)+T·sinγ]-{x(C)-tanθ·{y(C)-[y(R)+L·cos(α+Δδ)-T·cosγ]}}
[0087] =[x(R)+Δs+L·sin(α+Δδ)+T·sin(90-α)]-{x(C)-tanθ·}y(C)-[y(R)+L·cos(α+Δδ)-T·cos(90-α)]}};
[0088] Compared with the prior art, the vehicle trunk lighting method provided in the embodiments of the present application obtains position change data and angle change data of the rear seats before and after adjustment after the rear seats of the vehicle are adjusted. Based on the position change data and angle change data, it is determined whether the rear seats fall within the lighting range of a first lighting device. When the rear seats do not fall within or leave the lighting range of the top first lighting device, the first lighting device installed on the top of the trunk is controlled to illuminate the trunk of the vehicle, and the second lighting device is turned off. When the rear seats fall within the lighting range of the first lighting device, the second lighting device installed on the top of the rear seat backrest is controlled to illuminate the trunk of the vehicle, and the first lighting device is turned off to prevent the light from being blocked by the backrest and causing glare to rear passengers. The present application solves the problem of light from trunk lighting blocking trunk items or causing glare to passengers through a novel layout of multiple lighting devices. Moreover, the present application always ensures that one lighting device is lit and the other is turned off while meeting the lighting function, thereby achieving energy saving while extending the service life of the lighting device and reducing the lighting cost and maintenance cost of the lighting device.
[0089] Figure 4 This is a structural block diagram of a lighting device for a vehicle trunk provided in an embodiment of the present application. Figure 4 As shown, the lighting device 400 for the vehicle trunk includes:
[0090] The acquisition module 410 is used to acquire position change data and angle change data of the rear seats before and after the rear seats of the vehicle are adjusted.
[0091] The determination module 420 is configured to determine whether the rear seats fall within the lighting range of the first lighting device based on the position change data and the angle change data.
[0092] The first lighting module 430 is used to control the first lighting device to illuminate the trunk of the vehicle if the rear seats do not fall within the lighting range of the first lighting device, wherein the first lighting device is installed on the top of the trunk.
[0093] The second lighting module 440 is used to control the second lighting device to illuminate the trunk of the vehicle if the rear seat falls into the lighting range of the first lighting device, wherein the second lighting device is installed at the top of the seat back of the rear seat.
[0094] Exemplarily, the determination module 420 is specifically configured to:
[0095] Based on the position change data and the angle change data, adjusted seat adjustment coordinates of a highest point of a seat back of the rear seat are determined.
[0096] Based on the adjusted seat adjustment coordinates, it is determined whether the rear seat falls within the lighting range of the first lighting device.
[0097] Exemplarily, determining whether the rear seat falls within the lighting range of the first lighting device based on the adjusted seat adjustment coordinates includes:
[0098] The boundary coordinates of the lighting range of the first lighting device at a target height are determined, wherein the target height is a height corresponding to the highest point of the seat back.
[0099] Based on the adjusted seat adjustment coordinates and the boundary coordinates, it is determined whether the rear seat falls within the lighting range of the first lighting device.
[0100] Exemplarily, determining whether the rear seat falls within the lighting range of the first lighting device based on the adjusted seat adjustment coordinates and the boundary coordinates includes:
[0101] If the horizontal coordinate of the adjusted seat adjustment coordinate is greater than or equal to the horizontal coordinate of the boundary coordinate, it is determined that the rear seat falls within the lighting range of the first lighting device.
[0102] If the horizontal coordinate of the adjusted seat adjustment coordinate is smaller than the horizontal coordinate of the boundary coordinate, it is determined that the rear seat does not fall within the lighting range of the first lighting device.
[0103] Exemplarily, determining the adjusted seat adjustment coordinates of the highest point of the seat back of the rear seat based on the position change data and the angle change data includes:
[0104] Based on the angle change data and the length of the seat back, a horizontal reference length to which the seat back is mapped in the horizontal direction is determined.
[0105] A seat adjustment abscissa in the seat adjustment coordinates is determined based on the horizontal reference length, the position change data, and the thickness of the seat back.
[0106] Exemplarily, determining the boundary coordinates of the lighting range of the first lighting device at the target height includes:
[0107] Based on the angle change data and the thickness of the seat back, a vertical reference length to which the seat back is mapped in the vertical direction is determined.
[0108] An illumination boundary abscissa in the boundary coordinates is determined based on the vertical reference length, the illumination position data of the first illumination device, the angle of the seat back, the position change data, and the length of the seat back.
[0109] Exemplarily, the lighting range of the first lighting device is determined in the following manner:
[0110] An illumination range of the first illumination device is determined based on a maximum illumination angle corresponding to the first illumination device.
[0111] Compared to the prior art, the vehicle trunk lighting device 400 provided in an embodiment of the present application obtains position change data and angle change data of the rear seat before and after adjustment after the rear seat of the vehicle is adjusted. Based on the position change data and angle change data, the device determines whether the rear seat falls within the illumination range of a first lighting device. When the rear seat does not fall within or leaves the illumination range of the top first lighting device, the device controls the top first lighting device installed in the trunk to illuminate the vehicle trunk, and turns off the second lighting device. When the rear seat falls within the illumination range of the first lighting device, the device controls the top second lighting device installed in the rear seat backrest to illuminate the vehicle trunk, and turns off the first lighting device to prevent light from being blocked by the backrest and causing glare to rear passengers. The present application solves the problem of light from the trunk lighting blocking trunk items or causing glare to passengers through a novel layout of multiple lighting devices. Furthermore, while meeting the lighting function, the present application always ensures that one lighting device is illuminated and the other is off, achieving energy savings while extending the service life of the lighting device, reducing lighting costs and maintenance costs.
[0112] See also Figure 5 , Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the electronic device 500 includes a processor 510 , a memory 520 , and a bus 530 .
[0113] The memory 520 stores machine-readable instructions executable by the processor 510. When the electronic device 500 is running, the processor 510 communicates with the memory 520 via the bus 530. When the machine-readable instructions are executed by the processor 510, the above-mentioned Figures 1 to 2The specific implementation of the steps of the vehicle trunk lighting method in the method embodiment shown can be found in the method embodiment, and will not be repeated here.
[0114] The embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the computer program can execute the above-mentioned Figures 1 to 2 The steps of the vehicle trunk lighting method in the method embodiment shown are specifically implemented in accordance with the method embodiment and will not be described in detail here.
[0115] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0116] It should be noted that, in the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant description of other embodiments.
[0117] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-readable program code.
[0118] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded computer, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0119] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1The function specified in one or more boxes.
[0120] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0121] An embodiment of the present application further provides a computer program product, which includes computer software instructions. When the computer software instructions are executed on a processing device, the processing device executes the process of a method for lighting a vehicle trunk.
[0122] A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that a computer can store or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state drive (SSD)).
[0123] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0124] In the several embodiments provided in this application, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.
[0125] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0126] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0127] If the integrated unit 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 is essentially or the part that contributes to the prior art or all or 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 a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0128] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
[0129] Although the preferred embodiments of this specification have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concepts. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of this specification.
[0130] Obviously, those skilled in the art may make various changes and modifications to this specification without departing from the spirit and scope of this specification. Thus, if such changes and modifications fall within the scope of the claims of this specification and their equivalents, this specification is intended to include such changes and modifications.
Claims
1. A method for lighting a vehicle trunk, characterized in that: The vehicle trunk lighting method comprises: After adjusting the rear seats of the vehicle, obtaining position change data and angle change data of the rear seats before and after the adjustment; determining, based on the position change data and the angle change data, whether the rear seat falls within an illumination range of a first illumination device; If the rear seat does not fall within the lighting range of the first lighting device, controlling the first lighting device to illuminate the trunk of the vehicle, wherein the first lighting device is installed on the top of the trunk; If the rear seat falls within the lighting range of the first lighting device, a second lighting device is controlled to illuminate the trunk of the vehicle, wherein the second lighting device is installed at the top end of the seat back of the rear seat.
2. The vehicle trunk lighting method according to claim 1, characterized in that: The determining, based on the position change data and the angle change data, whether the rear seat falls within the lighting range of the first lighting device includes: determining, based on the position change data and the angle change data, an adjusted seat adjustment coordinate of a highest point of a seat back of the rear seat; Based on the adjusted seat adjustment coordinates, it is determined whether the rear seat falls within the lighting range of the first lighting device.
3. The vehicle trunk lighting method according to claim 2, characterized in that: The determining, based on the adjusted seat adjustment coordinates, whether the rear seat falls within the lighting range of the first lighting device includes: determining the boundary coordinates of the lighting range of the first lighting device at a target height, wherein the target height is the height corresponding to the highest point of the seat back; Based on the adjusted seat adjustment coordinates and the boundary coordinates, it is determined whether the rear seat falls within the lighting range of the first lighting device.
4. The vehicle trunk lighting method according to claim 3, characterized in that: The determining, based on the adjusted seat adjustment coordinates and the boundary coordinates, whether the rear seat falls within the lighting range of the first lighting device includes: If the adjusted abscissa of the seat adjustment coordinate is greater than or equal to the abscissa of the boundary coordinate, determining that the rear seat falls within the illumination range of the first illumination device; If the horizontal coordinate of the adjusted seat adjustment coordinate is smaller than the horizontal coordinate of the boundary coordinate, it is determined that the rear seat does not fall within the lighting range of the first lighting device.
5. The vehicle trunk lighting method according to claim 2, characterized in that: The determining, based on the position change data and the angle change data, the adjusted seat adjustment coordinates of the highest point of the seat back of the rear seat includes: determining a horizontal reference length of the seat back mapped in a horizontal direction based on the angle change data and the length of the seat back; A seat adjustment abscissa in the seat adjustment coordinates is determined based on the horizontal reference length, the position change data, and the thickness of the seat back.
6. The vehicle trunk lighting method according to claim 3, characterized in that: The determining the boundary coordinates of the lighting range of the first lighting device at the target height includes: determining the vertical reference length of the seat back mapped in the vertical direction based on the angle change data and the thickness of the seat back; An illumination boundary abscissa in the boundary coordinates is determined based on the vertical reference length, the illumination position data of the first illumination device, the angle of the seat back, the position change data, and the length of the seat back.
7. The vehicle trunk lighting method according to claim 1, characterized in that: The lighting range of the first lighting device is determined by: An illumination range of the first illumination device is determined based on a maximum illumination angle corresponding to the first illumination device.
8. A lighting device for a vehicle trunk, characterized in that: The lighting device of the vehicle trunk comprises: an acquisition module, configured to acquire position change data and angle change data of the rear seats before and after the rear seats of the vehicle are adjusted; a determination module, configured to determine whether the rear seat falls within an illumination range of a first illumination device based on the position change data and the angle change data; a first lighting module, configured to control the first lighting device to illuminate the trunk of the vehicle if the rear seats do not fall within the lighting range of the first lighting device, wherein the first lighting device is mounted on the top of the trunk; The second lighting module is used to control the second lighting device to illuminate the trunk of the vehicle if the rear seat falls into the lighting range of the first lighting device, wherein the second lighting device is installed at the top of the seat back of the rear seat.
9. An electronic device, characterized in that: include: A processor, a memory, and a bus, wherein the memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor and the memory communicate via the bus, and the machine-readable instructions are executed by the processor to execute the steps of the vehicle trunk lighting method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the vehicle trunk lighting method according to any one of claims 1 to 7 are executed.