CN105788166B - A kind of monitoring alarm method and device - Google Patents

A kind of monitoring alarm method and device Download PDF

Info

Publication number
CN105788166B
CN105788166B CN201610069897.2A CN201610069897A CN105788166B CN 105788166 B CN105788166 B CN 105788166B CN 201610069897 A CN201610069897 A CN 201610069897A CN 105788166 B CN105788166 B CN 105788166B
Authority
CN
China
Prior art keywords
mobile terminal
alarm
state
picture
user
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.)
Active
Application number
CN201610069897.2A
Other languages
Chinese (zh)
Other versions
CN105788166A (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610069897.2A priority Critical patent/CN105788166B/en
Publication of CN105788166A publication Critical patent/CN105788166A/en
Application granted granted Critical
Publication of CN105788166B publication Critical patent/CN105788166B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/02Alarms for ensuring the safety of persons
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/02Alarms for ensuring the safety of persons
    • G08B21/0202Child monitoring systems using a transmitter-receiver system carried by the parent and the child
    • G08B21/0205Specific application combined with child monitoring using a transmitter-receiver system
    • G08B21/0208Combination with audio or video communication, e.g. combination with "baby phone" function
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/183Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a single remote source
    • H04N7/185Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a single remote source from a mobile camera, e.g. for remote control

Landscapes

  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Child & Adolescent Psychology (AREA)
  • General Health & Medical Sciences (AREA)
  • Signal Processing (AREA)
  • Alarm Systems (AREA)

Abstract

An embodiment of the present invention provides a kind of monitoring alarm method and device, method therein includes:Video frame figure in monitoring area is obtained in real time;The video frame figure is compared with the alarm picture in local picture library, wherein an alarm picture corresponds to a kind of alarm condition;If comparing successfully, obtain the state of mobile terminal, a prompting message is sent to the mobile terminal according to the state of the mobile terminal, and the prompting message includes the matched word of the alarm condition, comprising at least one of video clip or the matched prompt tone of the alarm condition with the matched video frame figure of alarm picture information.By implementing monitoring alarm method provided in an embodiment of the present invention, user is not necessarily to through mobile terminal real time inspection monitored picture be the warning reminding information that would know that in monitoring area, solves the problems, such as to expend flow and alarm free prompt caused by mobile terminal remote real time inspection monitored picture in the prior art.

Description

A kind of monitoring alarm method and device
Technical field
The present invention relates to the communications fields, and in particular to a kind of monitoring alarm method and device.
Background technology
With the development of science and technology, people’s lives are more and more intelligent and convenient.
In order to monitor the situation in family at any time, monitoring device is installed in many user's selections at home, and monitoring device usually wraps Video camera is included, by remotely accessing monitoring device, user can understand the real-time condition in family, a kind of typical case whenever and wherever possible Application scenarios in, user wishes to monitor one or more people in family by monitoring device, as old man, baby, children it is real-time Situation, to find unexpected situation in time.
But user be often generally difficult at any time stare at monitored picture, check situation in family, this is resulted in, when When there is unexpected situation, user is difficult to find in time, to miss the treating machine meeting of first time;On the other hand, real-time video File is usually larger, when the wireless network network speed that user uses is slower, it is easy to and it is bad interim card, viewing experience occur, moreover, When user can not connect wireless network, many flows can be expended again using data traffic viewing video.
Invention content
In order to solve to expend flow caused by mobile terminal remote real time inspection monitored picture in the prior art and without report The problem of alert prompt, a kind of monitoring alarm method of offer of the embodiment of the present invention and device.
An embodiment of the present invention provides a kind of monitoring alarm methods, including:
Video frame figure in monitoring area is obtained in real time;
The video frame figure is compared with the alarm picture in local picture library, wherein an alarm picture corresponds to A kind of alarm condition;
If comparing the state for successfully obtaining mobile terminal, a prompting message is sent extremely according to the state of the mobile terminal The mobile terminal, the prompting message include the matched word of the alarm condition, comprising matched with the alarm picture At least one of the video clip of video frame figure or the matched prompt tone of the alarm condition information.
An embodiment of the present invention provides a kind of monitoring alarm devices, including:
First acquisition module, comparing module, the second acquisition module and sending module;Wherein,
First acquisition module, for obtaining video frame figure in monitoring area in real time;
The comparing module, the video frame figure for obtaining first acquisition module and the alarm in local picture library Picture is compared, wherein an alarm picture corresponds to a kind of alarm condition;
Second acquisition module, in comparison module success, obtaining the state of mobile terminal;
The sending module, the state of the mobile terminal for being obtained according to second acquisition module, which sends one and reminds, to be believed To the mobile terminal, the prompting message includes the matched word of the alarm condition, includes and the alarm picture breath At least one of the video clip for the video frame figure matched or the matched prompt tone of the alarm condition information.
Compared with prior art, the embodiment of the present invention includes at least following advantages:
A kind of monitoring alarm method and device that the embodiment of the present invention is provided, obtain video frame in monitoring area in real time Figure, later, the video frame figure is compared with the alarm picture in local picture library, wherein an alarm picture corresponds to A kind of alarm condition;If comparing the state for successfully obtaining mobile terminal, sends one according to the state of the mobile terminal and remind and believe It ceases to the mobile terminal.In this way, user is not necessarily to would know that prison by mobile terminal real time inspection monitored picture The warning reminding information in region is controlled, mobile terminal remote real time inspection monitored picture is used to solve user in the prior art The problem of caused consuming flow and alarm free prompt.
Description of the drawings
Fig. 1 is monitoring alarm method flow chart one provided in an embodiment of the present invention;
Fig. 2 is monitoring alarm method flowchart 2 provided in an embodiment of the present invention;
Fig. 3 is the step flow chart that warning reminding information is sent according to mobile terminal state that inventive embodiments provide;
Fig. 4 is to flow another the step of sending warning reminding information according to mobile terminal state provided in an embodiment of the present invention Cheng Tu;
Fig. 5 is the basic block diagram of monitoring alarm device provided in an embodiment of the present invention;
Fig. 6 is the basic block diagram of monitoring alarm device provided in an embodiment of the present invention.
Specific implementation mode
Embodiment one
Referring to Fig.1, show that a kind of step flow chart of monitoring alarm method embodiment one of the present invention, this method can answer For server side or end side, can specifically include:
Step 101 obtains video frame figure in monitoring area in real time;
Specifically, video data in monitoring area can be acquired by the camera of monitoring alarm device, and extract monitored space The video data in domain is video frame figure.In practical applications, camera acquires always video data, can be according to a special scenes Carry out the acquisition of video frame figure.For example, just acquiring video frame figure when people's activity.
The monitoring alarm device is at least the equipment for having video and/or picture collection function.
The video frame figure is compared step 102 with the alarm picture in local picture library, wherein an alarm Picture corresponds to a kind of alarm condition;
Specifically, monitoring alarm device is in video frame figure gatherer process, constantly by collected video frame figure and local Alarm picture in picture library is compared, multiple alarm pictures are prestored in local picture library.The alarm picture category In state picture, practical realization, user can set multiple state pictures to alarm picture, each state picture corresponds to The different conditions of monitored user in monitoring area.For example, when monitored user is baby, multiple state pictures can be set Respectively represent different states.Such as:Baby has a meal, infant sleep, baby wakeup, baby cried, baby vents one's spleen, baby falls down Bed, baby climb etc., wherein the picture that can be fallen down baby cried, baby corresponding to bed, baby wakeup is set as alarm figure Piece.
If step 103 compares the state for successfully obtaining mobile terminal, sends one according to the state of the mobile terminal and carry To the mobile terminal, the prompting message includes the matched word of the alarm condition, includes and the alarm figure information of waking up At least one of the video clip of the matched video frame figure of piece or the matched prompt tone of the alarm condition information.
In previous step, monitoring alarm device compares collected video frame figure with alarm picture in local picture library It is right, when the alarm picture of at least one and user setting compares success in the collected video frame figure of monitoring alarm device When, determine that video frame figure compares success with the alarm picture in local picture library.
When comparing successfully, illustrate that the monitored object in the monitoring area of monitoring alarm device is in the shape for needing to alarm State, at this moment, the state that monitoring alarm device obtains mobile terminal execute alert process.
Connect specifically, the state of the mobile terminal can be the motion state of mobile terminal or the network of mobile terminal It connects state or is motion state and network connection state of mobile terminal etc..Wherein, the motion state of mobile terminal includes moving Dynamic terminal is in static or movement state;The network connection state of mobile terminal includes the current network connection of mobile terminal For mobile data network or WLAN (WiFi).Monitoring alarm device sends one according to the state of the mobile terminal and carries Information of waking up is to the mobile terminal.When mobile terminal is that mobile data network connects, in order to save the flow of user, can adopt Prompting message is sent with the mode of word and prompt tone;When mobile terminal is WLAN, video clip may be used Mode sends reminder message, can also be including the matched word of the alarm condition, comprising matched with the alarm picture The mode of the combination of the video clip of video frame figure or the matched prompt tone of the alarm condition is reminded.
To sum up, the monitoring alarm method that the embodiment of the present invention one provides obtains video frame figure in monitoring area in real time, it Afterwards, the video frame figure is compared with the alarm picture in local picture library, wherein an alarm picture corresponds to a kind of report Alert state;If comparing the state for successfully obtaining mobile terminal, a prompting message is sent to institute according to the state of the mobile terminal State mobile terminal.By implementing this method, user is not necessarily to would know that monitored space by mobile terminal real time inspection monitored picture Warning reminding information in domain solves and expends stream caused by mobile terminal remote real time inspection monitored picture in the prior art The problem of amount and alarm free prompt.
Embodiment two
With reference to Fig. 2, show that a kind of step flow chart of monitoring alarm method embodiment of the present invention, this method specifically may be used To include:
Step 201 obtains video frame figure in monitoring area in real time, and obtains the audio data in monitoring area in real time.
In practical realization, video frame figure in monitoring area can be obtained according to a special scenes by monitoring alarm device It takes, and the audio data in monitoring area is obtained according to a special scenes, such as occur Moving Objects in video data When, or when there is sound, trigger the acquisition to video frame figure and the acquisition to audio data.
The monitoring alarm device is the equipment for having audio collection function and video acquisition function, and monitoring alarm device is logical Microphone acquisition audio data is crossed, video data is acquired by camera.
The video frame figure is compared step 202 with the alarm picture in local picture library, and, by the audio Data are compared with the local audio in local audio data library, wherein an alarm picture corresponds to a kind of alarm condition.
Monitoring alarm device is during video acquisition, constantly by the report in collected video frame figure and local picture library Alert picture is compared, and, collected audio data is compared with the local audio in local audio library.
When there is the alarm picture to match with collected video frame figure in local picture library, video frame figure ratio is determined To success;When there is the local audio to match with collected audio data in local audio library, audio data ratio is determined To success.
Before this, it needs to prestore multiple alarm pictures in local picture library.Alarm picture described here belongs to State picture, in practical realization, user needs to be previously stored multiple state pictures, each state picture corresponds in monitoring area The different conditions of monitored user, user can set multiple state pictures to alarm figure.For example, when monitored user is baby Childhood can be arranged multiple state pictures and respectively represent different states, such as:Baby has a meal, infant sleep, baby cried, baby Vent one's spleen, baby wakeup, baby fall down bed, baby climbs etc., wherein baby cried, baby can be fallen down to bed, baby wakeup institute Corresponding picture is set as alarm picture.Meanwhile the word corresponding to alarm picture can be pre-set (that is, state description Language).
In addition, needing to prestore multiple local audios in local audio library, a local audio corresponds to an alarm sound Frequency segment, each alert audio segment correspond to a kind of alarm condition;Therefore, in practical implementations, user can prerecord Multiple audio fragments set the multiple audio fragment to alert audio segment, and the corresponding report of each audio fragment is arranged Alert state.For example, when the monitoring alarm device is used for the monitoring to children, user can prerecord multiple audio fragments, For example, the crying of children, sound irritated when not feeling like a meal, the sound screamed when being at loggerheads with sb., the sound shouted when flying into a rage, and The word (that is, state description language) that the alarm condition corresponding to each audio fragment matches is marked respectively.For example, by children's Crying is described as " baby's sobbing ", sound irritated when not feeling like a meal is described as to " baby is irritated ", screams when will be at odds Sound is labeled as " baby is at loggerheads with sb. ", the sound shouted when flying into a rage is described as " baby is angry ", and user can be according to reality It needs to record multiple audio fragments, and corresponding state description language is added to audio fragment.
If step 203 compares the state for successfully obtaining mobile terminal, sends one according to the state of the mobile terminal and carry To the mobile terminal, the prompting message includes the matched word of the alarm condition, includes and the alarm figure information of waking up At least one of the video clip of the matched video frame figure of piece or the matched prompt tone of the alarm condition information;
Here comparison can successfully refer to:Video frame figure and/or audio data compare successfully.
Specifically, the state of the mobile terminal, including:The motion state of mobile terminal and/or the network of mobile terminal Connection status.
Specifically, as shown in figure 3, the state for obtaining mobile terminal, one is sent according to the state of the mobile terminal Prompting message to the step of mobile terminal, specifically includes step 301- steps 305:
Step 301, the motion state for obtaining mobile terminal.
Wherein, the motion state of mobile terminal includes that mobile terminal is in static or movement state.Mobile terminal State can be determined by positioning system, such as GPS (Global Positioning System), BDS (BeiDou Navigation Satellite System), GLONASS (GLOBAL NAVIGATION SATELLITE SYSTEM) etc. it is fixed Position system determines the displacement of mobile terminal within a certain period of time, so as to calculate it is current whether be kept in motion or Stationary state.Mobile terminal can in advance and monitoring device binding, can timing transmission mobile terminal motion state to monitoring device, Monitoring device can get the exercise data of mobile terminal.
Step 302, the trip mode that user is determined according to the motion state of the mobile terminal, the trip mode include Subway, ground public transport tool or self driving.
Specifically, the movement locus and ground public transport circuit due to subway are had any different, can by positioning and Moving line is to determine whether by the subway.When the movement locus and subway line of mobile terminal are consistent, it can be determined that user It is current to take subway.When user uses ground public transport tool, e.g., take bus trip when, movement locus will be with Ground public transport circuit matches, and (ground public transport circuit is included in advance, and there is bus-only lane road in some cities, pass through Movement locus can determine whether to take pubic transport), it may determine that whether terminal motion mode is to multiply the public friendship in ground based on this Logical tool.When self driving, mobile terminal is generally all placed on fixed position, and state is more steady, without being produced as holding Life significantly changes very much, while also creating movement locus.Accordingly it is also possible in conjunction with the sensor inside mobile terminal, example Such as, gravity sensor, gyroscope etc. judge whether motion of mobile terminals mode is self driving.
Based on the above analysis, the motion state for obtaining mobile terminal may include:
The direction sensor data for obtaining the movement locus and the mobile terminal in the mobile terminal period time, pass through Movement locus judges that the current route of user is ground public transport, self driving or subway.When self driving circuit and ground are public When traffic route overlaps altogether, it can further judge whether mobile terminal holds by direction sensor data.It is mobile when hand-held Terminal will produce the overturning of certain angle, and the real time data fluctuation of direction sensor is big;And when self driving, mobile terminal is generally all It can keep flat, the real time data fluctuation of direction sensor is little.
When the movement locus is overlapped with subway line, determine that the trip mode of the user is subway;When the fortune Dynamic rail mark is matched with traffic above-ground circuit, and the data of the direction sensor change frequency when reaching threshold value, illustrate that user exists Using mobile terminal, and the seldom high-frequency of user uses mobile terminal in driving procedure, determines that the trip mode of user is ground Public transport;When the movement locus is road, it is possible to not overlapped with traffic route, such as highway, Huo Zhecong The case where cannot be satisfied any traffic route on movement locus, while the data for meeting direction sensor change frequency and are less than threshold value When, determine that the trip mode of user is self driving.
Step 303, when the trip mode of the user is subway, send the alarm condition to the mobile terminal The word matched.
It may determine that the trip mode of user by step 302.Since the signal in subway line can be disturbed, Huo Zhexin Number poor, the reception of video file can exist and influence.Monitoring device is sent to mobile terminal and the matched word of alarm condition, allows User obtains the event that monitoring area is occurred with smaller flow and faster loading velocity.
Step 304, when the trip mode of the user be ground public transport tool when, to the mobile terminal send institute State the matched prompt tone of alarm condition or comprising the video clip with the matched video frame figure of the alarm picture.
When user takes ground public transport tool, mobile data network quality is preferable, and monitoring device can be at this time The larger file of the data volumes such as video or audio is sent to mobile terminal.Due to being only to acquire to correspond to comprising alarm picture Video frame figure video clip, there is no directly by the video data that monitoring device camera acquires in real time be not sent to it is mobile eventually End, the required flow consumed of mobile terminal is simultaneously few, and the flow of user can't be allowed to generate larger consumption.
Step 305, when the motion mode of the user is self driving, send the alarm condition to the mobile terminal Matched prompt tone.
Due to that when self driving, mobile terminal cannot be used for a long time, can effectively be kept away by way of prompt tone Exempt to occur the case where disperseing driver.
In another embodiment, as shown in figure 4, the state for obtaining mobile terminal, according to the mobile terminal State sends a step of prompting message to mobile terminal, specifically includes:
S401, the network connection state for obtaining mobile terminal, the network connection state includes mobile data network or nothing Line LAN.
Mobile terminal can its network connection state be periodically sent to monitoring device or its network connection state changes Afterwards, current network connection status is sent at once to monitoring device, allows monitoring device that can recognize its network connection state in real time.
S402, when the network connection state of the mobile terminal be WLAN when, to the mobile terminal send institute State the corresponding prompt tone of alarm condition or comprising the video clip with the matched video frame figure of the alarm picture.
When it is WLAN that monitoring device, which gets the current network connection state of mobile terminal, illustrate that user is in In or office space or the place for having free nets.At this point, user is not constrained by flow, corresponding report can be sent Alert prompt tone or video clip.
S403, when the network connection state of the mobile terminal be mobile data network when, to the mobile terminal send The corresponding word of the alarm condition.
When it is mobile data network that monitoring device, which gets the current network connection state of mobile terminal, the flow of user It can be limited by certain, in order to save the flow of user, the corresponding word of the alarm condition can be sent.
In said program, the prompt tone is for prompting the monitored user of user to be in alarm condition.In practical realization, Different prompt tones can be set according to different alarm conditions.The prompt tone can be the prompt tone of system default, also may be used Think a user-defined section audio.Prompt tone can store in mobile terminal in advance, can also be that monitoring device is sent Onto mobile terminal, played automatically by mobile terminal.
In said program, before sending the corresponding word of the alarm condition to the mobile terminal, user is needed to set The word corresponding to state picture in local picture library is set, which is used to describe monitored user's shape representated by corresponding picture State;Multiple usual state pictures can correspond to a kind of word, this is because for same state can there are many different to move State and manner of execution are corresponding.Word corresponding to each state picture can be accustomed to and set according to user It sets.
It is described when monitoring alarm device sends the video clip with the matched video frame figure of the alarm picture to terminal Video clip can be set to preceding first preset duration occur away from the alarm condition and away from after alarm condition generation the The video clip of two preset durations.In practical application, the first preset duration and the second preset duration can be according to user's needs It is configured, for example, can be disposed as the first preset duration and the second preset duration one minute, in this way, when alarming When event, the video clip sent to user is just that previous minute occurs away from the alarm condition and is sent out away from the alarm condition The video clip of raw latter minute.
In another alternative embodiment of the present invention, for using data traffic to connect for the user of network, viewing Larger video can expend more flow, and when video clip is alarmed in viewing, many times the integrity degree of video is wanted It not is very high to ask, most of the time by watch video multiple pictures can to the summary of alert event there are one understanding, In this case can only send video clip in a frame or multiframe picture to user.Specifically, can be in the following manner Video clip is sent to terminal:
Sequentially in time, the video frame figure of the video clip is extracted every default frame period;
New video clip is generated according to the video frame figure extracted;
The new video clip of the generation is sent to terminal.
For example, the default frame period could be provided as ten, that is, take a frame every ten frames, the frame of extraction is formed video Segment is sent to terminal.
As it can be seen that using monitoring alarm method provided by Embodiment 2 of the present invention, monitoring alarm device by obtaining prison in real time Control region in video frame figure and audio data, then by the video frame figure and audio data respectively with local picture library and this Ground audio repository is compared, and determines the need for execution alert process according to comparison result.Compared with embodiment one, pass through figure The complementation of two kinds of alignments of piece and audio, more ensures the security reliability of monitoring effect.
Device embodiment one
With reference to Fig. 5, a kind of monitoring alarm device of the present invention is shown;Wherein, the monitoring alarm device includes:First obtains Modulus block 51, comparing module 52, the second acquisition module 53 and sending module 54;Wherein,
First acquisition module 51, for obtaining video frame figure in monitoring area in real time.Monitoring area can be arranged In parlor or the bedroom of baby, the image for obtaining these regions, so as to when long-range can or these regions feelings Condition.
The comparing module 52, the video frame figure for obtaining the first acquisition module 51 and the alarm in local picture library Picture is compared, wherein an alarm picture corresponds to a kind of alarm condition.
It needs to store several pictures in advance.Under each alarm condition, the picture under multiple children's corresponding states is preserved, Such as not yum-yum meal, then turning round the picture under the states such as one time with hand push meal spoon, head including being sitting on children dinning chair;It climbs out of and shakes Basket, the photo of various states such as when including the guardrail toward beside turning over, rout up;Sleep, the i.e. photo of the various sleeping positions of children, may be also Include the different photo etc. slept on infanette or big bed, these pictures are classified and marked.First acquisition module After the 51 video frame figures obtained, the state of children can be learnt by picture comparison.
Second acquisition module 53, for when the comparing module 52 compares successfully, obtaining the state of mobile terminal. Specifically, the state of the mobile terminal can be mobile terminal motion state or mobile terminal network connection state or Person is the motion state and network connection state of mobile terminal.Wherein, motion state includes that user is in static or movement State, network connection state include that the current network connection of the mobile terminal of user is mobile data network or WLAN (WiFi)。
The sending module 54, the state of the mobile terminal for being obtained according to the second acquisition module 53, which sends one and reminds, to be believed It ceases to the mobile terminal.The prompting message includes the matched word of the alarm condition, includes and the alarm picture At least one of the video clip for the video frame figure matched or the matched prompt tone of the alarm condition information.Due to prestoring Alarm picture, and label character has been carried out to the state of alarm picture, when the video frame figure obtained in real time has matched report Alert picture, obtains the label character, and be sent to mobile terminal as word.In addition, when having matched report in video frame figure Alert picture, can also be sent to mobile terminal by the video clip comprising the video frame figure.Also similarly, prompt tone can carry prompt tone In preceding storage to mobile terminal, it can also be that monitoring device is sent on mobile terminal, played automatically by mobile terminal.
In a kind of alternative embodiment of the present invention, first acquisition module 51, including:
Video frame figure acquisition submodule, for obtaining video frame figure in monitoring area in real time;
Audio data acquisition submodule, for obtaining the audio data in monitoring area in real time;
The comparing module 52, including:
Picture compares submodule, for the video frame figure to be compared with the alarm picture in local picture library;
Audio compares submodule, for the local audio in the audio data and local audio data library to be compared, In, an alarm picture corresponds to a kind of alarm condition.Correlation technique is the prior art, is not repeated herein.
In a kind of alternative embodiment of the present invention, second acquisition module 53, including:
Motion state acquisition submodule, the motion state for obtaining mobile terminal.Motion state includes at mobile terminal In static or movement state.
Determination sub-module, the trip mode for determining user according to the motion state of the mobile terminal, the trip Mode includes subway, ground public transport tool or self driving.Its motion state data is sent to monitoring dress by mobile terminal It sets, the appearance mode of user is confirmed by monitoring device.
The sending module 54, for when the trip mode of the user is subway, institute to be sent to the mobile terminal State the matched word of alarm condition;Or, when the trip mode of the user is ground public transport tool, eventually to the movement End sends the matched prompt tone of the alarm condition or includes the video clip with the matched video frame figure of the alarm picture; Or, when the motion mode of the user is self driving, the matched prompt tone of alarm condition is sent to the mobile terminal.
In a kind of alternative embodiment of the present invention, the motion state acquisition submodule, for obtaining mobile terminal week The direction sensor data of movement locus and the mobile terminal in time phase.The movement locus of mobile terminal passes through positioning Device obtains, and direction sensor data can be obtained by gravity sensor and gyroscope, and beam back monitoring device.
The determination sub-module, for when the movement locus is overlapped with subway line, determining the trip of the user Mode is subway.Subway line is different from surface road, it is easy to can identify.It can determine user's by map match Whether mode is subway.
Or, matched with traffic above-ground circuit in the movement locus, and the data of the direction sensor change frequency and reach When to threshold value, determine that the trip mode of user is ground public transport tool.During mobile terminal rotates, angle of rotation Larger change can occur for degree, and this rotation is typically all to occur when hand-held mobile terminal;During self driving, Due to mobile phone for a long time place, rotational angle can't occur significantly, high-frequency variation.It can be true by these parameters Whether the trip mode for determining user is ground traffic tools.
Or, the movement locus be road, and the direction sensor data change frequency be less than threshold value when, determine The trip mode of user is self driving.With it is above-mentioned similarly, during self driving, mobile terminal can keep a metastable shape State, to be capable of determining whether it is self driving.
In a kind of alternative embodiment of the present invention, second acquisition module, including:
Network connection state acquisition submodule, the network connection state for obtaining mobile terminal, the network connection shape State includes mobile data network or WLAN.The network state of mobile terminal is periodically sent to monitoring device, can also be Monitoring device is sent to when change.
The sending module is used for when the network connection state of the mobile terminal is WLAN, to the shifting Dynamic terminal sends the corresponding prompt tone of the alarm condition or comprising the piece of video with the matched video frame figure of the alarm picture Section;When the network connection state of the mobile terminal is mobile data network, the alarm shape is sent to the mobile terminal The corresponding word of state.
Monitoring alarm device through this embodiment can effectively solve consumption caused by long-range real time inspection monitored picture The problem of taking flow and alarm free prompt achievees the purpose that save flow and prompted in time.
Device embodiment two
Fig. 6 shows a kind of structural schematic diagram of monitoring alarm device provided in an embodiment of the present invention, as shown in fig. 6, institute Stating monitoring alarm device 600 may include:At least one processor 6001, such as CPU, input unit 6002, memory 6003 and At least one communication bus 6004 and network interface 6005.Wherein:
Communication bus 6004, for realizing the connection communication between these components;
Input unit 6002, for obtaining the order for being sent to monitoring alarm device, wherein the order is used to indicate institute It states monitoring alarm device and executes monitoring processing;
Batch processing code is stored in memory 6003, and processor 6001 calls the program generation stored in memory 6003 Code.In some embodiments, memory 6003 stores following element, executable modules or data structures or he Subset or their superset:Operating system and application program.
Wherein, operating system, including various system programs, such as ccf layer, core library layer, driving layer etc., for realizing Various basic businesses and the hardware based task of processing.Application program, including various application programs, such as media player (Media Player), browser (Browser) etc., for realizing various applied business.Realize present invention method Program may be embodied in application program.In embodiments of the present invention, by calling program or the instruction of the storage of memory 6003, Specifically, can be the program stored in application program or instruction, processor 6001, for performing the following operations:
Video frame figure in monitoring area is obtained in real time;
The video frame figure is compared with the alarm picture in local picture library, wherein an alarm picture corresponds to A kind of alarm condition;
If comparing the state for successfully obtaining mobile terminal, a prompting message is sent extremely according to the state of the mobile terminal The mobile terminal, the prompting message include the matched word of the alarm condition, comprising matched with the alarm picture At least one of the video clip of video frame figure or the matched prompt tone of the alarm condition information.
The method that the embodiments of the present invention disclose can be applied in processor 6001, or real by processor 6001 It is existing.Processor 6001 may be a kind of IC chip, the processing capacity with signal.During realization, the above method Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 6001 or software form.Above-mentioned Processor 6001 can be general processor, digital signal processor (Digital Signal Processor, DSP), special Integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable GateArray, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor can also be any conventional processor etc..In conjunction with institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at The step of memory, processor reads the information in memory, the above method is completed in conjunction with its hardware.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its It combines to realize.For hardware realization, processing unit may be implemented in one or more application-specific integrated circuit (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable GateArray, FPGA), general processor, control In device processed, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, it can be realized herein by executing the module (such as process, function etc.) of function described herein The technology.Software code is storable in memory and is executed by processor.Memory can in the processor or It is realized outside processor.
Specifically, processor 6001 can also obtain video frame figure in monitoring area in real time, and monitoring area is obtained in real time In audio data.The video data of camera acquisition is sent to processor 6001, and processor 6001 therefrom obtains video frame figure; After microphone receives audio data, processor 6001 gets corresponding audio data;
The video frame figure is compared processor 6001 with the alarm picture in local picture library, and, by the sound Frequency is compared according to the local audio in local audio data library, wherein an alarm picture corresponds to a kind of alarm condition.
Then, processor 6001 obtains the motion state of mobile terminal;
Preferably, processor 6001 obtains the side of movement locus and the mobile terminal in the mobile terminal period time To sensing data;
Processor 6001 determines the trip mode of user, the trip mode packet according to the motion state of the mobile terminal Include subway, ground public transport tool or self driving.
When the movement locus is overlapped with subway line, determine that the trip mode of the user is subway, processor 6001 send the matched word of alarm condition by network interface 6005 to the mobile terminal;
Or, when the movement locus is matched with traffic above-ground circuit, and the data of the direction sensor change frequency and reach When to threshold value, determine that the trip mode of user is ground public transport tool, processor 6001 is by network interface 6005 to institute It states mobile terminal and sends the alarm condition matched prompt tone or comprising being regarded with the matched video frame figure of the alarm picture Frequency segment;
Or, when the movement locus be road, and the direction sensor data change frequency be less than threshold value when, determine The trip mode of user is self driving, and processor 6001 sends the alarm shape by network interface 6005 to the mobile terminal The matched prompt tone of state.
Specifically, the state for obtaining mobile terminal, can also include:
The network connection state of mobile terminal is obtained, the network connection state includes mobile data network or wireless local Net.
When the network connection state of the mobile terminal is WLAN, processor 6001 passes through network interface 6005 To the mobile terminal send the corresponding prompt tone of the alarm condition or comprising with the matched video frame figure of the alarm picture Video clip;
When the network connection state of the mobile terminal is mobile data network, processor 6001 passes through network interface 6005 send the corresponding word of the alarm condition to the mobile terminal.
To sum up, by implementing above-described embodiment, alarm monitor can know monitored object in monitoring area in time State simultaneously determines the need for executing alert process, is believed warning reminding in a manner of a variety of prompting messages when determination will alarm Breath is sent to the mobile terminal of user, to solve to be expended caused by the long-range real time inspection monitored picture of user in the prior art The problem of flow and alarm free prompt.
For device embodiments, since it is basically similar to the method embodiment, so fairly simple, the correlation of description Place illustrates referring to the part of embodiment of the method.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only A kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or unit It connects, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be expressed in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can to store program code Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (8)

1. a kind of monitoring alarm method, which is characterized in that the method includes:
Video frame figure in monitoring area is obtained in real time;
The video frame figure is compared with the alarm picture in local picture library, wherein an alarm picture corresponds to a kind of Alarm condition;
If comparing the state for successfully obtaining mobile terminal, a prompting message is sent to described according to the state of the mobile terminal Mobile terminal, the prompting message include the matched word of the alarm condition, include and the matched video of the alarm picture At least one of the video clip of frame figure or the matched prompt tone of the alarm condition information;
Wherein, the state for obtaining mobile terminal sends a prompting message to the shifting according to the state of the mobile terminal The step of dynamic terminal, including:Obtain the motion state of mobile terminal;Determine user's according to the motion state of the mobile terminal Trip mode;A prompting message is sent to the mobile terminal according to the trip mode of the user;Wherein, the trip mode Including subway, ground public transport tool or self driving;
It is described obtain mobile terminal motion state include:Obtain the movement locus in the mobile terminal period time and the shifting The direction sensor data of dynamic terminal;
The motion state according to the mobile terminal determines that the step of trip mode of user includes:When the movement locus When being overlapped with subway line, determine that the trip mode of the user is subway;Or, when the movement locus and traffic above-ground circuit Matching, and the data of the direction sensor change frequency when reaching threshold value, determine that the trip mode of user is the public friendship in ground Logical tool;Or, when the movement locus be road, and the direction sensor data change frequency be less than threshold value when, determine The trip mode of user is self driving.
2. according to the method described in claim 1, it is characterized in that, in the real-time acquisition monitoring area the step of video frame figure Including:Video frame figure in monitoring area is obtained in real time, and obtains the audio data in monitoring area in real time;
It is described that the video frame figure is compared with the alarm picture in local picture library, wherein an alarm picture corresponds to A kind of the step of alarm condition includes:
The video frame figure is compared with the alarm picture in local picture library, and, by the audio data and this rock noise Local audio comparison in frequency database a, wherein alarm picture corresponds to a kind of alarm condition.
3. according to the method described in claim 1, it is characterized in that, it is described obtain mobile terminal state, according to the user Trip mode send a prompting message to the mobile terminal the step of, including:
When the trip mode of the user is subway, the matched word of alarm condition is sent to the mobile terminal;
Or, when the trip mode of the user is ground public transport tool, the alarm shape is sent to the mobile terminal The matched prompt tone of state includes the video clip with the matched video frame figure of the alarm picture;
Or, when the motion mode of the user is self driving, carried to the mobile terminal transmission alarm condition is matched Show sound.
4. according to the method described in claim 1, it is characterized in that, it is described obtain mobile terminal state, according to the movement The state of terminal sends a step of prompting message to mobile terminal, including:
The network connection state of mobile terminal is obtained, the network connection state includes mobile data network or WLAN;
When the network connection state of the mobile terminal is WLAN, the alarm condition is sent to the mobile terminal Corresponding prompt tone includes the video clip with the matched video frame figure of the alarm picture;
When the network connection state of the mobile terminal is mobile data network, the alarm shape is sent to the mobile terminal The corresponding word of state.
5. a kind of monitoring alarm device, which is characterized in that described device includes:First acquisition module, comparing module, second obtain Module and sending module;Wherein,
First acquisition module, for obtaining video frame figure in monitoring area in real time;
The comparing module, the video frame figure for obtaining first acquisition module and the alarm picture in local picture library It is compared, wherein an alarm picture corresponds to a kind of alarm condition;
Second acquisition module, in comparison module success, obtaining the state of mobile terminal;
The state of the sending module, the mobile terminal for being obtained according to second acquisition module sends a prompting message extremely The mobile terminal, the prompting message include the matched word of the alarm condition, comprising matched with the alarm picture At least one of the video clip of video frame figure or the matched prompt tone of the alarm condition information;
Wherein, second acquisition module, including:Motion state acquisition submodule, the motion state for obtaining mobile terminal; The motion state of determination sub-module, the mobile terminal for being obtained according to the motion state acquisition submodule determines going out for user Line mode, the trip mode include subway, ground public transport tool or self driving;
The sending module is additionally operable to send a prompting message to the mobile terminal according to the trip mode of the user;
The motion state acquisition submodule is additionally operable to obtain the movement locus in the mobile terminal period time and the movement The direction sensor data of terminal;
The determination sub-module is additionally operable to overlap with subway line in the movement locus that the motion state acquisition submodule obtains When, determine that the trip mode of the user is subway;Or, the movement locus and ground that are obtained in the motion state acquisition submodule Face traffic route matches, and the data of the direction sensor of motion state acquisition submodule acquisition change frequency and reach threshold value When, determine that the trip mode of user is ground public transport tool;Or, the movement obtained in the motion state acquisition submodule Track is road, and when the data of direction sensor that obtain of the motion state acquisition submodule change frequency and are less than threshold value, Determine that the trip mode of user is self driving.
6. device according to claim 5, which is characterized in that first acquisition module, including:
Video frame figure acquisition submodule, for obtaining video frame figure in monitoring area in real time;
Audio data acquisition submodule, for obtaining the audio data in monitoring area in real time;
The comparing module, including:
Picture compares submodule, in the video frame figure and local picture library for obtaining the video frame figure acquisition submodule Alarm picture is compared, wherein an alarm picture corresponds to a kind of alarm condition;
Audio compares submodule, the audio data for obtaining the audio data acquisition submodule and local audio data library In local audio comparison.
7. device according to claim 5, which is characterized in that the sending module is additionally operable to work as the determination sub-module When determining that the trip mode of user is subway, the matched word of alarm condition is sent to the mobile terminal;Or, when described When determination sub-module determines that the trip mode of user is ground public transport tool, the alarm shape is sent to the mobile terminal The matched prompt tone of state includes the video clip with the matched video frame figure of the alarm picture;Or, working as the determining submodule When block determines that the motion mode of user is self driving, the matched prompt tone of alarm condition is sent to the mobile terminal.
8. device according to claim 5, which is characterized in that second acquisition module, including:
Network connection state acquisition submodule, the network connection state for obtaining mobile terminal, the network connection state packet Include mobile data network or WLAN;
The sending module, the network connection state of the mobile terminal for being obtained when the network connection state acquisition submodule For WLAN when, to the mobile terminal send the corresponding prompt tone of the alarm condition or comprising with the alarm picture The video clip of matched video frame figure;When the network connection for the mobile terminal that the network connection state acquisition submodule obtains When state is mobile data network, the corresponding word of the alarm condition is sent to the mobile terminal.
CN201610069897.2A 2016-01-29 2016-01-29 A kind of monitoring alarm method and device Active CN105788166B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610069897.2A CN105788166B (en) 2016-01-29 2016-01-29 A kind of monitoring alarm method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610069897.2A CN105788166B (en) 2016-01-29 2016-01-29 A kind of monitoring alarm method and device

Publications (2)

Publication Number Publication Date
CN105788166A CN105788166A (en) 2016-07-20
CN105788166B true CN105788166B (en) 2018-07-27

Family

ID=56403174

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610069897.2A Active CN105788166B (en) 2016-01-29 2016-01-29 A kind of monitoring alarm method and device

Country Status (1)

Country Link
CN (1) CN105788166B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506804B (en) * 2016-09-29 2020-02-21 维沃移动通信有限公司 Notification message reminding method and mobile terminal
WO2018227376A1 (en) * 2017-06-13 2018-12-20 深圳市伊特利网络科技有限公司 Method and system for controlling home camera based on terminal positioning
CN110278413A (en) * 2019-06-28 2019-09-24 Oppo广东移动通信有限公司 Image processing method, device, server and storage medium
CN110956790A (en) * 2019-12-24 2020-04-03 深圳市凯木金科技有限公司 Alarm method based on automobile data recorder and automobile data recorder
CN111741355B (en) * 2020-06-11 2023-01-10 三星电子(中国)研发中心 Method, device and system for pushing information

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102136192A (en) * 2011-01-31 2011-07-27 上海美慧软件有限公司 Method for identifying trip mode based on mobile phone signal data
CN103414825A (en) * 2013-08-15 2013-11-27 惠州Tcl移动通信有限公司 Contextual model switching method based on sensor group and mobile terminal thereof
CN104092972A (en) * 2014-07-15 2014-10-08 北京小鱼儿科技有限公司 Communication terminal and tool installed on mobile terminal
CN104994335A (en) * 2015-06-11 2015-10-21 广东欧珀移动通信有限公司 Alarm method and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2770933C (en) * 2011-03-11 2021-05-25 Intellacare Inc. A method and system for monitoring the activity of a subject within spatial temporal and/or behavioral parameters

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102136192A (en) * 2011-01-31 2011-07-27 上海美慧软件有限公司 Method for identifying trip mode based on mobile phone signal data
CN103414825A (en) * 2013-08-15 2013-11-27 惠州Tcl移动通信有限公司 Contextual model switching method based on sensor group and mobile terminal thereof
CN104092972A (en) * 2014-07-15 2014-10-08 北京小鱼儿科技有限公司 Communication terminal and tool installed on mobile terminal
CN104994335A (en) * 2015-06-11 2015-10-21 广东欧珀移动通信有限公司 Alarm method and terminal

Also Published As

Publication number Publication date
CN105788166A (en) 2016-07-20

Similar Documents

Publication Publication Date Title
CN105788166B (en) A kind of monitoring alarm method and device
US11924512B2 (en) Personalized, event-driven, and location-based consumption of media content
US9351110B2 (en) Mobile notifications based upon location
CN104511150B (en) Portable equipment and heartbeat reach time measurement control method
US7577522B2 (en) Spatially associated personal reminder system and method
KR101028675B1 (en) Method and apparatus for setting the boundaries of virtual operations
US10243597B2 (en) Methods and apparatus for communicating with a receiving unit
CN109166141A (en) Dangerous based reminding method, device, storage medium and mobile terminal
CN106293445A (en) Application program uses the acquisition methods of data, device and terminal unit
US20130198271A1 (en) System, Method, and Implementation of providing Network-based Alarm Clock
US20160117910A1 (en) Method and system for generating geofences for managing offender movement
JP4741327B2 (en) PROGRAM, INFORMATION STORAGE MEDIUM, AND GAME DEVICE
CN104937520A (en) Method and apparatus for automatically adjusting the operation of notifications based on changes in physical activity level
US20140329212A1 (en) Systems and Methods For Managing The Toilet Training Process Of A Child
US20140329213A1 (en) Systems and Methods For Managing The Toilet Training Process Of A Child
JP2003518611A (en) Position alarm
CN106343955A (en) Terminal, method and device for determining wether pet is healthy
CN104769937A (en) Information processing device, information processing method, and recording medium
CN109287511B (en) Method and device for training pet control equipment and wearable equipment for pet
CN107241506A (en) The method and device of a kind of alarm clock jingle bell of control intelligent terminal
US20160335870A1 (en) Dual mode baby monitoring
CN106528824A (en) Early warning analysis method and device for user height data
CN107682665A (en) A kind of monitoring method and mobile terminal
CN109343778A (en) Display method and device and electronic equipment
US8862533B2 (en) Method and apparatus for portable electronic device media data storage

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant