Vehicle model control method, device, vehicle model and storage medium
Through the vehicle model control method, the type of accident identification and area positioning of sensor alarm signals are used to realize preliminary rescue of small accidents, and send help information when failure, solving the problem of lack of practicality of the automobile model and improving its accident handling actual utility in.
Patent Information
- Application Number
- CN202211093944.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-08
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2042-09-08
AI Technical Summary
The car model lacks practicality and cannot perform actual functional operations, and is only used as an ornamental item.
A vehicle model control method is designed to determine the type of accident and target area by receiving the sensor's alarm signal, and control the vehicle model for preliminary rescue. If the rescue fails, send a helping message to trigger professional rescue.
It improves the practicality of the car model, can conduct preliminary rescue in the event of a minor accident or an initial accident, and send rescue information to the target terminal in a timely manner after the rescue fails to ensure that relevant personnel intervene in a timely manner.
Smart Images

Figure CN115588286B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of vehicle models, and in particular, relates to a vehicle model control method, device, vehicle model and storage medium. Background Art
[0002] A car model is a scale model made in proportion to the shape, structure, color, and interior parts of a real car. Car models are well-made because they truly reproduce the main features of the original car and contain car culture. However, current car models are mainly ornamental items and have no actual functions or practicality. Summary of the invention
[0003] The embodiments of the present application provide a vehicle model control method, device, vehicle model and storage medium, which can solve the problem that the vehicle model is not practical.
[0004] In a first aspect, an embodiment of the present application provides a vehicle model control method, comprising:
[0005] After receiving the alarm signal sent by the sensor, determining the accident type and the target area where the sensor is located according to the alarm signal;
[0006] After controlling the vehicle model to move to the target area, controlling the vehicle model to perform rescue according to the accident type;
[0007] If the vehicle model fails to rescue, a distress message is sent to the target terminal.
[0008] In a possible implementation manner of the first aspect, determining the accident type and the target area where the sensor is located according to the alarm signal includes:
[0009] Analyzing the alarm signal to obtain the identity information of the sensor;
[0010] Determining the sensor model and the target area according to the identity information;
[0011] The accident type is determined according to the model of the sensor.
[0012] In a possible implementation manner of the first aspect, controlling the vehicle model to perform rescue according to the accident type includes:
[0013] When the accident type is a gas leak, the vehicle model is controlled to send a gas cut-off signal and a power cut-off signal; wherein the gas cut-off signal is used to indicate that the electrical valve is turned off, and the power cut-off signal is used to indicate that the electrical appliance is powered off.
[0014] In a possible implementation manner of the first aspect, if the rescue of the vehicle model fails, sending a distress message to a target terminal includes:
[0015] If the alarm signal is still received after the preset time, the distress message is sent to the target terminal.
[0016] In a possible implementation manner of the first aspect, controlling the vehicle model to perform rescue according to the accident type includes:
[0017] When the accident type is fire, controlling the vehicle model to collect image information within the target area;
[0018] Processing the image information to determine the location of the fire source;
[0019] The fire extinguishing device on the vehicle model is controlled to spray the fire extinguishing agent toward the fire source location.
[0020] In a possible implementation manner of the first aspect, the target terminal includes a terminal of a rescue center, a mobile terminal and / or a terminal on a locomotive.
[0021] In a possible implementation manner of the first aspect, if the rescue of the vehicle model fails, sending a distress message to a target terminal includes:
[0022] If there is still a fire source after the fire extinguishing device on the vehicle model has sprayed the fire extinguishing agent, the image information is sent to the target terminal.
[0023] In a second aspect, an embodiment of the present application provides a vehicle model control device, including:
[0024] A determination module, configured to determine the type of accident and the target area where the sensor is located according to the alarm signal after receiving the alarm signal sent by the sensor;
[0025] A rescue module, used for controlling the vehicle model to move to the target area and then controlling the vehicle model to perform rescue according to the accident type;
[0026] The distress information sending module is used to send a distress information to a target terminal if the rescue of the vehicle model fails.
[0027] In a third aspect, an embodiment of the present application provides a vehicle model, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements a method as described in any one of the first aspects when executing the computer program.
[0028] 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, and when the computer program is executed by a processor, the method as described in any one of the first aspects is implemented.
[0029] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when executed on a vehicle model, enables the vehicle model to execute any of the methods described in the first aspect.
[0030] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0031] After receiving the alarm signal sent by the sensor, the type of accident and the target area where the sensor is located are determined according to the alarm signal. After controlling the vehicle model to move to the target area, the vehicle model is controlled to perform rescue according to the type of accident. Using the vehicle model for preliminary rescue can eliminate small accidents or early accidents. If the vehicle model successfully rescues, no more distress messages will be sent; if the vehicle model fails to rescue, it means that the accident is relatively large. At this time, a distress message is sent to the target terminal, and relevant personnel receive the distress message through the target terminal and perform rescue in time. Use the vehicle model to perform preliminary rescue of the accident, and send a distress message to the target terminal after the rescue fails, so that relevant personnel can perform rescue in time after receiving the distress message through the target terminal, which improves the practicality of the vehicle model.
[0032] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0034] Figure 1 is a flow chart of a vehicle model control method provided by an embodiment of the present application;
[0035] Figure 2 is a flow chart of a vehicle model control method provided by another embodiment of the present application;
[0036] Figure 3 is a structural schematic diagram of a vehicle model control device provided in an embodiment of the present application;
[0037] Figure 4 It is a structural schematic diagram of the vehicle model provided in the embodiment of the present application. DETAILED DESCRIPTION
[0038] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0039] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0040] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0041] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0042] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0043] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0044] Figure 1The flowchart of the vehicle model control method provided by an embodiment of the present application is shown. Figure 1 As shown, the vehicle model control method includes steps S101 to S103.
[0045] Step S101, after receiving an alarm signal sent by a sensor, determine the accident type and the target area where the sensor is located according to the alarm signal.
[0046] Specifically, the smart home system includes multiple sensors, which are installed in the living room, bedroom, kitchen, bathroom and study. When there is a fire, gas leak, flood, elderly fall and other accidents at home, the sensors can detect the occurrence of the accident and send an alarm signal. For example, when a gas leak occurs in the kitchen, the combustible gas concentration sensor in the kitchen will send an alarm signal; when a fire occurs in the living room, the smoke sensor in the living room will send an alarm signal; when a flood occurs in the bathroom, the water sensor in the bathroom will send an alarm signal.
[0047] The controller on the vehicle model can receive the alarm signals sent by various sensors in the smart home system through the wireless communication module. When the controller on the vehicle model receives the alarm signal sent by the sensor, it can determine the type of accident and the target area where the sensor is located by analyzing the alarm signal.
[0048] Step S102, after controlling the vehicle model to move to the target area, the vehicle model is controlled to perform rescue according to the accident type.
[0049] Specifically, after the target area is determined, the driving device on the vehicle model is controlled to drive the vehicle model to move to the target area. After the vehicle model moves to the target area, the vehicle model is controlled to perform rescue according to the accident type, so as to achieve rescue for minor accidents or early accidents.
[0050] Step S103: If the vehicle model fails to be rescued, a distress message is sent to the target terminal.
[0051] Specifically, if the vehicle model fails to rescue, it means that the accident is relatively large. At this time, a distress message is sent to the target terminal, and relevant personnel receive the distress message through the target terminal and carry out rescue in time. The target terminal includes a terminal of a rescue center, a mobile terminal and / or a terminal on a locomotive. When the target terminal is a terminal of a rescue center, the staff of the rescue center can receive the distress message through the terminal, and dispatch the police to rescue according to the distress message, to ensure the necessity of the rescue center to dispatch the police, and to prevent the problem of mis-dispatching or mobilizing a large number of rescue resources for small accidents. The mobile terminal can be a mobile device such as a mobile phone or a tablet computer used by family members. Family members can receive the distress message through the mobile terminal, know the accident in the family through the distress message, and thus call the police in time or arrive at the scene for rescue. The terminal on the locomotive is the control system on the vehicle. The controller on the locomotive can receive the distress message and control the display on the locomotive to display the distress message. The personnel on the locomotive know the accident in the home by reading the distress message, and thus call the police in time or arrive at the scene for rescue. In addition, the target terminal may also include at least two terminals among the terminals of the rescue center, the mobile terminal and / or the terminal on the locomotive. The terminals of the rescue center, the mobile terminal and the terminal on the locomotive are linked. When one of the terminals receives the distress message, the distress message can be sent to other terminals. Thus, the vehicle model only needs to be linked with one terminal to enable multiple terminals to receive the distress message, realize multi-directional alarm, and ensure the effectiveness of the alarm. For example, after the mobile terminal receives the distress message, it can send the distress message to the terminal on the locomotive and the terminal of the rescue center. Thus, the vehicle model only needs to be linked with the mobile terminal. When the vehicle model sends the distress message, the mobile terminal, the terminal on the locomotive and the terminal of the rescue center can all receive the distress message.
[0052] The vehicle model control method provided in the embodiment of the present application links the vehicle model with the smart home system and the target terminal (the terminal of the rescue center, the mobile terminal and / or the terminal on the locomotive), respectively, and uses the vehicle model to monitor the safety of the home. When an accident occurs, the vehicle model performs preliminary rescue. When the vehicle model fails to rescue, a distress message is sent to the target terminal. Compared with the traditional use of vehicle models as ornaments, the present application uses the vehicle model as a device for monitoring and rescuing home accidents, which improves the practicality of the vehicle model. Compared with the traditional smart home, an alarm is directly sent to the rescue center. After the rescue center receives the distress message, there is a problem of false alarms or a large number of rescue resources being dispatched for minor accidents. The present application uses the vehicle model to perform preliminary rescue of the accident, and sends a distress message to the rescue center when the rescue fails. If the rescue is successful, the distress message will no longer be sent to the rescue center, which prevents the problem of false alarms or a large number of rescue resources being dispatched for minor accidents, saving rescue resources.
[0053] like Figure 2As shown, step S101 may specifically include steps S1011 to S1013.
[0054] Step S1011, analyzing the alarm signal to obtain the sensor's identification information.
[0055] Specifically, the identification information of the sensor can be obtained by parsing the alarm signal, and the identification information obtained by parsing the alarm signals of different sensors is different. For example, the identification information of the sensor can be a binary string, and the strings obtained by parsing the alarm signals sent by different sensors are different. Therefore, the string obtained by parsing the alarm signal can be used as the identification information of the sensor.
[0056] Step S1012: Determine the sensor model and target area according to the identity information.
[0057] Specifically, since the identity information obtained by analyzing the alarm signals sent by different sensors is different, the model of the sensor and the target area where the sensor is located can be determined by identifying the identity information.
[0058] Exemplarily, the identification information is a 7-bit binary string, where the first and second digits of the string represent the type of sensor, for example, "01" represents a smoke sensor, and "10" represents a combustible gas concentration sensor. The third to fifth digits represent the area where the sensor is installed, for example, "001" represents a living room, "010" represents a kitchen, "100" represents a bathroom, "110" represents a master bedroom, and "011" represents a second bedroom. The last two digits represent a distress message, for example, "00" represents normal, and "11" represents an alarm.
[0059] If the alarm signal is parsed and the obtained identity information is "0110011", by analyzing the identity information "0110011", it can be known that the model of the alarm sensor is a smoke sensor and the target area is the bathroom.
[0060] Step S1013, determining the accident type according to the sensor model.
[0061] Specifically, after the sensor model is determined in step S1012, the accident type can be determined according to the sensor model. For example, if the alarm sensor model is a smoke sensor, the accident type is fire; if the alarm sensor model is a combustible gas concentration sensor, the accident type is gas leakage.
[0062] Therefore, through the method of step S1011 to step S1013, by analyzing the received alarm signal, the accident type and the target area where the accident occurred can be determined, so as to facilitate the subsequent control of the vehicle model to go to the target area for preliminary rescue and evaluate the extent of the accident.
[0063] Exemplarily, step S102 may specifically include: when the accident type is gas leakage, controlling the vehicle model to send a gas cut-off signal and a power cut-off signal; wherein the gas cut-off signal is used to indicate that the electrical valve is turned off, and the power cut-off signal is used to indicate that the electrical appliance is powered off.
[0064] Specifically, when the accident type is determined to be a gas leak, the vehicle model is controlled to send a gas cut-off signal and a power-off signal. A wireless communication module can be set on the electrical valve, and the electrical valve can receive the gas cut-off signal sent by the vehicle model through the wireless communication module. The electrical valve can also be connected to the controller signal in the smart home, and the controller in the smart home can receive the gas cut-off signal sent by the vehicle model, and then send the gas cut-off signal to the electrical valve. After receiving the gas cut-off signal, the electrical valve is shut down to prevent the gas from continuing to leak. The electrical appliances in the home can directly receive the power-off signal sent by the vehicle model. The electrical appliances can also be connected to the controller signal in the smart home, and the controller in the smart home can receive the power-off signal sent by the vehicle model, and then send the power-off signal to the corresponding electrical appliances. After receiving the power-off signal, the electrical appliances are powered off to prevent the electrical appliances from generating electric sparks to ignite the gas. At the same time, if the doors and windows in the home are electric doors and windows, the vehicle model can also send door opening signals and window opening signals to control the doors and windows to open, so that the leaked gas can be quickly diffused, the concentration of the gas can be reduced, and the probability of explosion can be reduced. In this way, rescue of gas leak accidents is achieved.
[0065] While rescuing, the vehicle model can also be controlled to send out warning messages to alert family members so that they know that a gas leak has occurred. They can then take timely self-rescue measures to prevent safety hazards caused by family members being unaware of the gas leak.
[0066] Designers can set priorities for areas in the home that use gas in advance, for example, setting the kitchen area as the first priority and the bathroom area as the second priority. If the vehicle model receives multiple alarm signals at the same time, the vehicle model can determine multiple target areas by parsing the multiple alarm signals, and the vehicle model moves to each target area in turn for preliminary rescue according to the priority of each target area. For example, after the vehicle model receives alarm signals of gas leakage in the kitchen and bathroom at the same time, the vehicle model first moves to the kitchen area, controls the electrical valve in the kitchen to cut off the gas, and controls the electrical appliances in the kitchen to cut off the power. Then the vehicle model moves to the bathroom area, controls the electrical valve in the bathroom to cut off the gas, and controls the electrical appliances in the bathroom to cut off the power.
[0067] Step S103 may specifically include: if the alarm signal is still received after the preset time, sending a distress message to the target terminal.
[0068] Specifically, the timing is started from the moment when the vehicle model sends the gas cut-off signal and the power cut-off signal. If the alarm signal is still received after the preset time, it means that the gas concentration is still very high and there is still a risk of explosion or poisoning of family members. At this time, a distress message is sent to the target terminal. Relevant personnel carry out rescue after receiving the distress message through the target terminal. For example, the rescue center sends out police for rescue after receiving the distress message; the personnel on the locomotive promptly call the police or arrive at the scene for rescue after receiving the distress message; the personnel using the mobile terminal promptly call the police or arrive at the scene for rescue after receiving the distress message.
[0069] If no alarm signal is received after the preset time, it means that the gas concentration has dropped to a safe concentration and there is no danger. At this time, there is no need to send a distress message.
[0070] Exemplarily, step S102 may specifically include steps S1021 to S1023.
[0071] Step S1021, when the accident type is fire, control the vehicle model to collect image information in the target area.
[0072] Specifically, when the accident type is determined to be a fire, the vehicle model is controlled to collect image information in the target area. When collecting image information, the vehicle model can move in the target area, and the camera on the vehicle model can rotate at any angle to collect image information at any angle, so as to subsequently determine the location of the fire source based on the image information.
[0073] Step S1022, processing the image information to determine the location of the fire source.
[0074] Specifically, the image is first binarized, flame features are extracted from the binarized image, and the flame area is determined in the image. Then, the image coordinates are converted into real-world coordinates, and the coordinates of the flame area in the real world are obtained to obtain the location of the fire source. The present application can utilize the existing method for determining the location of the fire source to achieve the determination of the location of the fire source based on image information.
[0075] Step S1023, controlling the fire extinguishing device on the vehicle model to spray the fire extinguishing agent toward the fire source.
[0076] Specifically, after the location of the fire source is determined, the vehicle model is controlled to adjust its direction so that the vehicle model is at a suitable fire extinguishing angle. After the direction of the vehicle model is adjusted, the fire extinguishing device on the vehicle is controlled to spray the fire extinguishing agent to the fire source to extinguish the fire, so as to achieve the initial rescue of the vehicle model for the fire. At the same time, the vehicle model can also be controlled to sound an alarm to remind family members of the fire, and to rescue or evacuate in time to reduce the harm to family members. At the same time, the vehicle can also be controlled to send gas cut-off signals and power-off signals. The electric valve is shut down after receiving the gas cut-off signal to prevent gas leakage from causing an explosion, and the electrical appliance is powered off after receiving the power-off signal to prevent the electrical appliance from catching fire with electricity and aggravating the degree of the fire.
[0077] Designers can set the priority of each area in the home in advance, for example, set the kitchen area as the first priority, the master bedroom area as the second priority, the second bedroom area as the third priority, and the living room area as the fourth priority. If the vehicle model receives multiple fire alarm signals at the same time, the vehicle model can determine multiple target areas by parsing the multiple fire alarm signals, and the vehicle model moves to each target area in turn according to the priority of each target area for preliminary rescue. For example, after the vehicle model receives fire alarm signals from the kitchen area and the living room area at the same time, the vehicle model first moves to the kitchen area, controls the electrical valve to cut off the gas, controls the electrical appliances in the kitchen to cut off the power, and controls the fire extinguishing device on the vehicle model to spray the fire extinguishing agent to the fire source. Then the vehicle model moves to the living room area, controls the electrical appliances in the living room to cut off the power, and controls the fire extinguishing device on the vehicle model to spray the fire extinguishing agent to the fire source.
[0078] Step S103 may specifically include: if there is still a fire source after the fire extinguishing device on the vehicle model has sprayed the fire extinguishing agent, sending image information to the target terminal.
[0079] Specifically, when the fire extinguishing device on the vehicle model has finished spraying, it means that the vehicle model has completed the rescue. If there is still a fire source at this time, it means that the rescue of the vehicle model has failed. At this time, the fire extinguishing device on the vehicle model has been used up and cannot be rescued again. At this time, the image information is sent to the target terminal. The relevant personnel can view the image information of the fire accident scene through the target terminal, determine the extent of the fire, and then take reasonable rescue measures. For example, the staff of the rescue center determines the extent of the fire by observing the image information, and sends reasonable rescue resources to prevent the rescue resources sent by the rescue center from being too small to effectively control the fire and aggravate the fire. It can also prevent the rescue resources sent by the rescue center from being too large, resulting in a waste of rescue resources. The personnel on the locomotive or the personnel using the mobile terminal determine the extent of the fire by observing the image information, and call the police or rush to the scene for rescue.
[0080] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0081] Figure 3 FIG. 1 shows a schematic diagram of the structure of a vehicle model control device provided in an embodiment of the present application. Figure 3 As shown, the vehicle model control device includes:
[0082] A determination module 31, configured to determine the type of accident and the target area where the sensor is located according to the alarm signal after receiving the alarm signal sent by the sensor;
[0083] A rescue module 32, configured to control the vehicle model to move to the target area and then control the vehicle model to perform rescue according to the accident type;
[0084] The distress information sending module 33 is used to send a distress information to a target terminal if the rescue of the vehicle model fails.
[0085] In one embodiment of the present application, the determining module 31 is further configured to:
[0086] Analyzing the alarm signal to obtain the identity information of the sensor;
[0087] Determining the sensor model and the target area according to the identity information;
[0088] The accident type is determined according to the model of the sensor.
[0089] In one embodiment of the present application, the rescue module 32 is further used to:
[0090] When the accident type is a gas leak, the vehicle model is controlled to send a gas cut-off signal and a power cut-off signal; wherein the gas cut-off signal is used to indicate that the electrical valve is turned off, and the power cut-off signal is used to indicate that the electrical appliance is powered off.
[0091] In one embodiment of the present application, the distress information sending module 33 is further used to:
[0092] If the alarm signal is still received after the preset time, the distress message is sent to the target terminal.
[0093] In one embodiment of the present application, the rescue module 32 is further used to:
[0094] When the accident type is fire, controlling the vehicle model to collect image information within the target area;
[0095] Processing the image information to determine the location of the fire source;
[0096] The fire extinguishing device on the vehicle model is controlled to spray the fire extinguishing agent toward the fire source location.
[0097] In one embodiment of the present application, the rescue module 32 is further used to:
[0098] The vehicle model is controlled to emit an alarm sound.
[0099] In one embodiment of the present application, the distress information sending module 33 is further used to:
[0100] If there is still a fire source after the fire extinguishing device on the vehicle model has sprayed the fire extinguishing agent, the image information is sent to the target terminal.
[0101] In one embodiment of the present application, the target terminal includes a terminal of a rescue center, a mobile terminal and / or a terminal on a locomotive.
[0102] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0103] Figure 4 This is a schematic diagram of the structure of the vehicle model provided in the embodiment of the present application. Figure 4 As shown, the vehicle model 4 of this embodiment may include: at least one processor 40 ( Figure 4 Only one processor 40 is shown in the figure), a memory 41, and a computer program 42 stored in the memory 41 and executable on the at least one processor 40. When the processor 40 executes the computer program 42, the steps in any of the above-mentioned method embodiments are implemented, for example Figure 1 Steps S101 to S103 in the illustrated embodiment. Alternatively, when the processor 40 executes the computer program 42, the functions of each module / unit in the above-mentioned device embodiments are implemented, for example Figure 3 The functions of the modules 31 to 33 are shown.
[0104] The vehicle model 4 is also provided with a driving device, a fire extinguishing device, a wireless signal transceiver module, an audio system and a camera, wherein the driving device, the fire extinguishing device, the wireless signal transceiver module, the audio system and the camera are all connected to the processor 40 .
[0105] The driving device may include wheels, a driving motor assembly and a steering motor assembly, the driving motor assembly and the steering motor assembly are respectively connected to the wheels, and the processor 40 can move the vehicle model 4 by controlling the driving motor assembly and the steering motor assembly.
[0106] The fire extinguishing device can be a small dry powder fire extinguisher, which can be set inside the body of the vehicle model 4, and the nozzle of the dry powder fire extinguisher is set on the body of the vehicle model 4. A solenoid valve is set at the nozzle of the dry powder fire extinguisher, and the processor 40 can control the opening and closing of the solenoid valve. When a fire occurs, the processor 40 controls the solenoid valve to open, and the dry powder fire extinguisher can spray dry powder for fire extinguishing and rescue.
[0107] The wireless signal transceiver module can be set inside the vehicle model 4, and the processor 40 can receive the alarm signal of the sensor in the home through the wireless signal transceiver module. The processor can also send a distress message to the rescue center through the wireless signal transceiver module.
[0108] The speaker can be arranged inside or outside the vehicle model 4, and the processor 40 can control the speaker to generate an alarm sound.
[0109] The camera can be set on the top of the vehicle model 4, and the processor 40 can receive the image information collected by the camera, analyze the image information, and determine the location of the fire source. The processor 40 can also send the image information collected by the camera to the rescue center through the wireless signal transceiver module. The rescue center determines the extent of the fire by observing the image information, so as to reasonably dispatch rescue resources.
[0110] Exemplarily, the computer program 42 may be divided into one or more modules / units, which are stored in the memory 41 and executed by the processor 40 to implement the present invention. The one or more modules / units may be a series of computer program 42 instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer program 42 in the vehicle model 4.
[0111] The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program 42. When the computer program 42 is executed by the processor 40, the steps in the above-mentioned method embodiments can be implemented.
[0112] An embodiment of the present application provides a computer program product. When the computer program product runs on a vehicle model, the vehicle model can implement the steps in the above-mentioned method embodiments when it is executed.
[0113] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program 42, and the computer program 42 can be stored in a computer-readable storage medium. When the computer program 42 is executed by the processor 40, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program 42 includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device capable of carrying the computer program code to the terminal, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0114] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0115] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0116] In the embodiments provided in the present application, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0117] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0118] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A vehicle model control method, characterized in that: include: After receiving the alarm signal sent by the sensor, determining the accident type and the target area where the sensor is located according to the alarm signal; After controlling the vehicle model to move to the target area, controlling the vehicle model to perform rescue according to the accident type; If the vehicle model fails to rescue, a distress message is sent to the target terminal; The step of determining the accident type and the target area where the sensor is located according to the alarm signal comprises: Analyzing the alarm signal to obtain the identity information of the sensor; Determining the sensor model and the target area according to the identity information; Determining the accident type according to the model of the sensor; If the vehicle model receives multiple alarm signals at the same time, the vehicle model determines multiple target areas by analyzing the multiple alarm signals, and the vehicle model moves to each target area in turn according to the priority of each target area.
2. The vehicle model control method according to claim 1, characterized in that: The step of controlling the vehicle model to perform rescue according to the accident type includes: When the accident type is a gas leak, the vehicle model is controlled to send a gas cut-off signal and a power cut-off signal; wherein the gas cut-off signal is used to indicate that the electrical valve is turned off, and the power cut-off signal is used to indicate that the electrical appliance is powered off.
3. The vehicle model control method according to claim 2, characterized in that: If the vehicle model fails to be rescued, sending a distress message to the target terminal includes: If the alarm signal is still received after the preset time, the distress message is sent to the target terminal.
4. The vehicle model control method according to claim 1, characterized in that: The step of controlling the vehicle model to perform rescue according to the accident type includes: When the accident type is fire, controlling the vehicle model to collect image information within the target area; Processing the image information to determine the location of the fire source; The fire extinguishing device on the vehicle model is controlled to spray the fire extinguishing agent toward the fire source location.
5. The vehicle model control method according to claim 4, characterized in that: If the vehicle model fails to be rescued, sending a distress message to the target terminal includes: If there is still a fire source after the fire extinguishing device on the vehicle model has sprayed the fire extinguishing agent, the image information is sent to the target terminal.
6. The vehicle model control method according to any one of claims 1 to 5, characterized in that: The target terminal includes a terminal in a rescue center, a mobile terminal and / or a terminal on a locomotive.
7. A vehicle model control device, characterized in that: include: A determination module, configured to determine the type of accident and the target area where the sensor is located according to the alarm signal after receiving the alarm signal sent by the sensor; A rescue module, used for controlling the vehicle model to move to the target area and then controlling the vehicle model to perform rescue according to the accident type; A distress information sending module, used to send a distress information to a target terminal if the rescue of the vehicle model fails; The determining module is also used for: Analyzing the alarm signal to obtain the identity information of the sensor; Determining the sensor model and the target area according to the identity information; Determining the accident type according to the model of the sensor; If the vehicle model receives multiple alarm signals at the same time, the vehicle model determines multiple target areas by analyzing the multiple alarm signals, and the vehicle model moves to each target area in turn according to the priority of each target area.
8. A vehicle model, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
