CN117159959A - Control system, control method, equipment and medium of fire engine - Google Patents

Control system, control method, equipment and medium of fire engine Download PDF

Info

Publication number
CN117159959A
CN117159959A CN202311264830.0A CN202311264830A CN117159959A CN 117159959 A CN117159959 A CN 117159959A CN 202311264830 A CN202311264830 A CN 202311264830A CN 117159959 A CN117159959 A CN 117159959A
Authority
CN
China
Prior art keywords
target
execution
fire truck
configuration parameters
fire
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311264830.0A
Other languages
Chinese (zh)
Inventor
孙春凯
梁山
刘智涵
葛前昆
程鹏
李锋超
杨海
白雪
于安宵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zhongzhuo Fire Fighting Equipment Co ltd
Original Assignee
Beijing Zhongzhuo Fire Fighting Equipment Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zhongzhuo Fire Fighting Equipment Co ltd filed Critical Beijing Zhongzhuo Fire Fighting Equipment Co ltd
Priority to CN202311264830.0A priority Critical patent/CN117159959A/en
Publication of CN117159959A publication Critical patent/CN117159959A/en
Pending legal-status Critical Current

Links

Landscapes

  • Fire-Extinguishing By Fire Departments, And Fire-Extinguishing Equipment And Control Thereof (AREA)

Abstract

The application provides a control system, a control method, equipment and a medium of a fire engine, wherein the control system comprises a control module and an execution module which are arranged on the fire engine, the control module determines a plurality of target configuration parameters corresponding to the fire engine according to vehicle information of the fire engine, generates corresponding execution instructions based on the plurality of target configuration parameters, and sends the execution instructions to the execution module; the execution module receives the execution instruction and executes the target execution mode based on the execution condition in the execution instruction, so that the fire truck has a water outlet function matched with a waterway system of the fire truck. According to the control system and the control method, the problem that the control module is not efficient enough in matching in the prior art is solved, stable and efficient control of the fire truck is realized, and the working efficiency is improved.

Description

