Bicycle lamp illumination method and system, storage medium and intelligent terminal

By acquiring and analyzing the operation and environmental data on the bicycle, and dynamically adjusting the status, angle and movement of the bicycle headlights, the problem of single functionality of the existing bicycle headlights is solved, multi-functional and automated lighting is realized, and riding safety is improved.

CN119767489AActive Publication Date: 2025-04-04NINGBO XINGMAN SPORTS EQUIP CO LTD
View PDF 15 Cites 0 Cited by

Patent Information

Application Number
CN202510204334.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-24
Publication Date
2025-04-04
Estimated Expiration
2045-02-24

AI Technical Summary

Technical Problem

The existing bicycle headlights are too single to achieve multi-functional operation.

Method used

By obtaining the operation of the headlight buttons, vehicle operation and ambient light intensity on the bicycle, combining the preset lighting database and action database, the state, angle and action of the lighting lamp are controlled to achieve multi-function lighting.

Benefits of technology

It improves the versatility and automation of bicycle headlight lighting, and can dynamically adjust the lighting status according to the environment and vehicle operation, enhancing riding safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119767489A_ABST
    Figure CN119767489A_ABST
Patent Text Reader

Abstract

The invention relates to a bicycle lamp lighting method and system, a storage medium and an intelligent terminal, and relates to the field of bicycle lamp control systems.The bicycle lamp lighting method comprises the steps that bicycle lamp key operation on a bicycle is obtained; searching a corresponding illumination state from a preset illumination database based on the vehicle lamp key operation; controlling the illuminating lamp to illuminate according to the illuminating state; obtaining vehicle operation and environment illumination intensity; searching an actual illumination state from an illumination database based on the environment illumination intensity; searching an illumination angle and an illumination action from a preset action database based on the vehicle operation; according to the method and the device, the state, the angle and the action of the required automobile lamp are determined through manual control and the action of the automobile, so that the multifunctional effect similar to the automobile lamp of the automobile is realized, and the practicability of the automobile lamp is improved. And the multifunctional and automatic effects of bicycle lamp illumination are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of bicycle light control systems, and in particular to a bicycle light lighting method, system, storage medium and intelligent terminal. Background Art

[0002] Bicycle lights are devices used to illuminate and improve visibility when riding a bicycle. They are essential for riding safety in low-light conditions, such as when riding at dawn, dusk or at night.

[0003] In the related art, bicycle lights are usually divided into two types: headlights and taillights: Headlights: installed on the front of the bicycle to illuminate the road ahead, help the cyclist see the road conditions clearly, and let others see the presence of the cyclist. The brightness of the headlight ranges from a few lumens to thousands of lumens, and lamps of different brightness are selected according to different usage scenarios. Taillights: installed on the rear of the bicycle, mainly serve as a warning, reminding the vehicles and pedestrians behind to pay attention and avoid. The taillight is generally red and has two modes: flashing and always on, to increase the chance of being noticed. Some lamps can be clamped directly on the bicycle, while others need to be fixed with screws, and the fixing position is usually on the wheel turning handle at the front end of the frame, facing the front of the wheel.

[0004] The prior art has the following problems: the headlights are only used for lighting and cannot produce any other functions. The functionality is too single and there is still room for improvement. Summary of the invention

[0005] In order to improve the problem that the headlight only serves as lighting and cannot produce any other functions and the functionality is too single, the present application provides a bicycle headlight lighting method, system, storage medium and intelligent terminal.

[0006] In a first aspect, the present application provides a bicycle lamp lighting method, which adopts the following technical solution: A bicycle lamp lighting method, comprising: Obtaining a light button operation on a bicycle, the bicycle comprising a body and a handlebar, the handlebar being arranged on the body, and both ends of the handlebar being provided with lighting lamps; Based on the operation of the vehicle light button, a corresponding lighting state is searched from a preset lighting database, where the lighting state includes a low beam state, a high beam state, a flashing light state or a no light state; Control the lighting lamp to illuminate according to the lighting status; Acquire a vehicle operation on the bicycle and an ambient light intensity, wherein the vehicle operation includes a left turn operation and a right turn operation; Find the corresponding actual lighting state from the lighting database based on the ambient light intensity; Find the corresponding lighting angle and lighting action from the preset action database based on the vehicle operation; The lighting lamp is controlled to adjust the lighting state according to the actual lighting state, and the lighting lamp is controlled to operate according to the lighting angle and lighting action.

[0007] By adopting the above technical solution, the required state, angle and action of the headlights are determined through human control and vehicle action, thereby achieving multifunctional functions similar to those of car lights and improving the versatility and automation of bicycle headlights.

[0008] Optionally, a method for checking the ambient light intensity is also included, the method comprising: Get the light intensity sensor number and receiving time that generates the light value; When the receiving time is less than the preset stable receiving time, the light intensity sensor number is removed; Determine the unreceived sensor number based on the light intensity sensor number and the preset full sensor number; When the unreceived sensor number does not exist or the corresponding number is less than a preset local critical number, the corresponding light intensity is received based on the light intensity sensor number; The light intensity with the largest number of filters is output as the ambient light intensity; When the number of unreceived sensor numbers is greater than a local critical number, a preset zero light intensity is output as the ambient light intensity.

[0009] By adopting the above technical solution, the ambient light intensity is checked by sensors at multiple angles, which can prevent sudden full-screen light impact on the one hand, and prevent unilateral light impact on the other hand, thereby improving the accuracy of ambient light impact.

