Lifesaving equipment control method and device, lifesaving equipment and storage medium
By using sensors on the surface lifesaving equipment to detect the driver's departure and determine the position, and using GPS or image sensors to control the device's movement, the problem of being washed away by the water flow is solved to ensure that the driver can return safely.
Patent Information
- Application Number
- CN202410612088.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-08-15
- Filing Date
- 2024-05-16
- Publication Date
- 2024-12-27
AI Technical Summary
After the surface life-saving equipment is left by the driver, it is easily washed away by the water flow, resulting in difficulty in returning and increasing the risk of rescue.
Detect the driver's departure through human sensors or pressure sensors, determine the location of the lifesaving equipment, and use GPS or image sensors to obtain the current position, control the lifesaving equipment to move to the driver's position, and ensure that the equipment is not washed away by the water flow.
Effectively prevent life-saving equipment from moving to a remote location with the water flow, facilitate drivers to return, and improve personnel safety and rescue efficiency.
Smart Images

Figure CN119200576A_ABST
Abstract
Description
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on August 15, 2023, with application number 202311033903.5 and invention name “Control method, device, life-saving equipment and storage medium for life-saving equipment”, the entire contents of which are incorporated by reference in this application. Technical Field
[0002] The present application belongs to the field of intelligent life-saving, and in particular to a control method, device, life-saving equipment and storage medium for life-saving equipment. Background Art
[0003] Water surface life-saving equipment is currently widely used in various types of water surface emergency rescue and other special rescue scenarios. When the rescuer or the rescued person is driving the life-saving equipment, it is inevitable that the rescuer or the rescued person will lose control of the equipment or leave the life-saving equipment to perform rescue operations. When the driver leaves the life-saving equipment, the life-saving equipment will be washed away by the water flow. When the driver needs to drive the life-saving equipment again, the long distance is not conducive to the rescuer returning to the life-saving equipment, which can easily lead to danger. Summary of the invention
[0004] In view of this, the embodiments of the present application provide a control method, device, life-saving equipment and storage medium for life-saving equipment, which can facilitate the driver to return to the life-saving equipment after the driver leaves the life-saving equipment to ensure the safety of the personnel.
[0005] A first aspect of an embodiment of the present application provides a method for controlling a life-saving device, comprising:
[0006] In the case where the driver is driving the lifesaving device, if it is recognized that the driver has left the lifesaving device, determining a first position of the lifesaving device;
[0007] Obtaining the current location of the lifesaving equipment;
[0008] According to the current position of the lifesaving device, the lifesaving device is controlled to move toward the first position.
[0009] In one embodiment, the method further comprises:
[0010] When the detection value of the first sensor is within a first value range, determining that the driver is driving the lifesaving equipment;
[0011] If it is detected within a preset time period that the detection values of the first sensor are all within a second value range, it is determined that the driver has left the life-saving equipment.
[0012] In one embodiment, the first sensor is a human body sensor or a pressure sensor.
[0013] In one embodiment, after controlling the lifesaving device to move to the first position, the method further comprises:
[0014] After the life-saving device reaches the first position, the life-saving device is controlled to adjust its direction so that the adjusted direction is consistent with the first direction, where the first direction is a direction determined according to the current scene, or the first direction is determined according to the current position of the driver, where the current position of the driver is determined according to an image captured by an image sensor on the life-saving device.
[0015] In one embodiment, before determining the first position of the lifesaving device, the method further comprises:
[0016] When it is detected that the lifesaving device enters the water, a local driving function of the lifesaving device is started.
[0017] In one embodiment, before determining the first position of the lifesaving device, the method further comprises:
[0018] When detecting that the lifesaving equipment enters the water, determining the placement posture of the lifesaving equipment;
[0019] If it is determined that the placement posture of the lifesaving equipment is an inverted state, the lifesaving equipment is controlled to be turned over to an upright state.
[0020] In one embodiment, the method further comprises:
[0021] When second information is received, it is determined that the lifesaving device has entered the water, the second information being temperature change information sent by a temperature sensor on the lifesaving device, or detection distance change information sent by an ultrasonic sensor on the lifesaving device.
[0022] A second aspect of an embodiment of the present application provides a control device for lifesaving equipment, comprising:
[0023] an identification module, configured to determine a first position of the lifesaving device if it is identified that the driver has left the lifesaving device when the driver is driving the lifesaving device;
[0024] An acquisition module, used to acquire the current location of the life-saving equipment;
[0025] The control module is used to control the life-saving device to move to the first position according to the current position of the life-saving device.
[0026] A third aspect of an embodiment of the present application provides a life-saving device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the control method of the life-saving device as described in the first aspect above is implemented.
[0027] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the control method of the life-saving equipment as described in the first aspect above is implemented.
[0028] A fifth aspect of an embodiment of the present application provides a computer program product. When the computer program product is run on a life-saving device, the life-saving device executes the life-saving device control method described in any one of the first aspects above.
[0029] The beneficial effect of the embodiment of the present application compared with the prior art is: when it is recognized that the driver has left the life-saving equipment, the first position of the life-saving equipment is determined, and according to the current position of the life-saving equipment, the life-saving equipment is controlled to move to the first position, thereby preventing the life-saving equipment from following the water flow to a position far away from the driver, making it convenient for the driver to return to the life-saving equipment again, thereby ensuring the safety of the people. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below.
[0031] Figure 1 is a schematic diagram of a life-saving device provided in one embodiment of the present application;
[0032] Figure 2 It is a schematic diagram of the implementation flow of the control method of the life-saving equipment provided in the embodiment of the present application;
[0033] Figure 3 is a flow chart of starting a life-saving device provided in an embodiment of the present application;
[0034] Figure 4 is a flow chart of a flip lifesaving device provided in an embodiment of the present application;
[0035] Figure 5 is a workflow diagram of the life-saving equipment provided in the embodiment of the present application performing the stay-in-place function;
[0036] Figure 6 is a schematic diagram of a control device for a life-saving device provided in an embodiment of the present application;
[0037] Figure 7 It is a schematic diagram of the structure of the life-saving equipment provided in the embodiment of the present application. DETAILED DESCRIPTION
[0038] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0039] It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.
[0040] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0041] As used in this specification and the appended claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined" or "if [described condition or event] is detected" may be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.
[0042] In order to solve the problem that the life-saving equipment is easily washed away by the water flow after the driver leaves the life-saving equipment, the present application provides a control method for the life-saving equipment. When it is recognized that the driver has left the life-saving equipment, the first position of the life-saving equipment is determined, and according to the current position of the life-saving equipment, the life-saving equipment is controlled to move to the first position, thereby preventing the life-saving equipment from following the water flow and moving to a position far away from the driver, making it convenient for the driver to return to the life-saving equipment again, thereby ensuring the safety of the personnel.
[0043] The following is an exemplary description of the control method of the life-saving equipment provided in the present application.
[0044] The control method of the life-saving device provided in the embodiment of the present application can be executed on the life-saving device, and can also be executed on a computing device such as a computer, a server, etc. that is communicatively connected to the life-saving device. The control method of the life-saving device provided in the embodiment of the present application is described below by taking the example that the control method of the life-saving device provided in the embodiment of the present application can be executed on the life-saving device.
[0045] First, the life-saving equipment is introduced.
[0046] Life-saving equipment is a smart device that can be thrown into the water and float on the water. Figure 1 As shown, the lifesaving equipment includes a central processing module 11, a local driving control unit 12, a water entry sensing unit 13, a posture sensing unit 14, a positioning and orientation unit 15, a human body sensing unit 16, a motor driving unit 17, and a first wireless data communication unit 18.
[0047] The central processing module 11 is communicatively connected with the local driving control unit 12, the water entry sensing unit 13, the posture sensing unit 14, the positioning and orientation unit 15, the human body sensing unit 16, the motor drive unit 17 and the first wireless data communication unit 18, and is used to receive data input by each unit, process the received data, and execute decisions and controls according to the processing results.
[0048] The local driving control unit 12 is used to send the control signal input by the user to the central processing module 11, and the central processing module 11 outputs the corresponding driving signal to the motor driving unit 17 according to the control information.
[0049] The water entry sensing unit 13 may include a temperature sensor or an ultrasonic sensor, and is used to determine whether the lifesaving equipment has entered the water based on the collected information.
[0050] The posture sensing unit 14 may include a posture sensor for determining posture information of the lifesaving device, for example, determining whether the posture information of the lifesaving device is upright or inverted.
[0051] The positioning and orientation unit 15 may include a global positioning system (GPS) or an image sensor, which is used to determine the position and orientation of the lifesaving equipment.
[0052] The human sensing unit 16 may include a human sensor or a pressure sensor for determining whether there is a person driving the lifesaving device.
[0053] The motor drive unit 17 is used to drive the lifesaving device to move forward, turn or flip according to the instructions of the central processing module 11.
[0054] The first wireless data communication unit 18 is used to communicate with the second wireless data communication unit 19 outside the life-saving equipment, and sends the signal sent by the second wireless data communication unit 19 to the central processing module 11. The central processing module 11 is used to wake up the life-saving equipment according to the received signal, or output control information to the motor drive unit 17 according to the received signal. The first wireless data communication unit 18 is also used to send instructions from the central processing module 11 to the second wireless data communication unit 19.
[0055] In combination with the above-mentioned life-saving equipment, the control method of the life-saving equipment provided in the embodiment of the present application is described in detail below.
[0056] Please refer to the attached Figure 2 , a control method for life-saving equipment provided in an embodiment of the present application includes:
[0057] S201: When a driver is driving a lifesaving device, if it is recognized that the driver has left the lifesaving device, a first position of the lifesaving device is determined.
[0058] Specifically, the life-saving equipment has two control modes: local driving and remote control. In the local driving control mode, the driver controls the life-saving equipment by operating the control buttons on the life-saving equipment. In the remote control mode, the rescue personnel control the life-saving equipment through a remote control or other remote terminal, and the remote control or remote terminal and the life-saving equipment can be connected through cloud servers, Bluetooth, WIFI, 5G, etc. The life-saving equipment can switch the current control mode to local driving according to user operations, or it can start the local driving function when it detects that the life-saving equipment has entered the water, or it can start the local driving function when it detects that there is a driver on the life-saving equipment. When the control mode of the life-saving equipment is local driving or remote control, the driver can drive the life-saving equipment.
[0059] When the driver drives the lifesaving device, the lifesaving device starts to identify whether the driver has left the lifesaving device. In one embodiment, when the detection value of the first sensor is within the first numerical range, it is determined that the driver is driving the lifesaving device. If within a preset time period, it is detected that the detection value of the first sensor is within the second numerical range, it is determined that the driver has left the lifesaving device, and the first position of the lifesaving device is determined. Specifically, the lifesaving device obtains the detection value of the first sensor at a set time interval, and when it is detected that the detection value of the first sensor changes from the first numerical range to the second numerical range, and the duration of the detection value in the second numerical range is the preset duration, it is determined that the driver has left the lifesaving device, thereby improving the accuracy of the judgment result and avoiding rescue delays caused by judgment errors.
[0060] In one embodiment, the first sensor is a human body sensor or a pressure sensor.
[0061] Specifically, the human body sensor may be an infrared sensor for detecting human body information. The lifesaving device receives the detection value of the human body sensor, and when it is determined that the detection value is within the first numerical range, it is determined that human body information is detected, and it is determined that there is a driver on the lifesaving device. When it is determined that the detection value is within the second numerical range, and the length of time the detection value is within the second numerical range is a preset time, it is determined that no human body information is detected, and then it is determined that the driver has left the lifesaving device. The pressure sensor may be located above the lifesaving device, and when the driver drives the lifesaving device, the pressure value detected by the pressure sensor is greater than the preset value. The lifesaving device receives the pressure value detected by the pressure sensor, and if the pressure value is greater than the preset value, it is determined that there is a driver on the lifesaving device. If the pressure value is less than the preset value, and the length of time the pressure value is less than the preset value is the preset time, it indicates that the driver has left the lifesaving device.
[0062] When it is determined that the driver has left the lifesaving device, the lifesaving device may determine the first position of the lifesaving device according to the GPS on the lifesaving device, or may determine the first position of the lifesaving device according to image information collected by an image sensor on the lifesaving device.
[0063] S202: Acquire the current location of the lifesaving equipment.
[0064] Specifically, after determining that the driver has left the lifesaving device, the lifesaving device determines the current location of the lifesaving device in real time according to GPS positioning information or image information.
[0065] S203: Controlling the lifesaving device to move to the first position according to the current position of the lifesaving device.
[0066] Specifically, the life-saving device plans a path according to the current position and the first position, and controls the life-saving device to move toward the first position according to the planned path.
[0067] In one embodiment, the life-saving equipment can also determine the obstacle information of the waters where the life-saving equipment is located based on the images captured by the image sensor, and then plan the path based on the obstacle information, the current location of the life-saving equipment and the first location, so that the life-saving equipment can reach the first location as soon as possible.
[0068] In one embodiment, after the life-saving device determines the current position, it determines the first time duration between the current moment and the moment when the life-saving device is located at the first position, determines the environmental information according to the first time duration, and controls the life-saving device to move to the first position according to the environmental information and the current position of the life-saving device. Specifically, the environmental information is the water flow speed or the wind speed. After determining the environmental information, the life-saving device determines the speed required to reach the first position according to the environmental information. For example, if the environmental information is the water flow speed, the speed required to reach the first position is greater than the water flow speed, so the life-saving device is controlled to travel at the corresponding speed. After reaching the first position, the life-saving device instructs the electric drive unit to continue to drive the life-saving device to maintain a speed equal to the water flow speed, so that the life-saving device will not be washed away by the water flow and will continue to be located at the first position.
[0069] In one embodiment, after the lifesaving device moves to the first position, an image captured by an image sensor on the lifesaving device is obtained, the image is recognized, the position of the driver is determined according to the recognition result, the first direction is determined according to the position of the driver, and after the lifesaving device reaches the first position, the lifesaving device is controlled to adjust its direction so that the adjusted direction (orientation) is consistent with the first direction. Wherein, when the orientation of the lifesaving device is the first direction, it is convenient for the driver to grasp the lifesaving device. For example, if the position for grasping on the lifesaving device is located at the head of the lifesaving device, then when the orientation of the lifesaving device is the first direction, the head of the lifesaving device is facing the driver. For another example, if the position for grasping on the lifesaving device is located on the left side of the lifesaving device, then when the orientation of the lifesaving device is the first direction, the left side of the lifesaving device is facing the driver, so that the driver can grasp the lifesaving device as soon as possible, so that the lifesaving device can be driven again.
[0070] In another embodiment, after the lifesaving device moves to the first position, path planning is performed according to the current scene to determine the return path of the lifesaving device at the first position, and then the first direction of the lifesaving device is determined according to the return path. The first direction is the direction in which the lifesaving device can safely travel along the return path. The current scene includes the coast position, the direction of the water flow, the position of obstacles, etc. For example, the first direction is the direction in which the head of the lifesaving device is facing the coast position, or the first direction is the direction in which the driver moves before leaving the lifesaving device, or the first direction is the direction in which the lifesaving device can avoid obstacles during travel. After the lifesaving device reaches the first position, the lifesaving device is controlled to adjust its direction so that the adjusted direction is consistent with the first direction, thereby improving driving safety.
[0071] In another embodiment, the life-saving device may first adjust the direction of the life-saving device to a direction that is convenient for the driver to grasp. When it is determined that the driver is driving the life-saving device, path planning is performed according to the current scene to determine the return path, and the direction of the life-saving device is adjusted to a direction that can be safely driven along the return path.
[0072] In another embodiment, when the lifesaving device recognizes that the driver has left the lifesaving device, the direction of the lifesaving device in the first position is determined, and after controlling the lifesaving device to move to the first position, the lifesaving device is controlled to adjust its direction so that the adjusted direction is consistent with the direction of the lifesaving device in the first position, thereby facilitating the driver to drive the lifesaving device again. The direction of the lifesaving device can be the direction of a preset position of the lifesaving device (e.g., the midpoint of the front end), and the lifesaving device can determine the direction of the lifesaving device in the first position according to a gravity sensor or a posture sensor on the lifesaving device.
[0073] In one embodiment, after the lifesaving device returns to the first position, the image captured by the image sensor is obtained to determine whether there is a human portrait in the image. If there is a human portrait in the image, the lifesaving device is kept at the first position. If there is no human portrait in the image, the lifesaving device can issue an alarm prompt, so that the driver can quickly find the lifesaving device. Alternatively, the lifesaving device can also send information that it is in an unmanned driving state to the server, and the server can send a new control instruction to the lifesaving device according to the rescue needs.
[0074] In one embodiment, if there is a human portrait in the image captured by the image sensor, the life-saving device determines the location of the person based on the image, and then plans a path based on the current location of the life-saving device and the location of the person, and controls the life-saving device to move toward the person according to the planned path, thereby further facilitating the rescue personnel to return to the life-saving device.
[0075] In the above embodiment, when the life-saving device recognizes that the driver has left, it determines the first position of the life-saving device, and controls the life-saving device to move to the first position according to the current position of the life-saving device, thereby preventing the life-saving device from following the water flow and moving to a position far away from the driver, making it convenient for the driver to return to the life-saving device again, thereby ensuring the safety of the personnel.
[0076] In one embodiment, the life-saving device is in a dormant state when not in use. When it is detected that the life-saving device has entered the water, the central processing module of the life-saving device is awakened, and the positioning and orientation unit, the human sensing unit and the motor drive unit of the life-saving device are started at the same time, so that the life-saving device can be quickly started, and then it is detected whether there is a driver driving the life-saving device. When it is detected that the driver has left the life-saving device, the life-saving device is controlled to return to the first position.
[0077] In one embodiment, when it is detected that the life-saving device has entered the water, the posture sensing unit on the life-saving device is simultaneously activated. The life-saving device determines the placement posture of the life-saving device based on the posture information collected by the posture sensing unit. If it is determined that the placement posture of the life-saving device is in an upright state, the life-saving device is controlled to move to a designated position. If it is determined that the placement posture of the life-saving device is in an inverted state, the life-saving device is controlled to flip to an upright state through a motor drive unit. When it is determined that the life-saving device is in an upright state, the life-saving device is controlled to move to a designated position. Specifically, if the placement state of the life-saving device is in an inverted state, the water inlet of the propeller part of the life-saving device faces upward, causing the life-saving device to be unable to travel normally. By flipping the life-saving device to an upright state and then controlling the life-saving device to travel on the water surface, the moving speed of the life-saving device can be increased, thereby saving time during the rescue process and allowing the rescue device to reach the designated position as soon as possible.
[0078] In one embodiment, the lifesaving device determines that the lifesaving device has entered the water when receiving the second information, and the second information is the temperature change information sent by the temperature sensor on the lifesaving device, or the detection distance change information sent by the ultrasonic sensor on the lifesaving device. Specifically, the temperature sensor is located on one side of the lifesaving device, and the temperature in the water is different from the temperature on the shore. When the temperature sensor detects that the temperature change range is greater than a preset value, the temperature change information is sent to the central processing module of the lifesaving device, and the central processing module determines that the lifesaving device has entered the water according to the temperature change information. The propagation speed of ultrasonic waves in water is different from that in air. For objects at the same distance, the distance information detected in water is different from the distance information detected in air. When the ultrasonic sensor detects that the detected distance information has changed, the detection distance change information is sent to the central processing module, and the central processing module determines that the lifesaving device has entered the water according to the distance change information. Alternatively, the ultrasonic sensor determines the propagation time of ultrasonic waves in a specific space. If the propagation time of ultrasonic waves changes, the central processing module determines that the lifesaving device has entered the water according to the change information of the propagation time.
[0079] In one embodiment, the process of activating the life-saving device is as follows: Figure 3 shown.
[0080] When the life-saving device is in a dormant state, it is determined whether the life-saving device has entered the water based on the detection information of the water entry sensing unit, whether the input signal of the local driving unit has changed (for example, the local driving unit has received an instruction from the driver to operate the life-saving device), and whether the wireless data communication unit has received an instruction. If it is determined that the life-saving device has entered the water based on the detection information of the water entry sensing unit, or it is determined that the input signal of the local driving unit has changed, or the wireless data communication unit has received an instruction, the central processing module is awakened, and the life-saving device starts the posture sensing unit, the positioning and orientation unit, the human body sensing unit, and the motor drive unit. After that, the life-saving device executes the process after startup. If it is determined that the life-saving device has not entered the water based on the detection information of the water entry sensing unit, it is determined that the input signal of the local driving unit has not changed, and the wireless data communication unit has not received an instruction, the life-saving device continues to be in a dormant state.
[0081] In one embodiment, the process of flipping the lifesaving device is as follows: Figure 4 shown.
[0082] After the life-saving device is started normally, the water entry sensing unit detects whether the life-saving device has entered the water. If not, the life-saving device enters the standby state and waits for control instructions. If the water entry sensing unit detects that the life-saving device has entered the water, the attitude sensor detects whether the life-saving device is in an inverted state. If it is determined that the life-saving device is in an inverted state, the central processing module controls the motor drive unit to drive the life-saving device to flip to the upright state. If the attitude sensor detects that the life-saving device is not in an inverted state, the life-saving device enters the standby state.
[0083] In one embodiment, the workflow of the lifesaving equipment executing the stay-in-place function is as follows: Figure 5 shown.
[0084] After the life-saving device is started normally, the central processing module receives the control command input by the local driving control unit, and the motor drive unit performs corresponding actions according to the control command. When the human perception unit recognizes that the driver has left the life-saving device, the positioning and orientation unit records the first position of the life-saving device, and then the motor drive unit drives the life-saving device to the first position. If the human perception unit does not recognize that the driver has left the life-saving device, the life-saving device is in normal working state and continues to move according to the control command input by the local driving control unit.
[0085] In the above embodiment, when the life-saving device enters the water, each unit module of the life-saving device is started and enters the local driving state, thereby reducing the time for starting the device and switching modes and improving the rescue efficiency. When the life-saving device is detected to be inverted, the life-saving device is flipped over and then driven, which can increase the driving speed of the life-saving device and avoid the inconvenience caused by artificial flipping of the life-saving device. When the driver leaves the life-saving device, the life-saving device returns to the original place to stay, which can prevent the life-saving device from following the water flow and moving to a position far away from the driver, making it convenient for the driver to return to the life-saving device again, thereby ensuring the safety of the personnel.
[0086] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0087] Corresponding to the control method of the life-saving equipment described in the above embodiment, Figure 6 A structural block diagram of a control device for life-saving equipment provided in an embodiment of the present application is shown. For ease of explanation, only the parts related to the embodiment of the present application are shown.
[0088] like Figure 6 As shown, the control device of the lifesaving equipment includes,
[0089] The identification module 61 is used to determine the first position of the lifesaving device when the driver is driving the lifesaving device and identifies that the driver has left the lifesaving device;
[0090] An acquisition module 62 is used to acquire the current location of the lifesaving equipment;
[0091] The control module 63 is used to control the lifesaving device to move to the first position according to the current position of the lifesaving device.
[0092] In one embodiment, the identification module 61 is further used for:
[0093] When the detection value of the first sensor is within a first value range, determining that the driver is driving the lifesaving equipment;
[0094] If it is detected within a preset time period that the detection values of the first sensor are all within a second value range, it is determined that the driver has left the life-saving equipment.
[0095] In one embodiment, the first sensor is a human body sensor or a pressure sensor.
[0096] In one embodiment, the control module 63 is further configured to:
[0097] After the life-saving device reaches the first position, the life-saving device is controlled to adjust its direction so that the adjusted direction is consistent with the first direction, where the first direction is a direction determined according to the current scene, or the first direction is determined according to the current position of the driver, where the current position of the driver is determined according to an image captured by an image sensor on the life-saving device.
[0098] In one embodiment, the control module 63 is further configured to:
[0099] When it is detected that the lifesaving device enters the water, a local driving function of the lifesaving device is started.
[0100] In one embodiment, the control module 63 is further configured to:
[0101] When detecting that the lifesaving equipment enters the water, determining the placement posture of the lifesaving equipment;
[0102] If it is determined that the placement posture of the lifesaving equipment is an inverted state, the lifesaving equipment is controlled to be turned over to an upright state.
[0103] In one embodiment, the identification module 61 is further used for:
[0104] When second information is received, it is determined that the lifesaving device has entered the water, the second information being temperature change information sent by a temperature sensor on the lifesaving device, or detection distance change information sent by an ultrasonic sensor on the lifesaving device.
[0105] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0106] Figure 7 It is a schematic diagram of the structure of the life-saving equipment provided in the embodiment of the present application.
[0107] like Figure 7 As shown, the lifesaving device of this embodiment includes: a processor 71, a memory 72, and a computer program 73 stored in the memory 72 and executable on the processor 71. When the processor 71 executes the computer program 73, the steps in the control method embodiment of the lifesaving device are implemented, such as Figure 1 Alternatively, when the processor 71 executes the computer program 73, the functions of each module / unit in the above-mentioned device embodiments are realized, for example Figure 6 The functions of the identification module 61 to the control module 63 are shown.
[0108] Exemplarily, the computer program 73 may be divided into one or more modules / units, which are stored in the memory 72 and executed by the processor 71 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 73 in the lifesaving device.
[0109] Those skilled in the art will understand that Figure 7 It is only an example of life-saving equipment and does not constitute a limitation of the life-saving equipment. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the life-saving equipment may also include input and output devices, network access equipment, buses, etc.
[0110] The processor 71 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0111] The memory 72 may be an internal storage unit of the lifesaving device, such as a hard disk or memory of the lifesaving device. The memory 72 may also be an external storage device of the lifesaving device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the lifesaving device. Further, the memory 72 may also include both an internal storage unit and an external storage device of the lifesaving device. The memory 72 is used to store the computer program and other programs and data required by the lifesaving device. The memory 72 may also be used to temporarily store data that has been output or is to be output.
[0112] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0113] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0114] In the embodiments provided in the present application, it should be understood that the disclosed devices / life-saving equipment and methods can be implemented in other ways. For example, the device / life-saving equipment embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, the indirect coupling or communication connection of the device or unit can be electrical, mechanical or other forms.
[0115] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0116] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium, etc.
[0117] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0118] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for controlling a lifesaving device, characterized in that: include: In the case where the driver is driving the lifesaving device, if it is recognized that the driver has left the lifesaving device, determining a first position of the lifesaving device; Obtaining the current location of the lifesaving equipment; According to the current position of the lifesaving device, the lifesaving device is controlled to move toward the first position.
2. The method according to claim 1, characterized in that: The method further comprises: When the detection value of the first sensor is within a first value range, determining that the driver is driving the lifesaving equipment; If it is detected within a preset time period that the detection values of the first sensor are all within a second value range, it is determined that the driver has left the life-saving equipment.
3. The method according to claim 2, characterized in that The first sensor is a human body sensor or a pressure sensor.
4. The method according to claim 1, characterized in that: After controlling the life-saving device to move to the first position, the method also includes: after the life-saving device reaches the first position, controlling the life-saving device to adjust its direction so that the adjusted direction is consistent with a first direction, wherein the first direction is a direction determined according to a current scene, or the first direction is determined according to a current position of the driver, and the current position of the driver is determined according to an image captured by an image sensor on the life-saving device.
5. The method according to claim 1, characterized in that Before determining the first position of the lifesaving equipment, the method further comprises: When it is detected that the lifesaving device enters the water, a local driving function of the lifesaving device is started.
6. The method according to claim 1, characterized in that Before determining the first position of the lifesaving equipment, the method further comprises: When detecting that the lifesaving equipment enters the water, determining the placement posture of the lifesaving equipment; If it is determined that the placement posture of the lifesaving equipment is an inverted state, the lifesaving equipment is controlled to be turned over to an upright state.
7. The method according to claim 5 or 6, characterized in that: The method further comprises: When second information is received, it is determined that the lifesaving device has entered the water, the second information being temperature change information sent by a temperature sensor on the lifesaving device, or detection distance change information sent by an ultrasonic sensor on the lifesaving device.
8. A control device for lifesaving equipment, characterized in that: include: an identification module, configured to determine a first position of the lifesaving device if it is identified that the driver has left the lifesaving device when the driver is driving the lifesaving device; An acquisition module, used to acquire the current location of the life-saving equipment; The control module is used to control the life-saving device to move to the first position according to the current position of the life-saving device.
9. A lifesaving device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
