Safety prompting method and device based on intelligent wearable device, equipment and medium
The vision and motion sensors of smart wearable devices identify safety hazards in the traffic environment and generate timely prompts, which solves the problem of insufficient identification of safety hazards for pedestrians crossing the street in the existing technology and improves the safety of pedestrians crossing the street.
Patent Information
- Application Number
- CN202411104326.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-12
- Publication Date
- 2024-10-29
AI Technical Summary
Existing technology is difficult to effectively identify and warn pedestrians of potential safety hazards when crossing the street in complex traffic environments, resulting in safety risks.
Use smart wearable devices equipped with visual sensors and motion sensors to collect environmental and motion data, identify potential safety hazards, and generate timely safety prompts.
It improves the timeliness and accuracy of identifying safety hazards, reminds pedestrians to avoid potential dangers in advance, and enhances the safety of pedestrians crossing the street.
Smart Images

Figure CN118865584A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a safety prompt method, device, equipment and medium based on a smart wearable device. Background Art
[0002] At present, pedestrian crossing safety has always been an important issue in urban traffic management. The related technical methods of pedestrian crossing reminders rely on road signs, traffic lights and pedestrians' own judgment. These methods can ensure pedestrian safety to a certain extent, but there are still many shortcomings. For example, pedestrians in complex traffic environments may ignore oncoming vehicles due to obstructed vision or distracted attention, which may lead to safety hazards.
[0003] Therefore, how to improve the timeliness of current safety hazard identification has become a technical problem that needs to be solved urgently. Summary of the invention
[0004] The present application provides a safety reminder method, device, equipment and medium based on a smart wearable device, aiming to improve the timeliness of identifying safety hazards.
[0005] In a first aspect, the present application provides a safety prompt method based on a smart wearable device, the method comprising:
[0006] Based on visual sensors, collect current environmental data within the preset range of the target user;
[0007] Based on the current motion data of the target user and the current environmental data, identifying potential safety events within the preset range;
[0008] Based on the potential safety hazard event, generate safety prompt information.
[0009] In a second aspect, the present application further provides a safety prompt device based on a smart wearable device, the safety prompt device based on a smart wearable device comprising:
[0010] A data acquisition module is used to collect current environmental data within a preset range of the target user based on a visual sensor;
[0011] An event recognition module, used to recognize potential safety events within the preset range based on the current motion data of the target user and the current environmental data;
[0012] The safety prompt module is used to generate safety prompt information based on the safety hazard event.
[0013] In a third aspect, the present application also provides a computer device, comprising a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein when the computer program is executed by the processor, the steps of the safety prompt method based on the smart wearable device as described above are implemented.
[0014] In a fourth aspect, the present application also provides a computer-readable storage medium, on which a computer program is stored, wherein when the computer program is executed by a processor, the steps of the safety prompt method based on the smart wearable device as described above are implemented.
[0015] The present application provides a safety reminder method, device, computer equipment and storage medium based on smart wearable devices. The method of the present application includes collecting current environmental data within a preset range of the target user based on a visual sensor; identifying potential safety hazards within the preset range based on the current motion data of the target user and the current environmental data; and generating safety reminder information based on the potential safety hazards. In the above manner, the present application collects the current environmental data within the preset range of the target user through a visual sensor, which can help the target user expand the safety warning range and the accuracy of identifying potential safety hazards; based on the current motion data and current environmental data of the target user, the potential safety hazards can be analyzed in advance, thereby generating safety reminder information in time, reminding the target user to avoid in advance, and improving the timeliness of identifying potential safety hazards and the safety of pedestrians crossing the street. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0017] Figure 1 A schematic diagram of a first embodiment of a safety reminder method based on a smart wearable device provided in an embodiment of the present application;
[0018] Figure 2 A flowchart of the second step extension scheme of the first embodiment of a safety prompt method based on a smart wearable device provided in an embodiment of the present application;
[0019] Figure 3 It is a structural schematic diagram of a first embodiment of a safety reminder device based on a smart wearable device provided by the present application;
[0020] Figure 4It is a schematic block diagram of the structure of a computer device provided in an embodiment of the present application.
[0021] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0022] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0023] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0024] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0025] Please refer to Figure 1 , Figure 1 A flowchart of a first embodiment of a safety reminder method based on a smart wearable device provided in an embodiment of the present application.
[0026] like Figure 1 As shown, the safety prompt method based on the smart wearable device includes steps S101 to S103.
[0027] S101, collecting current environment data within a preset range of a target user based on a visual sensor;
[0028] In one embodiment, the visual sensor may be a sensor device such as a camera, a three-dimensional scanner, an infrared sensor, etc., and the visual sensor may be installed on smart wearable devices such as smart helmets, smart glasses (AR, VR, etc.), etc.
[0029] Optionally, the visual sensor can be equipped with a wide-angle lens with a large field of view, such as a fisheye lens, to expand the field of view acquisition range.
[0030] In one embodiment, the visual sensor may include one. For example, a visual sensor may be installed on the wearable smart device, and the image acquisition direction may be directly in front of the target user, or may be in other directions, such as directly behind the target user.
[0031] In another embodiment, the visual sensor may include multiple ones, for example, one is installed in each of the four directions of the head-mounted smart device, namely the front, back, left, and right, to respectively collect images in four directions centered on the target user. When the images collected by two adjacent visual sensors have overlapping parts, the images within the 360° range around the target user can be collected by splicing the images, thereby obtaining more comprehensive current environment data.
[0032] In another embodiment, multiple visual sensors can be installed in the same direction of the smart wearable device to form a multi-eye stereo vision system. A three-dimensional space can be constructed through the multi-eye stereo vision system to make the object size information and object position information in the current environment data more accurate.
[0033] In one embodiment, the preset range can be set independently according to the needs of the target user. For example, a circular area with a radius of 5 meters centered on the target user can be set as the preset range. This can avoid the range being too large, reduce the amount of data calculation, and improve the analysis efficiency of safety hazard events.
[0034] In one embodiment, the current environment data may include obstacles within a preset range, obstacle data, the relative distance between the obstacle and the target user, the relative direction between the obstacle and the target user, traffic features, etc. Traffic features may include traffic lights, road signs, pedestrian signs, etc.
[0035] S102, identifying potential safety events within the preset range based on the current motion data of the target user and the current environmental data;
[0036] In one embodiment, the current motion data of the target user may include the motion state (such as walking, standing still, running, etc.), motion direction, moving speed, etc. of the target user.
[0037] In one embodiment, based on the current environmental data, current environmental data such as obstacles and traffic characteristics within a preset range of the target user are identified, and combined with the current motion data of the target user, the relative motion state between the target user and each obstacle is analyzed, such as whether they are moving away from each other, approaching each other, whether they will collide, etc., so as to determine whether the obstacles within the preset range will pose a safety hazard to the target user.
[0038] Furthermore, if Figure 2 As shown, the step S102 specifically includes:
[0039] S1021. Collecting current motion data of the target user based on a motion sensor;
[0040] In one embodiment, the motion sensor may be a sensor device such as an accelerometer, a gyroscope, etc. The accelerometer may be used to measure the acceleration of the target user, and the gyroscope may be used to measure the rotation rate and angular direction of the target user.
[0041] In one embodiment, motion sensors such as accelerometers and gyroscopes may be installed in the smart wearable device, and the current motion data of the target user may be collected through the motion sensors.
[0042] In one embodiment, the current motion data may include data such as the moving speed and moving direction of the target user.
[0043] In one embodiment, the current location information of the target user may also be collected through positioning sensors such as GPS (Global Positioning System) combined with a navigation map.
[0044] S1022. Based on the current environment data, identify at least one obstacle within the preset range and obstacle data corresponding to each obstacle;
[0045] In one embodiment, the obstacle data includes but is not limited to at least one of obstacle type, obstacle shape, obstacle size, obstacle position, obstacle moving speed, and obstacle moving direction.
[0046] In one embodiment, obstacle types may include static obstacles and dynamic obstacles. Static obstacles may include obstacles such as stones, stone piers, branches, road signs, puddles, bicycles / electric vehicles / cars parked on the roadside, etc.; dynamic obstacles may include obstacles such as pedestrians, moving vehicles, animals, etc.
[0047] S1023, calculating the relative motion state between the target user and each of the obstacles based on the current motion data and the obstacle data;
[0048] In one embodiment, the relative motion state may include a relative moving distance, a relative moving speed, a relative moving direction, and the like.
[0049] In one embodiment, the straight-line distance between the target user and the obstacle is calculated based on the current position of the target user and the current position of the obstacle. Because the size of the bricks, road signs, railings and other features laid on the road is generally standard, the feature can be identified in the picture collected by the visual sensor, the pixel size of the feature in the collected picture can be identified, and the conversion ratio between the pixel size and the real size can be determined in combination with the real size of the feature. Then, the relative distance between the target user and the obstacle is calculated based on the relative posture of the target user and the obstacle, as well as the pixel distance.
[0050] For example, when using a monocular ranging algorithm to calculate the relative distance, it is assumed that the focal length of the visual sensor is f, the resolution is u×v, the actual size corresponding to each pixel is W×W, and the actual size of the visual sensor is x×y. Based on similar triangles, the relative distance d between the target user and the obstacle can be calculated as:
[0051]
[0052] Among them, v×W represents the real height of the picture collected by the visual sensor. p represents the real size of the feature object, m represents the pixel data occupied by the feature object in the picture collected by the visual sensor, and W represents the real size corresponding to each pixel.
[0053] In one embodiment, when multiple visual sensors capture the same obstacle, multi-eye distance measurement can be used for distance measurement, and the distance measurement result of multi-eye distance measurement is more accurate. The calculation method of multi-eye distance measurement can adopt the existing calculation method in the relevant technology, which will not be described in detail here.
[0054] It is understandable that radar ranging, laser ranging or other ranging methods applicable to the embodiments of the present application may also be used, and the embodiments of the present application do not specifically limit this.
[0055] In one embodiment, the current moving trajectory of the target user can be calculated based on the current moving direction and current moving speed of the target user, and then based on the relative moving direction between the target user and the obstacle and the current moving trajectory of the target user, it is determined whether the obstacle is on the current moving trajectory of the target user, and further it is determined whether the target user will collide with the obstacle.
[0056] In one embodiment, the current moving trajectory of the target user can also be calculated based on the current motion data of the target user. At the same time, the moving trajectory of the dynamic obstacle is calculated based on the obstacle data of the dynamic obstacle. For example, the position coordinates of the dynamic obstacle at each predicted time point are calculated based on the moving direction and moving speed of the dynamic obstacle. The position coordinates of each predicted time point are connected in chronological order to form the moving trajectory of the dynamic obstacle. Then, based on the data such as the trajectory direction and moving speed of the two, it is calculated whether the two moving trajectories will intersect, and the relative distance between the target user and the dynamic obstacle when the trajectories intersect.
[0057] This embodiment collects the surrounding environment data of the target user's current location to identify obstacles around the target user, and then collects obstacle data corresponding to the obstacles to calculate the relative motion state between the target user and the obstacles, thereby facilitating accurate identification of whether the obstacles will cause safety hazards to the target user.
[0058] S1024: Based on the relative motion state, identify the potential safety hazard event.
[0059] In one embodiment, based on the relative motion state between the target user and each obstacle, it is determined whether the obstacle will cause a safety hazard to the target user, such as obstruction, collision, etc.
[0060] Furthermore, based on the relative motion state, a relative distance data set between the target user and each obstacle within a preset time period is calculated, wherein the relative distance data set includes at least one relative distance corresponding to a predicted moment; when the relative distance is less than a preset safety distance threshold, it is determined that the safety hazard event exists within the preset range.
[0061] In one embodiment, the predicted time period may be a time range after the current moment, such as a five-second time range starting from the current moment.
[0062] Furthermore, based on the current motion data, a first motion trajectory of the target user within the preset time period is calculated; based on the obstacle data, a second motion trajectory of the obstacle within the preset time period is calculated; based on the first motion trajectory and the second motion trajectory, the relative motion state between the target user and each of the obstacles is determined.
[0063] In one embodiment, based on the current motion data of the target user, such as the moving speed and moving direction, a first moving trajectory of the target user within a preset time period is calculated, and the first moving trajectory may include the position and direction of the trajectory points of the target user at each predicted moment within the preset time period. Similarly, based on the obstacle data of the obstacle, a second moving trajectory of the obstacle within the preset time period is calculated, and the second moving trajectory may include the position and direction of the trajectory points of the obstacle at each predicted moment within the preset time period.
[0064] In one embodiment, the relative distance between the target user and the obstacle at each prediction moment within a preset time period is calculated according to the first movement trajectory and the second movement trajectory, and a relative distance data set that changes sequentially over time is obtained.
[0065] In one embodiment, it is determined whether the target user and the obstacle will collide based on the predicted relative distance data set. If the relative distance corresponding to each predicted moment in the relative distance data set is greater than the safety distance threshold, it means that according to the current motion data and obstacle data, the target user and the obstacle will not collide, that is, the obstacle will not cause a safety hazard to the target user. If there is a relative distance corresponding to any predicted moment in the relative distance data set that is less than or equal to the safety distance threshold, it means that according to the current motion data and obstacle data, the target user and the obstacle will encounter within a preset time period, and there is a safety hazard such as a collision.
[0066] For example, when the obstacle is a static obstacle, the target user's moving trajectory is predicted based on the target user's current moving direction and current moving speed, and it is determined whether the static obstacle is on the target user's moving trajectory based on the moving trajectory and the current position of the static obstacle relative to the target user. If so, it can be determined that the target user will encounter the static obstacle if he continues to walk with the current motion data.
[0067] Exemplarily, when the obstacle is a dynamic obstacle, such as a moving vehicle, the driving trajectory of the vehicle is fitted according to the obstacle data of the vehicle, such as the moving speed and moving direction, etc.; at the same time, the walking trajectory of the target user is fitted according to the current motion data of the target user. It is judged whether the driving trajectory and the walking trajectory have an intersection according to the relative position (relative position and relative posture) of the target user and the vehicle; if not, it means that the vehicle and the target user will not collide. If so, the first time point when the target user moves to the intersection can be calculated according to the current moving speed of the target user, and the second time point when the vehicle travels to the intersection can be calculated according to the driving speed of the vehicle. If the first time point and the second time point are very close, for example, the time difference between the first time point and the second time point is within five seconds, it can be considered that the target user continues to move forward according to the current motion data, and there is a high probability of colliding with the moving vehicle.
[0068] This embodiment predicts the movement trajectories of the target user and the obstacle by calculating the relative motion state of the target user and the obstacle, and determines whether a collision will occur between the target user and the obstacle based on the time difference between the two when passing through the intersection point of the trajectories, thereby identifying whether the obstacle will cause a safety hazard to the target user, thereby improving the accuracy of identifying safety hazards.
[0069] S103: Generate safety prompt information based on the potential safety hazard event.
[0070] In one embodiment, a safety prompt message is generated based on the identified safety hazard event, and the safety prompt message is output through window text display, light flashing, or audio prompt, so as to warn the target user and remind the target user to avoid the hazard in advance.
[0071] Further, based on the safety hazard event, a target obstacle and a safety hazard type are determined; based on the target obstacle and the safety hazard type, a safety warning level is determined; and based on a safety prompt method corresponding to the safety warning level, the safety prompt information is generated.
[0072] In one embodiment, the safety hazard event includes safety hazard prediction information, which may include target obstacle information, predicted time of occurrence of safety hazard, and safety hazard type, etc. For example, the safety hazard event is "collision with target obstacle: target obstacle is a static obstacle-stone, target user will hit the stone in three seconds and may be tripped by the stone", or the safety hazard event is "collision with target obstacle: target obstacle is a dynamic obstacle-vehicle, target user will collide with the target obstacle in five seconds", etc.
[0073] In one embodiment, pedestrian safety hazard events can be collected in advance, and then each safety hazard event can be divided into multiple different safety hazard levels according to the degree of harm that the safety hazard event may cause to the pedestrians. For example, falls, minor scratches, etc. that will not cause much harm can be regarded as safety hazard events with a low safety warning level; for example, collisions with non-motor vehicles, being hung with a belt, being tripped while running, etc. that may cause obvious injuries can be regarded as safety hazard events with a medium warning level; collisions with motor vehicles, being hit by falling objects from high altitudes, being injured by sharp objects, etc. that may cause serious injuries can be regarded as safety hazard events with a high warning level.
[0074] In one embodiment, different safety levels of potential safety events may correspond to different safety warning levels. For example, a low safety warning level may be prompted by voice or pop-up window display, or by marking target obstacles that may cause potential safety events with different colors (such as red, yellow, etc.) to remind the target user. A medium safety warning level and a high safety warning level may remind the target user by flashing the screen, voice alarm, marking the target obstacle, etc.
[0075] In one embodiment, hidden danger avoidance suggestions can also be generated based on the safety hidden danger events, and reminders can be given through pop-up text display or voice broadcast. For example, for static obstacles, the target user can be reminded to pay attention and avoid them in advance, and it is recommended to change the movement trajectory, etc. For dynamic obstacles, the target user can be advised to wait in place, or find a safe place to wait and avoid them, etc.
[0076] In one embodiment, the current screen of the target user may be divided into a safe area and a dangerous area according to the predicted potential safety hazard event. Optionally, different areas may be marked with different colors, such as a safe area marked with green and a dangerous area marked with red.
[0077] For example, when the target user needs to cross the street, the visual sensor on the smart wearable device collects the road conditions in front of the target user. When a vehicle is detected on the road ahead, the position and motion state of the vehicle are calculated. When the vehicle approaches the target user and is within a dangerous distance, a red area can be displayed on the current screen to prompt the target user that it is currently unsafe and should not pass. When the vehicle leaves the dangerous area or there is no vehicle, a green area is displayed to prompt the target user that it is safe to cross the street. The spatial position information of the vehicle is displayed on both sides of the zebra crossing, so that the target user can judge the crossing environment more intuitively.
[0078] Furthermore, based on the current environment data, traffic safety knowledge matching the current environment data is determined; and based on the traffic safety knowledge, the safety prompt information is generated.
[0079] In one embodiment, traffic safety knowledge content may be pre-configured for the smart wearable device, or relevant traffic safety knowledge may be downloaded from the Internet.
[0080] In one embodiment, according to the current environment data, the characteristic objects in the current environment data are identified, such as vehicles, curves, motor vehicle lanes, non-motor vehicle lanes, traffic lights, pedestrian signs, obstacles, etc., and the traffic safety knowledge related to the characteristic objects in the current environment data is matched. When these characteristic objects are identified, the relevant traffic safety knowledge can be used as safety prompt information.
[0081] For example, when the current environmental data collected by the visual sensor shows that there is a zebra crossing or a pedestrian traffic light in front of the target user, a safety prompt message of "go when the light is red, stop when the light is green" can be displayed. When the traffic light is identified as green, safety prompt messages such as "currently passable, please use the zebra crossing" and "please pay attention to the vehicles on the left and right before passing" can be displayed.
[0082] This embodiment identifies feature objects in the current environmental data, matches traffic safety knowledge related to the feature objects, and then generates and displays safety prompt information based on the traffic safety knowledge. While reminding target users to pay attention to safety, it can also popularize traffic safety knowledge and enhance users' traffic safety awareness.
[0083] This embodiment provides a safety prompt method based on a smart wearable device. The method collects current environmental data within a preset range of a target user through a visual sensor, which can help the target user expand the safety warning range and the accuracy of identifying potential safety hazards. According to the current motion data and current environmental data of the target user, the potential safety hazards can be identified within the preset range, and potential safety hazards can be analyzed in advance, so as to generate safety prompt information in time, remind the target user to avoid them in advance, and improve the timeliness of safety hazard identification and the safety of pedestrians crossing the street.
[0084] See also Figure 3 , Figure 3 It is a structural schematic diagram of a first embodiment of a safety prompt device based on a smart wearable device provided in the present application. The safety prompt device based on a smart wearable device is used to execute the aforementioned safety prompt method based on a smart wearable device.
[0085] like Figure 3 As shown, the safety prompt device 200 based on the smart wearable device includes: a data acquisition module 201, an event recognition module 202 and a safety prompt module 203.
[0086] The data collection module 201 is used to collect the current environment data within the preset range of the target user based on the visual sensor;
[0087] An event identification module 202 is used to identify potential safety events within the preset range based on the current motion data of the target user and the current environmental data;
[0088] The safety prompt module 203 is used to generate safety prompt information based on the potential safety event.
[0089] In one embodiment, the event identification module 202 includes:
[0090] A motion data collection submodule, used to collect the current motion data of the target user based on a motion sensor;
[0091] An obstacle identification submodule, configured to identify at least one obstacle within the preset range and obstacle data corresponding to each obstacle based on the current environment data;
[0092] A relative motion state calculation submodule, used to calculate the relative motion state between the target user and each obstacle based on the current motion data and the obstacle data;
[0093] An event identification submodule is used to identify the potential safety hazard event based on the relative motion state.
[0094] In one embodiment, the relative motion state calculation submodule includes:
[0095] A first movement trajectory calculation unit, configured to calculate a first movement trajectory of the target user within the preset time period based on the current motion data;
[0096] A second movement trajectory calculation unit, configured to calculate a second movement trajectory of the obstacle within the preset time period based on the obstacle data;
[0097] A relative motion state determining unit is used to determine the relative motion state between the target user and each of the obstacles based on the first motion trajectory and the second motion trajectory.
[0098] In one embodiment, the event identification submodule includes:
[0099] A relative distance calculation unit, configured to calculate a relative distance data set between the target user and each of the obstacles within a preset time period based on the relative motion state, wherein the relative distance data set includes a relative distance corresponding to at least one predicted moment;
[0100] The potential safety hazard event determining unit is used to determine that the potential safety hazard event exists within the preset range when the relative distance is less than a preset safety distance threshold.
[0101] In one embodiment, the obstacle data includes at least one of obstacle type, obstacle shape, obstacle size, obstacle position, obstacle moving speed, and obstacle moving direction.
[0102] In one embodiment, the safety prompt module 203 includes:
[0103] An obstacle identification unit, used to determine a target obstacle and a type of safety hazard based on the safety hazard event;
[0104] A safety warning level determination unit, configured to determine a safety warning level based on the target obstacle and the type of safety hazard;
[0105] The information generating unit is used to generate the safety prompt information based on the safety prompt mode corresponding to the safety warning level.
[0106] In one embodiment, the safety reminder device 200 based on the smart wearable device further includes a traffic safety knowledge reminder module, including:
[0107] A traffic safety knowledge matching unit, configured to determine, based on the current environment data, traffic safety knowledge matching the current environment data;
[0108] A safety prompt unit is used to generate the safety prompt information based on the traffic safety knowledge.
[0109] It should be noted that technical personnel in the relevant field can clearly understand that for the convenience and conciseness of description, the specific working process of the above-described device and each module can refer to the corresponding process in the aforementioned safety prompt method embodiment based on smart wearable device, and will not be repeated here.
[0110] The apparatus provided in the above embodiment may be implemented in the form of a computer program. The computer program may be Figure 4 Runs on the computer device shown.
[0111] See also Figure 4 , Figure 4 1 is a schematic block diagram of a computer device provided in an embodiment of the present application. The computer device may be a server.
[0112] See also Figure 4 The computer device includes a processor, a memory and a network interface connected through a system bus, wherein the memory may include a non-volatile storage medium and an internal memory.
[0113] The non-volatile storage medium can store an operating system and a computer program. The computer program includes program instructions, and when the program instructions are executed, the processor can execute any safety prompt method based on the smart wearable device.
[0114] The processor is used to provide computing and control capabilities and support the operation of the entire computer equipment.
[0115] The internal memory provides an environment for the operation of the computer program in the non-volatile storage medium. When the computer program is executed by the processor, the processor can execute any safety prompt method based on the smart wearable device.
[0116] The network interface is used for network communication, such as sending assigned tasks, etc. Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0117] It should be understood that the processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0118] In one embodiment, the processor is used to run a computer program stored in the memory to implement the following steps:
[0119] Based on visual sensors, collect current environmental data within the preset range of the target user;
[0120] Based on the current motion data of the target user and the current environmental data, identifying potential safety events within the preset range;
[0121] Based on the potential safety hazard event, generate safety prompt information.
[0122] In one embodiment, when the processor implements the identification of potential safety events within the preset range based on the current motion data of the target user and the current environmental data, it is configured to implement:
[0123] Based on the motion sensor, collect the current motion data of the target user;
[0124] Based on the current environment data, identifying at least one obstacle within the preset range and obstacle data corresponding to each obstacle;
[0125] Calculating the relative motion state between the target user and each of the obstacles based on the current motion data and the obstacle data;
[0126] Based on the relative motion state, the potential safety hazard event is identified.
[0127] In one embodiment, when the processor calculates the relative motion state between the target user and each obstacle based on the current motion data and the obstacle data, it is configured to implement:
[0128] Based on the current motion data, calculating a first movement trajectory of the target user within the preset time period;
[0129] Based on the obstacle data, calculating a second movement trajectory of the obstacle within the preset time period;
[0130] Based on the first movement trajectory and the second movement trajectory, a relative motion state between the target user and each of the obstacles is determined.
[0131] In one embodiment, when the processor implements the identifying the potential safety hazard event based on the relative motion state, it is used to implement:
[0132] Based on the relative motion state, a relative distance data set between the target user and each obstacle within a preset time period is calculated, wherein the relative distance data set includes at least one relative distance corresponding to a predicted moment;
[0133] When the relative distance is less than a preset safety distance threshold, it is determined that the potential safety hazard event exists within the preset range.
[0134] In one embodiment, the obstacle data includes at least one of obstacle type, obstacle shape, obstacle size, obstacle position, obstacle moving speed, and obstacle moving direction.
[0135] In one embodiment, when the processor generates the security prompt information based on the potential safety hazard event, it is used to implement:
[0136] Based on the potential safety hazard event, determine the target obstacle and the type of potential safety hazard;
[0137] Determining a safety warning level based on the target obstacle and the type of safety hazard;
[0138] The safety prompt information is generated based on the safety prompt method corresponding to the safety warning level.
[0139] In one embodiment, after implementing the collection of current environment data within a preset range of the target user based on the visual sensor, the processor is further configured to implement:
[0140] Based on the current environment data, determining traffic safety knowledge matching the current environment data;
[0141] Based on the traffic safety knowledge, the safety prompt information is generated.
[0142] A computer-readable storage medium is also provided in an embodiment of the present application, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and the processor executes the program instructions to implement any one of the safety prompt methods based on a smart wearable device provided in the embodiments of the present application.
[0143] The computer-readable storage medium may be an internal storage unit of the computer device described in the foregoing embodiment, such as a hard disk or memory of the computer device. The computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc., equipped on the computer device.
[0144] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A safety reminder method based on smart wearable devices, It is characterized in that The method comprises: Based on visual sensors, collect current environmental data within the preset range of the target user; Based on the current motion data of the target user and the current environmental data, identifying potential safety events within the preset range; Based on the potential safety hazard event, generate safety prompt information.
2. According to claim 1, the safety prompt method based on the smart wearable device, It is characterized in that The identifying potential safety events within the preset range based on the current motion data of the target user and the current environment data includes: Based on the motion sensor, collect the current motion data of the target user; Based on the current environment data, identifying at least one obstacle within the preset range and obstacle data corresponding to each obstacle; Calculating the relative motion state between the target user and each of the obstacles based on the current motion data and the obstacle data; Based on the relative motion state, the potential safety hazard event is identified.
3. The safety prompt method based on the smart wearable device according to claim 2, It is characterized in that The calculating the relative motion state between the target user and each obstacle based on the current motion data and the obstacle data includes: Based on the current motion data, calculating a first movement trajectory of the target user within the preset time period; Based on the obstacle data, calculating a second movement trajectory of the obstacle within the preset time period; Based on the first movement trajectory and the second movement trajectory, a relative motion state between the target user and each of the obstacles is determined.
4. The safety prompt method based on the smart wearable device according to claim 2, It is characterized in that The step of identifying the potential safety hazard event based on the relative motion state includes: Based on the relative motion state, a relative distance data set between the target user and each obstacle within a preset time period is calculated, wherein the relative distance data set includes at least one relative distance corresponding to a predicted moment; When the relative distance is less than a preset safety distance threshold, it is determined that the potential safety hazard event exists within the preset range.
5. The safety prompt method based on the smart wearable device according to claim 2, It is characterized in that The obstacle data includes at least one of obstacle type, obstacle shape, obstacle size, obstacle position, obstacle moving speed, and obstacle moving direction.
6. The safety prompt method based on the smart wearable device according to claim 1, It is characterized in that The generating of safety prompt information based on the safety hazard event includes: Based on the potential safety hazard event, determine the target obstacle and the type of potential safety hazard; Determining a safety warning level based on the target obstacle and the type of safety hazard; The safety prompt information is generated based on the safety prompt method corresponding to the safety warning level.
7. The safety prompt method based on the smart wearable device according to claim 1, It is characterized in that After collecting the current environment data within the preset range of the target user based on the visual sensor, the method further includes: Based on the current environment data, determining traffic safety knowledge matching the current environment data; Based on the traffic safety knowledge, the safety prompt information is generated.
8. A safety reminder device based on smart wearable devices, It is characterized in that The safety reminder device based on the smart wearable device includes: A data acquisition module is used to collect current environmental data within a preset range of the target user based on a visual sensor; An event recognition module, used to recognize potential safety events within the preset range based on the current motion data of the target user and the current environmental data; The safety prompt module is used to generate safety prompt information based on the safety hazard event.
9. A computer device, It is characterized in that The computer device includes a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein when the computer program is executed by the processor, the steps of the safety prompt method based on the smart wearable device as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, wherein when the computer program is executed by the processor, the steps of the safety prompt method based on the smart wearable device as described in any one of claims 1 to 7 are implemented.
