A bus sunshade control method, device and vehicle
By obtaining automatic control of sunlight intensity, vehicle driving information and driver's line of sight height, the automatic adjustment of bus sunshades is achieved, solving the problem of frequent adjustment of sunshades during backlight driving, and improving driving safety.
Patent Information
- Application Number
- CN202210656057.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-10
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2042-06-10
AI Technical Summary
When driving backlight, buses need to frequently adjust the sunshade to avoid direct sunlight, which leads to obstruction of the driver's vision and poses a driving safety risk. The existing sunshades are mainly manual adjustments, which increases the driver's burden and safety hazards.
By obtaining sunlight intensity information, vehicle driving information and driver's line of sight height, generating adjustment signals, automatically controlling the length of the sunshade, realizing the automatic opening and closing of the sunshade, and further fine-tuning the sunshade position through sunshine recognition classifier and voice interaction .
Reduces the driver's workload on sunshade adjustment, improves driving safety, and ensures that the driver can always see the road clearly.
Smart Images

Figure CN114953937B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of sunshades, and in particular to a bus sunshade control method, a bus sunshade control device and a vehicle. Background Art
[0002] When a bus is driving against the sun on a sunny day, or passing through a road under a glass curtain wall, the sunshade needs to be pulled down to block the sunlight, thereby reducing the dangerous scene of the driver losing sight of the road due to direct sunlight. As the vehicle moves, in order to maintain the optimal position of the sunshade, the pull-down height of the sunshade needs to be constantly adjusted.
[0003] Currently, buses generally have two sunshades. Specifically, one is directly in front of the driver and the other is on the left side of the driver. Both sunshades are manually adjusted. When the driver manually adjusts the sunshades, there is a high probability of driving safety risks. However, if the sunshades are not adjusted, untimely adjustment may result in unclear road signs, causing traffic risks.
[0004] Therefore, it is hoped that a technical solution can be provided to solve or at least alleviate the above-mentioned deficiencies of the prior art. Summary of the invention
[0005] The object of the present invention is to provide a bus sunshade control method to solve at least one of the above-mentioned technical problems.
[0006] One aspect of the present invention provides a bus sunshade control method, the bus sunshade control method comprising:
[0007] Get sunlight intensity information;
[0008] Determine whether the sunshade needs to be adjusted based on the sunlight intensity information. If so,
[0009] Obtain vehicle driving information;
[0010] Acquire the sunshade that needs to be adjusted according to the vehicle driving information;
[0011] Get the driver's sight height;
[0012] generating an adjustment signal according to the driver's sight height and vehicle driving information;
[0013] The adjustment signal is sent to the sunshade control device in the direction that needs to be adjusted, so that the sunshade control device adjusts the length of the sunshade in the direction that needs to be adjusted according to the adjustment signal.
[0014] Optionally, judging whether the sunshade needs to be adjusted according to the sunlight intensity information includes:
[0015] When the sunlight intensity information is greater than a preset sunlight intensity threshold, it is determined that the sunshade needs to be adjusted.
[0016] Optionally, the vehicle driving information includes the driving direction of the vehicle;
[0017] The step of obtaining the sunshade curtain to be adjusted according to the vehicle driving information comprises:
[0018] According to the acquired vehicle driving direction, sunlight direction information and angle information, it is determined whether the front sunshade needs to be adjusted and / or whether the side sunshade needs to be adjusted.
[0019] Optionally, generating an adjustment signal according to the driver's sight height and vehicle driving information includes:
[0020] Get the driver's sight height;
[0021] According to the driver's sight height, the length of the sunshade in the direction that needs to be adjusted is obtained;
[0022] An adjustment signal is generated according to the length of the sunshade in the direction to be adjusted.
[0023] Optionally, after sending the adjustment signal to the sunshade control device in the direction to be adjusted, so that the sunshade control device adjusts the length of the sunshade in the direction to be adjusted according to the adjustment signal, the bus sunshade control method further includes:
[0024] Obtaining a user's facial image;
[0025] Get the sunlight recognition classifier;
[0026] Extracting feature information of the user's facial image;
[0027] The feature information is input into the sunlight recognition classifier to obtain classification labels, wherein the classification labels include labels for areas around the eyes where sunlight shines and labels for areas around the eyes where sunlight does not shine.
[0028] Optionally, the bus sunshade control method further comprises:
[0029] If the label is a label where the sun shines around the eyes, repeat the following steps until the label is a label where the sun does not shine around the eyes:
[0030] Get sunlight intensity information;
[0031] Determine whether the sunshade needs to be adjusted based on the sunlight intensity information. If so,
[0032] Obtain vehicle driving information;
[0033] Determine whether the front sunshade needs to be adjusted and / or determine whether the side sunshade needs to be adjusted according to the vehicle driving information, and if so,
[0034] Get the driver's sight height;
[0035] generating an adjustment signal according to the driver's sight height and vehicle driving information;
[0036] The adjustment signal is sent to the sunshade control device in the direction that needs to be adjusted, so that the sunshade control device adjusts the length of the sunshade in the direction that needs to be adjusted according to the adjustment signal.
[0037] Optionally, after sending the adjustment signal to the sunshade control device in the direction to be adjusted, so that the sunshade control device adjusts the length of the sunshade in the direction to be adjusted according to the adjustment signal, the bus sunshade control method further includes:
[0038] Generate consulting voice;
[0039] Obtaining the driver's answer voice according to the consultation voice feedback;
[0040] Recognize the answer voice, determine whether the driver agrees with the current length of the sunshade, and if not, generate an adjustment inquiry voice;
[0041] Acquiring an adjustment feedback voice of the driver according to the adjustment inquiry voice feedback;
[0042] Recognizing the adjustment feedback voice, thereby acquiring the adjustment semantics;
[0043] generating a sunshade fine-tuning signal according to the adjustment semantics;
[0044] The sunshade curtain fine-tuning signal is sent to the sunshade curtain control device in the direction that needs to be adjusted, so that the sunshade curtain control device adjusts the length of the sunshade curtain in the direction that needs to be adjusted according to the sunshade curtain fine-tuning signal.
[0045] Optionally, generating a sunshade fine-tuning signal according to the adjustment semantics includes:
[0046] Determine whether there is adjustment direction information in the adjustment semantics. If so,
[0047] Determine whether there is adjustment distance information in the adjustment voice. If so,
[0048] A sunshade fine-tuning signal is generated according to the adjustment direction information and the adjustment distance information.
[0049] The present application also provides a bus sunshade control device, the bus sunshade control device comprising:
[0050] A sunlight intensity information acquisition module, wherein the sunlight intensity information acquisition module is used to acquire sunlight intensity information;
[0051] A sunshade adjustment judgment module, which is used to judge whether the sunshade needs to be adjusted according to sunlight intensity information;
[0052] A vehicle driving information acquisition module, wherein the vehicle driving information acquisition module is used to acquire vehicle driving information when the sunshade adjustment judgment module determines that the result is yes;
[0053] A sunshade adjustment selection module, the sunshade adjustment selection module is used to obtain the sunshade that needs to be adjusted according to the vehicle driving information;
[0054] A sight line height acquisition module, the sight line height acquisition module is used to obtain the sight line height of the driver;
[0055] An adjustment signal generating module, the adjustment signal generating module is used to generate an adjustment signal according to the driver's sight height and vehicle driving information;
[0056] A sending module is used to send the adjustment signal to the sunshade control device in the direction that needs to be adjusted, so that the sunshade control device adjusts the length of the sunshade in the direction that needs to be adjusted according to the adjustment signal.
[0057] The present application also provides a vehicle, the vehicle comprising a front sunshade assembly, a side sunshade assembly and a bus sunshade control device, wherein:
[0058] The bus sunshade control device is the bus sunshade control device as described above, and the bus sunshade control device adopts the bus sunshade control method as described above to obtain an adjustment signal, and transmits the adjustment signal to the front sunshade control device in the front sunshade assembly and / or the sunshade control device in the side sunshade assembly.
[0059] Beneficial Effects
[0060] The bus sunshade control method of the present application can determine whether adjustment is needed according to light intensity, and determine which sunshade to adjust and the length of adjustment according to the driver's line of sight and vehicle driving information, thereby realizing automatic opening and closing of the sunshade and control of the opening length. Compared with manual adjustment, the workload of the driver in adjusting the sunshade is greatly reduced, and the safety factor of driving the vehicle is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Figure 1 It is a flowchart of a bus sunshade control method according to an embodiment of the present application.
[0062] Figure 2This is an embodiment of the present application that can be realized Figure 1 Schematic diagram of electronic equipment for bus sunshade control method shown.
[0063] Figure 3 This is a light acquisition principle diagram of the bus sunshade control method of the present application, wherein the arrow represents the direction of the light. DETAILED DESCRIPTION
[0064] In order to make the purpose, technical scheme and advantages of the implementation of this application clearer, the technical scheme in the embodiment of this application will be described in more detail below in conjunction with the drawings in the embodiment of this application. In the drawings, the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The described embodiments are part of the embodiments of this application, not all of them. The embodiments described below with reference to the drawings are exemplary and are intended to be used to explain this application, and should not be construed as limitations on this application. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application. The embodiments of this application are described in detail below in conjunction with the drawings.
[0065] Figure 1 It is a flowchart of a bus sunshade control method according to an embodiment of the present application.
[0066] like Figure 1 The bus sunshade control method shown includes:
[0067] Step 1: Get sunlight intensity information;
[0068] Step 2: Determine whether the sunshade needs to be adjusted based on the sunlight intensity information. If so,
[0069] Step 3: Obtain vehicle driving information;
[0070] Step 4: Obtain the sunshade that needs to be adjusted according to the vehicle driving information;
[0071] Step 5: Obtain the driver's sight height;
[0072] Step 6: Generate an adjustment signal according to the driver's sight height and vehicle driving information;
[0073] Step 7: Sending an adjustment signal to the sunshade control device in the direction that needs to be adjusted, so that the sunshade control device adjusts the length of the sunshade in the direction that needs to be adjusted according to the adjustment signal.
[0074] In other embodiments, whether the sunshade needs to be adjusted can also be comprehensively judged based on the sunlight angle information and the sunlight intensity information. In some scenarios, although the sunlight intensity is relatively strong, the direction in which the vehicle is traveling may cause the sunlight to be directly above the vehicle. As a result, although the sunlight is very strong, it does not affect the driver's line of sight. At this time, there is no need to adjust the sunshade. Therefore, adjusting the sunlight angle and sunlight intensity can make the adjustment of the sunshade more humane.
[0075] The bus sunshade control method of the present application can determine whether adjustment is needed according to light intensity, and determine which sunshade to adjust and the length of adjustment according to the driver's line of sight and vehicle driving information, thereby realizing automatic opening and closing of the sunshade and control of the opening length. Compared with manual adjustment, the workload of the driver in adjusting the sunshade is greatly reduced, and the safety factor of driving the vehicle is improved.
[0076] In this embodiment, judging whether the sunshade needs to be adjusted according to the sunlight intensity information includes:
[0077] When the sunlight intensity information is greater than a preset sunlight intensity threshold, it is determined that the sunshade needs to be adjusted.
[0078] In the above-mentioned embodiment where the direction of light needs to be considered, when the sunlight intensity information is greater than a preset sunlight intensity threshold, and the direction and angle of light will affect the driver's line of sight, it is determined that the sunshade needs to be adjusted.
[0079] In this embodiment, the sunlight intensity is used to determine whether the sunshade needs to be adjusted. A signal is sent to adjust the sunshade only when the intensity of the sunlight affects safety. When there is insufficient sunlight on rainy days, the driver will not be affected even if there is sunlight, so no adjustment is required.
[0080] In this embodiment, the sunlight intensity may be acquired through a light intensity sensor.
[0081] In this embodiment, multiple light intensity sensors can be set. For example, one light intensity sensor is set to obtain the direction of the driver facing the front windshield, to obtain the sunlight intensity in the driver's driving direction, and another light intensity sensor is used to obtain the sunlight intensity in the side direction of the driver.
[0082] In an embodiment with multiple light intensity sensors, the light intensity sensors can be used directly to determine which sunshade to adjust. For example, on a general bus, the driver has a front sunshade and a side sunshade. However, depending on the driving direction, the driver's side sunshade may be in the shadow due to houses and trees around the road. In this case, no adjustment is required. In this case, different light intensity sensors can be used to select the sunshade that needs to be adjusted, thereby optimizing the adjustment logic.
[0083] In one embodiment, obtaining the sunshade that needs to be adjusted according to the vehicle driving information includes:
[0084] Get the vehicle's driving direction;
[0085] Get current time information;
[0086] Get the current GPS latitude and longitude location information;
[0087] Determine whether the front sunshade needs to be adjusted and / or determine whether the side sunshade needs to be adjusted based on the vehicle's driving direction, current time information, and GPS longitude and latitude location information.
[0088] In this embodiment, obtaining the sunshade that needs to be adjusted according to the vehicle driving information includes:
[0089] Get the vehicle's driving direction;
[0090] Based on the acquired vehicle travel direction, light direction and angle information (in this embodiment, the angle refers to the angle between the light and the horizon), determine whether the front sunshade needs to be adjusted and / or whether the side sunshade needs to be adjusted.
[0091] Specifically, there are two ways to determine how to adjust:
[0092] 1. Judgment by external sensors (main means): External sensors judge the intensity of sunlight, as well as the direction and angle of light. When the intensity is greater than the threshold, the height of the sunshade can be judged according to the line of sight based on the principle that light travels in a straight line, thereby judging whether the sunshade needs to be adjusted. Figure 3 As shown, this method is prior art and will not be described in detail here.
[0093] 2. Determination method through GPS: GPS can locate the user's longitude and latitude, and inertial navigation can understand the direction of the vehicle. The relative relationship between the current longitude and latitude and the sun can be determined through time to obtain the angle of sunlight. Combined with the direction of the vehicle, the angle of sunlight adjustment can be obtained through the parallelogram law. It is recommended to emphasize the method of determining the height of the sunshade through sensors, and use GPS as a supplementary method. Because the first method can deal with all light pollution, such as light pollution from glass curtain walls, pollution caused by high beams in the target lane, etc., and the second method can be used as a supplement after the sensor is effective. Because most vehicles have GPS navigation function.
[0094] In one embodiment, generating an adjustment signal according to the driver's sight height and the vehicle driving information includes:
[0095] Get current time information;
[0096] Get the current GPS latitude and longitude location information;
[0097] Get the current sunlight and horizon angles based on the current time information and the current GPS longitude and latitude location information;
[0098] According to the current sunlight and horizon angles and the driver's sight height, the length of the sunshade in the direction that needs to be adjusted is obtained;
[0099] An adjustment signal is generated according to the length of the sunshade in the direction to be adjusted.
[0100] In this embodiment, generating an adjustment signal according to the driver's sight height and the vehicle driving information includes:
[0101] Get the driver's sight height;
[0102] According to the driver's sight height obtained by the sensor, the length of the sunshade in the direction that needs to be adjusted is obtained;
[0103] An adjustment signal is generated according to the length of the sunshade in the direction to be adjusted.
[0104] In this embodiment, the driver's sight height is acquired through a DMS sensor.
[0105] Specifically, see Figure 3 , the length of the sunshade in the adjustment direction can be obtained by the following method:
[0106] exist Figure 3 In the equation, l1 = h-h1; l2 = l1-h2*tanβ;
[0107] L2 is the length of the sunshade; β is the light angle measured by the light sensor; h is the height of the car; h1 is the height of the driver's line of sight; l1 is the height from the top of the car to the driver's line of sight; h2 is the length from the driver's line of sight to the sunshade; because light travels in a straight line, the angle of the light hitting the sensor is equal to the angle of the light hitting the driver's eyes. The height of the car is fixed, and because the sunshade is also vertical, the driver's line of sight and the sunshade form a trapezoid ABCD. If the length, height and bottom angle of the trapezoid's bottom side are known, the upper side field (sunshade height) can be calculated. The formula for calculating the height of the sunshade is as follows: Sunshade height l2 = l1-h2*tanβ(angle).
[0108] In this way, the length that needs to be adjusted can be determined more accurately.
[0109] In this embodiment, the bus sunshade control method of the present application further includes:
[0110] Get the current sunshade position information;
[0111] Obtain adjustment displacement and movement direction of the sunshade according to the current sunshade position information and the length of the sunshade in the direction to be adjusted;
[0112] Converting the adjustment displacement and the movement direction of the sunshade curtain into an adjustment signal and sending it to a sunshade curtain control device;
[0113] The sunshade control device is adjusted according to the adjustment displacement and the direction of movement of the sunshade.
[0114] In one embodiment, after the adjustment signal is sent to the sunshade control device in the direction to be adjusted, so that the sunshade control device adjusts the length of the sunshade in the direction to be adjusted according to the adjustment signal, the bus sunshade control method further includes:
[0115] Obtaining a user's facial image;
[0116] Get the sunlight recognition classifier;
[0117] Extracting feature information of the user's facial image;
[0118] The feature information is input into the sunlight recognition classifier to obtain classification labels, wherein the classification labels include labels for areas around the eyes where sunlight shines and labels for areas around the eyes where sunlight does not shine.
[0119] In this way, after the adjustment, facial recognition is used to determine whether the sunlight will not directly shine around the driver's eyes. If it is determined that the sunlight will not directly shine around the driver's eyes, it means that the adjustment is successful.
[0120] It can be understood that through the trained sunlight recognition classifier, it is possible to identify whether there is sunlight around the eyes of a person's face. For example, by using the reaction of the face after a large amount of sunlight is irradiated on the face as a training set, the label can be identified, or it can be judged by the brightness of the face after the sunlight is irradiated on the face.
[0121] In one embodiment, the bus sunshade control method further comprises:
[0122] If the label is a label where the sun shines around the eyes, repeat the following steps until the label is a label where the sun does not shine around the eyes:
[0123] Get sunlight intensity information;
[0124] Determine whether the sunshade needs to be adjusted based on the sunlight intensity information. If so,
[0125] Obtain vehicle driving information;
[0126] Determine whether the front sunshade needs to be adjusted and / or determine whether the side sunshade needs to be adjusted according to the vehicle driving information, and if so,
[0127] Get the driver's sight height;
[0128] generating an adjustment signal according to the driver's sight height and vehicle driving information;
[0129] The adjustment signal is sent to the sunshade control device in the direction that needs to be adjusted, so that the sunshade control device adjusts the length of the sunshade in the direction that needs to be adjusted according to the adjustment signal.
[0130] In another embodiment, after sending the adjustment signal to the sunshade control device in the direction to be adjusted so that the sunshade control device adjusts the length of the sunshade in the direction to be adjusted according to the adjustment signal, the bus sunshade control method further includes:
[0131] Generate consulting voice;
[0132] Obtain the driver's answer voice according to the consultation voice feedback;
[0133] Recognize the answering voice and determine whether the driver agrees with the current length of the sunshade. If not,
[0134] Generate and adjust inquiry voice;
[0135] Acquiring an adjustment feedback voice of the driver according to the adjustment inquiry voice feedback;
[0136] Recognize adjustment feedback speech to obtain adjustment semantics;
[0137] generating a sunshade fine-tuning signal according to the adjustment semantics;
[0138] The sunshade curtain fine-tuning signal is sent to the sunshade curtain control device in the direction that needs to be adjusted, so that the sunshade curtain control device adjusts the length of the sunshade curtain in the direction that needs to be adjusted according to the sunshade curtain fine-tuning signal.
[0139] When the sunshade is adjusted automatically, it is very likely that the situation after adjustment is not satisfactory to the driver. For example, the driver wears sunglasses, is not afraid of the sun in front, and hopes to bask in the sun. At this time, the driver's needs can be known through voice interaction. For example, when the sunshade is lowered, the driver asks to raise the sunshade, then adjustments will be made according to the driver's requirements.
[0140] In this embodiment, generating a sunshade fine-tuning signal according to the adjustment semantics includes:
[0141] Determine whether there is adjustment direction information in the adjustment semantics. If so,
[0142] Determine whether there is adjustment distance information in the adjustment voice. If so,
[0143] A sunshade fine-tuning signal is generated according to the adjustment direction information and the adjustment distance information.
[0144] In the case of semantic recognition, if it is recognized that the driver wants to adjust the specific direction and displacement, the adjustment is made according to the driver's request. For example, if the driver says, adjust it down 2 centimeters, then the adjustment is made according to the driver's request.
[0145] If the driver only says the adjustment direction, the adjustment is performed according to the adjustment direction at the preset distance.
[0146] The present application also provides a bus sunshade control device, which includes a sunlight intensity information acquisition module, a sunshade adjustment judgment module, a vehicle driving information acquisition module, a sunshade adjustment selection module, a line of sight height acquisition module, an adjustment signal generation module and a sending module, wherein the sunlight intensity information acquisition module is used to acquire sunlight intensity information; the sunshade adjustment judgment module is used to judge whether the sunshade needs to be adjusted according to the sunlight intensity information; the vehicle driving information acquisition module is used to acquire vehicle driving information when the sunshade adjustment judgment module judges to be yes; the sunshade adjustment selection module is used to acquire the sunshade that needs to be adjusted according to the vehicle driving information; the line of sight height acquisition module is used to acquire the driver's line of sight height; the adjustment signal generation module is used to generate an adjustment signal according to the driver's line of sight height and the vehicle driving information; the sending module is used to send the adjustment signal to the sunshade control device in the direction that needs to be adjusted, so that the sunshade control device adjusts the length of the sunshade in the direction that needs to be adjusted according to the adjustment signal.
[0147] The present application also provides a vehicle, the vehicle comprising a front sunshade assembly, a side sunshade assembly and a bus sunshade control device, wherein:
[0148] The bus sunshade control device is the bus sunshade control device as described above, and the bus sunshade control device adopts the bus sunshade control method as described above to obtain an adjustment signal, and transmits the adjustment signal to the front direction sunshade control device in the front direction sunshade assembly and / or the sunshade control device in the side direction sunshade assembly.
[0149] In this embodiment, the driver's sight height is acquired through a camera device.
[0150] In this embodiment, the sunlight irradiation angle is acquired by a camera device.
[0151] In this embodiment, the sunshade control device includes a roller-type sunshade body and a sunshade control device. The sunshade control device is connected to the bus sunshade control device of the present application and is used to control the movement of the roller-type sunshade body according to an adjustment signal.
[0152] It can be understood that the above description of the method is also applicable to the description of the device.
[0153] The present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor. When the processor executes the computer program, the above-mentioned bus sunshade control method is implemented.
[0154] The present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it can implement the above-mentioned bus sunshade control method.
[0155] Figure 2 It is an exemplary structural diagram of an electronic device capable of implementing the bus sunshade control method provided according to an embodiment of the present application.
[0156] like Figure 2 As shown, the electronic device includes an input device 501, an input interface 502, a central processor 503, a memory 504, an output interface 505, and an output device 506. The input interface 502, the central processor 503, the memory 504, and the output interface 505 are interconnected through a bus 507, and the input device 501 and the output device 506 are connected to the bus 507 through the input interface 502 and the output interface 505, respectively, and then connected to other components of the electronic device. Specifically, the input device 504 receives input information from the outside, and transmits the input information to the central processor 503 through the input interface 502; the central processor 503 processes the input information based on the computer executable instructions stored in the memory 504 to generate output information, temporarily or permanently stores the output information in the memory 504, and then transmits the output information to the output device 506 through the output interface 505; the output device 506 outputs the output information to the outside of the electronic device for use by the user.
[0157] That is to say, Figure 2 The electronic device shown can also be implemented as comprising: a memory storing computer executable instructions; and one or more processors, which can implement the combination when executing the computer executable instructions. Figure 1 A bus sunshade control method is described.
[0158] In one embodiment, Figure 2 The electronic device shown can be implemented to include: a memory 504 configured to store executable program codes; and one or more processors 503 configured to run the executable program codes stored in the memory 504 to execute the bus sunshade control method in the above-mentioned embodiment.
[0159] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0160] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0161] Computer readable media include permanent and non-permanent, removable and non-removable, and the media can be implemented by any method or technology to store information. The information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), data versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0162] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may 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 may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0163] In addition, it is obvious that the word "comprising" does not exclude other units or steps. Multiple units, modules or devices stated in the device claim can also be implemented by one unit or the overall device through software or hardware.
[0164] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and a module, a program segment or a part of a code includes one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes identified in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or the total flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0165] The processor referred to in this embodiment may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0166] The memory can be used to store computer programs and / or modules. The processor realizes various functions of the device / terminal equipment by running or executing the computer programs and / or modules stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0167] In this embodiment, if the module / unit integrated in the device / terminal equipment 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 present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. Although the present application is disclosed as above in terms of a preferred embodiment, it is not intended to limit the present application. Any technical personnel in this field may make possible changes and modifications without departing from the spirit and scope of the present application. Therefore, the scope of protection of the present application shall be based on the scope defined by the claims of the present application.
[0168] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may 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 may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0169] In addition, it is obvious that the word "comprising" does not exclude other units or steps. Multiple units, modules or devices stated in the device claim can also be implemented by one unit or the overall device through software or hardware.
[0170] Although the present invention has been described in detail above with general descriptions and specific embodiments, it is obvious to those skilled in the art that some modifications or improvements may be made thereto based on the present invention. Therefore, these modifications or improvements made without departing from the spirit of the present invention all fall within the scope of protection claimed by the present invention.
Claims
1. A bus sunshade control method, characterized in that: The bus sunshade control method comprises: Get sunlight intensity information; Determine whether the sunshade needs to be adjusted based on the sunlight intensity information. If so, Obtain vehicle driving information; Acquire the sunshade that needs to be adjusted according to the vehicle driving information; Get the driver's sight height; generating an adjustment signal according to the driver's sight height and vehicle driving information; The adjustment signal is sent to the sunshade control device in the direction to be adjusted, so that the sunshade control device adjusts the length of the sunshade in the direction to be adjusted according to the adjustment signal; The step of judging whether the sunshade needs to be adjusted according to the sunlight intensity information includes: When the sunlight intensity information is greater than the preset sunlight intensity threshold, it is determined that the sunshade needs to be adjusted; The vehicle driving information includes the driving direction of the vehicle; The step of obtaining the sunshade curtain to be adjusted according to the vehicle driving information comprises: Determine whether the front sunshade needs to be adjusted and / or determine whether the side sunshade needs to be adjusted based on the vehicle's driving direction, sunlight direction information, and angle information; The generating of the adjustment signal according to the driver's sight height and the vehicle driving information comprises: Get the driver's sight height; According to the driver's sight height, the length of the sunshade in the direction that needs to be adjusted is obtained; Generate an adjustment signal according to the length of the sunshade in the direction to be adjusted; After the adjustment signal is sent to the sunshade control device in the direction to be adjusted, so that the sunshade control device adjusts the length of the sunshade in the direction to be adjusted according to the adjustment signal, the bus sunshade control method further includes: Obtaining a user's facial image; Get the sunlight recognition classifier; Extracting feature information of the user's facial image; Inputting the feature information into the sunlight recognition classifier to obtain classification labels, wherein the classification labels include labels for the areas around the eyes where sunlight shines and labels for the areas around the eyes where sunlight does not shine; The bus sunshade control method further comprises: If the label is a label where the sun shines around the eyes, repeat the following steps until the label is a label where the sun does not shine around the eyes: Get sunlight intensity information; Determine whether the sunshade needs to be adjusted based on the sunlight intensity information. If so, Obtain vehicle driving information; Determine whether the front sunshade needs to be adjusted and / or determine whether the side sunshade needs to be adjusted according to the vehicle driving information, and if so, Get the driver's sight height; generating an adjustment signal according to the driver's sight height and vehicle driving information; The adjustment signal is sent to the sunshade control device in the direction to be adjusted, so that the sunshade control device adjusts the length of the sunshade in the direction to be adjusted according to the adjustment signal; Generating adjustment signals based on the driver's sight height and vehicle driving information includes: Get current time information; Get the current GPS latitude and longitude location information; Get the current sunlight and horizon angles based on the current time information and the current GPS longitude and latitude location information; According to the current sunlight and horizon angles and the driver's sight height, the length of the sunshade in the direction that needs to be adjusted is obtained; Generate an adjustment signal according to the length of the sunshade in the direction to be adjusted; Generating adjustment signals based on the driver's sight height and vehicle driving information includes: Get the driver's sight height; According to the driver's sight height obtained by the sensor, the length of the sunshade in the direction that needs to be adjusted is obtained; Generate an adjustment signal according to the length of the sunshade in the direction to be adjusted; The driver's sight height is obtained through the DMS sensor; The length of the sunshade in the adjustment direction is obtained by the following method: l1=h-h1; l2=l1-h2*tanβ; where, L2 is the length of the sunshade; β is the light angle measured by the light sensor; h is the height of the car; h1 is the driver's line of sight height; l1 is the height from the top of the car to the driver's line of sight; h2 is the length from the driver's line of sight to the sunshade.
2. The bus sunshade control method according to claim 1, characterized in that: After the adjustment signal is sent to the sunshade control device in the direction to be adjusted, so that the sunshade control device adjusts the length of the sunshade in the direction to be adjusted according to the adjustment signal, the bus sunshade control method further includes: Generate consulting voice; Obtaining the driver's answer voice according to the consultation voice feedback; Identify the answering voice and determine whether the driver agrees with the current length of the sunshade. If not, Generate and adjust inquiry voice; Acquiring an adjustment feedback voice of the driver according to the adjustment inquiry voice feedback; Recognizing the adjustment feedback voice, thereby acquiring the adjustment semantics; generating a sunshade fine-tuning signal according to the adjustment semantics; The sunshade curtain fine-tuning signal is sent to the sunshade curtain control device in the direction that needs to be adjusted, so that the sunshade curtain control device adjusts the length of the sunshade curtain in the direction that needs to be adjusted according to the sunshade curtain fine-tuning signal.
3. The bus sunshade control method according to claim 2, characterized in that: Generating a sunshade fine-tuning signal according to the adjustment semantics includes: Determine whether there is adjustment direction information in the adjustment semantics. If so, Determine whether there is adjustment distance information in the adjustment voice. If so, A sunshade fine-tuning signal is generated according to the adjustment direction information and the adjustment distance information.
4. A bus sunshade control device, characterized in that: The bus sunshade control device comprises: A sunlight intensity information acquisition module, wherein the sunlight intensity information acquisition module is used to acquire sunlight intensity information; A sunshade adjustment judgment module, which is used to judge whether the sunshade needs to be adjusted according to sunlight intensity information; A vehicle driving information acquisition module, wherein the vehicle driving information acquisition module is used to acquire vehicle driving information when the sunshade adjustment judgment module determines that the result is yes; A sunshade adjustment selection module, the sunshade adjustment selection module is used to obtain a sunshade that needs to be adjusted according to the vehicle driving information; A sight line height acquisition module, the sight line height acquisition module is used to obtain the sight line height of the driver; An adjustment signal generating module, the adjustment signal generating module is used to generate an adjustment signal according to the driver's sight height and vehicle driving information; A sending module, the sending module is used to send the adjustment signal to the sunshade control device in the direction that needs to be adjusted, so that the sunshade control device adjusts the length of the sunshade in the direction that needs to be adjusted according to the adjustment signal; The step of judging whether the sunshade needs to be adjusted according to the sunlight intensity information includes: When the sunlight intensity information is greater than the preset sunlight intensity threshold, it is determined that the sunshade needs to be adjusted; The vehicle driving information includes the driving direction of the vehicle; The step of obtaining the sunshade curtain to be adjusted according to the vehicle driving information comprises: Determine whether the front sunshade needs to be adjusted and / or determine whether the side sunshade needs to be adjusted based on the vehicle's driving direction, sunlight direction information, and angle information; The generating of the adjustment signal according to the driver's sight height and the vehicle driving information comprises: Get the driver's sight height; According to the driver's sight height, the length of the sunshade in the direction that needs to be adjusted is obtained; Generate an adjustment signal according to the length of the sunshade in the direction to be adjusted; After the adjustment signal is sent to the sunshade control device in the direction to be adjusted, so that the sunshade control device adjusts the length of the sunshade in the direction to be adjusted according to the adjustment signal, the bus sunshade control device further comprises: Obtaining a user's facial image; Get the sunlight recognition classifier; Extracting feature information of the user's facial image; Inputting the feature information into the sunlight recognition classifier to obtain classification labels, wherein the classification labels include labels for the areas around the eyes where sunlight shines and labels for the areas around the eyes where sunlight does not shine; The bus sunshade control device further comprises: If the label is a label where the sun shines around the eyes, repeat the following steps until the label is a label where the sun does not shine around the eyes: Get sunlight intensity information; Determine whether the sunshade needs to be adjusted based on the sunlight intensity information. If so, Obtain vehicle driving information; Determine whether the front sunshade needs to be adjusted and / or determine whether the side sunshade needs to be adjusted according to the vehicle driving information, and if so, Get the driver's sight height; generating an adjustment signal according to the driver's sight height and vehicle driving information; The adjustment signal is sent to the sunshade control device in the direction to be adjusted, so that the sunshade control device adjusts the length of the sunshade in the direction to be adjusted according to the adjustment signal; Generating adjustment signals based on the driver's sight height and vehicle driving information includes: Get current time information; Get the current GPS latitude and longitude location information; Get the current sunlight and horizon angles based on the current time information and the current GPS longitude and latitude location information; According to the current sunlight and horizon angles and the driver's sight height, the length of the sunshade in the direction that needs to be adjusted is obtained; Generate an adjustment signal according to the length of the sunshade in the direction to be adjusted; Generating adjustment signals based on the driver's sight height and vehicle driving information includes: Get the driver's sight height; According to the driver's sight height obtained by the sensor, the length of the sunshade in the direction that needs to be adjusted is obtained; Generate an adjustment signal according to the length of the sunshade in the direction to be adjusted; The driver's sight height is obtained through the DMS sensor; The length of the sunshade in the adjustment direction is obtained by the following method: l1=h-h1; l2=l1-h2*tanβ; where, L2 is the length of the sunshade; β is the light angle measured by the light sensor; h is the height of the car; h1 is the driver's line of sight height; l1 is the height from the top of the car to the driver's line of sight; h2 is the length from the driver's line of sight to the sunshade.
5. A vehicle, characterized in that: The vehicle comprises a front sunshade assembly, a side sunshade assembly and a bus sunshade control device, wherein: The bus sunshade control device is the bus sunshade control device as described in claim 4, and the bus sunshade control device adopts the bus sunshade control method as described in any one of claims 1 to 3 to obtain an adjustment signal, and transmits the adjustment signal to the front direction sunshade control device in the front direction sunshade assembly and / or the sunshade control device in the side direction sunshade assembly.