[0010] Optionally, also include: When zero light intensity is output as the ambient light intensity, a corresponding angle receiving sensor number is searched from a preset number database based on vehicle operation; When the light intensity sensor number and the angle receiving sensor number match, the facial image captured on the helmet is obtained; Determine a successfully matched closed-eye image based on the facial image and the preset closed-eye feature; Outputting the lighting status when the closed-eye image does not exist; When the eye-closing image exists, the lighting state is modified to a preset flashing light state and a high beam light state.

[0011] By adopting the above technical solution, when the environment is obviously darker and there is obvious light in front or at the corner, it means that there may be strong light in front. In order to distinguish whether the strong light has an impact on the cyclist, the facial state is observed. When there are closed eyes on the face, it means that strong light has been generated, and the lighting state is changed to a flashing light state.

[0012] Optionally, the method for determining a successfully matched closed-eye image based on the facial image and the preset closed-eye feature includes: Obtaining facial illumination intensity based on a preset facial sensor number; No matching is performed when the facial illumination intensity is zero; When the facial illumination intensity and the illumination intensity corresponding to the angle receiving sensor number are the same, analyzing illumination color difference based on the facial image and a preset standard facial image; Modifying the eye-closing feature based on the illumination chromatic aberration to obtain the actual eye-closing feature; A successfully matched eye-closed image is determined based on the facial image and the actual eye-closed features.

[0013] By adopting the above technical solution, since some high beams are white light and some are black light, the light shining on the human face is different. The light intensity changes in most areas of the human face, thereby identifying the light, and then adjusting the color of the closed-eye features of the face in the gallery, thereby restoring the closed-eye features that match the light intensity, thereby improving the accuracy of the closed-eye feature output.

[0014] Optional methods for not matching when the face illumination intensity is zero include: Get the grip strength of the two handles when the facial illumination intensity is zero; When at least one of the gripping forces of the two handles is equal to zero, the soft light preset on the helmet is turned on, and then the facial image is recaptured; When the grip strength of both handles is greater than zero, no matching is performed.

[0015] By adopting the above technical solution, when the intensity of facial light is zero, it is possible that the person's hand is blocking it. At this time, it is necessary to determine the strength of the person's hand holding the handle. Then, when the person's hand is separated, it is also more dangerous. Therefore, strong light flashing is still required at this time to let the other party turn off the strong light as soon as possible, so that the rider can put his hands down and drive safely, thereby improving the accuracy of strong light recognition.

[0016] Optionally, the method of controlling the lighting lamp to adjust the lighting state according to the actual lighting state includes: When the light button operation is not performed, the lighting is controlled to illuminate according to the actual lighting status; When the light button operation is performed, a preset alarm signal is issued, and the light button operation is defined as a historical button operation; When a headlight key operation is obtained again, the headlight key operation is defined as confirmation of the headlight key operation; When confirming that the light button operation is consistent with the historical button operation, the lighting lamp is controlled to illuminate according to the lighting state; When the confirmed light button operation is inconsistent with the historical button operation, the corresponding confirmed lighting state is searched from the lighting database based on the confirmed light button operation; When the lighting state is confirmed to be consistent with the actual lighting state, the lighting lamp is controlled to illuminate according to the actual lighting state; When the confirmed lighting state and the actual lighting state are inconsistent, the confirmed headlight button operation is updated to the historical button operation, and the alarm signal continues to be issued until the confirmed headlight button operation is consistent with the historical button operation.

[0017] By adopting the above technical solution, when the corresponding light under the influence of the environment is different from the light operated by the user, an inquiry is issued to determine whether the operation needs to be changed. If the customer insists on executing it, it is executed according to the customer's judgment, thereby improving the humanization of the car lighting.

[0018] Optionally, the method further includes controlling the lighting lamp to illuminate according to the actual lighting state when the lighting state is confirmed to be consistent with the actual lighting state. The method includes: Obtain driving status and road coordinates within the preset experience interval; Re-send alarm signal when ambient light intensity changes, determine actual lighting status and confirm lighting status; When the ambient light intensity does not change, the corresponding historical normal driving status is found from the preset historical database based on the highway coordinates; When the historical normal driving state exists and the driving state is consistent with the historical normal driving state, the lighting lamp continues to be controlled according to the actual lighting state; When the historical normal driving state exists but the driving state is inconsistent with the historical normal driving state, the alarm signal is re-issued to determine the actual lighting state and confirm the lighting state; Determine the current road condition based on the road coordinates when the historical normal driving state does not exist; Perform fitting comparison based on the current highway road condition and the corresponding historical road condition in the preset driving database to obtain the historical road condition with the highest similarity and greater than the preset similarity critical value, and define the historical road condition as a similar historical road condition; Based on similar historical road conditions, the corresponding similar historical normal driving status is found from the historical database; When the driving state is consistent with the normal driving state in similar history, the lighting lamps continue to be controlled according to the actual lighting state; When the driving state is inconsistent with the similar historical normal driving state, the alarm signal is re-issued to determine the actual lighting state and confirm the lighting state.

[0019] By adopting the above technical solution, the driving conditions under the current road conditions are compared with the past historical conditions or similar historical conditions in the past. If it is obviously slower than in the past, it means that the lighting conditions are obviously wrong, so the lighting needs to be rechecked. After a period of time, the user will also find that the lighting problem causes inconvenience in driving, so he will also re-select the lighting, which improves the humanity and safety of the lighting method.

[0020] In a second aspect, the present application provides a bicycle lamp lighting system, which adopts the following technical solution: A bicycle lamp lighting system, comprising: The acquisition module is used to obtain the operation of the headlight buttons, vehicle operation, ambient light intensity, light intensity sensor number, reception duration, facial image, facial light intensity, handle grip strength, driving status and road coordinates; A memory, used for storing a program of any of the above-mentioned control methods of bicycle lamp lighting methods; The program in the memory can be loaded and executed by the processor to implement any of the above-mentioned control methods for bicycle lamp lighting methods.

[0021] By adopting the above technical solution, the required state, angle and action of the headlights are determined through human control and vehicle action, thereby achieving multifunctional functions similar to those of car lights and improving the versatility and automation of bicycle headlights.

[0022] In the third aspect, the present application provides a smart terminal, which adopts the following technical solution: The intelligent terminal comprises a memory and a processor, wherein the memory stores a computer program which can be loaded by the processor and execute any one of the above-mentioned bicycle lamp lighting methods.

[0023] By adopting the above technical solution, the required state, angle and action of the headlights are determined through human control and vehicle action, thereby achieving multifunctional functions similar to those of car lights and improving the versatility and automation of bicycle headlights.

[0024] Fourthly, the present application provides a computer storage medium that can store corresponding programs and has the characteristics of fast interaction with memory big data.

[0025] Computer readable storage medium, using the following technical solution: A computer-readable storage medium stores a computer program that can be loaded by a processor and execute any of the above-mentioned bicycle lamp lighting methods.

[0026] By adopting the above technical solution, the required state, angle and action of the headlights are determined through human control and vehicle action, thereby achieving multifunctional functions similar to those of car lights and improving the versatility and automation of bicycle headlights.

[0027] In summary, the present application includes at least the following beneficial technical effects: 1. The required state, angle and movement of the lights are determined by human control and vehicle movement, thus achieving multifunctional functions similar to those of car lights, and improving the versatility and automation of bicycle lighting; 2. When strong light appears, by observing the state of the person's face, if the person's eyes are closed, it means that strong light has been generated, then the lighting state is changed to the flashing light state; 3. When the corresponding light under the influence of the environment is different from the light operated by the user, an inquiry will be issued to determine whether the operation needs to be changed. If the customer insists on executing it, it will be executed according to the customer's judgment, which improves the humanization of the car lighting. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 It is a flow chart of a bicycle lamp lighting method in an embodiment of the present application.

[0029] Figure 2 It is a schematic diagram of the structure of a bicycle in an embodiment of the present application.

[0030] Figure 3 It is a flow chart of the method for checking the ambient light intensity in an embodiment of the present application.

[0031] Figure 4 It is a flowchart of a method for determining a successfully matched closed-eye image based on a facial image and preset closed-eye features in an embodiment of the present application.

[0032] Figure 5 This is a flow chart of a method for not performing matching when the facial illumination intensity is zero in an embodiment of the present application.

[0033] Figure 6 It is a flow chart of a method for controlling a lighting lamp to adjust a lighting state according to an actual lighting state in an embodiment of the present application.

[0034] Figure 7 It is a flow chart of a subsequent lighting method in an embodiment of the present application, after confirming that the lighting state is consistent with the actual lighting state, controlling the lighting lamp to illuminate according to the actual lighting state.

[0035] Figure 8 It is a system module diagram of a bicycle lamp lighting method in an embodiment of the present application.

[0036] Explanation of the accompanying reference numerals: 1. vehicle body; 2. handle; 21. lighting; 3. helmet. DETAILED DESCRIPTION

[0037] In order to make the purpose, technical solutions and advantages of this application more clear, the following Figure 1-Figure 8 It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0038] The present application embodiment discloses a bicycle lamp lighting method. Figure 1 , a bicycle lamp lighting method comprises: Step 100: Get the light button operation on the bicycle.

[0039] Reference Figure 2 The bicycle comprises a body 1 and a handlebar 2, wherein the handlebar 2 is mounted on the body 1 for the rider to hold and control the direction of the bicycle. Lights 21 are mounted on both ends of the handlebar 2, and the light 21 is actually composed of a plurality of functional bulbs, including a low beam, a high beam, and a yellow light for turning, and the function is similar to that of a car.

[0040] The light button operation is the operation of the button that controls the lighting or closing of the lighting lamp 21. That is, a plurality of buttons of the lighting lamp 21 are also installed on the handlebar 2 to control the opening and closing of the lighting lamp 21. The acquisition method is that when the user presses the corresponding button, the corresponding signal is automatically generated.

[0041] Step 101: searching for a corresponding lighting state from a preset lighting database based on a vehicle light button operation.

[0042] The lighting status includes low beam status, high beam status, flashing light status or no light status. The lighting status is the status of whether the corresponding light is turned on. The database stores the mapping relationship between the light button operation and the lighting status. The corresponding lighting conditions are recorded by the staff in this field after pressing the corresponding light button. When the system receives the corresponding light button operation, it automatically finds the corresponding lighting status from the database and outputs it.

[0043] Step 102: Control the lighting lamp 21 to illuminate according to the lighting state.

[0044] Here, human-performed operations are prioritized.

[0045] Step 103: Obtain vehicle operation and ambient light intensity on the bicycle.

[0046] The vehicle operation includes a left turn operation and a right turn operation. Of course, other operations can also be used as vehicle operations. The acquisition method is to identify the rotation angle of the rotation shaft in front of the vehicle body 1, and the rotation angle of the rotation shaft in front of the vehicle body 1 can be obtained by an angle sensor.

[0047] The ambient light intensity is the intensity of the ambient light, which is obtained by a light sensor.

[0048] Step 104: searching the corresponding actual lighting state from the lighting database based on the ambient light intensity.

[0049] The actual lighting state is the lighting state that should actually be achieved under the ambient light intensity. The database also stores the mapping relationship between the ambient light intensity and the actual lighting state, which is obtained by the staff in this field according to the ambient light intensity corresponding to the lighting that can illuminate the path of the bicycle and identify it. When the system receives the ambient light intensity, it automatically finds the corresponding actual lighting state from the database and outputs it.

[0050] Step 105: Searching for corresponding lighting angles and lighting actions from a preset action database based on the vehicle operation.

[0051] The lighting angle is the angle at which lighting is required. When a bicycle turns, it means that the lane it needs to travel in has turned. At this time, the lighting position is no longer a straight line. The lighting angle needs to rotate with the turning angle. Although the handlebar 2 of the bicycle has been turned, it is impossible for the handlebar 2 to rotate 90° if it turns at a right angle. Therefore, it is generally at the most stable and fastest turning angle. However, the lighting angle is 90°, so the lighting lamp 21 still needs to be tilted. The lighting action is to express the action of the vehicle operation. For example, if you turn left, the left lighting lamp 21 flashes to warn the bicycle in front that it will turn left.

[0052] The database stores the mapping relationship between vehicle operation, lighting angle and lighting action. The staff in this field adjusts the lighting angle of the lighting lamp 21 according to the reasonable and different vehicle operations performed by the vehicle at different positions, and then expresses it with the lighting action known to everyone, and finally records the corresponding lighting angle and lighting action. When the system receives the corresponding vehicle operation, it automatically finds the corresponding lighting angle and lighting action from the database and outputs them.

[0053] Step 106: Control the lighting lamp 21 to adjust the lighting state according to the actual lighting state, and control the lighting lamp 21 to operate according to the lighting angle and lighting action.

[0054] The purpose of controlling the lighting lamp 21 to adjust the lighting state according to the actual lighting state is to prevent misoperation. The lighting lamp 21 is controlled to operate according to the lighting angle and lighting action so that the lighting lamp 21 can achieve different functions.

[0055] Reference Figure 3 , and also includes a method for checking the ambient light intensity, the method comprising: Step 200: Obtain the light intensity sensor number and receiving duration that generates the light value.

[0056] The light intensity sensor number is the number of the light intensity sensor. The receiving duration is the duration of stable light intensity received by the sensor corresponding to the light intensity sensor number. The light intensity sensor is a sensor that converts light intensity into electrical signals, and the output value unit is Lux. The acquisition method is to automatically identify the corresponding light intensity sensor number once an electrical signal is generated, and start to accumulate the duration of the electrical signal consistency. The receiving duration is obtained by timing the timer.

[0057] It should be noted that there are several light intensity sensors, and they are arranged in different directions along the circumference of the bicycle to detect the light intensity at all positions, rather than the light intensity in a single direction, which would lead to the wrong answer that it is daytime once there is a car light shining in this direction, thus affecting the judgment.

[0058] Step 201: Remove the light intensity sensor number when the receiving duration is less than a preset stable receiving duration.

[0059] The stable reception time is the time required for judgment when the illumination time is sufficient and it is assumed by default that it can be illuminated at all times. If it exceeds this time, it means that the illumination time is sufficient. One possibility is that the ambient light intensity is so high, and the other possibility is that there is continuous strong light in the surrounding area. When the reception time is less than the stable reception time, it means that it may be a momentary light, and it may be the light of the vehicle driving in front, which cannot represent the entire ambient light. Therefore, the number can be removed to prevent interference with the judgment of the ambient light intensity.

[0060] Step 202: Determine the unreceived sensor number based on the light intensity sensor number and the preset full sensor number.

[0061] The full sensor number is the number of all sensors. The unreceived sensor number is the number of the sensor that did not receive the light intensity. The determination method is to match the full sensor number with the light intensity sensor number. If the full sensor number and the light intensity sensor number do not match, the corresponding full sensor number is used as the unreceived sensor number. Step 203: Receive the corresponding light intensity based on the light intensity sensor number when the unreceived sensor number does not exist or the corresponding number is less than the preset local critical number.

[0062] The local critical number is the number of unreceived sensor numbers that may be temporarily blocked by other things and thus fail to receive light intensity. The light intensity is the light intensity received by the sensor corresponding to the light intensity sensor number.

[0063] If the unreceived sensor number does not exist or the corresponding number is less than the preset local critical number, it means that most of the sensors have received it. This means that these unreceived sensor numbers cannot be used as reference sensors for ambient light intensity, but will affect the confirmation of ambient light intensity, so they can be removed.

[0064] Step 204: Filter the light intensity with the largest number and output it as the ambient light intensity.

[0065] The purpose of screening is to select a more appropriate intensity. When the light intensity is weakened or illuminated by other lights, there will be insufficient or enhanced local light intensity, but these are local, so most of it is still the ambient light intensity, so you can just choose the intensity with the largest number of concerns.

[0066] Step 205: Outputting a preset zero light intensity as the ambient light intensity when the number of unreceived sensor numbers is greater than a local critical number.

[0067] Zero light intensity is a light intensity with a value of zero.

[0068] When the number of unreceived sensor numbers is greater than the local critical number, it means that most of them are unreceived, and at this time, it means that there is light in a minority, which means that it is night or in an environment without light, with only local lighting, and zero light intensity can be output as the ambient light intensity.

[0069] Step 206 : When zero light intensity is output as the ambient light intensity, search for the corresponding angle receiving sensor number from a preset number database based on vehicle operation.

[0070] The angle receiving sensor number is the number of the light intensity sensor that receives the illumination light of the vehicle coming in the corresponding direction before determining the turning angle according to the vehicle operation. The mapping relationship between the vehicle operation and the angle receiving sensor number is stored in the database. The staff in this field records the number of the light intensity sensor that converts the electrical signal according to the reasonable different vehicle operations performed by the vehicle at different positions, and then illuminates the bicycle vehicle on the corresponding lane and covers different lanes as much as possible. When the system receives the vehicle operation, it automatically finds the corresponding angle receiving sensor number from the database and outputs it.

[0071] Step 207: When the light intensity sensor number and the angle receiving sensor number match, the facial image captured on the helmet 3 is obtained.

[0072] The face image is an image of the rider's face. Figure 2 As shown, the bicycle also includes a helmet 3 worn on the rider's head. When the light intensity sensor number and the angle receiving sensor number match, it means that light intensity is received at the angle receiving sensor number. In order to determine whether it is strong light and causes interference with vision, it is necessary to determine the facial expression.

[0073] Step 208: Determine a successfully matched eye-closing image based on the facial image and the preset eye-closing feature.

[0074] The closed eye feature is the feature of the eye after the eyes are closed. The closed eye image is the image of the eye after the closed eye feature is successfully matched. The matching method is to put the closed eye feature on the face for mobile matching. If most of the positions overlap, it means that the match is successful, and then the image at the corresponding position is output as the closed eye image.

[0075] Step 209: Output the lighting status when the eye-closing image does not exist.

[0076] When the closed-eye image does not exist, it means that there is no strong light and does not affect the rider's vision, or there is strong light, but the strong light does not shine on the rider's face and does not affect the rider's vision, so no measures are needed, and the lighting status can be output.

[0077] Step 210: When the eye-closing image exists, modify the lighting state to a preset flashing light state and a high beam light state.

[0078] The flashing light state is the state where the light is flashing. The high beam state is the state where the light is in the high beam state. After integration, it is the state where the high beam is turned on and flashing. When the closed-eye image exists, it means that there is really strong light at this time and it affects the rider's vision, so the lighting state is changed to the preset flashing light state and high beam state to flash, reminding the vehicle in front not to use high beam and strong light.

[0079] Reference Figure 4 The method for determining a successfully matched closed-eye image based on a facial image and a preset closed-eye feature includes: Step 300: Obtain facial illumination intensity based on a preset facial sensor number.

[0080] The facial sensor number is a sensor set on the helmet 3 to receive the light intensity shining on the face, and the purpose is to determine whether there is light intensity. The facial light intensity is the light intensity received by the light intensity sensor corresponding to the facial sensor number.

[0081] Step 301: Do not perform matching when the facial illumination intensity is zero.

[0082] When the facial illumination intensity is zero, it means that no light is shining on the face. Since the dark vision photo is not clear, no matching is performed. Of course, the subsequent steps can also be used to make the face clear, which will not be repeated here.

[0083] Step 302: Analyze the illumination color difference based on the facial image and a preset standard facial image when the facial illumination intensity and the illumination intensity corresponding to the angle receiving sensor number are the same.

[0084] The standard facial image is the light intensity of the face under normal lighting, such as natural light. The lighting color difference is the color difference caused by the lighting between the current facial image and the standard facial image. The analysis method can be a matching method, that is, for example, adding different lighting to the standard facial image to make it an image of a face with different colors, and then matching it with the facial image one by one. If the match is successful, the corresponding lighting color difference is obtained.

[0085] If the facial illumination intensity is the same as the illumination intensity corresponding to the angle receiving sensor number, it means that the same light is being received. Therefore, if there is light shining on the face, the image of the face can be obtained when taking a photo, not a black image.

[0086] Step 303: modify the eye-closing feature based on the illumination chromatic aberration to obtain the actual eye-closing feature.

[0087] The actual eye-closing feature is a feature after the eye-closing feature is modified according to the illumination chromatic aberration, and the modification method may be a rendering method.

[0088] Step 304: Determine a successfully matched eye-closing image based on the facial image and the actual eye-closing features.

[0089] The matching method is the same as step 208, which will not be described in detail here. At this time, the color of the closed-eye feature of the face in the gallery is adjusted to simulate the closed-eye feature matched under different light intensities, thereby improving the accuracy of the closed-eye feature output.

[0090] Reference Figure 5 , methods that do not match when the facial illumination intensity is zero include: Step 400: Obtain the gripping force of the two handles 2 when the facial illumination intensity is zero.

[0091] The handle gripping force refers to the gripping force on the handle 2. Generally, two pressure sensors are provided at both ends of the handle 2 to receive the handle gripping force.

[0092] When the facial light intensity is zero, it means that the face does not receive any light. There are two situations at this time. One is that there is no light on the face at all, then the rider can drive normally. The other is that the rider blocks the light with his hands. In this case, although there is no light on the face, the rider is riding hands-free, which is more dangerous. Therefore, it is still necessary to remind the person in front to turn off the high beam and strong light.

[0093] Step 401: When at least one of the gripping forces of the two handles is equal to zero, turn on the soft light preset on the helmet 3, and then reacquire the facial image.

[0094] When at least one of the gripping forces of the two handles is equal to zero, it means that the rider has let go of one hand and used his arm to cover the face. Since the arm covering is still basically unable to completely cover the face, the eyes will basically be closed or squinted, and the facial image can be recaptured at this time. Since the line of sight is dark, the soft light is turned on to facilitate the acquisition of the facial image.

[0095] It should be noted that the soft light does not shine directly into the rider’s eyes, and the intensity is not high and not glaring.

[0096] Step 402: Do not match when the gripping strength of the two handles is greater than zero.

[0097] When the gripping forces of both handles are greater than zero, it means that the rider's hands have not left handlebar 2, and no matching is performed.

[0098] Reference Figure 6 The method of controlling the lighting lamp 21 to adjust the lighting state according to the actual lighting state includes: Step 500: When the vehicle light button operation does not exist, the lighting lamp 21 is controlled to illuminate according to the actual lighting state.

[0099] When the headlight button operation does not exist, it means that the rider has no subjective need to operate the headlight, so the headlight can be directly operated according to the actual lighting status.

[0100] Step 501: When a vehicle light key operation exists, a preset alarm signal is issued, and the vehicle light key operation is defined as a historical key operation.

[0101] The alarm signal is that the lighting state corresponding to the operation of the headlight button is inconsistent with the actual lighting state, so the alarm signal needs to be confirmed. Here it can be in the form of text and voice broadcast, for example: "Inconsistent, please press again."

[0102] When the headlight button operation exists, it means that there is a lighting state corresponding to the headlight button operation. If it is inconsistent at this time, it is necessary to determine which one it is to prevent the rider from operating it incorrectly.

[0103] Step 502: When a headlight key operation is acquired again, the headlight key operation is defined as a confirmation headlight key operation.

[0104] Step 503: When it is confirmed that the vehicle light key operation is consistent with the historical key operation, the lighting lamp 21 is controlled to illuminate according to the lighting state.

[0105] When it is confirmed that the headlight button operation is consistent with the historical button operation, it means that the rider is determined to illuminate according to the lighting state corresponding to the headlight button operation, and no adjustment is made, and the lighting lamp 21 is still controlled to illuminate according to the lighting state.

[0106] Step 504: When the confirmed vehicle light key operation is inconsistent with the historical key operation, a corresponding confirmed lighting state is searched from a lighting database based on the confirmed vehicle light key operation.

[0107] The confirmed lighting state is the lighting state corresponding to the confirmed light button operation. The establishment of the database is introduced in step 101 and will not be repeated here. When the system receives the corresponding confirmed light button operation, it automatically searches the database for the corresponding confirmed lighting state and outputs it.

[0108] Step 505: When it is confirmed that the lighting state is consistent with the actual lighting state, control the lighting lamp 21 to illuminate according to the actual lighting state.

[0109] When the confirmed lighting state is consistent with the actual lighting state, it means that the rider finds that the previous button is wrong. After carefully observing the environment, the rider re-determines the actual lighting state, so the lighting lamp 21 is controlled to illuminate according to the actual lighting state.

[0110] Step 506: When the confirmed lighting state and the actual lighting state are inconsistent, the confirmed light button operation is updated as the historical button operation, and the alarm signal is continuously issued until the confirmed light button operation is consistent with the historical button operation.

[0111] When the confirmed lighting state is inconsistent with the actual lighting state, it means that it is also inconsistent with the actual lighting state corresponding to the ambient light intensity, and it is impossible to confirm which one is normal, so it is necessary to continue to confirm and continue to send out alarm signals.

[0112] Here, two confirmations are adopted to ensure that the final lighting state meets the rider's requirements.

[0113] Reference Figure 7 , and further comprising a subsequent lighting method after controlling the lighting lamp 21 to illuminate according to the actual lighting state when confirming that the lighting state is consistent with the actual lighting state, the method comprising: Step 600: Obtain driving status and road coordinates within a preset experience interval.

[0114] The experience interval is the length of time required to determine the vehicle status during this period of time. The driving status is the vehicle status, such as vehicle speed. It is obtained by the corresponding sensor. The road coordinates are the coordinates of the vehicle at this time. It is obtained by GPS.

[0115] Step 601: Re-issuing an alarm signal when the ambient light intensity changes, determining the actual lighting status and confirming the lighting status.

[0116] When the ambient light intensity changes, it means that everything is changing at this time, so the previous lighting state, actual lighting state and confirmed lighting state can all change, so they need to be re-determined, that is, the alarm signal is re-issued to determine the actual lighting state and confirmed lighting state.

[0117] Step 602: When the ambient light intensity does not change, the corresponding historical normal driving state is searched from a preset historical database based on the highway coordinates.

[0118] The historical normal driving state is the normal driving state in the past time on this highway coordinate, including the speed, etc. The database stores the mapping relationship between the highway coordinates and the historical normal driving state. It is obtained by the vehicle recording the vehicle state and GPS positioning at each place. When the system receives the corresponding highway coordinates, it automatically finds the corresponding historical normal driving state from the database and outputs it.

