In-car life detection warning system, method, equipment and storage medium
Technical field
The present invention relates to vehicle networked information sharing field, specifically, is related to in-car life detection warning system, side
Method, equipment and storage medium.
Background technology
With the rapid development of automotive field technology, as the vehicle window of one of automobile component, it is via traditional hand
Formula becomes for electric-controlled type, and has pinch resistant functionality, and the function of vehicle window becomes to be gradually improved.However, the intelligence degree of vehicle window
It is still very low.Such as:Vehicle interior temperature, harmful gas concentration can not be monitored, accomplishes that automatic shutter is aerated and cooled.There is research table
Bright, the temperature in closed compartment will rise rapidly under direct sunlight.When driver gets off, if occupant is baby or small
The weaker crowd of this kind of self-defense capability of child, then its life and health may be damaged.
There are some technologies in some vehicles at present, when vehicle interior temperature is too high, in-car sky can be automatically turned on
Transfer to reduce temperature.But when personnel are not present in in-car, then it can cause the wasting of resources.In addition, vehicle interior temperature is too high to open sky
Adjust this kind of technology to need necessarily to reequip in-car structure, cost height, be unfavorable for for purchased the car owner of vehicle with
To facilitate.
Therefore, the invention provides a kind of in-car life detection warning system, method, equipment and storage medium.
The content of the invention
For the problems of the prior art, it is an object of the invention to provide the detection of in-car life warning system, method, set
Standby and storage medium, can life in more accurate probe vehicles, and by car networking mode, result of detection is sent to as early as possible pre-
If party, so as to open vehicle window or car door, save life as early as possible.
Embodiments of the invention also provide a kind of in-car life detection warning system, are arranged at vehicle, the in-car life
Detection warning system includes:
Multiple pressure detecting modules, the seat of the vehicle is respectively arranged at, in the case of car locking, the sensor is by between
Having a rest property starts to detect the pressure parameter that the seat is subject to;
At least one vehicle-mounted acceleration and angular-rate sensor, is arranged at vehicle body, in the case of car locking, the vehicle-mounted acceleration
And angular-rate sensor by intermittent start to detect the kinematic parameter of the vehicle body;
One image collecting module, pressure and/or the vehicle-mounted acceleration and angle speed are detected in the pressure detecting module
When degree sensor detects motion, the image collecting module is activated, and shoots one section of in-car video;
One motion determination module, contrast the image of every two field picture and consecutive frame in the video of the image collecting module shooting
It is whether identical, judge whether the total quantity of the successive frame that image is different in video exceedes predetermined threshold value;
One notification module, at least part video is sent at least one default external communications equipment;And
One rescue module, receive the instruction unpack vehicle window of the external communications equipment or open car door.
Preferably, the pressure detecting module is configured as coordinating with the sensor of insurance carrying spigots when vehicle travels
Wear safety belt when user on the seat is sat in detection.
Preferably, the image collecting module is provided in the camera on vehicle mirrors.
Preferably, the image collecting module is provided in the camera on the inside of skylight of vehicle.
Preferably, the camera shoots video after being activated, the length range of video is 1 second, 3 seconds, 5 seconds, 10 seconds, 30
Second in any one.
Preferably, the different successive frame of image in the video is sent at least one default outside and led to by the notification module
Interrogate equipment.
Embodiments of the invention provide a kind of in-car life detection method for warming, use in-car life detection warning as described above
System, comprise the following steps:
S101, judge whether vehicle is locked, if so, step S102 is then performed, if so, then repeat step S101;
The pressure parameter and/or body movement parameter that S102, intermittent detection seat are subject to;
S103, judge whether pressure parameter and/or body movement parameter are more than predetermined threshold value, if so, then performing step
S104, if it is not, then repeat step S102;
One section of S104, shooting in-car video;
The image of every two field picture and consecutive frame in S105, contrast video;
S106, judge whether the total quantity of the successive frame that image is different in video exceedes predetermined threshold value, if so, then returning to step
Rapid S107, if it is not, then return to step S102;
S107, at least part video is sent to at least one default external communications equipment;And
S108, the instruction unpack vehicle window for receiving external communications equipment or opening car door.
Preferably, the Rule of judgment in the step S103 is, if body movement parameter is more than predetermined threshold value.
Preferably, the Rule of judgment in the step S103 is, if the pressure parameter that seat is subject to is more than default
Threshold value.Preferably, the Rule of judgment in the step S103 is, if the pressure parameter that seat is subject to is more than predetermined threshold value
And body movement parameter is more than predetermined threshold value.
Preferably, the different successive frame of image in the video is sent at least one default outside in the step S106
Communication apparatus.
Embodiments of the invention also provide a kind of in-car life detection apartment warning, including:
Processor;
Memory, wherein being stored with the executable instruction of the processor;
Wherein, the processor is configured to perform above-mentioned in-car life detection warning via the executable instruction is performed
The step of method.
Embodiments of the invention also provide a kind of computer-readable recording medium, and for storage program, described program is held
The step of above-mentioned in-car life detection method for warming is realized during row.
In-car life detection warning system, method, equipment and the storage medium of the present invention can give birth in more accurate probe vehicles
Life, and by car networking mode, result of detection is sent to default party as early as possible, so as to open vehicle window or car door, to the greatest extent
It is fast to save life.
Brief description of the drawings
The detailed description made by reading with reference to the following drawings to non-limiting example, further feature of the invention,
Objects and advantages will become more apparent upon.
Fig. 1 is the module diagram of the in-car life detection warning system of the present invention.
Fig. 2 is the schematic diagram that image collecting module is provided in vehicle mirrors in the present invention.
Fig. 3 is that image collecting module is provided in the schematic diagram on the inside of skylight of vehicle in the present invention.
Fig. 4 is the schematic diagram that the in-car life detection warning system of the present invention is communicated with external communications equipment.
Fig. 5 is the flow chart of the in-car life detection method for warming of the present invention.
Fig. 6 is the structural representation of the in-car life detection apartment warning of the present invention.And
Fig. 7 is the structural representation of the computer-readable recording medium of one embodiment of the invention.
Embodiment
Example embodiment is described more fully with referring now to accompanying drawing.However, example embodiment can be with a variety of shapes
Formula is implemented, and is not understood as limited to embodiment set forth herein.On the contrary, these embodiments are provided so that the present invention will
Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Identical is attached in figure
Icon note represents same or similar structure, thus will omit repetition thereof.
Fig. 1 is the module diagram of the in-car life detection warning system of the present invention.As shown in figure 1, the implementation of the present invention
Example also provides a kind of in-car life detection warning system 1, is arranged at vehicle, and in-car life detection warning system 10 includes:Pass through
Multiple pressure detecting modules 11, at least one vehicle-mounted image collecting module of acceleration and angular-rate sensor 17, one of cable connection
12nd, a motion determination module 13, a notification module 14 and a rescue module 15.Multiple pressure detecting modules 11 are respectively arranged at
The seat of vehicle, in the present embodiment, pressure detecting module 11 can be pressure sensor, in the case of car locking, pressure sensor
By intermittent start to detect the pressure parameter that seat is subject to.Such as:A seat was detected every 3 minutes or 5 minutes
The pressure parameter being subject to, to reduce energy consumption, but it is not limited.Vehicle-mounted acceleration and angular-rate sensor 17 are arranged at vehicle body,
In the case of car locking, the vehicle-mounted acceleration and angular-rate sensor are joined by intermittent start with detecting the motion of the vehicle body
Number, in the present embodiment, the kinematic parameter of vehicle body can be vehicle-mounted acceleration and angular-rate sensor in a plurality of directions plus
Speed kinematic parameter, but be not limited.To detect rocking for vehicle body.In-car can tentatively be known by the detection to pressure
Whether someone or moving object, but sometimes overall the rocking of car body will also result in approximate stressing conditions, for example, weight
Type truck was opened from vehicle side so that car body totality large-amplitude sloshing etc..It is just not only pressured in order to avoid this problem
Power detection module also needs to other aiding sensors, such as:Image collecting module 12 in the present invention.In pressure detecting module
11 detect pressure and angular-rate sensor detect body movement (such as:Vehicle body shakes) when, image collecting module
12 are activated, and shoot one section of in-car video.The motion of the vehicle body of vehicle-mounted acceleration and angular-rate sensor detection can be preset
Acceleration or angular speed on parameter threshold, such as multiple directions etc., when then thinking that vehicle body is rocked more than threshold value.
The present invention by vehicle-mounted acceleration and angular-rate sensor using acceleration direction and parameter is detected in the prior art, to judge car
Body shaking degree, here is omitted.Image collecting module 12 in the present embodiment can be a camera, or infrared take the photograph
As first-class etc., but it is not limited.The contrast image acquisition module 12 of motion determination module 13 shooting video in per two field picture with
Whether the image of consecutive frame is identical, judges whether the total quantity of the successive frame that image is different in video exceedes predetermined threshold value.This reality
Apply in example, existing picture correlation technique can be used, to judge whether the image of every two field picture and consecutive frame in video is identical,
Here is omitted.Because in-car is the space of sealing, so, by the analysis to video, it is known that empty in this sealing
In whether have object in activity, so as to certainly in-car concrete condition.Just can be right although depending merely on image collecting module 12
In-car situation judges, but the power consumption of image collecting module 12 itself is larger, work long hours the heating that can be brought, storage
And service life can all bring problem, so, in the present embodiment, after car locking, entered first by pressure detecting module 11
The preliminary judgement of row, a more accurately fine judgement is subsequently carried out by image collecting module 12 again, so as to accurately obtain
Real result.At least part video is sent at least one default external communications equipment by notification module 14, outer to allow as early as possible
This situation is known in portion, is rescued in time.Rescue instruction unpack vehicle window or opening that module 15 receives external communications equipment
Car door.In a variation, rescue module 15 either slowly can also not receive external communications equipment in crisis situations
Instruction in the case of automatically open up vehicle window or open car door, to save life.
In a preferred scheme, pressure detecting module 11 is configured as the biography with insurance carrying spigots when vehicle travels
Sensor, which coordinates, detects wear safety belt when sitting user on the seat.The present invention need not increase new pressure inspection on vehicle
Module is surveyed, but by being multiplexed original pressure detecting module on each seat, then pressure detecting module can in motion
For carrying out the judgement of wear safety belt, then after car locking of stopping, pressure detecting module can also carry out the pressure in the present invention
Judge, coordinate detection is in-car whether to also have life.
Fig. 2 is the schematic diagram that image collecting module is provided in vehicle mirrors in the present invention.As shown in Fig. 2 at one
In preferred embodiment, image collecting module 12 is provided in the camera 22 on the rearview mirror 21 of the vehicle 20 of the present invention,
To obtain more preferable visual angle while to observe front-seat and back seat.
Fig. 3 is that image collecting module is provided in the schematic diagram on the inside of skylight of vehicle in the present invention.As shown in figure 3, another
In one preferred embodiment, image collecting module 12 is provided in the shooting on the inside of the skylight of vehicle of the vehicle 20 of the present invention
First 23, to obtain more preferable whole visual angle, clearly observe front-seat and back seat concrete condition.
Preferably, video is shot after camera is activated, the length range of video is in 1 second, 3 seconds, 5 seconds, 10 seconds, 30 seconds
Any one, but be not limited.
Fig. 4 is the schematic diagram that the in-car life detection warning system of the present invention is communicated with external communications equipment.Such as Fig. 4
Shown, in a preferred embodiment, it is pre- that the different successive frame of image in video is sent at least one by notification module 14
If external communication is set, to reduce the flow of transmission, outside is allowed to know in-car situation as early as possible.Default external communications equipment can be
The mobile phone of car owner, but be not limited.
Fig. 5 is the flow chart of the in-car life detection method for warming of one embodiment of the invention.It is as shown in figure 5, of the invention
Embodiment a kind of in-car life detection method for warming is also provided, use in-car life detection warning system as described above, including with
Lower step:
S101, judge whether vehicle is locked, if so, step S102 is then performed, if so, then repeat step S101.
The pressure parameter and/or body movement parameter that S102, intermittent detection seat are subject to;
S103, judge whether pressure parameter and/or body movement parameter are more than predetermined threshold value, if so, then performing step
S104, if it is not, then repeat step S102;
One section of S104, shooting in-car video.
The image of every two field picture and consecutive frame in S105, contrast video.In the present embodiment, existing picture pair can be used
Than technology, to judge whether the image of every two field picture and consecutive frame in video is identical, and here is omitted.
S106, judge whether the total quantity of the successive frame that image is different in video exceedes predetermined threshold value, if so, then returning to step
Rapid S107, if it is not, then return to step S102.
S107, at least part video is sent to at least one default external communications equipment.Default external communications equipment can be with
It is the mobile phone of car owner, but is not limited.
S108, the instruction unpack vehicle window for receiving external communications equipment or opening car door.
The present invention can by the independent judgement of pressure detecting module 11 and vehicle-mounted acceleration and angular-rate sensor 17 or
It is that combination is judged to detect in-car sign of life, such as following three kinds of modes, but is not limited:
First way:Rule of judgment in the step S103 is, if body movement parameter is more than predetermined threshold value.
The second way:Rule of judgment in the step S103 is, if the pressure parameter that seat is subject to is more than
Predetermined threshold value.
The third mode:Rule of judgment in the step S103 is, if the pressure parameter that seat is subject to is more than
Predetermined threshold value and body movement parameter is more than predetermined threshold value.
In a preferred embodiment, the different successive frame of image in video is sent at least one in step S106
Default external communications equipment.
The in-car life detection method for warming of the present invention carries out preliminary judgement by pressure detecting module 11 first, subsequently
A more accurately fine judgement is carried out by image collecting module 12 again, so as to accurately obtain real result.Notify mould
At least part video is sent at least one default external communications equipment by block 14, to allow outside to know this situation as early as possible, and
Shi Jinhang is rescued.So in-car life detection method for warming of the invention can life in more accurate probe vehicles, and pass through car
Networking mode, result of detection is sent to default party as early as possible, so as to open vehicle window or car door, saves life as early as possible.
The embodiment of the present invention also provides a kind of in-car life detection apartment warning, including processor.Memory, wherein storing
There is the executable instruction of processor.Wherein, processor is configured to detect via the in-car life for performing executable instruction to perform
The step of method for warming.
As above, in-car life detection warning system of the invention can life in more accurate probe vehicles, and joined by car
Net mode, result of detection is sent to default party as early as possible, so as to open vehicle window or car door, saves life as early as possible.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or
Program product.Therefore, various aspects of the invention can be implemented as following form, i.e.,:It is complete hardware embodiment, complete
The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.), or hardware and software, can unite here
Referred to as " circuit ", " module " or " platform ".
Fig. 6 is the structural representation of the in-car life detection apartment warning of the present invention.Described referring to Fig. 6 according to this
The electronic equipment 600 of this embodiment of invention.The electronic equipment 600 that Fig. 6 is shown is only an example, should not be to this hair
The function and use range of bright embodiment bring any restrictions.
As shown in fig. 6, electronic equipment 600 is showed in the form of universal computing device.The component of electronic equipment 600 can wrap
Include but be not limited to:At least one processing unit 610, at least one memory cell 620, (including the storage of connection different platform component
Unit 620 and processing unit 610) bus 630, display unit 640 etc..
Wherein, memory cell has program stored therein code, and the program code unit 610 that can be processed performs so that processing is single
Member 610 perform described in this specification above-mentioned electronic prescription circulation processing method part according to the various exemplary implementations of the present invention
The step of mode.For example, the step of processing unit 610 can perform as shown in Figure 5 respectively.
Memory cell 620 can include the computer-readable recording medium of volatile memory cell form, such as Random Access Storage Unit
(RAM) 6201 and/or cache memory unit 6202, it can further include read-only memory unit (ROM) 6203.
Memory cell 620 can also include program/utility with one group of (at least one) program module 6205
6204, such program module 6205 includes but is not limited to:Operating system, one or more application program, other program moulds
Block and routine data, the realization of network environment may be included in each or certain combination in these examples.
Bus 630 can be to represent the one or more in a few class bus structures, including memory cell bus or storage
Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures
Local bus.
Electronic equipment 600 can also be with one or more external equipments 700 (such as keyboard, sensing equipment, bluetooth equipment
Deng) communication, the equipment communication interacted with the electronic equipment 600 can be also enabled a user to one or more, and/or with causing
Any equipment that the electronic equipment 600 can be communicated with one or more of the other computing device (such as router, modulation /demodulation
Device etc.) communication.This communication can be carried out by input/output (I/O) interface 650.Also, electronic equipment 600 can be with
By network adapter 660 and one or more network (such as LAN (LAN), wide area network (WAN) and/or public network,
Such as internet) communication.Network adapter 660 can be communicated by bus 630 with other modules of electronic equipment 600.Should
Understand, although not shown in the drawings, can combine electronic equipment 600 uses other hardware and/or software module, including it is but unlimited
In:Microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and number
According to backup storage platform etc..
The embodiment of the present invention also provides a kind of computer-readable recording medium, real when program is performed for storage program
Existing in-car life detects the step of method for warming.In some possible embodiments, various aspects of the invention can be with
It is embodied as a kind of form of program product, it includes program code, when program product is run on the terminal device, program code
It is various according to the present invention described in the above-mentioned electronic prescription circulation processing method part of this specification for performing terminal device
The step of illustrative embodiments.
As it appears from the above, the program in the computer-readable recording medium of the present invention can be in more accurate probe vehicles when being performed
Life, and by car networking mode, result of detection is sent to default party as early as possible, so as to open vehicle window or car door,
Life is saved as early as possible.
Fig. 7 is the structural representation of the computer-readable recording medium of the present invention.With reference to shown in figure 7, describe according to this
The program product 800 for being used to realize the above method of the embodiment of invention, it can use the read-only storage of portable compact disc
Device (CD-ROM) and including program code, and can be run on terminal device, such as PC.However, the journey of the present invention
Sequence product not limited to this, in this document, readable storage medium storing program for executing can be it is any include or the tangible medium of storage program, the journey
Sequence can be commanded the either device use or in connection of execution system, device.
Program product can use any combination of one or more computer-readable recording mediums.Computer-readable recording medium can be that readable signal is situated between
Matter or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or partly lead
System, device or the device of body, or any combination above.More specifically example (the non exhaustive row of readable storage medium storing program for executing
Table) include:Electrical connection, portable disc, hard disk, random access memory (RAM), read-only storage with one or more wires
Device (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD-
ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer-readable recording medium can be including the data-signal in a base band or as carrier wave part propagation, its
In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal,
Optical signal or above-mentioned any appropriate combination.Readable storage medium storing program for executing can also be any readable Jie beyond readable storage medium storing program for executing
Matter, the computer-readable recording medium can send, propagate either transmit for used by instruction execution system, device or device or and its
The program of combined use.The program code included on readable storage medium storing program for executing can be transmitted with any appropriate medium, including but not
It is limited to wireless, wired, optical cable, RF etc., or above-mentioned any appropriate combination.
Can being combined to write the program operated for performing the present invention with one or more programming languages
Code, programming language include object oriented program language-Java, C++ etc., in addition to conventional process
Formula programming language-such as " C " language or similar programming language.Program code can be calculated fully in user
Perform in equipment, partly perform on a user device, the software kit independent as one performs, partly in user calculating equipment
Upper part is performed or performed completely in remote computing device or server on a remote computing.It is being related to long-range meter
In the situation for calculating equipment, remote computing device can pass through the network of any kind, including LAN (LAN) or wide area network
(WAN) user calculating equipment, is connected to, or, it may be connected to external computing device (such as utilize ISP
To pass through Internet connection).
To sum up, in-car life of the invention detection warning system, method, equipment and storage medium being capable of more accurate probe vehicles
Interior life, and by car networking mode, result of detection is sent to default party as early as possible, so as to open vehicle window or car
Door, saves life as early as possible.
Above content is to combine specific preferred embodiment further description made for the present invention, it is impossible to is assert
The specific implementation of the present invention is confined to these explanations.For general technical staff of the technical field of the invention,
On the premise of not departing from present inventive concept, some simple deduction or replace can also be made, should all be considered as belonging to the present invention's
Protection domain.