Cycling alert method, apparatus and safety helmet
Patent Information
- Application Number
- CN202610924626.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-25
- Publication Date
- 2026-10-13
AI Technical Summary
[0002]在日常生活中,二轮电动车成为短途出行主流交通工具,但一些不规范的骑行行为也导致了电动车的交通安全事故频发;例如,骑行人在骑行途中低头查看手机导航以及回复消息等分心行为,会导致骑行人的视野脱离路面且反应能力下降,是引发交通事故的主要诱因
[0027]上述骑行预警方法、装置以及安全头盔,通过主动式对骑行人的姿态信息进行监测,确定其是否处于敏感姿态,并在骑行人处于敏感姿态的情况下,生成第一预警指令并执行,从而使得警示设备能够对骑行人进行主动提醒,避免骑行人长时间处于敏感姿态,这使得骑行人即使进入不安全的敏感姿态,也不会持续较长的时间,从而提升了骑行人在骑行状态中的注意力和感知能力,提升了骑行过程中的安全性。
Smart Images

Figure CN122906807A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of traffic safety, and in particular to a cycling warning method, device, and safety helmet. Background Technology
[0002] In daily life, two-wheeled electric vehicles have become the mainstream means of transportation for short-distance travel. However, some irregular riding behaviors have also led to frequent traffic accidents involving electric vehicles. For example, distracted behaviors such as looking down at mobile phone navigation and replying to messages while riding can cause riders to lose sight of the road and reduce their reaction ability, which are the main causes of traffic accidents.
[0003] Improving cyclist safety during riding is an urgent problem that needs to be solved. Summary of the Invention
[0004] Therefore, it is necessary to provide a cycling warning method, device, and safety helmet that can improve the safety of cyclists during cycling, addressing the aforementioned technical problems.
[0005] In a first aspect, this application provides a cycling warning method applied to a safety helmet, the method comprising:
[0006] While riding, acquire the rider's posture information, and determine whether the rider is in a sensitive posture based on the posture information.
[0007] Upon determining that the cyclist is in the sensitive posture, a first warning command is generated and executed, the first warning command being used to instruct the warning device to issue a warning.
[0008] In one embodiment, the posture information includes the pitch angle of the cyclist's head. The safety helmet is equipped with a gyroscope and an angle sensor. Acquiring the cyclist's posture information includes:
[0009] The transient acceleration measured by the gyroscope and the initial pitch angle measured by the angle sensor are obtained.
[0010] The transient acceleration and the initial pitch angle are processed using a fusion denoising algorithm to obtain the pitch angle of the cyclist's head.
[0011] In one embodiment, determining whether the cyclist is in a sensitive posture based on the posture information includes:
[0012] When the pitch angle is within the sensitive range, the rider is determined to be in the sensitive posture; or
[0013] Determine the duration for which the pitch angle remains within the sensitive range, and if the duration is greater than or equal to a risk threshold, determine that the cyclist is in the sensitive posture.
[0014] In one embodiment, the warning device includes a vibration module and an audio module disposed on the safety helmet; generating the first warning command includes:
[0015] Generate a first vibration command and a first voice command; wherein the first vibration command is used to instruct the vibration module to vibrate in a first mode, and the first voice command is used to instruct the audio module to play a first audio file.
[0016] In one embodiment, the vibration module includes at least two vibration motors disposed at different locations, and the audio module includes at least two speakers disposed at different locations.
[0017] In one embodiment, the method further includes:
[0018] In riding mode, in response to a steering command, a second warning command is generated; the steering command represents the target side of the turn, and the second warning command is used to indicate that an indicator light located on the target side of the safety helmet will issue a warning.
[0019] In one embodiment, a first sensor is disposed within the safety helmet, and the method further includes:
[0020] The trigger state of the first sensor is obtained, and if the trigger state indicates that the safety helmet is being worn, the safety helmet is determined to be in the riding state.
[0021] Secondly, this application also provides a cycling warning device for use in a safety helmet, the device comprising an attitude monitoring module and a command generation module, wherein:
[0022] The posture monitoring module is used to acquire the cyclist's posture information during riding and determine whether the cyclist is in a sensitive posture based on the posture information.
[0023] The instruction generation module is used to generate and execute a first warning instruction when it is determined that the cyclist is in the sensitive posture. The first warning instruction is used to instruct the warning device to issue a warning.
[0024] Thirdly, this application also provides a safety helmet, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the cycling warning method described in any of the first aspects above.
[0025] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the cycling warning method described in any of the first aspects above.
[0026] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the cycling warning method described in any of the first aspects above.
[0027] The aforementioned cycling warning method, device, and safety helmet actively monitor the cyclist's posture information to determine whether the cyclist is in a sensitive posture. If the cyclist is in a sensitive posture, a first warning command is generated and executed. This allows the warning device to proactively remind the cyclist and prevent the cyclist from being in a sensitive posture for an extended period. This ensures that even if the cyclist enters an unsafe sensitive posture, it will not last for a long time, thereby improving the cyclist's attention and perception while cycling and enhancing safety during the cycling process. Attached Figure Description
[0028] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0029] Figure 1 This is a flowchart illustrating a cycling warning method in one embodiment;
[0030] Figure 2 This is a schematic diagram showing the component arrangement of a safety helmet in one embodiment;
[0031] Figure 3 This is a structural block diagram of a cycling warning device in one embodiment;
[0032] Figure 4 This is a schematic diagram of the internal communication principle of a safety helmet in one embodiment.
[0033] Reference numerals: 1. Helmet body; 2. Vibration motor; 3. Speaker; 4. Gyroscope; 5. Angle sensor; 6. First sensor; 7. Power supply module; 8. Turn signal. Detailed Implementation
[0034] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0035] It should be noted that the terms "first," "second," etc., used in this application can be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from the second element. The terms "comprising" and "having," and any variations thereof, used in this application, are intended to cover non-exclusive inclusion. The term "multiple" used in this application refers to two or more. The term "and / or" used in this application refers to one of the embodiments, or any combination of multiple embodiments.
[0036] The cycling warning method provided in this application can be applied to a safety helmet; wherein the safety helmet can communicate with an electric vehicle to obtain steering commands triggered by the rider. Furthermore, the safety helmet is also equipped with sensors for detecting the wearing status and sensors for detecting the rider's riding posture.
[0037] In one exemplary embodiment, such as Figure 1 As shown, a cycling warning method is provided, including steps 10 and 20, wherein:
[0038] Step 10: While riding, acquire the rider's posture information and determine whether the rider is in a sensitive posture based on the posture information.
[0039] In this embodiment of the application, a gyroscope may be installed inside the safety helmet. The gyroscope can detect the transient acceleration of the helmet; the rider's riding state can be determined based on the rate of change of the transient acceleration measured by the gyroscope. Specifically, the rider's riding state is determined when the rate of change of the transient acceleration is not zero.
[0040] The posture information can specifically include the pitch angle of the rider's head, which can be measured by an angle sensor pre-installed inside the safety helmet. The pitch angle can indicate whether the rider's posture is compliant; a compliant angle range corresponding to a compliant posture and a sensitive angle range corresponding to a sensitive posture are pre-defined; then, based on the real-time measured pitch angle, it is determined whether the rider's posture is a sensitive posture or a compliant posture.
[0041] Step 20: If it is determined that the cyclist is in a sensitive posture, generate and execute the first warning command. The first warning command is used to instruct the warning device to issue a warning.
[0042] In this embodiment of the application, when it is determined that the cyclist is in a sensitive posture, a first warning command is executed to control the warning device to issue a warning, thereby reminding the cyclist to pay attention to cycling safety. The warning device is installed on the safety helmet and includes, but is not limited to, a speaker and a vibration module; that is, the first warning command can control the speaker to play an audio reminder and / or control the vibration module to provide a vibration reminder.
[0043] In the aforementioned cycling prediction method, the rider's posture information is actively monitored to determine whether the rider is in a sensitive posture. If the rider is in a sensitive posture, a first warning command is generated and executed. This allows the warning device to actively remind the rider and prevent the rider from being in a sensitive posture for a long time. This means that even if the rider enters an unsafe sensitive posture, it will not last for a long time, thereby improving the rider's attention and perception while riding and enhancing the safety of the riding process.
[0044] In one embodiment, such as Figure 2 As shown, the safety helmet is equipped with a gyroscope and an angle sensor to monitor the rider's posture information. The specific process of obtaining the rider's posture information includes: acquiring the transient acceleration measured by the gyroscope and the initial pitch angle measured by the angle sensor; processing the transient acceleration and the initial pitch angle using a fusion noise reduction algorithm to obtain the pitch angle of the rider's head; wherein, the posture information includes the pitch angle of the rider's head.
[0045] Specifically, angle sensors can accurately measure tilt angles when stationary or in very slow motion. However, during cycling, the rider's head causes the safety helmet to shake, resulting in a certain error in the angle sensor's measurement results. That is, when an object has its own acceleration (such as when the head accelerates, brakes, turns, or encounters bumps while cycling), the angle sensor measures the superposition of gravitational acceleration and motion acceleration, and the pitch angle calculated based on this will be severely distorted.
[0046] Therefore, in order to obtain a more accurate pitch angle, a gyroscope is introduced in this embodiment. The gyroscope can measure the accurate transient acceleration and use the angle measured by the angle sensor as the initial pitch angle. Then, a noise reduction algorithm (such as Kalman filtering) is used to process the initial pitch angle and transient acceleration to obtain a more accurate pitch angle.
[0047] In one embodiment, step 20 involves determining whether the cyclist is in a sensitive posture based on the posture information. Specifically, this may include: determining that the cyclist is in a sensitive posture when the pitch angle is within the sensitive range; or, determining the duration of the pitch angle being within the sensitive range, and determining that the cyclist is in a sensitive posture if the duration is greater than or equal to a risk threshold.
[0048] Specifically, it can be determined that the cyclist is in a sensitive posture as soon as the pitch angle of the cyclist's head is within a preset sensitive range; or it can be determined that the cyclist is in a sensitive posture only after the pitch angle of the cyclist's head is within a sensitive range, the duration of the cyclist being in the sensitive range is continuously monitored and determined, and the cyclist is determined to be in a sensitive posture only after the duration of the cyclist's head exceeds a preset risk threshold.
[0049] Both the sensitive range and the risk threshold are preset. For example, the sensitive range is less than -30° and greater than +30°, and the risk threshold is 2 seconds. The sensitive range and risk threshold can be customized, but no specific limitations are imposed in this embodiment.
[0050] In one embodiment, step 20, generating a first warning instruction, may specifically include generating a first vibration instruction and a first voice instruction; wherein, the first vibration instruction is used to instruct the vibration module to vibrate in a first mode, and the first voice instruction is used to instruct the audio module to play a first audio file.
[0051] Specifically, the warning device includes a vibration module and an audio module installed on the safety helmet; wherein, the vibration module includes at least two vibration motors installed at different locations, for example, the two vibration motors can be installed on the left and right sides of the safety helmet, or on the front and back sides; the installation location of the vibration motors is not specifically limited in this embodiment.
[0052] The audio module includes at least two speakers located at different positions; similarly, the two speakers can be located on the left and right sides of the safety helmet, or on the front and rear sides; the location of the speakers is not specifically limited in this embodiment.
[0053] Furthermore, the content of the first audio file can be set to "Please do not look down, pay attention to road conditions"; of course, the first audio can also be set to other content. This application embodiment does not impose specific limitations on this, as long as it can provide the user with the corresponding prompt.
[0054] Through speakers and vibration motors, both audio and tactile alerts can be provided, allowing cyclists to promptly and accurately perceive their own sensitive posture.
[0055] Furthermore, in congested areas, electric bicycles, due to their smaller size, can often maneuver in confined spaces. However, the turn signals of electric bicycles are mostly installed at the bottom of the vehicle and are easily obscured by the vehicle and the rider's clothing, creating blind spots for vehicles behind. This makes it difficult for vehicles and pedestrians behind the electric bicycle to quickly detect its turning intentions, which can easily lead to scrapes and rear-end collisions.
[0056] To facilitate accurate detection of the electric bicycle's turning intentions by following vehicles, a turn signal is installed on each side of the safety helmet in this application. Simultaneously, the electric bicycle communicates with the safety helmet via Bluetooth or Wi-Fi; turning commands triggered by the user's turn signal switch on the electric bicycle are transmitted to the safety helmet. While riding, the safety helmet responds to the turning command, generating and executing a second warning command.
[0057] Specifically, the turn signal indicates the target side of the turn, the second warning signal is used to indicate this, and an indicator light located on the target side of the helmet provides a warning. That is, when the user activates the turn signal switch to turn left, the electric bicycle sends a turn signal containing left-side information to the helmet; the helmet then activates the turn signal on the left side of the helmet (primarily from the rear view). When the user activates the turn signal switch to turn right, the electric bicycle sends a turn signal containing right-side information to the helmet; the helmet then activates the turn signal on the right side of the helmet (primarily from the rear view).
[0058] By placing the turn signals on both sides of the helmet, the height of the turn signals and the field of vision are increased, allowing vehicles behind the electric bicycle to accurately judge the turning intention of the electric bicycle in front, thus improving the safety of the electric bicycle rider.
[0059] In one embodiment, to avoid the probability of the helmet's speaker and vibration motor being accidentally triggered when not in a riding state, the helmet of this application embodiment is equipped with a first sensor. The first sensor is a photoelectric sensor or an infrared sensor, used to detect whether the helmet is being worn. The helmet acquires the trigger state of the first sensor, and if the trigger state indicates that the helmet is being worn, it determines that the helmet is in a riding state.
[0060] Specifically, when the first sensor is triggered, its output signal (voltage / current signal) changes. The helmet can determine that it is in riding mode once the first sensor is triggered. This avoids accidental triggering of the helmet's vibration motor and speaker, and also conserves the helmet's internal power.
[0061] Simultaneously, the safety helmet can also recall a corresponding second audio file based on the target side and control the speaker to play the second audio file. The content of the second audio file can be "Please note, turn left" or "Please note, turn right." The specific content of the second audio file is not specifically limited in this embodiment, as long as it facilitates the warning to vehicles behind.
[0062] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps. It is understood that the steps in different embodiments can be freely combined as needed, and all non-contradictory solutions formed by such combinations are within the scope of protection of this application.
[0063] Based on the same inventive concept, this application also provides a cycling monitoring device for implementing the cycling monitoring method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more cycling monitoring device embodiments provided below can be found in the limitations of the cycling monitoring method described above, and will not be repeated here.
[0064] In one exemplary embodiment, such as Figure 3 As shown, a cycling monitoring device 300 is provided, which includes an attitude monitoring module 301 and a command generation module 302, wherein:
[0065] The posture monitoring module 301 is used to acquire the cyclist's posture information during riding and determine whether the cyclist is in a sensitive posture based on the posture information.
[0066] The instruction generation module 302 is used to generate and execute a first warning instruction when it is determined that the cyclist is in a sensitive posture. The first warning instruction is used to instruct the warning device to issue a warning.
[0067] In the aforementioned cycling monitoring device 300, the rider's posture information is actively monitored to determine whether the rider is in a sensitive posture. If the rider is in a sensitive posture, a first warning command is generated and executed. This allows the warning device to proactively remind the rider and prevent the rider from being in a sensitive posture for an extended period of time. This ensures that even if the rider enters an unsafe sensitive posture, it will not last for a long time, thereby improving the rider's attention and perception while cycling and enhancing safety during the cycling process.
[0068] In one embodiment, the posture information includes the pitch angle of the cyclist's head, and the posture monitoring module 301 is specifically used for:
[0069] Acquire the transient acceleration measured by the gyroscope and the initial pitch angle measured by the angle sensor;
[0070] By using a fusion denoising algorithm to process transient acceleration and initial pitch angle, the pitch angle of the cyclist's head can be obtained.
[0071] In one embodiment, the instruction generation module 302 is specifically used for:
[0072] When the pitch angle is within the sensitive range, determine that the cyclist is in a sensitive posture; or
[0073] Determine the duration during which the pitch angle remains within the sensitive range. If the duration is greater than or equal to the risk threshold, the rider is determined to be in a sensitive posture.
[0074] In one embodiment, the warning device includes a vibration module and an audio module disposed on the safety helmet; the instruction generation module 302 is specifically used for:
[0075] Generate a first vibration command and a first voice command; wherein the first vibration command is used to instruct the vibration module to vibrate in a first mode, and the first voice command is used to instruct the audio module to play a first audio file.
[0076] In one embodiment, the vibration module includes at least two vibration motors disposed at different locations, and the audio module includes at least two speakers disposed at different locations.
[0077] In one embodiment, the cycling warning device 300 further includes a steering module, specifically used for:
[0078] In riding mode, a second warning command is generated in response to a steering command; the steering command indicates the target side of the turn, and the second warning command is used to indicate this, with an indicator light located on the target side of the safety helmet providing a warning.
[0079] In one embodiment, a first sensor is installed inside the safety helmet, and the cycling warning device 300 further includes a wearing detection module, specifically used for:
[0080] The trigger state of the first sensor is obtained, and if the trigger state indicates that the safety helmet is being worn, the safety helmet is determined to be in a riding state.
[0081] Each module in the aforementioned cycling warning device 300 can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the corresponding operations of each module.
[0082] In one exemplary embodiment, a safety helmet is provided, the internal structure of which can be shown in the following diagram. Figure 4 As shown, the safety helmet includes a processor, memory, input / output interface, communication interface, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, Near Field Communication (NFC), or other technologies. When the computer program is executed by the processor, it implements a cycling warning method.
[0083] Those skilled in the art will understand that Figure 4 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the safety helmet to which the present application is applied. A specific safety helmet may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0084] In one exemplary embodiment, such as Figure 2 As shown, a safety helmet is provided. The helmet body 1 contains various components, including but not limited to: a first sensor 6 (infrared sensor / photoelectric sensor) for detecting the wearing status; a gyroscope 4 and an angle sensor 5 for detecting the pitch angle of the rider's head; a vibration motor 2 and a speaker 3 for alerting the rider; and turn signals 8 located on the left and right sides of the helmet body 1. A power supply module 7 is also provided inside the helmet to power the processor and other components. The circuitry of each component uses concealed wiring and is waterproofed and insulated to withstand complex outdoor riding environments such as rain and dust.
[0085] The helmet body 1 uses a high-strength ABS shell with a cushioning foam lining, retaining the standard helmet's windproof, impact-resistant, and breathable structure. It includes pre-installed mounting slots for components and is suitable for adult plus sizes and general-purpose sizes for teenagers. The vibration motor 2 is a silent motor, and at least two are installed symmetrically on the inner side of the helmet body's lining where they contact the cheeks. The power supply module 7 is a high-density soft-pack lithium battery, with a hidden USB charging port at the rear of the helmet body 1 for charging the lithium battery. The lithium battery also includes a power switch and a power indicator light.
[0086] The power supply module 7 uses a 3.7V rechargeable lithium battery, which supports regular mobile phone USB chargers and fast charging from power banks. When fully charged, the battery life is ≥72 hours in daily standby monitoring mode and ≥36 hours in high-frequency use scenarios such as light and voice. It is equipped with a low battery reminder function, which automatically broadcasts a charging prompt when the battery is low, ensuring long-term stable use.
[0087] The safety helmet is paired with the electric bicycle's steering controller via a 2.4G wireless signal. When the rider flips the left or right turn switch or turns the handlebars to complete the steering operation, the steering controller wirelessly transmits the steering signal to the safety helmet. At this time, the turn signal 8, which is located on the left or right side of the helmet body 1, flashes synchronously at a high frequency. At the same time, the speaker 3 plays "Caution when turning left" / "Caution when turning right" warning sounds in a loop, reminding vehicles and pedestrians behind to give way from both visual and auditory perspectives, so as to eliminate the blind spot caused by the low-position turn signal being blocked.
[0088] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the methods described in the above embodiments of the cycling warning method.
[0089] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps of any of the methods in the above-described embodiments of the cycling warning method.
[0090] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.
[0091] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.
[0092] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0093] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A cycling warning method, characterized in that, Applied to a safety helmet, the method includes: While riding, acquire the rider's posture information, and determine whether the rider is in a sensitive posture based on the posture information. Upon determining that the cyclist is in the sensitive posture, a first warning command is generated and executed, the first warning command being used to instruct the warning device to issue a warning.
2. The method according to claim 1, characterized in that, The posture information includes the pitch angle of the cyclist's head. The safety helmet is equipped with a gyroscope and an angle sensor. Acquiring the cyclist's posture information includes: The transient acceleration measured by the gyroscope and the initial pitch angle measured by the angle sensor are obtained. The transient acceleration and the initial pitch angle are processed using a fusion noise reduction algorithm to obtain the pitch angle of the cyclist's head.
3. The method according to claim 2, characterized in that, The step of determining whether the cyclist is in a sensitive posture based on the posture information includes: When the pitch angle is within the sensitive range, the rider is determined to be in the sensitive posture; or Determine the duration during which the pitch angle remains within the sensitive range, and if the duration is greater than or equal to a risk threshold, determine that the cyclist is in the sensitive posture.
4. The method according to any one of claims 1-3, characterized in that, The warning device includes a vibration module and an audio module installed on the safety helmet; the generation of the first warning command includes: Generate a first vibration command and a first voice command; wherein the first vibration command is used to instruct the vibration module to vibrate in a first mode, and the first voice command is used to instruct the audio module to play a first audio file.
5. The method according to claim 4, characterized in that, The vibration module includes at least two vibration motors located at different positions, and the audio module includes at least two speakers located at different positions.
6. The method according to claim 1, characterized in that, The method further includes: In riding mode, in response to a steering command, a second warning command is generated; the steering command represents the target side of the turn, and the second warning command is used to indicate that an indicator light located on the target side of the safety helmet will issue a warning.
7. The method according to claim 1 or 6, characterized in that, The safety helmet is equipped with a first sensor, and the method further includes: The trigger state of the first sensor is obtained, and if the trigger state indicates that the safety helmet is being worn, the safety helmet is determined to be in the riding state.
8. A cycling warning device, characterized in that, Applied to safety helmets, the device includes an attitude monitoring module and a command generation module, wherein: The posture monitoring module is used to acquire the cyclist's posture information during riding and determine whether the cyclist is in a sensitive posture based on the posture information. The instruction generation module is used to generate and execute a first warning instruction when it is determined that the cyclist is in the sensitive posture. The first warning instruction is used to instruct the warning device to issue a warning.
9. A safety helmet, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.