Vehicle reading lamp control method, electronic equipment and computer readable storage medium
By obtaining information about the vehicle seat, determining the target illumination area and adjusting the illumination angle of the reading light, the problem that the existing vehicle reading lights cannot adapt to different seat postures is solved, and the adaptability and user experience of the illumination area are improved.
Patent Information
- Application Number
- CN202510277140.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-10
- Publication Date
- 2025-04-18
AI Technical Summary
Existing vehicle reading lights cannot adjust the illumination angle according to the different positions and postures of the seats, resulting in the illumination area being unable to meet the actual needs of users.
By obtaining seat information of the seat, including seat position information and deployment status information, the target illumination area is determined, and the illumination angle of the reading lamp is adjusted according to the target illumination area to meet the illumination needs in different seat postures.
The dynamic adjustment of the illumination angle of the reading lamp is realized, which meets the needs of the illumination area of the seat in different positions and postures, and improves the user experience.
Smart Images

Figure CN119840512A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of light adjustment, and in particular to a control method for a vehicle reading light, an electronic device, and a computer-readable storage medium. Background Art
[0002] Reading lights are generally provided in vehicles to meet the lighting needs of users in scenes such as reading. With the diversification of vehicle functions, seats in vehicles generally have an adjustment function, so that the position of seats in vehicles can be adjusted.
[0003] In the related art, the reading lamp does not have the function of adjusting the illumination angle, and even if it does, it cannot meet the specific illumination requirements of the seat in different positions. Based on this situation, after the user adjusts the seat, the illumination area formed by the reading lamp often cannot meet the actual needs of the user. Summary of the invention
[0004] In view of the above problems, the present application provides a control method, electronic device and computer-readable storage medium for a vehicle reading light, which determines the target illumination angle through seat information, and then adjusts the illumination angle of the reading light according to the target illumination angle, thereby meeting the actual needs of the seat for the illumination area in different positions to improve the user experience.
[0005] A first aspect of the present application provides a method for controlling a vehicle reading light, comprising: obtaining seat information of a seat of a vehicle; wherein the seat information includes seat position information and seat unfolding status information; determining a target illumination area based on the seat information, and determining a target illumination angle of the vehicle's reading light according to the target illumination area; if a current illumination angle of the reading light is inconsistent with the target illumination angle, adjusting the current illumination angle of the reading light to the target illumination angle, so as to control the reading light to emit light to illuminate the target illumination area.
[0006] In some specific embodiments, the step of determining a target irradiation area based on seat information includes: obtaining seat cushion position information of the seat as seat position information, and obtaining angle information between the seat cushion and the backrest of the seat as seat deployment state information; determining the target irradiation area based on the seat cushion position information and the angle information between the seat cushion and the backrest; wherein the combination of the seat cushion position information and the angle information between the seat cushion and the backrest has a preset corresponding relationship with the target irradiation area.
[0007] In some specific embodiments, after the step of determining the target illumination area based on the seat information, the steps include: obtaining the sitting posture information of the user on the seat; correcting the target illumination area based on the sitting posture information, and executing the step of determining the target illumination angle of the vehicle's reading light according to the target illumination area.
[0008] In some specific embodiments, the method also includes: obtaining the target light color and target brightness corresponding to the reading light in the target illumination area; if the current light color of the reading light is different from the target light color, and / or the current brightness of the reading light is different from the target brightness, then adjusting the current light color and / or current brightness of the reading light to the corresponding target light color and / or target brightness.
[0009] In some specific embodiments, the step of obtaining the target light color and target brightness corresponding to the reading light in the target illumination area includes: obtaining the current application scenario of the vehicle, and obtaining the target light color and target brightness corresponding to the reading light based on the current application scenario; wherein different application scenarios correspond to different combinations of target light colors and target brightness.
[0010] In some specific embodiments, the step of obtaining the target light color and target brightness of the reading light corresponding to the target illumination area includes: obtaining the distance between the reading light and the target illumination area, and determining the target brightness of the reading light based on the distance; wherein, there is a preset corresponding relationship between the distance between the reading light and the target illumination area and the target brightness; and / or, obtaining the ambient brightness of the target illumination area, and determining the target light color of the reading light based on the ambient brightness; wherein, there is a preset corresponding relationship between the ambient brightness of the target illumination area and the target light color.
[0011] In some specific embodiments, if the current illumination angle of the reading light is inconsistent with the target illumination angle, the step of adjusting the current illumination angle of the reading light to the target illumination angle includes: if the current illumination angle of the reading light is inconsistent with the target illumination angle, obtaining the horizontal rotation angle and the vertical rotation angle according to the difference between the current illumination angle and the target illumination angle; controlling the reading light to rotate the horizontal rotation angle and the vertical rotation angle accordingly in the horizontal direction and the vertical direction to adjust the current illumination angle of the reading light to the target illumination angle.
[0012] In some specific embodiments, the step of acquiring seat information of a seat of the vehicle includes: receiving a seat adjustment instruction from a user to adjust the seat of the vehicle; and obtaining the seat information of the seat based on the seat adjustment instruction.
[0013] A second aspect of the present application provides an electronic device, comprising: a processor; and a memory for storing a computer program, wherein when the computer program is executed by the processor, any of the above-mentioned vehicle reading light control methods is implemented.
[0014] A third aspect of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, a method for controlling a vehicle reading light as described above is implemented.
[0015] The present application has at least the following beneficial technical effects: Based on the vehicle reading light control method, electronic device and computer-readable storage medium provided by the present application, the method includes: obtaining seat information of the vehicle seat; wherein the seat information includes seat position information and seat unfolding state information; determining the target illumination area based on the seat information, and determining the target illumination angle of the vehicle reading light according to the target illumination area; if the current illumination angle of the reading light is inconsistent with the target illumination angle, adjusting the current illumination angle of the reading light to the target illumination angle, so as to control the reading light to emit light to the target illumination area. Therefore, by determining the target illumination angle through the seat information, and then adjusting the illumination angle of the reading light according to the target illumination angle, the actual needs of the seat for the illumination area in different postures can be met to improve the user experience.
[0016] The above description is only an overview of the technical solution of the embodiment of the present application. In order to more clearly understand the technical means of the embodiment of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings are only used to illustrate the embodiments and are not to be considered as limiting the present application. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings. In the accompanying drawings:
[0018] Figure 1 It is a flow chart of an embodiment of a method for controlling a vehicle reading light provided by the present application;
[0019] Figure 2 is a flow chart of another embodiment of the method for controlling a vehicle reading light provided by the present application;
[0020] Figure 3 is a flow chart of another embodiment of a method for controlling a vehicle reading light provided by the present application;
[0021] Figure 4 is a flow chart of another embodiment of a method for controlling a vehicle reading light provided by the present application;
[0022] Figure 5 is a flow chart of another embodiment of a method for controlling a vehicle reading light provided by the present application;
[0023] Figure 6 is a flow chart of another embodiment of a method for controlling a vehicle reading light provided by the present application;
[0024] Figure 7 is a schematic diagram of a setting of a reading light device;
[0025] Figure 8 yes Figure 7 A schematic diagram of a reading light device in the embodiment of the present invention irradiating light onto a seat;
[0026] Fig. 9 is a flow chart of another embodiment of a method for controlling a vehicle reading light provided by the present application;
[0027] Fig.10 It is a schematic diagram of the structural framework of an embodiment of the electronic device provided by the present application;
[0028] Fig.11 It is a schematic diagram of the structural framework of an embodiment of the computer-readable storage medium provided by the present application. DETAILED DESCRIPTION
[0029] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.
[0030] If there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features limited to "first" and "second" may explicitly or implicitly include at least one of the features. In addition, if the meaning of "and / or" appearing in the full text is to include three parallel schemes, taking "A and / or B" as an example, it includes scheme A, or scheme B, or a scheme that satisfies both A and B. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary technicians in this field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0031] The first aspect of the present application provides a method for controlling a vehicle reading light. Figure 1 1 is a flow chart of an embodiment of a method for controlling a vehicle reading light provided by the present application. Figure 1 , the method comprises the following steps:
[0032] S101: Acquire seat information of a seat of a vehicle; wherein the seat information includes seat position information and seat unfolding state information.
[0033] The seat can be the front seat of the vehicle, such as the main driver's seat and the front passenger seat of the vehicle. Of course, it can also be the rear seat of the vehicle, and no specific restrictions are made here. The seat has an adjustment function, which can realize functions such as position adjustment and posture adjustment, thereby meeting the actual needs of the user.
[0034] Specifically, the seat information of the vehicle can be obtained through a sensor device or in a control device. In combination with the above content, since the seat is an adjustable seat, the seat position information and the seat deployment state information may change, so the seat information may change, and the seat information can be obtained in real time.
[0035] It should be understood that the seat position information can specifically reflect the specific spatial position of the seat in the vehicle, and has a greater impact on the area that the user needs to irradiate. The seat deployment status information will to a certain extent reflect the user's sitting posture on the seat, and the user often has different requirements for the area that needs to be irradiated in different sitting postures. Therefore, the seat information obtained in this step plays an important role in obtaining the target irradiation area in the subsequent steps.
[0036] Optionally, before S101, the camera can be used to confirm whether the user is reading a book in the seat, or other situations where the adaptive reading light function of the present application needs to be activated.
[0037] S102: Determine a target illumination area based on the seat information, and determine a target illumination angle of a reading light of the vehicle according to the target illumination area.
[0038] It should be understood that when a user is reading or doing other activities on a chair, the chair generally has different requirements for the area to be illuminated when it is in different postures, that is, different requirements for the target illumination area. In some application scenarios, the correspondence between the posture of the chair and the target illumination area can be established by calibration, and the correspondence can be stored and used in subsequent processes.
[0039] In combination with the above content, after obtaining the seat information, the target illumination area corresponding to the seat information can be obtained according to the seat information and the corresponding relationship. In addition, since the setting position of the reading light is fixed, different target illumination areas correspond to different illumination angles of the reading light, and this corresponding relationship can also be determined in advance through calibration. After determining the target illumination area, the illumination angle of the reading light can be determined as the target illumination angle according to the target illumination area and the corresponding relationship.
[0040] S103: If the current irradiation angle of the reading light is inconsistent with the target irradiation angle, the current irradiation angle of the reading light is adjusted to the target irradiation angle to control the reading light to emit light to irradiate the target irradiation area.
[0041] After obtaining the target illumination angle of the reading light, you can obtain the current illumination angle of the reading light and determine whether the current illumination angle of the reading light is consistent with the target illumination angle. If the two are consistent, it means that the current illumination angle of the reading light does not need to be adjusted, and the light emitted by the reading light can illuminate the target illumination area. If the current illumination angle of the reading light is inconsistent with the target illumination angle, it means that the light emitted by the reading light cannot illuminate the target illumination area well. At this time, it is necessary to adjust the current illumination angle of the reading light to the target illumination angle, so that the reading light can illuminate the target illumination area when it emits light. Finally, the reading light is controlled to emit light to the target illumination area, thereby meeting user needs.
[0042] In summary, the control method of the vehicle reading light provided based on this embodiment can determine the target illumination angle through the seat information, and then adjust the illumination angle of the reading light according to the target illumination angle, which can meet the actual needs of the seat for the illumination area in different postures to improve the user experience.
[0043] Figure 2 It is a flow chart of another embodiment of the method for controlling a vehicle reading light provided in the present application.
[0044] Combination Figure 2 In some specific embodiments, before the step of determining the target irradiation area based on the seat position information, the following steps are included:
[0045] S201: Acquire seat cushion position information of the seat as seat position information, and acquire angle information between the seat cushion and the backrest of the seat as seat deployment state information.
[0046] In this embodiment, it is specifically defined that the seat information includes the seat cushion position information and the angle information between the seat cushion and the backrest. The seat cushion is the main body of the seat, and the seat cushion position information can better represent the seat position information. The adjustment of the seat unfolding state is mainly achieved by adjusting the angle between the seat cushion and the backrest, so the angle information between the seat cushion and the backrest can better represent the seat unfolding state information.
[0047] Of course, in other embodiments, the seat position information may be represented by other information, such as the center position of the backrest. The seat deployment state information may also be represented by other information, such as the angle formed between the backrest and the horizontal direction.
[0048] It should be understood that the seat cushion position information and the angle information between the seat cushion and the backrest may be obtained simultaneously or at different times, and may be set according to specific circumstances without specific limitation.
[0049] Based on the above content, the step of determining the target irradiation area based on the seat position information includes:
[0050] S202: Determine a target irradiation area based on the seat cushion position information and the angle information between the seat cushion and the backrest; wherein the combination of the seat cushion position information and the angle information between the seat cushion and the backrest has a preset corresponding relationship with the target irradiation area.
[0051] At this time, the target irradiation area is determined based on the seat position information and the angle information between the seat cushion and the backrest. The seat position information and the angle information between the seat cushion and the backrest can form a combination, and the corresponding relationship between the target irradiation area corresponding to the combination can be obtained in advance. This relationship can be obtained in advance through calibration. At this time, a specific seat position information and a specific angle information between the seat cushion and the backrest will correspond to a specific target irradiation area.
[0052] Therefore, after obtaining the seat cushion position information and the angle information between the seat cushion and the backrest, the corresponding target irradiation area can be obtained based on the preset corresponding relationship.
[0053] It should be understood that this embodiment specifically defines that the target irradiation area is obtained by using the seat position information and the angle information between the seat and the backrest. The parameters are easy to collect and the target irradiation area that better meets the actual needs of the user can be obtained.
[0054] Figure 3 It is a flow chart of another embodiment of the method for controlling a vehicle reading light provided in the present application.
[0055] Combination Figure 3 After determining the target irradiation area based on the seat information, the method further includes:
[0056] S301: Acquire the sitting posture information of the user on the seat.
[0057] It should be understood that users generally have different requirements for the target irradiation area when they are in different sitting positions. Therefore, this embodiment introduces the passenger's sitting position information into the determination of the target irradiation area.
[0058] The passenger's sitting posture information can be obtained by processing the passenger's sitting posture image on the seat, but is not limited to this method. In addition, obtaining the passenger's sitting posture information can be performed synchronously with obtaining the seat information and the seat information, or can be performed asynchronously, which is not specifically limited here.
[0059] S302: Correcting the target illumination area based on the sitting posture information, and executing the step of determining the target illumination angle of the vehicle's reading light according to the target illumination area.
[0060] Based on the above embodiment of determining the target irradiation area only by seat information, this embodiment, when combined with the user's sitting posture information, will correct the target irradiation area by the sitting posture information, that is, further determine the target irradiation area by the seat information and the sitting posture information as the corrected target irradiation area. At this time, there is a corresponding relationship between the combination of the seat information and the sitting posture information and the target irradiation area, and the corresponding relationship can be determined in advance by calibration.
[0061] After the target illumination area is corrected based on the sitting posture information, a corrected target illumination area is obtained. At this time, when the step of determining the target illumination angle of the vehicle's reading light according to the target illumination area is performed, the target illumination area in the step is the corrected target illumination area.
[0062] Therefore, based on this embodiment, the user's sitting posture information is further introduced to correct the target irradiation area, so that the determined target irradiation area can better meet the actual needs of the user.
[0063] Figure 4 It is a flow chart of another embodiment of the method for controlling a vehicle reading light provided in the present application.
[0064] Combination Figure 4 Based on the relevant contents of the above embodiments, in some specific embodiments, the method further includes the following steps:
[0065] S401: Obtaining a target light color and a target brightness corresponding to a reading light in a target illumination area.
[0066] In this embodiment, not only the illumination angle of the reading light is adjusted, but also the light color and brightness of the reading light are adjusted to meet the actual needs of users for different light colors and brightness in different scenes.
[0067] Among them, the relationship between the relevant parameters of the illumination area and the target light color and target brightness can be preset. After the target illumination area is determined, the target light color and target brightness corresponding to the target illumination area can be obtained according to the relevant parameters and the corresponding relationship of the target illumination area.
[0068] S402: If the current light color of the reading light is different from the target light color, and / or the current brightness of the reading light is different from the target brightness, adjust the current light color and / or current brightness of the reading light to the corresponding target light color and / or target brightness.
[0069] After obtaining the target light color, target brightness, current light color and current brightness, further determine whether the current light color is consistent with the target light color, and whether the current brightness is consistent with the target brightness. As long as any one of them is not satisfied, it is necessary to make corresponding adjustments. For example, if the current light color is inconsistent with the target light color, the current light color will be adjusted to the target light color, if the current brightness is inconsistent with the target brightness, the current brightness will be adjusted to the target brightness, if the current brightness is inconsistent with the target brightness and the current light color is inconsistent with the target light color, then the current brightness will be adjusted to the target brightness and the current light color will be adjusted to the target light color.
[0070] Based on this embodiment, when the current light color and brightness do not meet actual needs, the light color and / or brightness can be adjusted, so that the light color and brightness of the reading light meet actual needs.
[0071] In some specific embodiments, the specific steps of obtaining the target light color and target brightness corresponding to the reading light in the target illumination area include:
[0072] The current application scenario of the vehicle is obtained, and the target light color and target brightness corresponding to the reading light are obtained based on the current application scenario; the correspondence between different application scenarios and light colors and brightness can be pre-set, wherein different application scenarios correspond to different combinations of target light colors and target brightness.
[0073] The application scenario may be preset, for example, the preset application scenario may include a camping scenario, an office scenario, a rest scenario, etc., which are not specifically limited here. At this time, the current application scenario may be obtained by obtaining information such as the state of the vehicle and the state of the passenger.
[0074] There is a correspondence between the application scene and the target light color and target brightness, and this correspondence can be set in advance through calibration. For example, when the preset application scene is a rest scene, it can correspond to a warmer light color and a lower brightness. Therefore, after obtaining the current application scene, the target light color and target brightness corresponding to the reading light can be determined according to the correspondence.
[0075] Therefore, through this embodiment, the determined target light color and target brightness are consistent with the specific usage scenario of the vehicle, and thus are more in line with the actual needs of the user.
[0076] Figure 5 It is a flow chart of another embodiment of the method for controlling a vehicle reading light provided in the present application.
[0077] Combination Figure 5 In some other specific embodiments, the step of obtaining the target light color and target brightness corresponding to the reading light in the target illumination area includes:
[0078] S501: Acquire the distance between the reading light and the target illumination area, and determine the target brightness of the reading light according to the distance; wherein there is a preset corresponding relationship between the distance between the reading light and the target illumination area and the target brightness.
[0079] It should be understood that this embodiment provides a specific method for determining the target brightness and the target light color, but the order of the steps in this embodiment does not limit the execution order of the steps.
[0080] The distance between the reading light and the target illumination area actually reflects the actual demand for the brightness of the reading light, because the greater the distance between the reading light and the target illumination area, the higher the brightness of the reading light is required. Based on this relationship, a preset corresponding relationship between the distance between the reading light and the target illumination area and the target brightness can be established. This relationship can be set according to the actual needs of the user and is not specifically limited here.
[0081] In this way, the target brightness can be determined based on the distance, which can meet the actual demand for brightness at different distances.
[0082] S502: Acquire the ambient brightness of the target illumination area, and determine the target light color of the reading light according to the ambient brightness; wherein there is a preset corresponding relationship between the ambient brightness of the target illumination area and the target light color.
[0083] In different ambient brightness, users generally have different requirements for reading. For example, in an environment with low ambient brightness, users generally prefer to use warm light. Therefore, a preset corresponding relationship between ambient brightness and target light color can be established based on this relationship.
[0084] In actual application, the ambient brightness of the target illumination area can be obtained through the light sensor, and then the target light color of the reading light can be determined according to the ambient brightness and the corresponding relationship.
[0085] Figure 6 It is a flow chart of another embodiment of the method for controlling a vehicle reading light provided in the present application.
[0086] Combination Figure 6 In some specific embodiments, if the current illumination angle of the reading light is inconsistent with the target illumination angle, the step of adjusting the current illumination angle of the reading light to the target illumination angle includes:
[0087] S601: If the current illumination angle of the reading light is inconsistent with the target illumination angle, a horizontal rotation angle and a vertical rotation angle are obtained according to a difference between the current illumination angle and the target illumination angle.
[0088] If the current illumination angle of the reading light is inconsistent with the target illumination angle, it means that the illumination angle of the reading light needs to be adjusted. At this time, the difference between the current illumination angle and the target illumination angle is first obtained, and the difference may include the difference in the horizontal direction and the difference in the vertical direction.
[0089] The reading light can rotate horizontally and vertically to adjust the illumination angle. The difference between the rotation angles has a preset corresponding relationship with the horizontal rotation angle and the vertical rotation angle of the reading light, and the corresponding horizontal rotation angle and the vertical rotation angle can be determined according to the difference and the preset corresponding relationship.
[0090] S602: Control the reading light to rotate horizontally and vertically accordingly by a horizontal rotation angle and a vertical rotation angle, so as to adjust the current illumination angle of the reading light to a target illumination angle.
[0091] After determining the horizontal rotation angle and the vertical rotation angle, the reading light is controlled to rotate the horizontal rotation angle and the vertical rotation angle accordingly in the horizontal direction and the vertical direction, so that the current irradiation angle can be adjusted to the target irradiation angle.
[0092] Figure 7 This is a schematic diagram of the setting of a reading light device. Figure 8 yes Figure 7 A schematic diagram of the reading light device in the car shining light onto the seat.
[0093] Combination Figure 7 The reading light device includes a reading light 70, a vertical driving motor 71, a horizontal driving motor 72, a vertical driving shaft 73 and a horizontal driving shaft 74. The vertical driving motor 71 drives the vertical driving shaft 73 to move in the vertical direction, so that the illumination angle of the reading light 70 can be adjusted up and down through the vertical driving shaft 73. The horizontal driving motor 72 moves in the horizontal direction through the horizontal driving shaft 74, so that the illumination angle of the reading light 70 can be adjusted horizontally through the horizontal driving shaft 74.
[0094] Based on this arrangement of the reading light device, the vertical driving motor 71 can be used to drive the reading light 70 to rotate in the vertical direction by a vertical rotation angle, and the horizontal driving motor 72 can be used to drive the reading light 70 to rotate in the horizontal direction by a horizontal rotation angle, so that the current irradiation angle of the reading light 70 is the target irradiation angle. Figure 8 At this time, the reading light device irradiates light onto the seat to form a target irradiation area 81.
[0095] Fig. 9 It is a flow chart of another embodiment of the method for controlling a vehicle reading light provided in the present application.
[0096] Combination Fig. 9 In some specific embodiments, the step of obtaining the seat position information of the seat of the vehicle, that is, the above-mentioned step S101, includes:
[0097] S701: Receive a seat adjustment instruction from a user to adjust a seat of a vehicle.
[0098] In some application scenarios, users can input seat adjustment instructions through the adjustment panel on the seat, and the seat adjustment instructions will be further transmitted to the seat controller, so that the seat controller can adjust the position and deployment state of the seat based on the seat adjustment instructions to achieve seat posture adjustment.
[0099] The seat adjustment instruction may be further transmitted to the relay controller, and then transmitted to the controller of the reading light through the relay controller, or directly transmitted to the controller of the reading light, without specific limitation. At this time, the seat adjustment instruction for adjusting the seat of the vehicle by the user may be received by the relay controller or the controller of the reading light, without specific limitation.
[0100] In some application scenarios, the relay controller may be a VI U domain controller, and the controller of the reading light may be a reading light MCU.
[0101] S702: Obtain seat information of the seat based on the seat adjustment instruction.
[0102] In combination with the above content, the transfer controller may obtain the seat information of the seat based on the seat adjustment instruction, or the controller of the reading light may obtain the seat information of the seat based on the seat adjustment instruction. After obtaining the seat information, other information is further obtained based on the seat information, and finally the reading light controller realizes the control of the illumination angle of the reading light.
[0103] A second aspect of the present application provides an electronic device, comprising: a processor; and a memory for storing a computer program, wherein when the computer program is executed by the processor, the method for controlling a vehicle reading light in any of the above-mentioned embodiments is implemented.
[0104] Fig.10 It is a schematic diagram of the structural framework of an embodiment of the electronic device 500 provided in the present application.
[0105] In some specific embodiments, the electronic device 500 includes a central processing unit (CPU) 501 and a read-only memory (ROM) 502, wherein the CPU 501 is a processor and the ROM 502 is a memory. The CPU 501 can perform various appropriate actions and processes according to the program stored in the ROM 502 or the program loaded from the storage part 508 to the random access memory (RAM) 503, such as executing the method in the above embodiment. In the RAM 503, various programs and data required for system operation are also stored. The CPU 501, the ROM 502 and the RAM 503 are connected to each other through the bus 504. The input / output (I / O) interface 505 is also connected to the bus 504.
[0106] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed so that a computer program read therefrom is installed into the storage section 508 as needed.
[0107] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 509, and / or installed from a removable medium 511. When the computer program is executed by a central processing unit (CPU) 501, various functions defined in the system of the present application are executed.
[0108] A third aspect of the present application provides a computer-readable storage medium 40, Fig.11 It is a schematic diagram of the structural framework of an embodiment of the computer-readable storage medium 40 provided in the present application.
[0109] The computer readable storage medium 40 stores a computer program 41 , and when the computer program 41 is executed by a processor, the method for controlling a vehicle reading light in any of the above embodiments is implemented.
[0110] It should be noted that the computer-readable medium 40 shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (Erasable Programmable Read On ly Memory, EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it. In the present application, a computer-readable signal medium can include a data signal propagated in a baseband or as a part of a carrier wave, wherein a computer-readable computer program is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0111] In summary, based on the vehicle reading light control method, electronic device and computer-readable storage medium provided by the present application, the method includes: obtaining seat information of the vehicle seat; wherein the seat information includes seat position information and seat unfolding state information; determining the target illumination area based on the seat information, and determining the target illumination angle of the vehicle reading light according to the target illumination area; if the current illumination angle of the reading light is inconsistent with the target illumination angle, adjusting the current illumination angle of the reading light to the target illumination angle, so as to control the reading light to emit light to the target illumination area. Therefore, by determining the target illumination angle through the seat information, and then adjusting the illumination angle of the reading light according to the target illumination angle, the actual needs of the seat for the illumination area in different postures can be met to improve the user experience.
[0112] The above content is only a preferred exemplary embodiment of the present application and is not intended to limit the implementation scheme of the present application. A person skilled in the art can easily make corresponding changes or modifications based on the main concept and spirit of the present application. Therefore, the scope of protection of the present application shall be based on the scope of protection required by the claims.
Claims
1. A method for controlling a vehicle reading light, characterized in that: include: Acquire seat information of a seat of the vehicle; wherein the seat information includes seat position information and seat deployment state information; Determining a target illumination area based on the seat information, and determining a target illumination angle of a reading light of the vehicle according to the target illumination area; If the current irradiation angle of the reading light is inconsistent with the target irradiation angle, the current irradiation angle of the reading light is adjusted to the target irradiation angle to control the reading light to emit light to irradiate the target irradiation area.
2. The method for controlling a vehicle reading light according to claim 1, characterized in that: The step of determining a target irradiation area based on the seat information includes: Acquiring seat cushion position information of the seat as the seat position information, and acquiring angle information between the seat cushion and the backrest of the seat as the seat deployment state information; A target irradiation area is determined based on the seat cushion position information and the angle information between the seat cushion and the backrest; wherein a combination of the seat cushion position information and the angle information between the seat cushion and the backrest has a preset corresponding relationship with the target irradiation area.
3. The method for controlling a vehicle reading light according to claim 1, characterized in that: After the step of determining the target irradiation area based on the seat information, the method further includes: Acquiring sitting posture information of the user on the seat; The target illumination area is corrected based on the sitting posture information, and a target illumination angle of a reading light of the vehicle is determined according to the target illumination area.
4. The method for controlling a vehicle reading light according to claim 1, characterized in that: The method further comprises: Obtaining the target light color and target brightness of the reading light corresponding to the target illumination area; If the current light color of the reading light is different from the target light color, and / or the current brightness of the reading light is different from the target brightness, the current light color and / or current brightness of the reading light are adjusted to the corresponding target light color and / or target brightness.
5. The method for controlling a vehicle reading light according to claim 4, characterized in that: The step of obtaining the target light color and target brightness corresponding to the reading light in the target illumination area comprises: The current application scenario of the vehicle is obtained, and based on the current application scenario, a target light color and a target brightness corresponding to the reading light are obtained; wherein different application scenarios correspond to different combinations of target light colors and target brightness.
6. The method for controlling a vehicle reading light according to claim 4, characterized in that: The step of obtaining the target light color and target brightness corresponding to the reading light in the target illumination area comprises: Acquiring the distance between the reading light and the target illumination area, and determining the target brightness of the reading light according to the distance; wherein there is a preset corresponding relationship between the distance between the reading light and the target illumination area and the target brightness; and / or, The ambient brightness of the target illumination area is obtained, and the target light color of the reading light is determined according to the ambient brightness; wherein there is a preset corresponding relationship between the ambient brightness of the target illumination area and the target light color.
7. The method for controlling a vehicle reading light according to claim 1, characterized in that: If the current illumination angle of the reading light is inconsistent with the target illumination angle, the step of adjusting the current illumination angle of the reading light to the target illumination angle comprises: If the current illumination angle of the reading light is inconsistent with the target illumination angle, obtaining a horizontal rotation angle and a vertical rotation angle according to a difference between the current illumination angle and the target illumination angle; The reading light is controlled to rotate the horizontal rotation angle and the vertical rotation angle in the horizontal direction and the vertical direction respectively, so as to adjust the current irradiation angle of the reading light to the target irradiation angle.
8. The method for controlling a vehicle reading light according to claim 1, characterized in that: The step of obtaining seat information of a seat of a vehicle comprises: Receiving a seat adjustment instruction from a user to adjust a seat of a vehicle; Seat information of the seat is obtained based on the seat adjustment instruction.
9. An electronic device, characterized in that: include: processor; A memory for storing a computer program, wherein the computer program, when executed by the processor, implements the method for controlling a vehicle reading light according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method for controlling a vehicle reading light according to any one of claims 1 to 8 is implemented.