[0119] When the ambient light intensity does not change, it means that at least the actual lighting state will not change. At this time, if it is confirmed that the lighting state still does not change, it means that in theory the vehicle is still illuminated according to the lighting that does not match the environment. At this time, in order to confirm whether it is normal, it is necessary to check whether it is the same as the previous normal state, so check the more normal driving state in the historical process.

[0120] Step 603: When the historical normal driving state exists and the driving state is consistent with the historical normal driving state, continue to control the lighting lamp 21 according to the actual lighting state.

[0121] The existence of the historical normal driving state indicates that there is a corresponding historical record. When the driving state is consistent with the historical normal driving state, it means that the rider can also drive normally under the current lighting, and no further lighting adjustment is required, and the lighting can still be performed according to the actual lighting state.

[0122] Step 604: When the historical normal driving state exists but the driving state is inconsistent with the historical normal driving state, an alarm signal is re-issued to determine the actual lighting state and confirm the lighting state.

[0123] If the driving status is inconsistent with the historical normal driving status, it means that the rider's vehicle is in poor driving condition, which means that the current lighting status is incorrect and needs to be reconfirmed.

[0124] Step 605: Determine the current road condition based on the road coordinates when the historical normal driving state does not exist.

[0125] The current road condition is the road condition of the road where the road coordinates are located. The determination method can be read during the riding process, such as: altitude increase, turn, etc., or directly obtained by map recognition.

[0126] Step 606: Perform fitting comparison based on the current highway road condition and the corresponding historical road condition in the preset driving database to obtain the historical road condition with the highest similarity and greater than the preset similarity threshold, and define the historical road condition as a similar historical road condition.

[0127] The driving database stores various road conditions of the vehicle when the rider rides. The historical road conditions are the road conditions of the vehicle during the historical riding process. The similarity threshold is the value that can be considered basically similar when it exceeds this value.

[0128] The fitting method can compare all the data and then multiply them by the corresponding weights to get the one with the highest similarity.

[0129] Step 607: Based on the similar historical road conditions, the corresponding similar historical normal driving status is searched from the historical database.

[0130] The similar historical normal driving state is the normal driving state corresponding to the similar historical road condition in the historical process.

[0131] Step 608: When the driving state is consistent with a similar historical normal driving state, continue to control the lighting lamp 21 according to the actual lighting state.

[0132] Although it is not the current highway coordinate, the basic road conditions are similar, so it can also be regarded as the highway coordinate. When the driving state is consistent with the similar historical normal driving state, the description is similar to step 603, and the lighting lamp 21 continues to be controlled according to the actual lighting state.

[0133] Step 609: When the driving state is inconsistent with the similar historical normal driving state, the alarm signal is re-issued to determine the actual lighting state and confirm the lighting state.

[0134] If the driving state is inconsistent with the similar historical normal driving state, the description is similar to step 604, and the alarm signal is re-issued to determine the actual lighting state and confirm the lighting state.

[0135] Based on the same inventive concept, an embodiment of the present invention provides a bicycle lamp lighting system.

[0136] Reference Figure 8 , a bicycle lamp lighting system, comprising: The acquisition module is used to obtain the operation of the headlight buttons, vehicle operation, ambient light intensity, light intensity sensor number, reception duration, facial image, facial light intensity, handle grip strength, driving status and road coordinates; A memory for storing a program of a control method for a bicycle lamp lighting method; The program in the memory can be loaded and executed by the processor to realize a control method for a bicycle light lighting method.

[0137] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the above-described system, device and unit can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0138] An embodiment of the present invention provides a computer-readable storage medium storing a computer program capable of being loaded by a processor and executed by a bicycle lamp lighting method.

[0139] Computer storage media include, for example, various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.

[0140] Based on the same inventive concept, an embodiment of the present invention provides an intelligent terminal, including a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executed by a bicycle lamp lighting method.

[0141] The above are all preferred embodiments of the present application, and are not intended to limit the protection scope of the present application. Any feature disclosed in this specification (including the abstract and drawings), unless otherwise stated, can be replaced by other equivalent or alternative features with similar purposes. That is, unless otherwise stated, each feature is only an example of a series of equivalent or similar features.

Claims

1. A bicycle lamp lighting method, characterized in that: include: Obtaining a light button operation on a bicycle, the bicycle comprising a body (1) and a handlebar (2), the handlebar (2) being arranged on the body (1), and lighting lamps (21) being arranged at both ends of the handlebar (2); Based on the operation of the vehicle light button, a corresponding lighting state is searched from a preset lighting database, where the lighting state includes a low beam state, a high beam state, a flashing light state or a no light state; Controlling the lighting lamp (21) to illuminate according to the lighting state; Acquire a vehicle operation on the bicycle and an ambient light intensity, wherein the vehicle operation includes a left turn operation and a right turn operation; Find the corresponding actual lighting state from the lighting database based on the ambient light intensity; Find the corresponding lighting angle and lighting action from the preset action database based on the vehicle operation; The lighting lamp (21) is controlled to adjust the lighting state according to the actual lighting state, and the lighting lamp (21) is controlled to operate according to the lighting angle and the lighting action.

2. A bicycle lamp lighting method according to claim 1, characterized in that: Also included is a method for checking the ambient light intensity, the method comprising: Get the light intensity sensor number and receiving time that generates the light value; When the receiving time is less than the preset stable receiving time, the light intensity sensor number is removed; Determine the unreceived sensor number based on the light intensity sensor number and the preset full sensor number; When the unreceived sensor number does not exist or the corresponding number is less than a preset local critical number, the corresponding light intensity is received based on the light intensity sensor number; The light intensity with the largest number of filters is output as the ambient light intensity; When the number of unreceived sensor numbers is greater than a local critical number, a preset zero light intensity is output as the ambient light intensity.

3. A bicycle lamp lighting method according to claim 2, characterized in that: Also includes: When zero light intensity is output as the ambient light intensity, a corresponding angle receiving sensor number is searched from a preset number database based on vehicle operation; When the light intensity sensor number and the angle receiving sensor number match, obtaining a facial image captured on the helmet (3); Determine a successfully matched closed-eye image based on the facial image and the preset closed-eye feature; Outputting the lighting status when the closed-eye image does not exist; When the eye-closing image exists, the lighting state is modified to a preset flashing light state and a high beam light state.

4. A bicycle lamp lighting method according to claim 3, characterized in that: The method for determining a successfully matched closed-eye image based on a facial image and a preset closed-eye feature includes: Obtaining facial illumination intensity based on a preset facial sensor number; No matching is performed when the facial illumination intensity is zero; When the facial illumination intensity and the illumination intensity corresponding to the angle receiving sensor number are the same, analyzing illumination color difference based on the facial image and a preset standard facial image; Modifying the eye-closing feature based on the illumination chromatic aberration to obtain the actual eye-closing feature; A successfully matched eye-closed image is determined based on the facial image and the actual eye-closed features.

5. A bicycle lamp lighting method according to claim 4, characterized in that: Methods that do not match when the face light intensity is zero include: Obtaining the gripping force of the handles on the two handles (2) when the facial illumination intensity is zero; When at least one of the gripping forces of the two handles is equal to zero, a soft light preset on the helmet (3) is turned on, and then the facial image is recaptured; When the grip strength of both handles is greater than zero, no matching is performed.

6. A bicycle lamp lighting method according to claim 1, characterized in that: The method for controlling the lighting lamp (21) to adjust the lighting state according to the actual lighting state comprises: When the vehicle light button operation is not performed, the lighting lamp (21) is controlled to illuminate according to the actual lighting state; When the light button operation is performed, a preset alarm signal is issued, and the light button operation is defined as a historical button operation; When a headlight key operation is obtained again, the headlight key operation is defined as confirmation of the headlight key operation; When confirming that the vehicle light key operation and the historical key operation are consistent, controlling the lighting lamp (21) to illuminate according to the lighting state; When the confirmed light button operation is inconsistent with the historical button operation, the corresponding confirmed lighting state is searched from the lighting database based on the confirmed light button operation; When it is confirmed that the lighting state is consistent with the actual lighting state, controlling the lighting lamp (21) to illuminate according to the actual lighting state; When the confirmed lighting state and the actual lighting state are inconsistent, the confirmed headlight button operation is updated to the historical button operation, and the alarm signal continues to be issued until the confirmed headlight button operation is consistent with the historical button operation.

7. A bicycle lamp lighting method according to claim 6, characterized in that: Also included is a subsequent lighting method after controlling the lighting lamp (21) to illuminate according to the actual lighting state when the lighting state is confirmed to be consistent with the actual lighting state, the method comprising: Obtain driving status and road coordinates within the preset experience interval; Re-send alarm signal when ambient light intensity changes, determine actual lighting status and confirm lighting status; When the ambient light intensity does not change, the corresponding historical normal driving status is found from the preset historical database based on the highway coordinates; When the historical normal driving state exists and the driving state is consistent with the historical normal driving state, the lighting lamp (21) continues to be controlled according to the actual lighting state; When the historical normal driving state exists but the driving state is inconsistent with the historical normal driving state, the alarm signal is re-issued to determine the actual lighting state and confirm the lighting state; Determine the current road condition based on the road coordinates when the historical normal driving state does not exist; Perform fitting comparison based on the current highway road condition and the corresponding historical road condition in the preset driving database to obtain the historical road condition with the highest similarity and greater than the preset similarity critical value, and define the historical road condition as a similar historical road condition; Based on similar historical road conditions, the corresponding similar historical normal driving status is found from the historical database; When the driving state is consistent with a similar historical normal driving state, the lighting lamp (21) continues to be controlled according to the actual lighting state; When the driving state is inconsistent with the similar historical normal driving state, the alarm signal is re-issued to determine the actual lighting state and confirm the lighting state.

8. A bicycle lighting system, characterized in that: include: The acquisition module is used to obtain the operation of the headlight buttons, vehicle operation, ambient light intensity, light intensity sensor number, reception duration, facial image, facial light intensity, handle grip strength, driving status and road coordinates; A memory for storing a program of a control method for a bicycle lamp lighting method according to any one of claims 1 to 7; The program in the memory can be loaded and executed by the processor to implement the control method of the bicycle lamp lighting method according to any one of claims 1 to 7.

9. Intelligent terminal, characterized in that: The invention comprises a memory and a processor, wherein the memory stores a computer program which can be loaded by the processor and executes a bicycle lamp lighting method as claimed in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that The computer program is stored which can be loaded by a processor and executes a bicycle lamp lighting method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method and device for controlling lamp of bicycle

    CN105151173A

  • Bicycle lighting device

    CN106394746A

  • Bicycle lamplight control system and bicycle

    CN110641586A

  • Bicycle with light control device

    CN111846051A

  • Automobile lamp adjusting method

    CN113525225A