Rapid fire extinguishing method and related device based on humanoid robot
By adjusting the movement speed of the humanoid robot according to the fire and terrain complexity and automatically avoiding obstacles, the problem of traditional fire extinguishing robots being inefficient in forest fire scenes is solved, and a fast and safe fire extinguishing effect is achieved.
Patent Information
- Application Number
- CN202411120657.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-15
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2044-08-15
AI Technical Summary
Traditional fire extinguishing robots cannot adjust the movement speed according to the actual situation of the fire scene, resulting in low fire extinguishing efficiency, especially in forest fire scenarios.
By determining the fire degree and terrain complexity of the target fire source, adjusting the movement speed of the humanoid robot, and obtaining obstacle information during the movement to automatically avoid obstacles, achieving rapid arrival at the fire site and extinguishing fires.
It improves the efficiency and speed of fire extinguishing, can move safely in complex fire environments, avoid collisions or obstacles, and improves the success rate of fire extinguishing.
Smart Images

Figure CN118634463B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of robotics technology, and in particular to a rapid fire extinguishing method based on a humanoid robot and related devices. Background Art
[0002] Traditional firefighting robots usually move at a fixed speed and cannot be adjusted according to the actual situation of the fire scene. This fixed-speed movement mechanism cannot adapt to the needs of different fires and terrains in the fire scene, resulting in low firefighting efficiency. For example, during the movement of the firefighting robot, when the fire is large, the firefighting robot may need to increase the movement speed to quickly reach the firefighting location. When the terrain is more complex, the firefighting robot may need to reduce the movement speed to avoid collisions. However, traditional firefighting robots only move at a fixed speed and cannot automatically adjust the movement speed to cope with various fire conditions. At the same time, although traditional firefighting robots can assist in firefighting, most of them can only move on flat roads and cannot move quickly in complex forest scenes.
[0003] Therefore, how to improve the fire-fighting efficiency of robots in forest fire scenarios needs to be solved urgently. Summary of the invention
[0004] The embodiments of the present application provide a rapid fire-fighting method and related devices based on a humanoid robot, which can adjust the movement speed of the humanoid robot according to the severity of the fire and the complexity of the terrain, and avoid obstacles according to obstacle information during movement, so as to quickly reach the fire scene and perform fire-fighting operations, thereby improving the efficiency and speed of fire-fighting.
[0005] In a first aspect, an embodiment of the present application provides a rapid fire extinguishing method based on a humanoid robot, which is applied to a controller of the humanoid robot. The method comprises:
[0006] Determine the first fire intensity of the target fire source at the target location at the first moment;
[0007] determining a target terrain complexity of the target location;
[0008] According to a preset mapping relationship between the fire severity and the moving speed, determining a first moving speed corresponding to the first fire severity; the greater the fire severity, the faster the moving speed;
[0009] Determining a first adjustment parameter according to the target terrain complexity;
[0010] Adjust the first moving speed according to the first adjustment parameter to obtain a second moving speed;
[0011] Controlling the humanoid robot to move at the second moving speed, and obtaining obstacle information of a target obstacle within a preset sensing range during the movement;
[0012] Controlling the humanoid robot to automatically avoid obstacles during movement according to the obstacle information;
[0013] When the humanoid robot reaches the target location, the humanoid robot is controlled to perform a fire extinguishing operation on the target fire source according to a preset fire extinguishing scheme.
[0014] In a second aspect, an embodiment of the present application provides a rapid fire extinguishing device based on a humanoid robot, which is applied to a controller of the humanoid robot. The device includes a determination module, an adjustment module, and a control module, wherein:
[0015] The determination module is used to determine a first fire intensity of a target fire source at a target location at a first moment; determine the target terrain complexity of the target location; determine a first moving speed corresponding to the first fire intensity according to a preset mapping relationship between the fire intensity and the moving speed; the greater the fire intensity, the faster the moving speed; determine a first adjustment parameter according to the target terrain complexity;
[0016] The adjustment module is used to adjust the first moving speed according to the first adjustment parameter to obtain a second moving speed;
[0017] The control module is used to control the humanoid robot to move at the second moving speed, and obtain obstacle information of the target obstacle within a preset sensing range during the movement; control the humanoid robot to perform automatic obstacle avoidance operations during the movement according to the obstacle information; and control the humanoid robot to perform fire extinguishing operations on the target fire source according to a preset fire extinguishing plan when the humanoid robot reaches the target position.
[0018] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps of any method in the first aspect of the embodiment of the present application.
[0019] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps described in any method of the first aspect of the embodiment of the present application.
[0020] In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in any method of the first aspect of the embodiment of the present application. The computer program product may be a software installation package.
[0021] By implementing the embodiments of the present application, the movement speed of the humanoid robot can be adjusted according to the severity of the fire and the complexity of the terrain, and obstacle avoidance can be performed according to obstacle information during movement, so as to quickly reach the fire scene and perform fire extinguishing operations, thereby improving the efficiency and speed of fire extinguishing. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] 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.
[0023] Figure 1 is a structural diagram of a humanoid robot provided in an embodiment of the present application;
[0024] Figure 2 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application;
[0025] Figure 3 It is a schematic diagram of a rapid fire extinguishing method based on a humanoid robot provided in an embodiment of the present application;
[0026] Figure 4 is a first obstacle avoidance schematic diagram of a humanoid robot provided in an embodiment of the present application;
[0027] Figure 5 is a second obstacle avoidance schematic diagram of a humanoid robot provided in an embodiment of the present application;
[0028] Figure 6 is a third obstacle avoidance schematic diagram of a humanoid robot provided in an embodiment of the present application;
[0029] Figure 7 This is a block diagram of the functional modules of a rapid fire extinguishing device based on a humanoid robot provided in an embodiment of the present application. DETAILED DESCRIPTION
[0030] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only 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.
[0031] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0032] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article indicates that the associated objects before and after are in an "or" relationship. The "plurality" appearing in the embodiments of the present application refers to two or more.
[0033] In the embodiments of the present application, "at least one item" or similar expressions refer to any combination of these items, including any combination of single items or plural items, and refer to one or more, and multiple refers to two or more. For example, at least one item of a, b, or c can represent the following seven situations: a, b, c, a and b, a and c, b and c, a, b, and c. Among them, each of a, b, and c can be an element or a set containing one or more elements.
[0034] The "connection" that appears in the embodiments of the present application refers to various connection methods such as direct connection or indirect connection to achieve communication between devices, and the embodiments of the present application do not impose any limitations on this.
[0035] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0036] Traditional fire-fighting robots usually move at a fixed speed and cannot be adjusted according to the actual situation of the fire scene. This fixed-speed movement mechanism cannot adapt to the needs of different fires and terrains in the fire scene, resulting in low fire-fighting efficiency. For example, during the movement of the fire-fighting robot, when the fire is large, the fire-fighting robot may need to increase the moving speed to quickly reach the fire-fighting location. When the terrain is more complex, the fire-fighting robot may need to reduce the moving speed to avoid collisions, but traditional fire-fighting robots only move at a fixed speed and cannot automatically adjust the moving speed to cope with various fire conditions. At the same time, although traditional fire-fighting robots can assist in firefighting, most of them can only walk on flat roads and cannot move quickly in complex forest scenes. Therefore, how to improve the fire-fighting efficiency of robots in forest fire scenes needs to be solved urgently.
[0037] To solve the above problems, the embodiment of the present application provides a rapid fire extinguishing method based on a humanoid robot and a related device, which is applied to the controller of the humanoid robot, determines the first fire intensity of the target fire source at the target position at the first moment; determines the target terrain complexity of the target position; determines the first moving speed corresponding to the first fire intensity according to the preset mapping relationship between the fire intensity and the moving speed; the greater the fire intensity, the faster the moving speed; determines the first adjustment parameter according to the target terrain complexity; adjusts the first moving speed according to the first adjustment parameter to obtain a second moving speed; controls the humanoid robot to move at the second moving speed, and obtains obstacle information of the target obstacle within the preset sensing range during the movement; controls the humanoid robot to perform automatic obstacle avoidance operation during the movement according to the obstacle information; when the humanoid robot reaches the target position, controls the humanoid robot to perform fire extinguishing operation on the target fire source according to the preset fire extinguishing scheme. The moving speed of the humanoid robot can be adjusted according to the fire intensity and the terrain complexity, and avoids obstacles according to the obstacle information during the movement, so as to quickly arrive at the fire scene and perform fire extinguishing operation, thereby improving the efficiency and speed of fire extinguishing.
[0038] Combine the following Figure 1 The composition structure of a humanoid robot in an embodiment of the present application is described. Figure 1 This is a structural diagram of a humanoid robot provided in an embodiment of the present application. The humanoid robot includes a controller, a temperature sensor, an image recognition module, and a thermal imaging module.
[0039] In one possible embodiment, the temperature value of the target fire source can be obtained through a temperature sensor, the diffusion speed of the target fire source can be obtained through an image recognition module, and finally the hot spot distribution of the target fire source can be obtained through a thermal imaging module. Then, the controller calculates the fire intensity of the target fire source based on the temperature value, diffusion speed and hot spot distribution. The terrain image of the target position is obtained through the image recognition module, and the terrain image is identified and analyzed to obtain the terrain complexity. The controller adjusts the moving speed of the humanoid robot according to the fire intensity and terrain complexity, and controls the humanoid robot to move at the adjusted moving speed. During the movement, obstacle information is obtained through the image recognition module, and the humanoid robot is controlled to perform automatic obstacle avoidance operations based on the obstacle information. When the humanoid robot reaches the target position, the humanoid robot is controlled to perform fire extinguishing operations on the target fire source according to the preset fire extinguishing plan.
[0040] It can be seen that by analyzing the degree of fire and the complexity of terrain and adjusting the movement speed of the humanoid robot, the efficiency of fire extinguishing can be improved, and obstacle avoidance can be performed based on obstacle information, so that the robot can move safely in a complex fire environment to avoid collision or obstruction.
[0041] Combine the following Figure 2 The electronic device in the embodiment of the present application is described. Figure 2 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the electronic device includes one or more processors, a memory, a communication interface and one or more programs, and the processor is communicatively connected with the memory and the communication interface via an internal communication bus.
[0042] Among them, the processor is mainly used for:
[0043] Determine the first fire intensity of the target fire source at the target location at the first moment;
[0044] Determine the target terrain complexity at the target location;
[0045] According to a preset mapping relationship between the fire intensity and the moving speed, a first moving speed corresponding to the first fire intensity is determined; the greater the fire intensity, the faster the moving speed;
[0046] Determining a first adjustment parameter according to the complexity of the target terrain;
[0047] Adjust the first moving speed according to the first adjustment parameter to obtain a second moving speed;
[0048] Controlling the humanoid robot to move at a second moving speed, and obtaining obstacle information of a target obstacle within a preset sensing range during the movement;
[0049] Control the humanoid robot to automatically avoid obstacles during movement based on obstacle information;
[0050] When the humanoid robot reaches the target location, the humanoid robot is controlled to perform fire extinguishing operations on the target fire source according to a preset fire extinguishing plan.
[0051] The one or more programs are stored in the above-mentioned memory and are configured to be executed by the above-mentioned processor, and the one or more programs include instructions for executing any step in the above-mentioned method embodiment.
[0052] Among them, the processor can be, for example, a central processing unit (CPU), a general processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It can implement or execute various exemplary logic blocks, units and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of DSP and microprocessors, and the like. The communication unit can be a communication interface, a transceiver, a transceiver circuit, and the like, and the storage unit can be a memory.
[0053] The memory may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Among them, the nonvolatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus RAM (DR RAM).
[0054] It is understandable that the electronic device may include more or fewer structural elements than those in the above structural block diagram, for example, including a power module, physical buttons, a Wi-Fi module, a speaker, a Bluetooth module, a sensor, a display module, etc., which are not limited here. Figure 1 The humanoid robot.
[0055] After understanding the software and hardware architecture of this application, Figure 3 A rapid fire extinguishing method based on a humanoid robot in an embodiment of the present application is described. Figure 3 A schematic flow chart of a rapid fire extinguishing method based on a humanoid robot provided in an embodiment of the present application specifically includes the following steps:
[0056] Step S301, determining a first fire intensity of a target fire source at a target location at a first moment.
[0057] Among them, the humanoid robot includes a temperature sensor, an image recognition module, and a thermal imaging module, and the first fire intensity of the target fire source at the target position at the first moment is determined, specifically including: when the distance between the humanoid robot and the target position is less than a preset distance, obtaining the temperature value of the target fire source through the temperature sensor; obtaining the diffusion speed of the target fire source through the image recognition module; obtaining the hotspot distribution of the target fire source through the thermal imaging module; scoring the temperature value, the diffusion speed and the hotspot distribution according to a preset scoring standard to obtain a first score, a second score and a third score; obtaining multiple weights corresponding to the temperature value, the diffusion speed and the hotspot distribution to obtain a first weight, a second weight and a third weight; performing weighted calculation according to the first score, the second score and the third score, and the first weight, the second weight and the third weight to obtain the first fire intensity.
[0058] Specifically, the humanoid robot can be equipped with a temperature sensor, an image recognition module, and a thermal imaging module to obtain basic information about the target fire source to determine the size of the fire. When the humanoid robot is close to the target location where the fire occurs, that is, when the distance between the humanoid robot and the target location is less than a preset distance, the temperature value of the target fire source can be obtained through the temperature sensor, the diffusion speed of the target fire source can be obtained through the image recognition module, and the hot spot distribution of the target fire source can be obtained through the thermal imaging module. Among them, the image recognition module can accurately identify the target fire source, and shoot the target fire source according to a preset time interval to obtain a first image and a second image. Through an image processing algorithm, the first image and the second image are compared to calculate the displacement of the target fire source in space, and then the diffusion speed of the target fire source is calculated. Among them, the thermal imaging module can capture the infrared radiation of the target fire source area and convert it into a corresponding thermal image, and the thermal image is analyzed and processed by an image processing algorithm to identify and quantify the hot spot distribution in different areas.
[0059] Next, the temperature value, diffusion rate and hot spot distribution are scored according to the preset scoring criteria to obtain the first score, the second score and the third score. Among them, the higher the temperature value, the faster the diffusion rate, the wider the hot spot distribution, and the higher the corresponding score. For example, when the temperature value is below 200°C, the corresponding first score is 1; when the temperature value is between 200°C and 300°C, the corresponding first score is 2; when the temperature value is between 300°C and 400°C, the corresponding first score is 3; when the temperature value is between 400°C and 500°C, the corresponding first score is 4; when the temperature value is above 500°C, the corresponding first score is 5. It should be noted that the scoring criteria are not fixed and can be adjusted according to actual conditions and actual needs, and are not specifically limited here.
[0060] Finally, multiple weights corresponding to the temperature value, diffusion speed and hot spot distribution are obtained to obtain the first weight, the second weight and the third weight. Among them, weights can be assigned to different indicators according to their importance in fire analysis. For example, in fire analysis, the temperature value is a relatively important indicator, which is directly related to the severity of the fire and its impact on the surrounding environment. It can be determined that the first weight corresponding to the temperature value is 0.4. It should be noted that the allocation of weights can be adjusted according to actual needs. For example, in a specific environment, the hot spot distribution is more important, so the proportion of the third weight can be increased. No specific limitation is made here. According to the following weighted calculation formula for the degree of fire:
[0061] First score × first weight + second score × second weight + third score × third weight = fire severity;
[0062] The first fire severity can be calculated. It should be noted that the fire severity ranges from 1 to 5. The greater the fire severity, the more dangerous and serious the target fire source is. Therefore, a comprehensive assessment of the target fire source is performed based on temperature, diffusion rate, and hot spot distribution, and the fire severity is calculated based on pre-set scoring criteria and weights, which improves the accuracy of judging the fire severity and facilitates the subsequent implementation of corresponding response measures.
[0063] Step S302, determining the target terrain complexity of the target location.
[0064] Among them, the determination of the target terrain complexity of the target location specifically includes: obtaining a terrain image of the target location through the image recognition module; identifying the terrain image to obtain terrain feature information; the terrain feature information includes terrain roughness and vegetation coverage; the terrain roughness is used to indicate the degree of unevenness of the terrain; the vegetation coverage is used to indicate the coverage area ratio of vegetation within a preset range; determining a reference terrain complexity according to the terrain roughness; if the vegetation coverage is greater than a preset coverage threshold, determining a reference adjustment factor corresponding to the vegetation coverage; adjusting the reference terrain complexity according to the reference adjustment factor to obtain the target terrain complexity.
[0065] Specifically, the terrain image of the target location can be photographed by an image recognition module, and the terrain image can be identified and analyzed to obtain terrain feature information. Among them, the terrain feature information includes terrain roughness and vegetation coverage. The terrain roughness is used to indicate the degree of unevenness of the terrain, including three levels of low, medium and high. The vegetation coverage is used to indicate the proportion of vegetation coverage area within a preset range. It should be noted that the terrain image can be calculated by image processing technology to obtain the terrain roughness, or the vegetation coverage can be obtained by calculating the pixel ratio occupied by the area that meets the vegetation characteristics in the terrain image, which is not specifically limited here. According to the preset mapping relationship between the terrain roughness and the terrain complexity, the reference terrain complexity corresponding to the terrain roughness is determined. Then, it is determined whether the vegetation coverage is greater than the preset coverage threshold. If the vegetation coverage is greater than the coverage threshold, it is proved that the vegetation coverage has a greater impact on the terrain complexity. Among them, the higher the vegetation coverage, the more obstacles there are on the terrain, and the more complex the terrain environment is, thereby affecting the movement of the humanoid robot. Then determine the reference adjustment factor corresponding to the vegetation coverage rate, and use the reference adjustment factor to increase the terrain complexity. Finally, adjust the reference terrain complexity according to the reference adjustment factor to obtain the target terrain complexity.
[0066] It can be seen that determining terrain feature information based on terrain images and intelligently analyzing the terrain feature information to obtain terrain complexity can improve the accuracy and reliability of terrain analysis. In addition, the humanoid robot can also dynamically adjust the movement speed according to the complexity of the terrain, so as to flexibly cope with complex terrain environments.
[0067] Step S303: determining a first moving speed corresponding to the first fire intensity according to a preset mapping relationship between the fire intensity and the moving speed.
[0068] Among them, the larger the fire, the faster it moves.
[0069] In a possible example, the preset mapping relationship between the fire intensity and the moving speed can be a linear relationship. For example, when the first fire intensity is 1, the corresponding first moving speed is 1 meter / second; when the first fire intensity is 2, the corresponding first moving speed is 2 meters / second; when the first fire intensity is 3, the corresponding first moving speed is 3 meters / second. It should be noted that the mapping relationship can be adjusted according to the actual situation, which includes but is not limited to the model of the humanoid robot, the fire scene, and the urgency of the event. For example, when the fire intensity is 2, the moving speed of the type A humanoid robot is 1 meter / second, and the moving speed of the type B humanoid robot is 2 meters / second, which is not specifically limited here. In addition, during the movement of the humanoid robot, the greater the fire intensity of the target fire source, the higher the threat level of the target fire source, and the moving speed needs to be increased to quickly reach the target position, which is the best position for extinguishing the fire.
[0070] Step S304: determining a first adjustment parameter according to the target terrain complexity.
[0071] The greater the complexity of the target terrain, the greater the difficulty of traveling in the terrain environment. In order to prevent the humanoid robot from losing balance and falling in the complex terrain due to excessive speed, its movement speed needs to be adjusted. Therefore, the first adjustment parameter can be determined according to the target complexity. For example, the first complexity threshold and the second complexity threshold are pre-set. When the target complexity is greater than the first complexity threshold and less than the second complexity threshold, the corresponding first adjustment parameter can be determined to be 0.9. The first adjustment parameter is used to reduce the movement speed of the humanoid robot to cope with complex terrain features such as undulating terrain, vegetation coverage, and steep slopes.
[0072] Step S305: adjust the first moving speed according to the first adjustment parameter to obtain a second moving speed.
[0073] The range of the first adjustment parameter is 0-1, and the first moving speed can be adjusted according to the first adjustment parameter to reduce the first moving speed to obtain the second moving speed.
[0074] Step S306: Control the humanoid robot to move at the second moving speed, and obtain obstacle information of the target obstacle within a preset sensing range during the movement.
[0075] Among them, the preset perception range can be determined according to the recognizable range of the humanoid robot. Within the preset perception range, the humanoid robot can identify and analyze the surrounding environment through an image recognition module to obtain obstacle information of the target obstacles, wherein the target obstacles include but are not limited to trees, stones, and earth slopes.
[0076] Step S307: controlling the humanoid robot to automatically avoid obstacles during movement according to the obstacle information.
[0077] Wherein, the obstacle information includes obstacle position and obstacle volume, and controlling the humanoid robot to perform automatic obstacle avoidance operation during movement according to the obstacle information specifically includes: determining the actual space size occupied by the target obstacle within the preset perception range according to the obstacle position and the obstacle volume; if the actual space size is greater than a preset space safety threshold, obtaining the current position of the humanoid robot; calculating a first distance between the current position and the obstacle position; determining a second adjustment parameter according to the first distance; adjusting the second moving speed according to the second adjustment parameter to obtain a third moving speed, wherein the third moving speed is less than the second moving speed; controlling the humanoid robot to move at the third moving speed to avoid hitting the target obstacle due to excessive speed; during movement, obtaining a first image of the target obstacle through the image recognition module; recognizing the first image to obtain an image recognition result; and performing the automatic obstacle avoidance operation according to the image recognition result.
[0078] Specifically, first, according to the position and volume of the obstacle, the actual space size occupied by the target obstacle within the preset perception range is determined, that is, the actual space size occupied by the target obstacle within the preset perception range is determined. If the actual space size is greater than the preset space safety threshold, it is determined that the target obstacle is large or the target obstacles are densely distributed, and the moving speed needs to be reduced to safely avoid the target obstacle. Then, the current position of the humanoid robot is obtained, the first distance between the current position and the obstacle position is calculated, and the second adjustment parameter is determined according to the first distance, wherein the smaller the first distance is, the closer the humanoid robot is to the target obstacle, and the smaller the corresponding second adjustment parameter is, and the second adjustment parameter is used to reduce the moving speed to reserve enough time to perform subsequent obstacle avoidance operations. Then, the second moving speed is adjusted according to the second adjustment parameter to obtain a third moving speed, which is less than the second moving speed. Finally, the humanoid robot is controlled to move at the third moving speed to prevent the humanoid robot from hitting the target obstacle due to excessive speed. At the same time, during the movement of the humanoid robot, the first image of the target obstacle is obtained by the image recognition module. The first image is recognized to obtain an image recognition result, and an automatic obstacle avoidance operation is performed according to the image recognition result.
[0079] It can be seen that by detecting the position and volume of the target obstacle in real time and calculating the size of the space it actually occupies, it is convenient to analyze the impact of the target obstacle on the robot's moving path and adjust the moving speed according to the distance between them, thereby effectively avoiding collisions due to excessive speed and improving the safety of the moving process.
[0080] Among them, the automatic obstacle avoidance operation is performed according to the image recognition result, specifically including: obtaining the current moving direction of the humanoid robot; determining the path width corresponding to the current moving direction according to the image recognition result; if the path width is greater than or equal to a preset first width threshold, determining that the humanoid robot can successfully avoid the target obstacle, and controlling the humanoid robot to continue moving at the third moving speed; if the path width is less than the first width threshold, determining the size of the path width and a preset second width threshold; the second width threshold is less than the first width threshold; if the path width is greater than or equal to the second width threshold, determining that the humanoid robot can avoid the target obstacle sideways; obtaining the width difference between the path width and the second width threshold; determining an adjustment angle according to the width difference; controlling the humanoid robot to adjust the moving mode to a sideways moving mode according to the adjustment angle, and avoid the target obstacle through the sideways moving mode.
[0081] Specifically, first, the current moving direction of the humanoid robot is obtained, and the path width corresponding to the current moving direction is determined according to the image recognition result, that is, the width of the available space of the humanoid robot on the moving path when moving in the current moving direction. Then, the path width is compared with the size of the preset first width threshold. If the path width is large enough, that is, the path width is greater than or equal to the first width threshold, it is determined that the humanoid robot can smoothly avoid the target obstacle, and the humanoid robot can be controlled to continue to move at the third moving speed. If the path width is small, that is, the path width is less than the first width threshold, the size of the path width and the preset second width threshold is further determined. If the path width is greater than or equal to the second width threshold, it is determined that the humanoid robot can avoid the target obstacle sideways. The width difference between the path width and the second width threshold is obtained, and the adjustment angle is determined according to the width difference, wherein the smaller the width difference, the larger the adjustment angle. For example, when the width difference is zero, that is, the path width is equal to the second width threshold, the adjustment angle can be 90 degrees. Then, the humanoid robot is controlled to adjust the moving mode to the sideways moving mode according to the adjustment angle, and avoid the target obstacle by the sideways moving mode.
[0082] It can be seen that comparing the path width with the preset width threshold and determining the execution strategy for avoiding the target obstacle based on the comparison result improves the flexibility and safety of the humanoid robot in complex environments.
[0083] For easier understanding, see Figure 4 , Figure 4A first obstacle avoidance schematic diagram of a humanoid robot provided in an embodiment of the present application, wherein the bidirectional arrows are used to represent the path width corresponding to the current moving direction of the humanoid robot and the first width threshold that the humanoid robot can pass straight through. If the path width is greater than the first width threshold, it can be determined that the humanoid robot can successfully avoid the target obstacle.
[0084] For easier understanding, see Figure 5 , Figure 5 A second obstacle avoidance schematic diagram of a humanoid robot provided in an embodiment of the present application, wherein the bidirectional arrows are used to represent the path width corresponding to the current moving direction of the humanoid robot, the first width threshold that the humanoid robot can pass straight through, and the second width threshold that the humanoid robot can pass sideways. If the path width is less than the first width threshold but greater than the second width threshold, it can be determined that the humanoid robot can avoid the target obstacle sideways.
[0085] In a possible embodiment, if the path width is less than the second width threshold, it is determined that the humanoid robot cannot avoid the target obstacle when moving in the current moving direction; m moving directions to be selected are obtained; the m moving directions to be selected are m planned moving directions that can reach the target position except the current moving direction; m is a positive integer; the degree of openness corresponding to each of the m moving directions to be selected is determined to obtain m reference openness; the degree of openness is used to indicate the proportion of obstacles; the moving direction to be selected corresponding to the maximum degree of openness among the m reference degrees of openness is used as the target moving direction; the humanoid robot is controlled to move in the target moving direction to avoid the target obstacle.
[0086] For easier understanding, see Figure 6 , Figure 6 A third obstacle avoidance schematic diagram of a humanoid robot provided in an embodiment of the present application, wherein the bidirectional arrows are used to represent the path width corresponding to the current moving direction of the humanoid robot and the second width threshold that the humanoid robot can pass sideways. If the path width is less than the second width threshold, it can be determined that the humanoid robot cannot avoid the target obstacle when moving in the current moving direction, and needs to select other moving directions to move in order to avoid the target obstacle.
[0087] Specifically, if the path width is less than the second width threshold, it is determined that the humanoid robot cannot avoid the target obstacle according to the current moving direction. Therefore, the current environment space can be analyzed by the image recognition module, and the moving direction of the humanoid robot can be replanned to obtain m moving directions to be selected except the current moving direction, and the m moving directions to be selected can all reach the target position, where m is a positive integer. Then, by analyzing the obstacle ratio of each of the m moving directions to be selected, the degree of openness corresponding to each moving direction to be selected is determined, and m reference openness degrees are obtained. Finally, the moving direction to be selected corresponding to the maximum degree of openness among the m reference degrees of openness is used as the target moving direction, and the humanoid robot is controlled to move in the target moving direction to avoid the target obstacle.
[0088] It can be seen that through image recognition and open space analysis, the humanoid robot can intelligently choose the best moving direction and path to avoid obstacles, so as to improve the obstacle avoidance ability and safety of the humanoid robot, and improve the adaptability and flexibility of the humanoid robot in complex environments.
[0089] Step S308, when the humanoid robot reaches the target position, the humanoid robot is controlled to perform a fire extinguishing operation on the target fire source according to a preset fire extinguishing scheme.
[0090] Among them, the controlling of the humanoid robot to perform fire extinguishing operation on the target fire source according to the preset fire extinguishing scheme specifically includes: during the fire extinguishing process, controlling the humanoid robot to perform mobile fire extinguishing operation at a preset reference moving speed; determining a second fire intensity of the target fire source at a second moment; the second moment is later than the first moment; if the second fire intensity is greater than a preset first fire intensity threshold, obtaining a first difference between the second fire intensity and the first fire threshold; determining a third adjustment parameter according to the first difference; adjusting the reference moving speed according to the third adjustment parameter to obtain a fourth moving speed, and controlling the humanoid robot to perform mobile fire extinguishing operation at the fourth moving speed; if the second fire intensity is less than the preset second fire intensity threshold, obtaining a second difference between the second fire threshold and the second fire intensity; the second fire threshold is less than the first fire threshold; determining a fourth adjustment parameter according to the second difference; adjusting the reference moving speed according to the fourth adjustment parameter to obtain a fifth moving speed, and controlling the humanoid robot to perform mobile fire extinguishing operation at the fifth moving speed.
[0091] Specifically, when the humanoid robot reaches the target location and performs a fire extinguishing operation, the humanoid robot is controlled to perform mobile fire extinguishing according to a preset reference moving speed. During the mobile fire extinguishing process, the moving speed of the humanoid robot can be adjusted according to the fire intensity of the target fire source.
[0092] In one possible embodiment, first, the second fire intensity of the target fire source at the second moment is detected, and the second moment is later than the first moment. If the second fire intensity is greater than the preset first fire intensity threshold, it proves that the fire is large, and the first difference between the second fire intensity and the first fire threshold can be obtained. Then, a third adjustment parameter is determined based on the first difference, wherein the larger the first difference, the smaller the third adjustment parameter, and the third adjustment parameter is used to reduce the movement speed of the humanoid robot when extinguishing the fire. Finally, the reference movement speed is adjusted according to the third adjustment parameter to obtain a fourth movement speed, and the humanoid robot is controlled to move and extinguish the fire at the fourth movement speed.
[0093] In a possible embodiment, if the second fire intensity is less than the preset second fire intensity threshold, it proves that the fire is small, and a second difference between the second fire intensity threshold and the second fire intensity can be obtained, and the second fire intensity threshold is less than the first fire threshold. Then, a fourth adjustment parameter is determined according to the second difference, wherein the larger the second difference, the larger the fourth adjustment parameter, and the fourth adjustment parameter is used to increase the moving speed of the humanoid robot when extinguishing the fire. Finally, the reference moving speed is adjusted according to the fourth adjustment parameter to obtain a fifth moving speed, and the humanoid robot is controlled to move and extinguish the fire at the fifth moving speed.
[0094] It should be noted that during the process of mobile firefighting by the humanoid robot, if the fire is large, the movement speed of the humanoid robot can be reduced to ensure that the fire extinguishing agent is sprayed accurately and fully, and the fire extinguishing resources are concentrated in the core area of the fire, so as to effectively extinguish the larger fire source, prevent the fire from further expanding and spreading, and improve the efficiency and success rate of fire extinguishing. However, moving too fast may cause the fire extinguishing agent to be sprayed inaccurately or insufficiently, and the fire source cannot be extinguished, and fire extinguishing resources will be wasted. If the fire is small, the movement speed of the humanoid robot can be increased so that it can quickly move to other uncontrolled areas and expand the scope of fire extinguishing. In areas with smaller fires, the demand for fire extinguishing agents is relatively small, and the fire is easier to control. Therefore, the movement speed of the humanoid robot can be increased to quickly cover more areas, quickly extinguish small-scale fires, prevent the fire from expanding or merging, thereby reducing disaster losses and improving the overall fire extinguishing efficiency.
[0095] The above mainly introduces the scheme of the embodiment of the present application from the perspective of the execution process on the method side. It is understandable that, in order to realize the above functions, the electronic device includes a hardware structure and / or software module corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the units and algorithm steps of each example described in the embodiments provided herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware 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 the present application.
[0096] The embodiment of the present application can divide the electronic device into functional units according to the above method example. For example, each functional unit can be divided according to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0097] In the case of dividing each functional module into corresponding functional modules, Figure 7 A functional module composition block diagram of a rapid fire extinguishing device based on a humanoid robot provided in an embodiment of the present application is applied to a controller of a humanoid robot. The rapid fire extinguishing device based on a humanoid robot 700 includes a determination module 710, an adjustment module 720 and a control module 730, wherein:
[0098] The determination module 710 is used to determine a first fire intensity of a target fire source at a target location at a first moment; determine the target terrain complexity of the target location; determine a first moving speed corresponding to the first fire intensity according to a preset mapping relationship between the fire intensity and the moving speed; the greater the fire intensity, the faster the moving speed; determine a first adjustment parameter according to the target terrain complexity;
[0099] An adjustment module 720, configured to adjust the first moving speed according to the first adjustment parameter to obtain a second moving speed;
[0100] The control module 730 is used to control the humanoid robot to move at the second moving speed, and obtain obstacle information of the target obstacle within a preset sensing range during the movement; control the humanoid robot to perform automatic obstacle avoidance operations during the movement according to the obstacle information; and when the humanoid robot reaches the target position, control the humanoid robot to perform fire extinguishing operations on the target fire source according to a preset fire extinguishing plan.
[0101] Optionally, the humanoid robot includes a temperature sensor, an image recognition module, and a thermal imaging module. In determining the first fire intensity of the target fire source at the target location at the first moment, the determination module 710 is specifically used to:
[0102] When the distance between the humanoid robot and the target position is less than a preset distance, obtaining a temperature value of the target fire source through the temperature sensor;
[0103] Acquiring the diffusion speed of the target fire source through the image recognition module;
[0104] Acquiring the hot spot distribution of the target fire source through the thermal imaging module;
[0105] Scoring the temperature value, the diffusion speed, and the hot spot distribution according to a preset scoring standard to obtain a first score, a second score, and a third score;
[0106] Acquire a plurality of weights corresponding to the temperature value, the diffusion speed, and the hot spot distribution to obtain a first weight, a second weight, and a third weight;
[0107] The first fire severity is obtained by performing weighted calculation based on the first score, the second score, and the third score, as well as the first weight, the second weight, and the third weight.
[0108] Optionally, in determining the target terrain complexity of the target location, the determination module 710 is specifically configured to:
[0109] Acquiring a terrain image of the target location through the image recognition module;
[0110] The terrain image is identified to obtain terrain feature information; the terrain feature information includes terrain roughness and vegetation coverage; the terrain roughness is used to indicate the degree of unevenness of the terrain; the vegetation coverage is used to indicate the coverage area ratio of vegetation within a preset range;
[0111] determining a reference terrain complexity according to the terrain roughness;
[0112] If the vegetation coverage rate is greater than a preset coverage rate threshold, determining a reference adjustment factor corresponding to the vegetation coverage rate;
[0113] The reference terrain complexity is adjusted according to the reference adjustment factor to obtain the target terrain complexity.
[0114] Optionally, the obstacle information includes an obstacle position and an obstacle volume. In controlling the humanoid robot to automatically avoid obstacles during movement according to the obstacle information, the control module 730 is specifically configured to:
[0115] Determine the actual space size occupied by the target obstacle within the preset sensing range according to the obstacle position and the obstacle volume;
[0116] If the actual space size is greater than a preset space safety threshold, obtaining the current position of the humanoid robot;
[0117] Calculating a first distance between the current position and the obstacle position;
[0118] determining a second adjustment parameter according to the first distance;
[0119] Adjust the second moving speed according to the second adjustment parameter to obtain a third moving speed, wherein the third moving speed is less than the second moving speed;
[0120] Controlling the humanoid robot to move at the third moving speed to avoid hitting the target obstacle due to excessive speed;
[0121] During the movement, a first image of the target obstacle is acquired through the image recognition module;
[0122] Recognize the first image to obtain an image recognition result;
[0123] The automatic obstacle avoidance operation is performed according to the image recognition result.
[0124] Optionally, in the aspect of performing the automatic obstacle avoidance operation according to the image recognition result, the control module 730 is specifically used to:
[0125] Obtaining the current moving direction of the humanoid robot;
[0126] Determine the path width corresponding to the current moving direction according to the image recognition result;
[0127] If the path width is greater than or equal to a preset first width threshold, it is determined that the humanoid robot can successfully avoid the target obstacle, and the humanoid robot is controlled to continue moving at the third moving speed;
[0128] If the path width is smaller than the first width threshold, determining the size of the path width and a preset second width threshold; the second width threshold is smaller than the first width threshold;
[0129] If the path width is greater than or equal to the second width threshold, it is determined that the humanoid robot can avoid the target obstacle sideways;
[0130] Obtaining a width difference between the path width and the second width threshold;
[0131] determining an adjustment angle according to the width difference;
[0132] The humanoid robot is controlled to adjust the movement mode to a sideways movement mode according to the adjustment angle, and avoid the target obstacle by the sideways movement mode.
[0133] Optionally, the control module 730 is further specifically configured to:
[0134] If the path width is less than the second width threshold, it is determined that the humanoid robot cannot avoid the target obstacle when moving in the current moving direction;
[0135] Obtain m moving directions to be selected; the m moving directions to be selected are m planned moving directions that can reach the target position except the current moving direction; m is a positive integer;
[0136] Determine the degree of openness corresponding to each of the m moving directions to be selected, and obtain m reference openness degrees; the openness degree is used to indicate the proportion of obstacles;
[0137] The moving direction to be selected corresponding to the maximum openness degree among the m reference openness degrees is used as the target moving direction;
[0138] The humanoid robot is controlled to move in the target moving direction to avoid the target obstacle.
[0139] Optionally, in controlling the humanoid robot to perform a fire extinguishing operation on the target fire source according to a preset fire extinguishing scheme, the control module 730 is specifically used to:
[0140] During the fire extinguishing process, the humanoid robot is controlled to move and extinguish the fire at a preset reference moving speed;
[0141] Determine a second fire intensity of the target fire source at a second moment; the second moment is later than the first moment;
[0142] If the second fire intensity is greater than a preset first fire intensity threshold, obtaining a first difference between the second fire intensity and the first fire intensity threshold;
[0143] determining a third adjustment parameter according to the first difference;
[0144] Adjusting the reference moving speed according to the third adjustment parameter to obtain a fourth moving speed, and controlling the humanoid robot to move and extinguish fire at the fourth moving speed;
[0145] If the second fire intensity is less than a preset second fire intensity threshold, obtaining a second difference between the second fire intensity threshold and the second fire intensity; the second fire intensity threshold is less than the first fire intensity threshold;
[0146] determining a fourth adjustment parameter according to the second difference;
[0147] The reference moving speed is adjusted according to the fourth adjustment parameter to obtain a fifth moving speed, and the humanoid robot is controlled to move and extinguish the fire at the fifth moving speed.
[0148] It can be seen that by adjusting the movement speed of the humanoid robot according to the severity of the fire and the complexity of the terrain, and avoiding obstacles according to obstacle information during movement, the robot can quickly reach the fire scene and perform fire-fighting operations, thereby improving the efficiency and speed of fire-fighting.
[0149] It should be noted that the specific implementation of each operation can adopt the corresponding description of the method embodiment shown above. The rapid fire extinguishing device 700 based on the humanoid robot can be used to execute the above method embodiment of the present application, which will not be described in detail.
[0150] An embodiment of the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps of any method recorded in the above method embodiments, and the above computer includes an electronic device.
[0151] The embodiment of the present application also provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, the computer program is operable to cause a computer to execute some or all of the steps of any method described in the method embodiment. The computer program product may be a software installation package, and the computer includes an electronic device.
[0152] It should be noted that, for the above-mentioned various embodiments, for the sake of simple description, they are all expressed as a series of action combinations. Those skilled in the art should be aware that the present application is not limited by the described order of actions, because some steps in the embodiments of the present application can be performed in other orders or simultaneously. In addition, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions, steps, modules or units involved are not necessarily required by the embodiments of the present application.
[0153] In the above embodiments, the embodiments of the present application have different focuses on the description of each embodiment. For parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0154] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.
[0155] The steps of the method or algorithm described in the embodiments of the present application can be implemented in hardware or by executing software instructions by a processor. The software instructions can be composed of corresponding software modules, and the software modules can be stored in RAM, flash memory, ROM, EPROM, electrically erasable programmable read-only memory (electrically EPROM, EEPROM), registers, hard disks, mobile hard disks, read-only compact disks (CD-ROMs) or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC. In addition, the ASIC can be located in a terminal device or a management device. Of course, the processor and the storage medium can also exist in a terminal device or a management device as discrete components.
[0156] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, computer, server, or data center to another website site, computer, server, or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital video disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).
[0157] The modules / units included in the devices and products described in the above embodiments may be software modules / units or hardware modules / units, or may be partially software modules / units and partially hardware modules / units. For example, for the devices and products applied to or integrated in the chip, the modules / units included therein may all be implemented in the form of hardware such as circuits, or at least some of the modules / units may be implemented in the form of software programs, which run on the processor integrated inside the chip, and the remaining (if any) modules / units may be implemented in the form of hardware such as circuits; for the devices and products applied to or integrated in the chip module, the modules / units included therein may all be implemented in the form of hardware such as circuits, and different modules / units may be located in the same component (such as chip, circuit module, etc.) or different components of the chip module, or at least some of the modules / units may be implemented in the form of software programs. It is implemented in the form of a software program that runs on a processor integrated inside the chip module, and the remaining (if any) modules / units can be implemented in hardware such as circuits; for various devices and products applied to or integrated in the terminal equipment, the various modules / units contained therein can be implemented in hardware such as circuits, and different modules / units can be located in the same component (for example, chip, circuit module, etc.) or different components in the terminal equipment, or at least some of the modules / units can be implemented in the form of a software program that runs on a processor integrated inside the terminal equipment, and the remaining (if any) modules / units can be implemented in hardware such as circuits.
[0158] The specific implementation methods described above further illustrate the purpose, technical solutions and beneficial effects of the embodiments of the present application. It should be understood that the above description is only the specific implementation method of the embodiments of the present application and is not intended to limit the protection scope of the embodiments of the present application. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the embodiments of the present application should be included in the protection scope of the embodiments of the present application.
Claims
1. A rapid fire extinguishing method based on a humanoid robot, characterized in that: Controllers for humanoid robots, including: Determine the first fire intensity of the target fire source at the target location at the first moment; determining a target terrain complexity of the target location; According to a preset mapping relationship between the fire severity and the moving speed, determining a first moving speed corresponding to the first fire severity; the greater the fire severity, the faster the moving speed; Determining a first adjustment parameter according to the target terrain complexity; Adjust the first moving speed according to the first adjustment parameter to obtain a second moving speed; Controlling the humanoid robot to move at the second moving speed, and obtaining obstacle information of a target obstacle within a preset sensing range during the movement; Controlling the humanoid robot to automatically avoid obstacles during movement according to the obstacle information; When the humanoid robot reaches the target location, controlling the humanoid robot to perform a fire extinguishing operation on the target fire source according to a preset fire extinguishing scheme; The humanoid robot includes a temperature sensor, an image recognition module, and a thermal imaging module, and the method for determining the first fire intensity of the target fire source at the target location at the first moment includes: When the distance between the humanoid robot and the target position is less than a preset distance, obtaining a temperature value of the target fire source through the temperature sensor; Acquiring the diffusion speed of the target fire source through the image recognition module; Acquiring the hot spot distribution of the target fire source through the thermal imaging module; Scoring the temperature value, the diffusion speed, and the hot spot distribution according to a preset scoring standard to obtain a first score, a second score, and a third score; Acquire a plurality of weights corresponding to the temperature value, the diffusion speed, and the hot spot distribution to obtain a first weight, a second weight, and a third weight; Performing weighted calculation according to the first score, the second score, and the third score, as well as the first weight, the second weight, and the third weight to obtain the first fire severity; Wherein, determining the target terrain complexity of the target location includes: Acquiring a terrain image of the target location through the image recognition module; The terrain image is identified to obtain terrain feature information; the terrain feature information includes terrain roughness and vegetation coverage; the terrain roughness is used to indicate the degree of unevenness of the terrain; the vegetation coverage is used to indicate the coverage area ratio of vegetation within a preset range; determining a reference terrain complexity according to the terrain roughness; If the vegetation coverage rate is greater than a preset coverage rate threshold, determining a reference adjustment factor corresponding to the vegetation coverage rate; The reference terrain complexity is adjusted according to the reference adjustment factor to obtain the target terrain complexity.
2. The method according to claim 1, characterized in that The obstacle information includes the obstacle position and the obstacle volume, and the controlling the humanoid robot to automatically avoid obstacles during movement according to the obstacle information includes: Determine the actual space size occupied by the target obstacle within the preset sensing range according to the obstacle position and the obstacle volume; If the actual space size is greater than a preset space safety threshold, obtaining the current position of the humanoid robot; Calculating a first distance between the current position and the obstacle position; determining a second adjustment parameter according to the first distance; Adjust the second moving speed according to the second adjustment parameter to obtain a third moving speed, wherein the third moving speed is less than the second moving speed; Controlling the humanoid robot to move at the third moving speed to avoid hitting the target obstacle due to excessive speed; During the movement, a first image of the target obstacle is acquired through the image recognition module; Recognize the first image to obtain an image recognition result; The automatic obstacle avoidance operation is performed according to the image recognition result.
3. The method according to claim 2, characterized in that The performing the automatic obstacle avoidance operation according to the image recognition result includes: Obtaining the current moving direction of the humanoid robot; Determine the path width corresponding to the current moving direction according to the image recognition result; If the path width is greater than or equal to a preset first width threshold, it is determined that the humanoid robot can successfully avoid the target obstacle, and the humanoid robot is controlled to continue moving at the third moving speed; If the path width is smaller than the first width threshold, determining the size of the path width and a preset second width threshold; the second width threshold is smaller than the first width threshold; If the path width is greater than or equal to the second width threshold, it is determined that the humanoid robot can avoid the target obstacle sideways; Obtaining a width difference between the path width and the second width threshold; determining an adjustment angle according to the width difference; The humanoid robot is controlled to adjust the movement mode to a sideways movement mode according to the adjustment angle, and avoid the target obstacle by the sideways movement mode.
4. The method according to claim 3, characterized in that The method further comprises: If the path width is less than the second width threshold, it is determined that the humanoid robot cannot avoid the target obstacle when moving in the current moving direction; Obtain m moving directions to be selected; the m moving directions to be selected are m planned moving directions that can reach the target position except the current moving direction; m is a positive integer; Determine the degree of openness corresponding to each of the m moving directions to be selected, and obtain m reference openness degrees; the openness degree is used to indicate the proportion of obstacles; The moving direction to be selected corresponding to the maximum openness degree among the m reference openness degrees is used as the target moving direction; The humanoid robot is controlled to move in the target moving direction to avoid the target obstacle.
5. The method according to any one of claims 1 to 4, characterized in that: The controlling the humanoid robot to perform a fire extinguishing operation on the target fire source according to a preset fire extinguishing scheme includes: During the fire extinguishing process, the humanoid robot is controlled to move and extinguish the fire at a preset reference moving speed; Determine a second fire intensity of the target fire source at a second moment; the second moment is later than the first moment; If the second fire intensity is greater than a preset first fire intensity threshold, obtaining a first difference between the second fire intensity and the first fire intensity threshold; determining a third adjustment parameter according to the first difference; Adjusting the reference moving speed according to the third adjustment parameter to obtain a fourth moving speed, and controlling the humanoid robot to move and extinguish fire at the fourth moving speed; If the second fire intensity is less than a preset second fire intensity threshold, obtaining a second difference between the second fire intensity threshold and the second fire intensity; the second fire intensity threshold is less than the first fire intensity threshold; determining a fourth adjustment parameter according to the second difference; The reference moving speed is adjusted according to the fourth adjustment parameter to obtain a fifth moving speed, and the humanoid robot is controlled to move and extinguish the fire at the fifth moving speed.
6. A rapid fire extinguishing device based on a humanoid robot, used to perform the method according to any one of claims 1 to 5, characterized in that: A controller applied to a humanoid robot includes a determination module, an adjustment module and a control module, wherein: The determination module is used to determine a first fire intensity of a target fire source at a target location at a first moment; determine the target terrain complexity of the target location; determine a first moving speed corresponding to the first fire intensity according to a preset mapping relationship between the fire intensity and the moving speed; the greater the fire intensity, the faster the moving speed; determine a first adjustment parameter according to the target terrain complexity; The adjustment module is used to adjust the first moving speed according to the first adjustment parameter to obtain a second moving speed; The control module is used to control the humanoid robot to move at the second moving speed, and obtain obstacle information of the target obstacle within a preset sensing range during the movement; control the humanoid robot to perform automatic obstacle avoidance operations during the movement according to the obstacle information; and control the humanoid robot to perform fire extinguishing operations on the target fire source according to a preset fire extinguishing plan when the humanoid robot reaches the target position.
7. An electronic device, characterized in that: include: a processor, a memory, and one or more programs; The one or more programs are stored in the memory and configured to be executed by the processor, the programs comprising instructions for executing the steps in the method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 5.