Control system, control method, equipment and medium of fire engine
Technical Field
The application relates to the technical field of fire truck control, in particular to a fire truck control system, a fire truck control method, fire truck control equipment and a fire truck control medium.
Background
With the development of fire engines, the types and functions of fire engines are increasing. The user can pertinently select the fire-fighting truck suitable for the regional fire extinguishment according to the regional fire-fighting characteristics, and even under the same type but different fire-fighting trucks, the fire-fighting truck can be matched in different configurations according to the selection of the user. The control requirements of the fire-fighting vehicles are increased, and a control module capable of performing operation needs to be provided to support configuration of different fire-fighting vehicles.
At present, fire engines are various and have different functions, and control modules of different fire engines are required to be modified and matched according to the configuration of the fire engines so as to meet the use requirements of the fire engines. However, not only is the labor and time wasted for the modification and matching of each fire truck control module, but there is also a problem that the efficiency is not high enough, and even the probability of human matching errors is increased.
Disclosure of Invention
Accordingly, the present application is directed to a control system, a control method, a device and a medium for a fire engine, wherein a control module includes control functions of various fire engines, obtains a pre-configured target configuration parameter through vehicle information of the fire engine, and generates a corresponding execution instruction according to the target configuration parameter, so that the fire engine can execute a water outlet mode specified by the target configuration parameter. The problem that the control module is not efficient enough in the prior art is solved, stable and efficient control of the fire truck is realized, and the working efficiency is improved.
In a first aspect, an embodiment of the present application provides a control system for a fire engine, where the control system includes a control module and an execution module that are disposed on the fire engine:
the control module is used for determining a plurality of target configuration parameters corresponding to the fire engine according to the vehicle information of the fire engine, generating corresponding execution instructions based on the target configuration parameters, and sending the execution instructions to the execution module; the execution instruction characterizes a target execution mode of the fire truck and execution conditions corresponding to the target execution mode, wherein the target execution mode is a water tank water outlet mode or a foam tank water outlet mode;
the execution module is used for receiving the execution instruction and executing the target execution mode based on the execution condition in the execution instruction so that the fire engine has a water outlet function matched with a waterway system of the fire engine.
Further, the control system also comprises an interaction module;
the interaction module is used for responding to the determining operation of a user on the configuration parameters corresponding to each fire truck configuration item, determining target configuration parameters corresponding to a plurality of fire truck configuration items and sending the target configuration parameters corresponding to the fire truck configuration items to the control module;
The control module is further configured to store the received target configuration parameters corresponding to the plurality of fire truck configuration items and the vehicle information of the fire truck in a mapping relation to a mapping relation library.
Further, when the control module is configured to determine a plurality of target configuration parameters corresponding to the fire truck according to the vehicle information of the fire truck, the control module is further configured to:
judging whether a plurality of preset configuration parameters corresponding to the vehicle information are stored in the mapping relation library or not based on the vehicle information of the fire truck;
if yes, determining a plurality of preset configuration parameters corresponding to the vehicle information as a plurality of target configuration parameters corresponding to the fire truck.
Further, when the interaction module is configured to determine target configuration parameters corresponding to a plurality of fire truck configuration items in response to a determination operation of a user on the configuration parameters corresponding to each fire truck configuration item, the interaction module is further configured to:
for each fire truck configuration item, responding to the selection operation of a user on an input frame corresponding to the fire truck configuration item, and judging whether the filling mode of the input frame is option filling;
If yes, any one of a plurality of initial configuration parameters corresponding to the fire truck configuration item is displayed in an input frame corresponding to the fire truck configuration item, when the touch operation of a user on an option switching key is responded, other initial configuration parameters in the plurality of initial configuration parameters are switched and displayed in the input frame corresponding to the fire truck configuration item until a parameter determination instruction is received, and the initial configuration parameters displayed in the input frame corresponding to the fire truck configuration item are determined to be target configuration parameters corresponding to the fire truck configuration item;
if not, displaying an initial value corresponding to the fire truck configuration item in an input frame corresponding to the fire truck configuration item, changing the initial value based on a value increasing and decreasing mode and a value increasing and decreasing size corresponding to the value increasing and decreasing key when responding to the touch operation of a user on any value increasing and decreasing key, displaying the changed initial value in the input frame corresponding to the fire truck configuration item until a value determining instruction is received, and determining the changed initial value displayed in the input frame corresponding to the fire truck configuration item as a target configuration parameter corresponding to the fire truck configuration item.
Further, after the control module is configured to determine a plurality of target configuration parameters corresponding to the fire truck:
the control module is further configured to send a plurality of target configuration parameters to the interaction module;
the interaction module is further configured to receive the plurality of target configuration parameters, and display the plurality of target configuration parameters at corresponding positions in the display interface.
Further, the target configuration parameters comprise a tank type parameter, a water pump type parameter, a speed ratio parameter, a pump rotation speed limit value parameter and a water system mode parameter; the control module, when configured to generate corresponding execution instructions based on the plurality of target configuration parameters, is further configured to:
when the target configuration parameter is the tank type parameter, determining a target tank to be opened based on the tank type parameter, and generating a valve control instruction with a valve operation function corresponding to the target tank;
when the target configuration parameters comprise the water pump type parameters and the speed ratio parameters, determining a target water pump speed ratio based on target water pumps required by the water pump type parameters and the speed ratio parameters, and generating a water pump control instruction with a water pump operation function corresponding to the target water pump based on the target water pump speed ratio;
When the target configuration parameter is the pump rotation speed limit parameter, generating a corresponding pump rotation speed limit instruction based on the pump rotation speed limit parameter;
and when the target configuration parameter is a water system mode parameter, determining a function of a required target water outlet path system based on the water system mode parameter, and generating an execution instruction of a target execution mode corresponding to the target water outlet path system based on the function.
Further, the execution module comprises a tank body control unit, a water pump control unit and a waterway control unit;
the tank control unit is used for controlling the opening or closing of a valve on the target tank according to the valve control instruction;
the water pump control unit is used for controlling the target water pump according to the water pump control instruction and controlling the rotating speed of the target water pump to be smaller than or equal to the pump rotating speed limit value parameter according to the pump rotating speed limit value instruction;
the waterway control unit is used for controlling the target water outlet system to execute the function based on the target execution mode according to the execution instruction.
In a second aspect, an embodiment of the present application further provides a control method of a fire engine, where the control method is applied to a control system of a fire engine, and the control system includes a control module and an execution module that are disposed on the fire engine; the control method comprises the following steps:
The control module determines a plurality of target configuration parameters corresponding to the fire engine according to the vehicle information of the fire engine, generates corresponding execution instructions based on the target configuration parameters, and sends the execution instructions to the execution module; the execution instruction characterizes a target execution mode of the fire truck and execution conditions corresponding to the target execution mode, wherein the target execution mode is a water tank water outlet mode or a foam tank water outlet mode;
and the execution module receives the execution instruction and executes the target execution mode based on the execution condition in the execution instruction so that the fire truck has a water outlet function matched with a waterway system of the fire truck.
In a third aspect, an embodiment of the present application further provides an electronic device, including: the fire truck control system comprises a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, when the electronic equipment is running, the processor and the memory are communicated through the bus, and the machine-readable instructions are executed by the processor to execute the steps of the fire truck control method.
In a fourth aspect, embodiments of the present application also provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of a method of controlling a fire truck as described above.
The embodiment of the application provides a control method, a control system, equipment and a medium of a fire engine, wherein the control system comprises a control module and an execution module which are arranged on the fire engine: the control module is used for determining a plurality of target configuration parameters corresponding to the fire engine according to the vehicle information of the fire engine, generating corresponding execution instructions based on the target configuration parameters, and sending the execution instructions to the execution module; the execution instruction characterizes a target execution mode of the fire truck and execution conditions corresponding to the target execution mode, wherein the target execution mode is a water tank water outlet mode or a foam tank water outlet mode; the execution module is used for receiving the execution instruction and executing the target execution mode based on the execution condition in the execution instruction so that the fire engine has a water outlet function matched with a waterway system of the fire engine.
According to the application, the control module is used for acquiring the pre-configured target configuration parameters based on the vehicle information of the fire engine, and generating the corresponding execution instruction according to the target configuration parameters, so that the fire engine can execute the water outlet mode specified by the target configuration parameters. The problem that the control module is not efficient enough in the prior art is solved, stable and efficient control of the fire truck is realized, and the working efficiency is improved. The workload of program modification is reduced through a unified control system, and the mismatching probability of the fire truck caused by the control system is reduced. And the control system is not only suitable for fire-fighting vehicles of different types, but also suitable for fire-fighting vehicles of different configurations, and improves the universality of the control system.
In order to make the above objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a control system of a fire engine according to an embodiment of the present application;
fig. 2 is a schematic diagram of an effect of a display interface in an interaction module according to an embodiment of the present application;
FIG. 3 is a flowchart of a method for controlling a fire truck according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. Based on the embodiments of the present application, every other embodiment obtained by a person skilled in the art without making any inventive effort falls within the scope of protection of the present application.
First, an application scenario to which the present application is applicable will be described. The application can be applied to the technical field of fire truck control.
With the development of fire engines, the types and functions of fire engines are increasing. The user can pertinently select the fire-fighting truck suitable for the regional fire extinguishment according to the regional fire-fighting characteristics, and even under the same type but different fire-fighting trucks, the fire-fighting truck can be matched in different configurations according to the selection of the user. The control requirements of the fire-fighting vehicles are increased, and a control module capable of performing operation needs to be provided to support configuration of different fire-fighting vehicles.
At present, fire engines are various and have different functions, and research shows that control modules of different fire engines are required to be modified and matched according to the configuration of the fire engines so as to meet the use requirements of the fire engines. However, not only is the labor and time wasted for the modification and matching of each fire truck control module, but there is also a problem that the efficiency is not high enough, and even the probability of human matching errors is increased.
Based on the above, the embodiment of the application provides a control system and a control method of a fire engine, which are used for solving the problem that the control system is needed to be matched again for different fire engines in the prior art, so that the efficiency is not high enough.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a control system of a fire engine according to an embodiment of the application. As shown in fig. 1, a control system 100 provided by an embodiment of the present application includes a control module 110 and an execution module 120 provided on a fire engine.
The control module 110 is configured to determine a plurality of target configuration parameters corresponding to the fire engine according to vehicle information of the fire engine, generate corresponding execution instructions based on the plurality of target configuration parameters, and send the execution instructions to the execution module.
The vehicle information of the fire engine may be unique identification information of the fire engine, for example, a license plate number or a vehicle number of the fire engine, which is not particularly limited in the present application. The target configuration parameter refers to a configuration parameter of the fire engine when performing water outlet operation, for example, the target configuration parameter may be a water outlet mode of the fire engine, such as water outlet or foam outlet, or may be a water outlet pump type, a tank type, etc. of the fire engine, which is not particularly limited in the present application. The execution instruction is an instruction generated by the control module according to the target configuration parameter, so that the water outlet mode of the fire truck accords with the target configuration parameter. The execution instruction characterizes a target execution mode of the fire truck and execution conditions corresponding to the target execution mode, wherein the target execution mode is a water tank water outlet mode or a foam tank water outlet mode. The execution condition herein refers to a condition required when the fire truck executes the target execution mode. For example, when the target execution mode is a water outlet mode of the water tank, the execution conditions are that the valve of the water tank is opened, the water pump is opened, and the waterway system is opened.
Here, the control module 110 is mainly configured to determine configuration parameters of the fire truck, and generate corresponding execution instructions according to the configuration parameters. Specifically, the control module 110 determines a plurality of target configuration parameters corresponding to the fire truck according to the vehicle information of the fire truck, generates corresponding execution instructions based on the plurality of target configuration parameters, and sends the execution instructions to the execution module 120.
Further, the control system 100 of the fire engine provided by the embodiment of the application further includes an interaction module.
The interaction module is configured to determine target configuration parameters corresponding to a plurality of fire truck configuration items in response to a determination operation of a user on the configuration parameters corresponding to each fire truck configuration item, and send the target configuration parameters corresponding to the fire truck configuration items to the control module 110.
It should be noted that the fire truck configuration items refer to a plurality of preset configuration items displayed in a display interface of the interaction module. For example, the fire engine configuration items may be tank type, pump rotation speed limit, water system mode, etc., and the present application is not particularly limited thereto.
Here, the interaction module is mainly used for interacting with the user to determine the target configuration parameters configured by the user for each fire truck configuration item. Specifically, the interaction module determines target configuration parameters corresponding to the plurality of fire truck configuration items in response to a determination operation of the user on the configuration parameters corresponding to each fire truck configuration item, and sends the target configuration parameters corresponding to the plurality of fire truck configuration items to the control module 110. Specifically, the interaction module sends the target configuration parameters set by the user to the control module 110 in the form of CAN bus communication.
The control module 110 is further configured to store the received target configuration parameters corresponding to the plurality of fire truck configuration items and the vehicle information of the fire truck in a mapping relation to a mapping relation library.
Specifically, the control module 110 receives the target configuration parameters corresponding to the plurality of fire truck configuration items sent by the interaction module, and stores the target configuration parameters corresponding to the plurality of fire truck configuration items and the vehicle information of the fire truck in a mapping relation library. In this way, configuration parameters are set in a man-machine interaction mode, module functions matched with the fire engine are selectively executed, and when the fire engine is used for executing a fire extinguishing task next time, the target configuration parameters set by a user can be obtained directly through the vehicle information of the controlled fire engine.
As an optional implementation manner, when the interaction module is configured to determine, in response to a determining operation of a user on a configuration parameter corresponding to each fire truck configuration item, a target configuration parameter corresponding to a plurality of fire truck configuration items, the interaction module is further configured to:
for each fire truck configuration item, responding to the selection operation of a user on an input box corresponding to the fire truck configuration item, and judging whether the filling mode of the input box is option filling.
It should be noted that, the filling manner of the input box may include option filling and custom input filling. The option filling refers to that a user determines a target configuration parameter by selecting any one of a plurality of options preset by the fire truck configuration item. Custom input padding is a configuration parameter that a user can define to input by himself.
For the steps, in the implementation, for each fire truck configuration item, the interaction module responds to the selection operation of the user on the input box corresponding to the fire truck configuration item, and judges whether the filling mode of the input box is option filling or not.
If yes, any one of a plurality of initial configuration parameters corresponding to the fire truck configuration item is displayed in an input frame corresponding to the fire truck configuration item, when the touch operation of a user on an option switching key is responded, other initial configuration parameters in the plurality of initial configuration parameters are switched and displayed in the input frame corresponding to the fire truck configuration item until a parameter determining instruction is received, and the initial configuration parameters displayed in the input frame corresponding to the fire truck configuration item are determined to be target configuration parameters corresponding to the fire truck configuration item.
It should be noted that, the initial configuration parameters refer to configuration parameters set in advance for the fire truck configuration items. As an example, when a fire truck configuration item is "tank type", for example, the selectable configuration parameters under the fire truck configuration item are "water tank" and "foam tank", and the plurality of initial configuration parameters corresponding to the fire truck configuration item are "water tank" and "foam tank". The option switching key is used for switching the configuration parameters currently displayed in the input box.
For the above steps, in implementation, when the filling mode of the input box corresponding to the fire truck configuration item is option filling, any one of a plurality of initial configuration parameters corresponding to the fire truck configuration item is displayed in the input box corresponding to the fire truck configuration item. When the touch operation of the option switching key by the user is responded, other initial configuration parameters in a plurality of initial configuration parameters are switched and displayed in an input frame corresponding to the fire truck configuration item until a parameter determining instruction is received, and the initial configuration parameters displayed in the input frame corresponding to the fire truck configuration item are determined to be target configuration parameters corresponding to the fire truck configuration item.
If not, displaying an initial value corresponding to the fire truck configuration item in an input frame corresponding to the fire truck configuration item, changing the initial value based on a value increasing and decreasing mode and a value increasing and decreasing size corresponding to the value increasing and decreasing key when responding to the touch operation of a user on any value increasing and decreasing key, displaying the changed initial value in the input frame corresponding to the fire truck configuration item until a value determining instruction is received, and determining the changed initial value displayed in the input frame corresponding to the fire truck configuration item as a target configuration parameter corresponding to the fire truck configuration item.
It should be noted that, the initial value refers to a value set in advance for the fire truck configuration item. As an example, when the fire truck configuration item is "pump rotation speed limit", for example, the initial value corresponding to the fire truck configuration item may be "200". The value increasing/decreasing key is used for increasing/decreasing the initial value in the input box. For example, when "+10" is displayed in the numerical value increasing/decreasing button, the numerical value increasing/decreasing mode corresponding to the numerical value increasing/decreasing button is an increase, the numerical value increasing/decreasing size is 10, the initial numerical value is 10, and the obtained changed initial numerical value is "210".
For the above steps, when the filling mode of the input frame corresponding to the fire truck configuration item is not option filling in the specific implementation, displaying an initial value corresponding to the fire truck configuration item in the input frame corresponding to the fire truck configuration item, when responding to the touch operation of any numerical increasing/decreasing key by a user, changing the initial value based on the numerical increasing/decreasing mode and the numerical increasing/decreasing size corresponding to the numerical increasing/decreasing key, displaying the changed initial value in the input frame corresponding to the fire truck configuration item until receiving a numerical determination instruction, and determining the changed initial value displayed in the input frame corresponding to the fire truck configuration item as the target configuration parameter corresponding to the fire truck configuration item.
Referring to fig. 2, fig. 2 is a schematic diagram illustrating an effect of a display interface in an interaction module according to an embodiment of the application. As shown in fig. 2, fig. 2 includes a plurality of fire truck configuration items, namely "tank type", "water pump type", "speed ratio parameter", "pump rotation speed limit value", and "water system mode". As an example, when the fire truck configuration item selected by the user is "tank type", any one of initial configuration parameters, such as "water tank", is displayed in an input box beside the fire truck configuration item. The "switch" key in fig. 2 is the option switch key described above, and when the user operates the key, other initial configuration parameters, such as "foam can", are displayed in the input box in a switching manner. When the touch operation of the user on the 'tank type storage' key beside the input box is responded, a parameter determining instruction is received, and the initial configuration parameters displayed in the input box corresponding to the fire truck configuration item are determined to be target configuration parameters corresponding to the fire truck configuration item. When the fire truck configuration item selected by the user is "pump rotation speed limit", any initial value, for example "200", is displayed in an input box next to the fire truck configuration item. The "+1", "-1", "+10" and "+10" keys in fig. 2 are all the above-mentioned value increasing and decreasing keys, which are respectively indicated as an initial value plus 1, an initial value minus 1, an initial value plus 10 and an initial value minus 10. When the touch operation of the key is increased or decreased by the user for any one value, for example, "+10", the changed initial value is displayed as "210" in the input box. When the touch operation of the "-1" value increasing/decreasing key is responded, the changed initial value is displayed as "209" in the input box. When the touch operation of the limit value storage key beside the input box is responded by a user, a numerical value determining instruction is received, and the changed initial numerical value displayed in the input box corresponding to the fire truck configuration item is determined as a target configuration parameter corresponding to the fire truck configuration item.
As an alternative embodiment, when the control module 110 is configured to determine a plurality of target configuration parameters corresponding to the fire truck according to the vehicle information of the fire truck, the control module 110 is further configured to:
judging whether a plurality of preset configuration parameters corresponding to the vehicle information are stored in the mapping relation library or not based on the vehicle information of the fire truck; if yes, determining a plurality of preset configuration parameters corresponding to the vehicle information as a plurality of target configuration parameters corresponding to the fire truck.
For the above two steps, in a specific implementation, since the mapping relation between the car information and the target configuration parameter is stored in the mapping relation library in advance, when determining the target configuration parameter, the control module 110 determines whether a plurality of preset configuration parameters corresponding to the vehicle information are stored in the mapping relation library based on the vehicle information of the fire truck. If the target configuration parameters exist, a plurality of preset configuration parameters corresponding to the vehicle information are determined to be a plurality of target configuration parameters corresponding to the fire truck.
As an alternative embodiment, when the control module 110 determines that there are not a plurality of preset configuration parameters corresponding to the vehicle information of the fire truck in the mapping relation library, it is indicated that the user does not set the configuration parameters for the fire truck in advance. At this time, the user may set various configuration parameters in the interactive module and transmit the set configuration parameters to the control module 110. The control module 110 then determines the received plurality of configuration parameters as target configuration parameters for the fire truck. How to use the interaction module to set the configuration parameters specifically may refer to the description of determining the target configuration parameters for the interaction module in the above embodiment, and may achieve the same technical effects, which are not described herein again.
As an alternative embodiment, after the control module 110 is configured to determine a plurality of target configuration parameters corresponding to the fire truck:
the control module 110 is further configured to send a plurality of the target configuration parameters to the interaction module.
The interaction module is further configured to receive the plurality of target configuration parameters, and display the plurality of target configuration parameters at corresponding positions in the display interface.
Here, in implementation, after the control module 110 determines the plurality of target configuration parameters corresponding to the fire truck, the control module 110 may further send the plurality of target configuration parameters to the interaction module. The interaction module receives the plurality of target configuration parameters and displays the plurality of target configuration parameters at corresponding positions in the display interface. Therefore, the user can check the target configuration parameters through the display interface in the interaction module, so that the user can know the configuration condition of the fire truck in time conveniently, and the user can modify the configuration condition in time conveniently.
As an alternative embodiment, the target configuration parameters include a tank type parameter, a water pump type parameter, a speed ratio parameter, a pump speed limit parameter, and a water system mode parameter. The control module 110, when configured to generate corresponding execution instructions based on the plurality of target configuration parameters, is further configured to 110:
And when the target configuration parameter is the tank type parameter, determining a target tank to be opened based on the tank type parameter, and generating a valve control instruction with a valve operation function corresponding to the target tank.
For the above steps, in implementation, when the target configuration parameter is a tank type parameter, the control module 110 determines a target tank to be opened based on the tank type parameter, and generates a valve control instruction having a valve operation function corresponding to the target tank. For example, when the tank type parameter is "water tank", the control module 110 determines that the target tank to be opened is a water tank, and then the control module generates a valve control instruction having a valve operation function corresponding to the water tank.
When the target configuration parameters include the water pump type parameters and the speed ratio parameters, determining a target water pump speed ratio based on the speed ratio parameters based on a target water pump required by the water pump type parameters, and generating a water pump control instruction with a water pump operation function corresponding to the target water pump based on the target water pump speed ratio.
For the above steps, in a specific implementation, when the target configuration parameters include a pump type parameter and a speed ratio, the control module 110 determines a required target pump based on the pump type parameter, determines a target pump speed ratio based on the speed ratio parameter, and generates a pump control instruction having a pump operation function corresponding to the target pump based on the target pump speed ratio. For example, when it is determined that the speed ratio parameter is "50", the control module 110 presets the speed ratio parameter of 0.01 to obtain the target water pump speed ratio, and the control module 110 can determine that the required target water pump speed ratio is 0.5, and at this time, the control module brings the value into the water pump control logic to perform calculation, and generates a water pump control instruction having a water pump operation function corresponding to the target water pump based on the determined target water pump speed ratio.
And when the target configuration parameter is the pump rotation speed limit parameter, generating a corresponding pump rotation speed limit instruction based on the pump rotation speed limit parameter.
For the above steps, in implementation, when the target configuration parameter is a pump speed limit parameter, the control module 110 generates a corresponding pump speed limit command based on the pump speed limit parameter. For example, when the pump speed limit parameter is "200", the control module 110 generates a corresponding pump speed limit command based on 10 times the pump speed limit parameter to limit the pump speed up to more than 2000.
And when the target configuration parameter is a water system mode parameter, determining a function of a required target water outlet path system based on the water system mode parameter, and generating an execution instruction of a target execution mode corresponding to the target water outlet path system based on the function.
For the above steps, in a specific implementation, when the target configuration parameter is a water system mode parameter, the control module 110 determines a required function of the target water outlet system based on the water system mode parameter, and generates an execution instruction of a target execution mode corresponding to the target water outlet system based on the function. For example, when the fire engine needs to complete the water outlet function, a water channel system needs to be used to realize the water outlet operation, and when the mode parameter of the water system is "1", the control module 110 can determine that the function of the target water outlet channel system is a "power takeoff driving normal pressure centrifugal water pump" function according to the mode parameter of the water system, and the control module 110 generates an execution instruction of the target water outlet channel system according to the function, so that the target water outlet channel system executes the function based on the execution instruction.
The execution module 120 is configured to receive the execution instruction, and execute the target execution mode based on an execution condition in the execution instruction, so that the fire truck completes a water outlet operation.
Here, the execution module 120 is mainly used for executing the water outlet operation of the fire truck according to the execution instruction sent by the control module 110. In specific implementation, the execution module 120 receives the execution instruction sent by the control module 110, and executes the target execution mode based on the execution condition in the execution instruction, so that the fire truck has a water outlet function matched with the waterway system of the fire truck.
As an alternative embodiment, the execution module 120 includes a tank control unit, a water pump control unit, and a waterway control unit.
And the tank body control unit is used for controlling the opening or closing of the valve on the target tank body according to the valve control instruction.
Here, the tank control unit is mainly used to control the opening or closing of the target tank valve. Specifically, the tank control unit controls the opening or closing of the valve on the target tank based on the valve control instruction. For example, when the target tank is a "water tank", the tank control unit executes a valve control instruction having a valve operation function.
The water pump control unit is used for controlling the target water pump according to the water pump control instruction and controlling the rotating speed of the target water pump to be smaller than or equal to the pump rotating speed limiting value parameter according to the pump rotating speed limiting value instruction.
Here, the water pump control unit is mainly used to control the opening of the water pump. Specifically, the water pump control unit controls the target water pump according to the water pump control instruction, and controls the rotation speed of the target water pump to be smaller than or equal to the pump rotation speed limit parameter based on the pump rotation speed limit instruction. For example, continuing the above embodiment, when the pump rotation speed limit parameter is "200", the water pump control unit controls the rotation speed of the target water pump not to exceed 2000.
The waterway control unit is used for controlling the target water outlet system to execute the function based on the target execution mode according to the execution instruction.
Here, the waterway control unit is mainly used for distinguishing waterway systems. Specifically, the waterway control unit executes instructions of the corresponding waterway system based on the target execution mode. For example, continuing the above embodiment, when the water system mode parameter is "1", the waterway control unit performs the function of "the power takeoff drives the normal pressure centrifugal water pump" based on the target execution mode.
The control system of the fire engine provided by the embodiment of the application comprises a control module and an execution module which are arranged on the fire engine: the control module is used for determining a plurality of target configuration parameters corresponding to the fire engine according to the vehicle information of the fire engine, generating corresponding execution instructions based on the target configuration parameters, and sending the execution instructions to the execution module; the execution instruction characterizes a target execution mode of the fire truck and execution conditions corresponding to the target execution mode, wherein the target execution mode is a water tank water outlet mode or a foam tank water outlet mode; the execution module is used for receiving the execution instruction and executing the target execution mode based on the execution condition in the execution instruction so that the fire engine has a water outlet function matched with a waterway system of the fire engine.
According to the application, the control module is used for acquiring the pre-configured target configuration parameters based on the vehicle information of the fire engine, and generating the corresponding execution instruction according to the target configuration parameters, so that the fire engine can execute the water outlet mode specified by the target configuration parameters. The problem that the control module is not efficient enough in the prior art is solved, stable and efficient control of the fire truck is realized, and the working efficiency is improved. The workload of program modification is reduced through a unified control system, and the mismatching probability of the fire truck caused by the control system is reduced. And the control system is not only suitable for fire-fighting vehicles of different types, but also suitable for fire-fighting vehicles of different configurations, and improves the universality of the control system.
Referring to fig. 3, fig. 3 is a flowchart of a control method of a fire truck according to an embodiment of the application. The control method of the fire engine provided by the embodiment of the application is applied to a control system of the fire engine, wherein the control system comprises a control module and an execution module which are arranged on the fire engine, and as shown in fig. 3, the control method provided by the embodiment of the application comprises the following steps:
s310, determining a plurality of target configuration parameters corresponding to the fire engine by the control module according to the vehicle information of the fire engine, generating corresponding execution instructions based on the plurality of target configuration parameters, and sending the execution instructions to the execution module.
The execution instruction characterizes a target execution mode of the fire truck and execution conditions corresponding to the target execution mode, wherein the target execution mode is a water tank water outlet mode or a foam tank water outlet mode;
s320, the execution module receives the execution instruction and executes the target execution mode based on the execution condition in the execution instruction, so that the fire truck has a water outlet function matched with a waterway system of the fire truck.
Further, the control system further includes an interaction module, and before the control module determines target configuration parameters corresponding to a plurality of fire truck configuration items according to the vehicle information of the fire truck, the control method further includes:
Determining target configuration parameters corresponding to a plurality of fire truck configuration items by the interaction module in response to a determining operation of a user on the configuration parameters corresponding to each fire truck configuration item, and sending the target configuration parameters corresponding to the fire truck configuration items to the control module 301;
and the control module stores the received target configuration parameters corresponding to the plurality of fire truck configuration items and the vehicle information of the fire truck into a mapping relation library in a mapping relation.
Further, the control module determines a plurality of target configuration parameters corresponding to the fire truck according to the vehicle information of the fire truck, including:
judging whether a plurality of preset configuration parameters corresponding to the vehicle information are stored in the mapping relation library or not based on the vehicle information of the fire truck;
if yes, determining a plurality of preset configuration parameters corresponding to the vehicle information as a plurality of target configuration parameters corresponding to the fire truck.
Further, the interaction module determines target configuration parameters corresponding to a plurality of fire truck configuration items in response to a determination operation of a user on the configuration parameters corresponding to each fire truck configuration item, including:
For each fire truck configuration item, responding to the selection operation of a user on an input frame corresponding to the fire truck configuration item, and judging whether the filling mode of the input frame is option filling;
if yes, any one of a plurality of initial configuration parameters corresponding to the fire truck configuration item is displayed in an input frame corresponding to the fire truck configuration item, when the touch operation of a user on an option switching key is responded, other initial configuration parameters in the plurality of initial configuration parameters are switched and displayed in the input frame corresponding to the fire truck configuration item until a parameter determination instruction is received, and the initial configuration parameters displayed in the input frame corresponding to the fire truck configuration item are determined to be target configuration parameters corresponding to the fire truck configuration item;
if not, displaying an initial value corresponding to the fire truck configuration item in an input frame corresponding to the fire truck configuration item, changing the initial value based on a value increasing and decreasing mode and a value increasing and decreasing size corresponding to the value increasing and decreasing key when responding to the touch operation of a user on any value increasing and decreasing key, displaying the changed initial value in the input frame corresponding to the fire truck configuration item until a value determining instruction is received, and determining the changed initial value displayed in the input frame corresponding to the fire truck configuration item as a target configuration parameter corresponding to the fire truck configuration item.
Further, after the control module determines a plurality of target configuration parameters corresponding to the fire truck, the control method further includes:
transmitting, by the control module, a plurality of the target configuration parameters to the interaction module;
and receiving a plurality of target configuration parameters by the interaction module, and displaying the plurality of target configuration parameters at corresponding positions in a display interface.
Further, the target configuration parameters comprise a tank type parameter, a water pump type parameter, a speed ratio parameter, a pump rotation speed limit value parameter and a water system mode parameter; the control module generates corresponding execution instructions based on the plurality of target configuration parameters, including:
when the target configuration parameter is the tank type parameter, determining a target tank to be opened based on the tank type parameter, and generating a valve control instruction with a valve operation function corresponding to the target tank;
when the target configuration parameters comprise the water pump type parameters and the speed ratio parameters, determining a target water pump speed ratio based on target water pumps required by the water pump type parameters and the speed ratio parameters, and generating a water pump control instruction with a water pump operation function corresponding to the target water pump based on the target water pump speed ratio;
When the target configuration parameter is the pump rotation speed limit parameter, generating a corresponding pump rotation speed limit instruction based on the pump rotation speed limit parameter;
and when the target configuration parameter is a water system mode parameter, determining a function of a required target water outlet path system based on the water system mode parameter, and generating an execution instruction of a target execution mode corresponding to the target water outlet path system based on the function.
Further, the execution module comprises a tank body control unit, a water pump control unit and a waterway control unit; the execution module executes the target execution mode based on the execution condition in the execution instruction, including:
the tank control unit controls the opening or closing of a valve on the target tank according to the valve control instruction;
the water pump control unit controls the target water pump according to the water pump control instruction, and controls the rotation speed of the target water pump to be smaller than or equal to the pump rotation speed limit parameter according to the pump rotation speed limit instruction;
and the waterway control unit controls the target water outlet system to execute the function based on the target execution mode according to the execution instruction.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the application. As shown in fig. 4, the electronic device 400 includes a processor 410, a memory 420, and a bus 430.
The memory 420 stores machine-readable instructions executable by the processor 410, when the electronic device 400 is running, the processor 410 communicates with the memory 420 through the bus 430, and when the machine-readable instructions are executed by the processor 410, the steps of the fire truck control method in the method embodiment shown in fig. 3 can be executed, and the specific implementation can refer to the method embodiment and will not be described herein.
The embodiment of the present application further provides a computer readable storage medium, where a computer program is stored on the computer readable storage medium, and when the computer program is executed by a processor, the steps of the method for controlling a fire truck in the method embodiment shown in fig. 3 may be executed, and a specific implementation manner may refer to the method embodiment and will not be described herein.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of 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.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer readable storage medium executable by a processor. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the above examples are only specific embodiments of the present application, and are not intended to limit the scope of the present application, but it should be understood by those skilled in the art that the present application is not limited thereto, and that the present application is described in detail with reference to the foregoing examples: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (10)

1. A control system of a fire engine, the control system comprising a control module and an execution module arranged on the fire engine:
the control module is used for determining a plurality of target configuration parameters corresponding to the fire engine according to the vehicle information of the fire engine, generating corresponding execution instructions based on the target configuration parameters, and sending the execution instructions to the execution module; the execution instruction characterizes a target execution mode of the fire truck and execution conditions corresponding to the target execution mode, wherein the target execution mode is a water tank water outlet mode or a foam tank water outlet mode;
the execution module is used for receiving the execution instruction and executing the target execution mode based on the execution condition in the execution instruction so that the fire engine has a water outlet function matched with a waterway system of the fire engine.
2. The control system of claim 1, further comprising an interaction module;
the interaction module is used for responding to the determining operation of a user on the configuration parameters corresponding to each fire truck configuration item, determining target configuration parameters corresponding to a plurality of fire truck configuration items and sending the target configuration parameters corresponding to the fire truck configuration items to the control module;
The control module is further configured to store the received target configuration parameters corresponding to the plurality of fire truck configuration items and the vehicle information of the fire truck in a mapping relation to a mapping relation library.
3. The control system of claim 2, wherein the control module, when configured to determine a plurality of target configuration parameters corresponding to the fire truck from vehicle information of the fire truck, is further configured to:
judging whether a plurality of preset configuration parameters corresponding to the vehicle information are stored in the mapping relation library or not based on the vehicle information of the fire truck;
if yes, determining a plurality of preset configuration parameters corresponding to the vehicle information as a plurality of target configuration parameters corresponding to the fire truck.
4. The control system of claim 2, wherein the interaction module, when configured to determine the target configuration parameters corresponding to the plurality of fire truck configuration items in response to a user determining the configuration parameters corresponding to each of the fire truck configuration items, is further configured to:
for each fire truck configuration item, responding to the selection operation of a user on an input frame corresponding to the fire truck configuration item, and judging whether the filling mode of the input frame is option filling;
If yes, any one of a plurality of initial configuration parameters corresponding to the fire truck configuration item is displayed in an input frame corresponding to the fire truck configuration item, when the touch operation of a user on an option switching key is responded, other initial configuration parameters in the plurality of initial configuration parameters are switched and displayed in the input frame corresponding to the fire truck configuration item until a parameter determination instruction is received, and the initial configuration parameters displayed in the input frame corresponding to the fire truck configuration item are determined to be target configuration parameters corresponding to the fire truck configuration item;
if not, displaying an initial value corresponding to the fire truck configuration item in an input frame corresponding to the fire truck configuration item, changing the initial value based on a value increasing and decreasing mode and a value increasing and decreasing size corresponding to the value increasing and decreasing key when responding to the touch operation of a user on any value increasing and decreasing key, displaying the changed initial value in the input frame corresponding to the fire truck configuration item until a value determining instruction is received, and determining the changed initial value displayed in the input frame corresponding to the fire truck configuration item as a target configuration parameter corresponding to the fire truck configuration item.
5. The control system of claim 2, wherein after the control module is configured to determine the corresponding plurality of target configuration parameters for the fire engine:
the control module is further configured to send a plurality of target configuration parameters to the interaction module;
the interaction module is further configured to receive the plurality of target configuration parameters, and display the plurality of target configuration parameters at corresponding positions in the display interface.
6. The control system of claim 1, wherein the target configuration parameters include a tank type parameter, a water pump type parameter, a speed ratio parameter, a pump speed limit parameter, and a water system mode parameter; the control module, when configured to generate corresponding execution instructions based on the plurality of target configuration parameters, is further configured to:
when the target configuration parameter is the tank type parameter, determining a target tank to be opened based on the tank type parameter, and generating a valve control instruction with a valve operation function corresponding to the target tank;
when the target configuration parameters comprise the water pump type parameters and the speed ratio parameters, determining a target water pump speed ratio based on target water pumps required by the water pump type parameters and the speed ratio parameters, and generating a water pump control instruction with a water pump operation function corresponding to the target water pump based on the target water pump speed ratio;
When the target configuration parameter is the pump rotation speed limit parameter, generating a corresponding pump rotation speed limit instruction based on the pump rotation speed limit parameter;
and when the target configuration parameter is a water system mode parameter, determining a function of a required target water outlet path system based on the water system mode parameter, and generating an execution instruction of a target execution mode corresponding to the target water outlet path system based on the function.
7. The control system of claim 6, wherein the execution module comprises a tank control unit, a water pump control unit, and a waterway control unit;
the tank control unit is used for controlling the opening or closing of a valve on the target tank according to the valve control instruction;
the water pump control unit is used for controlling the target water pump according to the water pump control instruction and controlling the rotating speed of the target water pump to be smaller than or equal to the pump rotating speed limit value parameter according to the pump rotating speed limit value instruction;
the waterway control unit is used for controlling the target water outlet system to execute the function based on the target execution mode according to the execution instruction.
8. A control method of a fire engine, characterized in that the control method is applied to a control system of a fire engine according to any one of claims 1-7, the control system comprising a control module and an execution module arranged on the fire engine; the control method comprises the following steps:
The control module determines a plurality of target configuration parameters corresponding to the fire engine according to the vehicle information of the fire engine, generates corresponding execution instructions based on the target configuration parameters, and sends the execution instructions to the execution module; the execution instruction characterizes a target execution mode of the fire truck and execution conditions corresponding to the target execution mode, wherein the target execution mode is a water tank water outlet mode or a foam tank water outlet mode;
and the execution module receives the execution instruction and executes the target execution mode based on the execution condition in the execution instruction so that the fire truck has a water outlet function matched with a waterway system of the fire truck.
9. An electronic device, comprising: a processor, a memory and a bus, said memory storing machine readable instructions executable by said processor, said processor and said memory communicating via said bus when the electronic device is operating, said machine readable instructions when executed by said processor performing the steps of the fire truck control method according to any one of claims 8.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the method for controlling a fire truck according to any one of claims 8.
CN202311264830.0A 2023-09-27 2023-09-27 Control system, control method, equipment and medium of fire engine Pending CN117159959A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311264830.0A CN117159959A (en) 2023-09-27 2023-09-27 Control system, control method, equipment and medium of fire engine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311264830.0A CN117159959A (en) 2023-09-27 2023-09-27 Control system, control method, equipment and medium of fire engine

Publications (1)

Publication Number Publication Date
CN117159959A true CN117159959A (en) 2023-12-05

Family

ID=88935467

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311264830.0A Pending CN117159959A (en) 2023-09-27 2023-09-27 Control system, control method, equipment and medium of fire engine

Country Status (1)

Country Link
CN (1) CN117159959A (en)

Similar Documents

Publication Publication Date Title
CN110262822A (en) Multi-split system and upgrading method and device thereof
CN105511273B (en) A kind of client operation management method and client
JP7329451B2 (en) Air conditioner control method and device
CN112758104A (en) Control method and device for man-machine interaction interface of automatic driving vehicle
CN117159959A (en) Control system, control method, equipment and medium of fire engine
CN114840200A (en) Vehicle configuration method, device, electronic equipment and storage medium
JPH10105271A (en) Remote setting and setup method of computer system
WO2024139733A1 (en) Input event distribution method for intelligent cockpit, system, and vehicle
CN109522072B (en) Control interface generation method and device
CN104951325B (en) A kind of information display method and electronic equipment
CN110337389B (en) Low-energy-consumption operation of motor vehicle functions during motor vehicle operation
CN113849367B (en) Server, management method, device and system thereof, electronic equipment and storage medium
CN106339211A (en) Method and device for monitoring display inconsistence of remote service of intelligent terminal
CN113733923A (en) Control method and device for automatically setting recovery torque of pure electric vehicle
KR102349584B1 (en) Virtualization based Multi Display Transition Method in Integrated Navigation System
CN214884015U (en) Excavating equipment and interactive system based on excavating equipment
CN115257580B (en) Peripheral control method and control system of intelligent vehicle
CN115113775B (en) Input device selection method and device, storage medium and terminal device
CN117956020A (en) Service management method, device, electronic equipment and storage medium
CN114153304B (en) Control method, control equipment and storage medium
CN112311615B (en) Control method and device of network diagnosis function and related product
CN118525263A (en) Method, computer program, device and user interface for restoring automatically reset machine settings
CN116605014A (en) Method, device, equipment and storage medium for managing vehicle-mounted fragrance
CN116540969A (en) Vehicle-mounted multi-display screen display control method, device, equipment and storage medium
CN111061196A (en) One-key starting method and system for engineering machinery

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination