[go: up one dir, main page]

CN109308778B - Mobile detection alarm method, device, acquisition equipment and storage medium - Google Patents

Mobile detection alarm method, device, acquisition equipment and storage medium Download PDF

Info

Publication number
CN109308778B
CN109308778B CN201811056620.1A CN201811056620A CN109308778B CN 109308778 B CN109308778 B CN 109308778B CN 201811056620 A CN201811056620 A CN 201811056620A CN 109308778 B CN109308778 B CN 109308778B
Authority
CN
China
Prior art keywords
alarm
video
threshold range
interval
current
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
CN201811056620.1A
Other languages
Chinese (zh)
Other versions
CN109308778A (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.)
Zmodo Technology Shenzhen Corp ltd
Original Assignee
Zmodo Technology Shenzhen Corp 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 Zmodo Technology Shenzhen Corp ltd filed Critical Zmodo Technology Shenzhen Corp ltd
Priority to CN201811056620.1A priority Critical patent/CN109308778B/en
Publication of CN109308778A publication Critical patent/CN109308778A/en
Application granted granted Critical
Publication of CN109308778B publication Critical patent/CN109308778B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B13/00Burglar, theft or intruder alarms
    • G08B13/18Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength
    • G08B13/189Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems
    • G08B13/194Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems
    • G08B13/196Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems using television cameras
    • G08B13/19602Image analysis to detect motion of the intruder, e.g. by frame subtraction
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B13/00Burglar, theft or intruder alarms
    • G08B13/18Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength
    • G08B13/189Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems
    • G08B13/194Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems
    • G08B13/196Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems using television cameras
    • G08B13/19654Details concerning communication with a camera
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B13/00Burglar, theft or intruder alarms
    • G08B13/18Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength
    • G08B13/189Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems
    • G08B13/194Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems
    • G08B13/196Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems using television cameras
    • G08B13/19665Details related to the storage of video surveillance data

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • Alarm Systems (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention relates to a mobile detection alarm method, a mobile detection alarm device, acquisition equipment and a storage medium. The method comprises the following steps: acquiring the movement attribute information of the current picture; wherein the movement attribute information is used for reflecting the movement degree of the object in the current picture; matching the mobile attribute information with a preset threshold range set to obtain a matching result; the threshold range set comprises a main alarm threshold range subset and a secondary alarm threshold range subset, and each threshold range subset comprises a movement degree threshold of a user attention object and a corresponding alarm interval; the primary alarm interval in the primary alarm threshold range subset is greater than the secondary alarm interval in the secondary alarm threshold range subset; and determining the recording information and the sending time of the current warning video according to the matching result, the type of the last warning video and the recording starting time of the last warning video. The method improves the pushing effect of the alarm video, and enables human-computer interaction to be more intelligent.

Description

Mobile detection alarm method, device, acquisition equipment and storage medium
Technical Field
The invention relates to the field of security and protection, in particular to a mobile detection alarm method, a mobile detection alarm device, acquisition equipment and a storage medium.
Background
With the development of the video monitoring industry, real-time environmental monitoring becomes a part of people's daily life. The mobile phone or the computer realizes the monitoring and the checking of remote real-time dynamic pictures, and provides a convenient and timely monitoring solution for enterprises and families. However, since the user cannot view the real-time video of the network camera for a long time to monitor the environment around the camera, most of the network cameras currently provide a mobile detection alarm to cooperate with the platform to provide mobile detection service for the user, and the client is liberated in a manner of pushing by using a mobile phone Application (APP), so that the client can view the environment around the camera and the mobile situation of the camera for a certain period of time passively or as needed. The traditional mobile detection alarm sends alarm information such as pictures or videos to a platform server after movement is monitored, and then the alarm information is pushed to a mobile phone APP by the server.
However, in the mobile detection alarm mode in the conventional technology, the situation that the client frequently pushes redundant information often occurs, and if the push interval is increased, the situation that an important scene is not pushed to the client is easily caused, so that the effect of pushing the mobile alarm information is poor, and the human-computer interaction is not intelligent enough.
Disclosure of Invention
In view of the foregoing, there is a need to provide a mobile detection alarm method, apparatus, collection device and storage medium that can ensure sufficient alarm video information without generating excessive push.
A mobile detection alarm method includes:
acquiring the movement attribute information of the current picture; wherein the movement attribute information is used for reflecting the movement degree of the object in the current picture;
matching the mobile attribute information with a preset threshold range set to obtain a matching result; the threshold range set comprises a main alarm threshold range subset and a secondary alarm threshold range subset, and each threshold range subset comprises a movement degree threshold of a user attention object and a corresponding alarm interval; the primary alarm interval in the primary alarm threshold range subset is greater than the secondary alarm interval in the secondary alarm threshold range subset;
and determining the recording information and the sending time of the current warning video according to the matching result, the type of the last warning video and the recording starting time of the last warning video.
In one embodiment, the matching the movement attribute information with a preset threshold range set to obtain a matching result includes:
if the movement attribute information is matched with the main alarm threshold range subset, determining that the current picture is a main alarm picture;
if the mobile attribute information is not matched with the primary alarm threshold range subset, judging whether the mobile attribute information is matched with the secondary alarm threshold range subset;
and if the movement attribute information is matched with the secondary alarm threshold range subset, determining that the current picture is a secondary alarm picture.
In one embodiment, if the motion attribute information matches the secondary alarm threshold range subset, determining that the current picture is a secondary alarm picture includes:
if the threshold range set comprises a plurality of secondary alarm threshold range subsets, determining that the current picture is the secondary alarm picture when the movement attribute information is matched with any one of the plurality of secondary alarm threshold range subsets.
In one embodiment, the determining the recording information and the sending time of the current warning video according to the matching result, the type of the last warning video, and the recording start time of the last warning video includes:
determining an adopted target alarm interval according to the type of the last alarm video;
judging whether the interval between the moment of the current picture and the recording starting moment of the last warning video is not less than the target warning interval or not to obtain a judgment result;
and determining the recording information and the sending time of the current warning video according to the matching result and the judgment result.
In one embodiment, the determining the adopted target alert interval according to the type of the last alert video includes:
if the last alarm video is a main alarm video, determining the target alarm interval as the main alarm interval;
and if the last alarm video is a secondary alarm video, determining the target alarm interval as the secondary alarm interval.
In one embodiment, the determining the recording information and the sending time of the current warning video according to the matching result and the determination result includes:
if the current picture is a main alarm picture and the interval between the moment of the current picture and the recording starting moment of the last alarm video is not less than the target alarm interval, recording the main alarm video from the moment of the current picture according to a first preset recording duration, and sending the main alarm video to client equipment through a server;
if the current picture is a secondary alarm picture and the interval between the moment of the current picture and the recording starting moment of the last alarm video is not less than the target alarm interval, recording the current alarm video from the moment of the current picture according to a second preset recording duration, and sending the current alarm video to the client equipment through the server.
In one embodiment, the recording the main warning video from the current picture according to a first preset recording duration includes:
determining the time length required for acquiring the mobile attribute information;
and synthesizing the recorded video corresponding to the time length in the cache and the video recorded from the moment of the current picture according to the first preset recording time length into the main alarm video.
In one embodiment, the recording the current warning video from the current picture according to a second preset recording duration includes:
determining the time length required for acquiring the mobile attribute information;
and synthesizing the recorded video corresponding to the time length in the cache and the video recorded from the moment of the current picture according to the second preset recording time length into the warning video of the time.
In one embodiment, if the current screen is a secondary alarm screen, before the sending to the client device via the server, the method further includes:
if the last alarm video is the main alarm video, judging whether the last alarm video is successfully sent to the client equipment;
if yes, carrying the secondary alarm video identification in the current alarm video;
if not, the main alarm video identification is carried in the current alarm video.
In one embodiment, the threshold of the degree of movement in the subset of threshold ranges comprises at least one of an aspect ratio of the object, an area ratio of the object, and a distance moved by the object.
In one embodiment, the subset of threshold ranges further comprises: maximum coderate limit, coderate switching period, coderate change step value, and change times; the method further comprises the following steps:
and if the current alarm video is the main alarm video, adjusting the code flow rate of the current main alarm video to the maximum code flow rate limit value, and gradually reducing the code flow rate of the current video according to the code flow rate switching period and the code flow rate change stepping value until the reduction times reach the change times.
In one embodiment, the method further comprises:
receiving a threshold range set sent by a server irregularly; wherein the set of threshold ranges is related to a mobile scene of irregular interest to the user.
In one embodiment, the method further comprises:
and if the object in the current picture is in a non-moving state, uploading the I frame data of the current picture to a cloud server.
A mobile detection alarm device includes:
the acquisition module is used for acquiring the movement attribute information of the current picture; wherein the movement attribute information is used for reflecting the movement degree of the object in the current picture;
the matching module is used for matching the mobile attribute information with a preset threshold range set to obtain a matching result; the threshold range set comprises a main alarm threshold range subset and a secondary alarm threshold range subset, and each threshold range subset comprises a movement degree threshold of a user attention object and a corresponding alarm interval; the primary alarm interval in the primary alarm threshold range subset is greater than the secondary alarm interval in the secondary alarm threshold range subset;
and the determining module is used for determining the recording information and the sending time of the current alarm video according to the matching result, the type of the last alarm video and the recording starting time of the last alarm video.
An acquisition device comprising a memory and a processor, the memory storing a computer program that when executed by the processor performs the steps of:
acquiring the movement attribute information of the current picture; wherein the movement attribute information is used for reflecting the movement degree of the object in the current picture;
matching the mobile attribute information with a preset threshold range set to obtain a matching result; the threshold range set comprises a main alarm threshold range subset and a secondary alarm threshold range subset, and each threshold range subset comprises a movement degree threshold of a user attention object and a corresponding alarm interval; the primary alarm interval in the primary alarm threshold range subset is greater than the secondary alarm interval in the secondary alarm threshold range subset;
and determining the recording information and the sending time of the current warning video according to the matching result, the type of the last warning video and the recording starting time of the last warning video.
A computer storage medium having a computer program stored thereon, the computer program when executed by a processor implementing the steps of:
acquiring the movement attribute information of the current picture; wherein the movement attribute information is used for reflecting the movement degree of the object in the current picture;
matching the mobile attribute information with a preset threshold range set to obtain a matching result; the threshold range set comprises a main alarm threshold range subset and a secondary alarm threshold range subset, and each threshold range subset comprises a movement degree threshold of a user attention object and a corresponding alarm interval; the primary alarm interval in the primary alarm threshold range subset is greater than the secondary alarm interval in the secondary alarm threshold range subset;
and determining the recording information and the sending time of the current warning video according to the matching result, the type of the last warning video and the recording starting time of the last warning video.
According to the mobile detection alarm method, the mobile detection alarm device, the acquisition equipment and the storage medium, different matching results are obtained by matching the mobile attribute information of the current picture with the preset threshold range set, and the recording information and the sending time of the alarm video are determined according to the different matching results, the type of the last alarm video and the recording starting time of the last alarm video. Because the main alarm interval in the sub-set of the main alarm threshold range is larger than the sub-alarm interval in the sub-set of the sub-alarm threshold range, the main alarm interval can be adopted to push the main alarm video to the server under one condition and the sub-alarm interval can be adopted to push the sub-alarm video to the server under the other condition according to different matching results. That is to say, can adopt different warning intervals according to the condition of difference, to the corresponding video of reporting an emergency and asking for help or increased vigilance of server propelling movement to the problem of the frequent video of customer end propelling movement that the interval of reporting an emergency and asking for help or increased vigilance setting time leads to has been avoided greatly, and in addition, has also avoided the interval of reporting an emergency and asking for help or increased vigilance setting time to set up the condition of missing important scene too long and taking place, consequently, has improved the propelling movement effect of the video of reporting an emergency and asking for help or increased vig.
Drawings
FIG. 1 is a diagram of a video surveillance system architecture in one embodiment;
FIG. 2 is a flow diagram illustrating a mobile detection alarm method according to one embodiment;
FIG. 3 is a flow diagram illustrating a mobile detection alarm method according to one embodiment;
FIG. 4 is a flow diagram illustrating a mobile detection alarm method according to one embodiment;
FIG. 5 is a flow diagram illustrating an embodiment of a motion detection alarm apparatus;
FIG. 6 is a flow diagram illustrating an embodiment of a motion detection alarm apparatus;
FIG. 7 is a flow diagram illustrating an embodiment of a motion detection alarm apparatus;
FIG. 8 is a schematic diagram of an embodiment of a mobile detection alarm device;
FIG. 9 is a schematic diagram of an embodiment of a mobile detection alarm device;
FIG. 10 is a schematic diagram of an embodiment of a mobile detection alarm device;
fig. 11 is a schematic diagram of the internal structure of the acquisition apparatus in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The mobile detection alarm method provided by the embodiment of the invention can be applied to the video monitoring system shown in fig. 1. As shown in fig. 1, the video surveillance system includes: collection equipment, server and customer end equipment. Optionally, a cloud server may be further included. During specific work, the acquisition device 101 may send information such as messages, pictures, audio, and video to the server 102, and push the information to the client device 103 via the server 102; optionally, the collection device 101 may further send information such as messages, pictures, audio, and video to the cloud server 104.
It should be noted that the acquisition device according to this embodiment refers to a device for providing information such as pictures, audio, and video, and may be a video camera, a video recorder, a monitor, a closed circuit television, a cloud mirror, and the like, which is not limited in this embodiment. Optionally, the acquisition device may also be an intelligent analysis device, a video server, or the like, which is not limited in this embodiment. Optionally, the client device may be a device such as a mobile phone and a computer, which is not limited in this embodiment.
The mobile detection warning method, the mobile detection warning device, the mobile detection collecting device and the storage medium provided by the embodiment aim to solve the problem that in the prior art, in order to avoid frequently pushing redundant information to client equipment, important scenes are not pushed to the client equipment by increasing a pushing interval, so that the pushing effect of mobile warning information is poor, and man-machine interaction is not intelligent enough. How this problem is solved is specifically described below by way of specific examples.
It should be noted that the execution subject of the following method embodiments may be a mobile detection alarm device, and the device may be implemented by software, hardware, or a combination of software and hardware to become part or all of the above-mentioned acquisition device. The following method embodiments are described taking as an example that the execution subject is an acquisition device.
Fig. 2 is a flowchart illustrating a mobile detection alarm method according to an embodiment. The embodiment relates to a specific process that the acquisition equipment determines the recording information and the sending time of the alarm video according to a matching result, the type of the last alarm video and the recording starting time of the last alarm video by matching the moving attribute information of the current picture with a preset threshold range set. Taking the application of the method to the video monitoring system in fig. 1 as an example, as shown in fig. 2, the method includes the following steps:
s101, obtaining the movement attribute information of the current picture; wherein the movement attribute information is used for reflecting the movement degree of the object in the current picture.
It should be noted that, in this embodiment, the type of the movement attribute information is not limited, and all factors that can reflect the movement degree of the object in the current screen may be used as the movement attribute information in this embodiment. Optionally, the movement attribute information includes at least one of an aspect ratio of the object in the current screen, an area ratio of the object, a movement distance of the object, and a movement speed of the object.
Optionally, the acquisition device may acquire the movement attribute information of the current picture, and the acquisition device may acquire the movement attribute information of the current picture through a movement detection algorithm in the acquisition device.
S102, matching the mobile attribute information with a preset threshold range set to obtain a matching result; the threshold range set comprises a main alarm threshold range subset and a secondary alarm threshold range subset, and each threshold range subset comprises a movement degree threshold of a user attention object and a corresponding alarm interval; the primary alarm interval in the subset of the primary alarm threshold range is greater than the secondary alarm interval in the subset of the secondary alarm threshold range.
Optionally, as mentioned above, the threshold range set includes a primary alarm threshold range subset and a secondary alarm threshold range subset, and optionally, the number of the primary alarm threshold range subsets may be one or multiple; optionally, the number of the secondary alarm threshold range subsets may be one or multiple. The number of the primary alarm threshold range subsets and the number of the secondary alarm threshold range subsets are not limited in this embodiment.
It should be noted that, in this embodiment, the type of the movement degree threshold of the user attention object in the threshold range subset is not limited, and all thresholds that can reflect the factor of the movement degree of the object in the current picture may be used as the movement degree threshold in the threshold range subset related in this embodiment of the present application. Optionally, the threshold of the moving degree in the threshold range subset includes at least one of an aspect ratio threshold of an object in a previous frame, an area ratio threshold of the object, a moving distance threshold of the object, and a moving speed threshold of the object, which is not limited in this embodiment.
It should be noted that, in this embodiment, the magnitude of the alarm interval in the threshold range subset is not limited, as long as the primary alarm interval in the primary alarm threshold range subset is greater than the secondary alarm interval in the secondary alarm threshold range subset.
Specifically, after the acquisition device obtains the movement attribute information of the current picture, the acquisition device may match the movement attribute information with a preset threshold range set, so as to obtain a matching result. Optionally, the collecting device may match all information of the movement attribute information with a preset threshold range set to obtain a corresponding matching result. Optionally, the acquisition device may also match only part of the information of the movement attribute information with part of the factors in the preset threshold range set to obtain a corresponding matching result. Optionally, the collecting device may match the mobile attribute information with all the primary alarm threshold range subsets in the preset threshold range set, and then match the mobile attribute information with all the secondary alarm threshold range subsets in the preset threshold range set, so as to obtain a matching result. Optionally, the collecting device may match the mobile attribute information with all secondary alarm threshold range subsets in the preset threshold range set, and then match the mobile attribute information with all primary alarm threshold range subsets in the preset threshold range set, so as to obtain a matching result.
The embodiment does not limit the specific implementation manner of how the acquisition device matches the movement attribute information with the preset threshold range set to obtain the matching result.
S103, determining the recording information and the sending time of the current warning video according to the matching result, the type of the last warning video and the recording starting time of the last warning video.
Specifically, based on the matching result, the acquisition device may obtain the attribute of the current picture, for example, may obtain whether the current picture is a primary alarm picture or a secondary alarm picture. Optionally, when the current picture is the main alarm picture, the collecting device may determine the recording information and the sending time of the current alarm video according to the type of the last alarm video and the recording start time of the last alarm video, for example, if the last alarm video is the main alarm video, the time interval between the main alarm video sent to the server next time and the last main alarm should meet the main alarm interval. Therefore, when the current picture is the main alarm picture, whether the current time meets the main alarm interval from the recording start time of the last alarm video or not needs to be judged, if so, the acquisition equipment determines that the start recording time of the current alarm video is the time of the current picture, the acquisition equipment can start to acquire the main alarm video from the current time, and after the main alarm video with a certain time length is acquired, the main alarm video can be sent to the client equipment through the server.
Optionally, when the current picture is the secondary alarm picture, the collecting device may determine the recording information and the sending time of the current alarm video according to the type of the last alarm video and the recording start time of the last alarm video, for example, if the last alarm video is the secondary alarm video, the time interval between the secondary alarm video sent next to the server and the last secondary alarm video should satisfy the secondary alarm interval. Therefore, when the current picture is the secondary alarm picture, whether the current time meets the secondary alarm interval from the recording start time of the last alarm video or not needs to be judged, if so, the acquisition equipment determines that the recording start time of the current alarm video is the time of the current picture, the acquisition equipment can start to acquire the secondary alarm video from the current time, and after the secondary alarm video with a certain time length is acquired, the secondary alarm video can be sent to the client equipment through the server.
As can be seen from the above description, the present embodiment determines the type of the captured current frame, and based on the type of the current frame and the settings of the main alert interval and the secondary alert interval, the capture device can use the main alert interval to push the main alert video to the server in one case, and can also use the secondary alert interval to push the secondary alert video to the server in another case, that is, the capture device can use different alert intervals according to different situations to push the corresponding alert video to the server, thereby greatly avoiding the problem of frequently pushing the video to the client due to too short set time of the alert interval, and further avoiding the occurrence of missing an important scene due to too long set time of the alert interval, so that the present embodiment greatly improves the pushing effect of the alert video, and makes the human-computer interaction more intelligent, the experience effect of the user is improved.
According to the mobile detection alarm method provided by the embodiment of the invention, the acquisition equipment matches the mobile attribute information of the current picture with the preset threshold range set to obtain different matching results, and further determines the recording information and the sending time of the current alarm video according to the different matching results, the type of the last alarm video and the recording starting time of the last alarm video. Because the main alarm interval in the sub-set of the main alarm threshold range is larger than the secondary alarm interval in the sub-set of the secondary alarm threshold range in the embodiment of the invention, the acquisition equipment can push the main alarm video to the server by adopting the main alarm interval in one case and can also push the secondary alarm video to the server by adopting the secondary alarm interval in the other case according to different matching results. That is to say, the acquisition equipment can adopt different warning intervals according to the circumstances of difference, to the corresponding video of reporting an emergency and asking for help or increased vigilance of server propelling movement to the frequent video problem of customer end propelling movement that leads to of interval setting time of reporting an emergency and asking for help or increased vigilance greatly, in addition, has also avoided the interval setting of reporting an emergency and asking for help or increased vigilance the condition of missing important scene too long to take place, consequently, this embodiment has improved the propelling movement effect of the video of reporting an emergency and asking for help or increased vigilance greatly, and make human-.
Fig. 3 is a flowchart illustrating a motion detection alarm method according to an embodiment. The embodiment relates to an optional process of matching the acquisition device with a preset threshold range set according to the movement attribute information of the current picture to obtain a matching result. On the basis of the above embodiment, as shown in fig. 3, the above S102 may include the following steps:
s201: and if the movement attribute information is matched with the main alarm threshold range subset, determining that the current picture is a main alarm picture.
Specifically, the acquisition device matches the acquired movement attribute information of the current picture with a main alarm threshold range subset in a preset threshold range set, and optionally, when all information of the movement attribute information conforms to the main alarm threshold range subset, the movement attribute information is considered to be matched with the main alarm threshold range subset, and the current picture is determined to be the main alarm picture. Optionally, when part of the information of the mobile attribute information conforms to the subset of the main alarm threshold range, the mobile attribute information is considered to be matched with the subset of the main alarm threshold range, and the current picture is determined to be the main alarm picture. Optionally, when all the information of the mobility attribute information does not conform to the primary alarm threshold range subset, the mobility attribute information is considered to be not matched with the primary alarm threshold range subset. Optionally, when part of the information of the mobile attribute information does not conform to the subset of the primary alarm threshold range, the mobile attribute information is considered not to match the subset of the primary alarm threshold range. The embodiment is not limited to the specific matching method.
S202: and if the mobile attribute information is not matched with the primary alarm threshold range subset, judging whether the mobile attribute information is matched with the secondary alarm threshold range subset.
Specifically, when the mobile attribute information is not matched with the primary alarm threshold range subset, it is further determined whether the mobile attribute information is matched with a secondary alarm threshold range subset in the preset threshold range set.
Optionally, when all the information of the mobility attribute information conforms to the secondary alarm threshold range subset, the mobility attribute information is considered to be matched with the secondary alarm threshold range subset. Optionally, when part of the information of the mobility attribute information conforms to the secondary alarm threshold range subset, the mobility attribute information is considered to be matched with the secondary alarm threshold range subset. Optionally, when all the information of the mobility attribute information does not conform to the secondary alarm threshold range subset, the mobility attribute information is considered to be not matched with the secondary alarm threshold range subset. Optionally, when part of the information of the mobility attribute information does not conform to the secondary alarm threshold range subset, the mobility attribute information is considered to be not matched with the secondary alarm threshold range subset. The embodiment is not limited to the specific matching method.
S203: and if the movement attribute information is matched with the secondary alarm threshold range subset, determining that the current picture is a secondary alarm picture.
Optionally, if the threshold range set includes multiple secondary alarm threshold range subsets, when the motion attribute information matches any one of the multiple secondary alarm threshold range subsets, it is determined that the current picture is a secondary alarm picture.
In the movement detection alarm method provided by the embodiment of the invention, when the movement attribute information of the current picture is matched with the subset of the main alarm threshold range, the acquisition equipment determines that the current picture is the main alarm picture; when the mobile attribute information is not matched with the primary alarm threshold range subset, the acquisition equipment further judges whether the mobile attribute information is matched with the secondary alarm threshold range subset; and if so, determining that the current picture is the secondary alarm picture. Therefore, when the current picture is determined to be the main alarm picture or the secondary alarm picture, the method is a process of judging layer by layer, the accuracy of determining the type of the current picture is greatly improved, and the obtained matching result is more accurate. And then based on the accurate matching result, the process that the acquisition equipment determines the video to be pushed to the server at which alarm interval is more accurate, and the accuracy of video pushing is improved. In addition, the acquisition equipment can adopt different alarm intervals according to different conditions to push corresponding alarm videos to the server, so that the problem that the videos are frequently pushed to the client side due to the fact that the alarm interval setting time is too short is greatly avoided, and the situation that important scenes are missed due to too long alarm intervals is also avoided.
Fig. 4 is a flowchart illustrating a motion detection alarm method according to an embodiment. The embodiment relates to an optional process of determining the recording information and the sending time of the warning video according to the matching result of the movement attribute information of the current picture and a preset threshold range set, the type of the last warning video and the recording starting time of the last warning video by the acquisition equipment. On the basis of the above embodiment, as shown in fig. 4, the above S103 may include the following steps:
s301: and determining the adopted target alarm interval according to the type of the last alarm video.
Optionally, the type of the last warning video may be a primary warning video or a secondary warning video.
Optionally, if the last alarm video is the main alarm video, determining that the target alarm interval is the main alarm interval; and if the last alarm video is the secondary alarm video, determining the target alarm interval as the secondary alarm interval.
Optionally, the acquisition device may determine the type of the last warning video according to a status flag bit returned by the last warning video sent. Optionally, if the status flag bit is 2, it is determined that the last warning video is the primary warning video, and if the status flag bit is 1, it is determined that the last warning video is the secondary warning video. The embodiment does not limit the concrete way of how the acquisition device judges the type of the last warning video, and also does not limit the numerical value of the status flag bit.
Optionally, the primary alarm interval may be 20 minutes, and the secondary alarm interval may be 3 minutes, which is not limited in this embodiment.
S302: and judging whether the interval between the moment of the current picture and the recording starting moment of the last warning video is not less than the target warning interval or not to obtain a judgment result.
Specifically, the acquisition equipment calculates the interval between the moment of the current picture and the recording starting moment of the last alarm video, and when the interval is smaller than the target alarm interval, the alarm video does not need to be recorded; and when the interval is not less than the target alarm interval, recording the alarm video.
S303: and determining the recording information and the sending time of the current warning video according to the matching result and the judgment result.
Specifically, for different matching results and different judgment results, the recording information and the sending time of the alarm video determined by the acquisition equipment are different, and in one case, the acquisition equipment can push the alarm video at a main alarm interval and can record the main alarm video by adopting the recording time length a 1; in another case, the acquisition device may also use the secondary alarm interval to perform pushing, and may also use the duration a2 to record the secondary alarm video. No matter how the matching result is specifically combined with the judgment result, the acquisition equipment corresponds to a corresponding processing mode. An alternative implementation can be seen in the following description:
optionally, if the current picture is a main alarm picture and the interval between the time of the current picture and the recording start time of the last alarm video is not less than the target alarm interval, the main alarm video is recorded from the time of the current picture according to a first preset recording duration and sent to the client device through the server.
Optionally, the recording the main alarm video from the moment of the current picture according to a first preset recording duration includes: determining the time length required for acquiring the movement attribute information of the current picture; and synthesizing the recorded video corresponding to the time length in the cache and the video recorded from the moment of the current picture according to the first preset recording time length into the main alarm video. Because a certain time is needed for obtaining the movement attribute information of the current picture, and the movement scene may be continued all the time in the time, in the embodiment, the video in the time and the video recorded from the moment of the current picture are synthesized into the current main alarm video, so that the current main alarm video can include the whole alarm activity process as much as possible, the integrity of the alarm video is improved, and the alarm video is more accurate.
Optionally, if the current picture is a secondary alarm picture and the interval between the time of the current picture and the recording start time of the last alarm video is not less than the target alarm interval, the current alarm video is recorded from the time of the current picture according to a second preset recording duration and sent to the client device through the server.
Optionally, the recording the current warning video from the moment of the current picture according to the second preset recording duration includes: determining the time length required for acquiring the movement attribute information of the current picture; and synthesizing the recorded video corresponding to the time length in the cache and the video recorded from the moment of the current picture according to a second preset recording time length into the warning video of the time. Because a certain time is needed for obtaining the movement attribute information of the current picture, and the movement scene may be continued all the time in the time, in the embodiment, the video in the time and the video recorded from the moment of the current picture are synthesized into the current warning video, so that the whole warning activity process can be included in the current warning video as much as possible, the integrity of the warning video is improved, and the warning video is more accurate. Optionally, the first preset recording time may be 10 seconds, and the second preset recording time may be 5 seconds; optionally, the first preset recording time may be 15 seconds, the second preset recording time may be 10 seconds, and the specific values of the first preset recording time and the second preset recording time are not limited in this embodiment.
Optionally, if the current screen is the secondary alarm screen, before sending the secondary alarm screen to the client device via the server, the method further includes: if the last alarm video is the main alarm video, judging whether the last alarm video is successfully sent to the client equipment; if yes, carrying the secondary alarm video identification in the current alarm video; if not, the main alarm video identification is carried in the current alarm video. Optionally, if it is not known whether the last warning video is successfully sent to the client device, the warning video of this time is discarded. Optionally, a sending state returned according to the last warning video may be obtained, and then whether the last warning video is sent successfully is determined according to the sending state, and if the sending state value is 1, the sending is successful; if the transmission status value is 0, it indicates that transmission has failed. The embodiment does not limit the specific manner how the acquisition device determines whether the last warning video is successfully sent. In this embodiment, before sending the current-time warning video, it is determined whether the last-time main warning video was successfully sent to the client device, and when the last-time main warning video was successfully sent to the client device, the current-time warning video is identified as the secondary warning video; and under the condition that the network environment is poor, the last main alarm video is failed to be sent, so that the client equipment cannot receive the main alarm video for a long time, the user experience effect is poor, the current alarm video identification is changed into the main alarm video identification, the situation that the client equipment cannot receive the main alarm video for a long time under the poor network environment is avoided, and the user experience effect is improved.
In the mobile detection alarm method provided by the embodiment of the invention, on one hand, the acquisition equipment determines the adopted target alarm interval according to the type of the last alarm video, and on one hand, when the last alarm video is the main alarm video, the target alarm interval is determined to be the main alarm interval; under the other condition, when the last alarm video is the secondary alarm video, determining the target alarm interval as the secondary alarm interval; the acquisition equipment further judges whether the interval between the moment of the current picture and the recording starting moment of the last warning video is not less than the target warning interval according to the different target warning intervals to obtain a judgment result; the acquisition equipment further determines the recording information and the sending time of the warning video according to the matching result and the judgment result. Therefore, the acquisition equipment can adopt different alarm intervals according to different conditions to push corresponding alarm videos to the server, so that the problem that the videos are frequently pushed to a client side due to the fact that the alarm interval setting time is too short is greatly avoided, in addition, the situation that important scenes are missed due to too long alarm intervals is also avoided, the pushing effect of the alarm videos is greatly improved, man-machine interaction is more intelligent, and the experience effect of a user is improved. On the other hand, when the current picture is a main alarm picture and the interval between the moment of the current picture and the recording starting moment of the last alarm video is not less than the target alarm interval, the main alarm video is recorded from the moment of the current picture according to a first preset recording duration and is sent to the client equipment through the server; when the current picture is the secondary alarm picture and the interval between the moment of the current picture and the recording starting moment of the last alarm video is not smaller than the target alarm interval, the current alarm video is recorded from the moment of the current picture according to a second preset recording duration and is sent to the client equipment through the server. Therefore, under different conditions, the acquisition equipment adopts different recording durations when recording the warning video, the problem that the recording duration of the warning video is too short or too long is avoided, the problem that warning information is not comprehensive enough or redundant information is too much is avoided, the pushing effect of the warning information is improved, man-machine interaction is more intelligent, and the experience effect of a user is improved. On the other hand, when the current picture is the main alarm picture, the acquisition equipment combines the recorded video corresponding to the time length in the cache and the video recorded from the moment of the current picture according to the first preset recording time length into the main alarm video of the time by determining the time length required for acquiring the movement attribute information; when the current picture is the secondary alarm picture, the acquisition equipment determines the time length required for acquiring the movement attribute information, and then combines the recorded video corresponding to the time length in the cache and the video recorded from the moment of the current picture according to the second preset recording time length into the current alarm video. It can be seen that, because it takes a certain time to obtain the movement attribute information of the current picture, the movement scene may be continued all the time in this time, the acquisition device synthesizes the video in this time and the video recorded from the moment of the current picture into the present warning video, so that the present warning video can include the whole warning activity process as much as possible, the integrity of the warning video is improved, the warning video is more accurate, based on the more accurate warning video, the pushing effect of the warning video is further improved, the man-machine interaction is more intelligent, and the experience effect of the user is improved. On the other hand, when the current picture is the secondary alarm picture and the last alarm video is the main alarm video, the acquisition equipment firstly judges whether the last alarm video is successfully sent to the client equipment; if yes, carrying the secondary alarm video identification in the current alarm video; if not, the main alarm video identification is carried in the current alarm video. It can be seen that, when the acquisition device sends the current warning video, the acquisition device performs different processing on the identifier of the current warning video by combining the sending condition of the last warning video. When the poor network environment causes the sending failure of the primary alarm video at the last time, the client equipment cannot receive the primary alarm video for a long time, the user experience effect is poor, at the moment, the acquisition equipment changes the primary alarm video identification into the primary alarm video identification, so that the user can receive the primary alarm video, the situation that the client equipment cannot receive the primary alarm video for a long time under the poor network environment is avoided, the man-machine interaction is more intelligent, and the experience effect of the user is improved. In the process of determining the recording information and the sending time of the current warning video, the collecting device needs to combine different warning types of the current picture, different types of the last warning video, the recording starting time of the last warning video, and the sending state of the last warning video, so as to determine whether to record the current warning video, the recording duration of the current warning video, whether to send the current warning video, what kind of warning identifier should be carried when sending the current warning video, and the like. The process is a process combining current alarm video information and historical alarm video information and is also a process of step refining and advancing, so that a user client can receive sufficient alarm video, frequent pushing of redundant information is avoided, the pushing effect of the alarm video is improved, the intelligence of man-machine interaction is improved, and the user experience effect is improved.
Considering the network environment, the acquisition device hopes that the smaller the code flow rate generated by the video coding, the better, but the better the reduced code flow will cause the video quality to be degraded, so we introduce the method as shown in the following embodiment to improve the quality of the corresponding alarm video and reduce the pressure of the transmission bandwidth.
In one embodiment, the subset of threshold ranges further comprises: a maximum coderate limit, a coderate switching period, a coderate change step value, and a number of changes. Therefore, on the basis of the above embodiment, the method further includes:
and if the current alarm video is the main alarm video, adjusting the code flow rate of the current main alarm video to the maximum code flow rate limit value, and gradually reducing the code flow rate of the current video according to the code flow rate switching period and the code flow rate change stepping value until the reduction times reach the change times.
Optionally, the maximum bitrate limit, the bitrate switching period, the bitrate change step value, the number of times of change, and other factors may be fixed values, optionally, the maximum bitrate limit may be 1.8Mbps, the bitrate switching period may be 30 seconds, the bitrate change step value may be 0.3Mbps, and the number of times of change may be 3. The present embodiment does not limit the specific values of the maximum bitrate limit, the bitrate switching period, the step value of the bitrate change, and the number of changes.
Alternatively, the maximum bitrate limit, the bitrate switching period, and the bitrate change step value may be dynamically changed according to the number of changes, and the current number of reductions. This embodiment is not limited to this.
In the mobile detection alarm method provided by the embodiment of the invention, when the acquisition equipment sends the alarm video, the code flow rate is adjusted according to the alarm type, and when the alarm type is the main alarm, the code flow rate is increased to the maximum code flow rate limit value, so that the transmission quality of the main alarm video concerned by a user is ensured, and then the transmission quality is gradually reduced along with the time, thereby reducing the transmission pressure of the bandwidth and further improving the utilization rate of the bandwidth.
In order to make the warning video more fit with the object concerned by the user, the acquisition device further provides a method for receiving a threshold range set issued by the server at irregular intervals in the following embodiment.
In one embodiment. The acquisition equipment receives a threshold range set which is sent by the server in an irregular mode. On the basis of the above embodiment, the method further includes:
receiving a threshold range set sent by a server irregularly; wherein the set of threshold ranges is related to a mobile scene of irregular interest to the user.
Specifically, since the mobile scene that the user pays attention to irregularly changes, the server changes the threshold range set irregularly according to different needs of the user, sends the threshold range set to the acquisition device irregularly, and after the acquisition device receives the threshold range set sent by the server, the preset threshold range set is changed into a new threshold range set sent by the server, and the mobile attribute information of the current picture is matched with the new threshold range set sent by the server. Therefore, the alarm information sent to the client equipment better conforms to the content concerned by the user, and the effectiveness of the alarm information sent to the user client and the intelligence of man-machine interaction are greatly improved.
For the warning video, the video information provided by the cloud storage is more comprehensive, and the acquisition equipment can send the video information to the cloud server. According to the influence of bandwidth, and in combination with the h264 coding characteristic of one of the video coding and decoding technical standards, the acquisition device provides a method for selectively dropping frames as shown in the following embodiments.
In one embodiment, the acquisition device uploads I frame data of a current frame to a cloud server if an object in the current frame is in a non-moving state. On the basis of the above embodiment, the method further includes:
and if the object in the current picture is in a non-moving state, uploading the I frame data of the current picture to a cloud server.
Specifically, when an object in the current picture is in a moving state, the acquisition equipment uploads all the full-frame data of the current picture to the cloud server; and when the object in the current picture is in a non-moving state, the acquisition equipment uploads the I frame data of the current picture to the cloud server. By the selective frame loss mode, the video sufficiency of the mobile scene concerned by the user is ensured, the transmission pressure is effectively reduced, and the bandwidth utilization rate is improved.
It should be understood that although the various steps in the flow diagrams of fig. 2-4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-4 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
Fig. 5 is a schematic structural diagram of a motion detection alarm apparatus according to an embodiment, as shown in fig. 5, the apparatus includes: the device comprises an acquisition module 11, a matching module 12 and a determination module 13.
Specifically, the obtaining module 11 is configured to obtain movement attribute information of a current picture; wherein the movement attribute information is used for reflecting the movement degree of the object in the current picture;
the matching module 12 is configured to match the movement attribute information with a preset threshold range set to obtain a matching result; the threshold range set comprises a main alarm threshold range subset and a secondary alarm threshold range subset, and each threshold range subset comprises a movement degree threshold of a user attention object and a corresponding alarm interval; the primary alarm interval in the primary alarm threshold range subset is greater than the secondary alarm interval in the secondary alarm threshold range subset;
and the determining module 13 is configured to determine the recording information and the sending time of the current warning video according to the matching result, the type of the last warning video, and the recording starting time of the last warning video.
Optionally, the threshold of the moving degree in the threshold range subset in this embodiment includes at least one of an aspect ratio of the object, an area ratio of the object, a moving distance of the object, and a moving speed of the object.
The mobile detection alarm apparatus provided in this embodiment may implement the above method embodiments, and the implementation principle and technical effect are similar, which are not described herein again.
Fig. 6 is a schematic structural diagram of a motion detection alarm device according to an embodiment, where based on the embodiment, as shown in fig. 6, the matching module 12 includes: a first matching unit 121, a second matching unit 122, and a third matching unit 123.
Specifically, the first matching unit 121 is configured to determine that the current picture is a main alarm picture when the movement attribute information matches the main alarm threshold range subset;
a second matching unit 122, configured to, when the mobile attribute information is not matched with the primary alarm threshold range subset, determine whether the mobile attribute information is matched with the secondary alarm threshold range subset;
a third matching unit 123, configured to determine that the current picture is a secondary alarm picture when the movement attribute information matches the secondary alarm threshold range subset.
In an embodiment, the third matching unit 123 is specifically configured to, if the threshold range set includes multiple secondary alarm threshold range subsets, determine that the current picture is the secondary alarm picture when the motion attribute information matches any one of the multiple secondary alarm threshold range subsets.
The mobile detection alarm device provided in this embodiment may implement the above method embodiments, and the implementation principle and technical effect are similar, which are not described herein again.
Fig. 7 is a schematic structural diagram of a motion detection alarm device according to an embodiment, where based on the embodiment, as shown in fig. 7, the determining module 13 includes: a first determination unit 131, a first judgment unit 132, and a second determination unit 133.
Specifically, the first determining unit 131 is configured to determine an adopted target alert interval according to the type of the last alert video;
a first judging unit 132, configured to judge whether an interval between the current picture time and the recording start time of the last warning video is not less than the target warning interval, so as to obtain a judgment result;
and a second determining unit 133, configured to determine recording information and sending time of the current warning video according to the matching result and the determination result.
In an embodiment, the first determining unit 131 is specifically configured to determine that the target alert interval is the main alert interval when the last alert video is the main alert video; and when the last alarm video is the secondary alarm video, determining the target alarm interval as the secondary alarm interval.
In an embodiment, the second determining unit 133 is specifically configured to, when the current picture is a main alarm picture and an interval between a time of the current picture and a recording start time of the last alarm video is not less than the target alarm interval, record the main alarm video of this time from the time of the current picture according to a first preset recording duration, and send the main alarm video to the client device through the server; and when the current picture is a secondary alarm picture and the interval between the moment of the current picture and the recording starting moment of the last alarm video is not less than the target alarm interval, recording the current alarm video from the moment of the current picture according to a second preset recording duration, and sending the current alarm video to the client equipment through the server.
Optionally, in this embodiment, the second determining unit 133 is specifically configured to determine a duration required for obtaining the movement attribute information; and synthesizing the recorded video corresponding to the time length in the cache and the video recorded from the moment of the current picture according to the first preset recording time length into the main alarm video.
Optionally, in this embodiment, the second determining unit 133 is specifically configured to determine a duration required for obtaining the movement attribute information; and synthesizing the recorded video corresponding to the time length in the cache and the video recorded from the moment of the current picture according to the second preset recording time length into the warning video of the time.
Optionally, in this embodiment, when the current picture is a secondary warning picture, the second determining unit 133 is further configured to determine whether the last warning video is successfully sent to the client device when the last warning video is a primary warning video; if yes, carrying the secondary alarm video identification in the current alarm video; if not, the main alarm video identification is carried in the current alarm video.
The mobile detection alarm device provided in the above embodiments may implement the above method embodiments, and the implementation principle and technical effect are similar, which are not described herein again.
Fig. 8 is a schematic structural diagram of a mobile detection alarm device according to an embodiment, in which the threshold range subset further includes: a maximum coderate limit, a coderate switching period, a coderate change step value, and a number of changes. On the basis of the foregoing embodiment, as shown in fig. 8, the apparatus further includes a bitrate switching module 14, configured to, when the current alarm video is the main alarm video, adjust the bitrate of the current main alarm video to the maximum bitrate limit value, and gradually decrease the bitrate of the current video according to the bitrate switching period and the bitrate change step value until the number of decreases reaches the number of changes.
The mobile detection alarm device provided in this embodiment may implement the above method embodiments, and the implementation principle and technical effect are similar, which are not described herein again.
Fig. 9 is a schematic structural diagram of a movement detection alarm device according to an embodiment, and based on the above embodiment, as shown in fig. 9, the device further includes a receiving module 15, configured to receive a set of threshold ranges that are sent by a server irregularly; wherein the set of threshold ranges is related to a mobile scene of irregular interest to the user.
The mobile detection alarm device provided in this embodiment may implement the above method embodiments, and the implementation principle and technical effect are similar, which are not described herein again.
Fig. 10 is a schematic structural diagram of a motion detection alarm device according to an embodiment, and based on the above embodiment, as shown in fig. 10, the device further includes a frame data processing module 16, configured to upload I frame data of the current frame to a cloud server when an object in the current frame is in a non-moving state.
The mobile detection alarm device provided in this embodiment may implement the above method embodiments, and the implementation principle and technical effect are similar, which are not described herein again.
All modules in the mobile detection alarm device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the acquisition equipment, and can also be stored in a memory in the acquisition equipment in a software form, so that the processor can call and execute the corresponding operations of the modules.
Fig. 11 is a schematic diagram of an internal structure of an acquisition device according to an embodiment, where the acquisition device includes a processor, a memory, a network interface, a display screen, and an input device, which are connected by a system bus. Wherein the processor of the acquisition device is configured to provide computational and control capabilities. The memory of the acquisition equipment comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the acquisition equipment is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to implement a motion detection alarm method. The display screen of the acquisition equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the acquisition equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the acquisition equipment, an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the configuration shown in fig. 11 is a block diagram of only a portion of the configuration relevant to the present application, and does not constitute a limitation on the acquisition device to which the present application is applied, and a particular acquisition device may include more or less components than those shown in the drawings, or combine certain components, or have a different arrangement of components.
In one embodiment, there is provided an acquisition device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the following steps when executing the computer program:
acquiring the movement attribute information of the current picture; wherein the movement attribute information is used for reflecting the movement degree of the object in the current picture;
matching the mobile attribute information with a preset threshold range set to obtain a matching result; the threshold range set comprises a main alarm threshold range subset and a secondary alarm threshold range subset, and each threshold range subset comprises a movement degree threshold of a user attention object and a corresponding alarm interval; the primary alarm interval in the primary alarm threshold range subset is greater than the secondary alarm interval in the secondary alarm threshold range subset;
and determining the recording information and the sending time of the current warning video according to the matching result, the type of the last warning video and the recording starting time of the last warning video.
In one embodiment, a computer storage medium is provided, having a computer program stored thereon, the computer program, when executed by a processor, implementing the steps of:
acquiring the movement attribute information of the current picture; wherein the movement attribute information is used for reflecting the movement degree of the object in the current picture;
matching the mobile attribute information with a preset threshold range set to obtain a matching result; the threshold range set comprises a main alarm threshold range subset and a secondary alarm threshold range subset, and each threshold range subset comprises a movement degree threshold of a user attention object and a corresponding alarm interval; the primary alarm interval in the primary alarm threshold range subset is greater than the secondary alarm interval in the secondary alarm threshold range subset;
and determining the recording information and the sending time of the current warning video according to the matching result, the type of the last warning video and the recording starting time of the last warning video.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by a computer program, which can be stored in a non-volatile computer storage medium, and can include the processes of the above embodiments of the methods when executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (16)

1. A mobile detection alarm method, comprising:
acquiring the movement attribute information of the current picture; the movement attribute information is used for reflecting the movement degree of a user attention object in the current picture;
matching the mobile attribute information with a preset threshold range set to obtain a matching result; the threshold range set comprises a main alarm threshold range subset and a secondary alarm threshold range subset, and each main alarm threshold range subset and each secondary alarm threshold range subset comprise a movement degree threshold of a user attention object and a corresponding alarm interval; the primary alarm interval in the primary alarm threshold range subset is greater than the secondary alarm interval in the secondary alarm threshold range subset;
and determining the recording information and the sending time of the current warning video according to the matching result, the type of the last warning video and the recording starting time of the last warning video.
2. The method according to claim 1, wherein the matching the movement attribute information with a preset threshold range set to obtain a matching result comprises:
if the movement attribute information is matched with the main alarm threshold range subset, determining that the current picture is a main alarm picture;
if the mobile attribute information is not matched with the primary alarm threshold range subset, judging whether the mobile attribute information is matched with the secondary alarm threshold range subset;
and if the movement attribute information is matched with the secondary alarm threshold range subset, determining that the current picture is a secondary alarm picture.
3. The method of claim 2, wherein determining that the current picture is a secondary alarm picture if the movement attribute information matches the secondary alarm threshold range subset comprises:
if the threshold range set comprises a plurality of secondary alarm threshold range subsets, determining that the current picture is the secondary alarm picture when the movement attribute information is matched with any one of the plurality of secondary alarm threshold range subsets.
4. The method according to claim 1, wherein the determining the recording information and the sending time of the current warning video according to the matching result, the type of the last warning video and the recording starting time of the last warning video comprises:
determining an adopted target alarm interval according to the type of the last alarm video;
judging whether the interval between the moment of the current picture and the recording starting moment of the last warning video is not less than the target warning interval or not to obtain a judgment result;
and determining the recording information and the sending time of the current warning video according to the matching result and the judgment result.
5. The method of claim 4, wherein the determining the adopted target alert interval according to the type of the last alert video comprises:
if the last alarm video is a main alarm video, determining the target alarm interval as the main alarm interval;
and if the last alarm video is a secondary alarm video, determining the target alarm interval as the secondary alarm interval.
6. The method according to claim 5, wherein the determining the recording information and the sending time of the current warning video according to the matching result and the determination result comprises:
if the current picture is a main alarm picture and the interval between the moment of the current picture and the recording starting moment of the last alarm video is not less than the target alarm interval, recording the main alarm video from the moment of the current picture according to a first preset recording duration, and sending the main alarm video to client equipment through a server;
if the current picture is a secondary alarm picture and the interval between the moment of the current picture and the recording starting moment of the last alarm video is not less than the target alarm interval, recording the current alarm video from the moment of the current picture according to a second preset recording duration, and sending the current alarm video to the client equipment through the server.
7. The method according to claim 6, wherein the recording the main warning video from the current picture according to a first preset recording duration comprises:
determining the time length required for acquiring the mobile attribute information;
and synthesizing the recorded video corresponding to the time length in the cache and the video recorded from the moment of the current picture according to the first preset recording time length into the main alarm video.
8. The method according to claim 6, wherein the recording the current warning video from the current picture according to a second preset recording duration comprises:
determining the time length required for acquiring the mobile attribute information;
and synthesizing the recorded video corresponding to the time length in the cache and the video recorded from the moment of the current picture according to the second preset recording time length into the warning video of the time.
9. The method according to claim 6, wherein before the sending to the client device via the server if the current screen is the secondary alert screen, further comprising:
if the last alarm video is the main alarm video, judging whether the last alarm video is successfully sent to the client equipment;
if yes, carrying the secondary alarm video identification in the current alarm video;
if not, the main alarm video identification is carried in the current alarm video.
10. The method of any one of claims 1-9, wherein the threshold degree of movement comprises at least one of an aspect ratio of the user object of interest, an area ratio of the user object of interest, a distance traveled by the user object of interest, and a speed of movement of the user object of interest.
11. The method of claim 10, wherein the subset of threshold ranges further comprises: maximum coderate limit, coderate switching period, coderate change step value, and change times; the method further comprises the following steps:
and if the current alarm video is the main alarm video, adjusting the code flow rate of the current main alarm video to the maximum code flow rate limit value, and gradually reducing the code flow rate of the current video according to the code flow rate switching period and the code flow rate change stepping value until the reduction times reach the change times.
12. The method of claim 1, further comprising:
receiving a threshold range set sent by a server irregularly; wherein the set of threshold ranges is related to a mobile scene of irregular interest to the user.
13. The method of claim 1, further comprising:
and if the user concerned object in the current picture is in a non-moving state, uploading the I frame data of the current picture to a cloud server.
14. A motion detection alarm device, comprising:
the acquisition module is used for acquiring the movement attribute information of the current picture; the movement attribute information is used for reflecting the movement degree of a user attention object in the current picture;
the matching module is used for matching the mobile attribute information with a preset threshold range set to obtain a matching result; the threshold range set comprises a main alarm threshold range subset and a secondary alarm threshold range subset, and each main alarm threshold range subset and each secondary alarm threshold range subset comprise a movement degree threshold of a user attention object and a corresponding alarm interval; the primary alarm interval in the primary alarm threshold range subset is greater than the secondary alarm interval in the secondary alarm threshold range subset;
and the determining module is used for determining the recording information and the sending time of the current alarm video according to the matching result, the type of the last alarm video and the recording starting time of the last alarm video.
15. Acquisition device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor realizes the steps of the method according to any one of claims 1 to 13 when executing the computer program.
16. A computer storage medium on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 13.
CN201811056620.1A 2018-09-11 2018-09-11 Mobile detection alarm method, device, acquisition equipment and storage medium Active CN109308778B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811056620.1A CN109308778B (en) 2018-09-11 2018-09-11 Mobile detection alarm method, device, acquisition equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811056620.1A CN109308778B (en) 2018-09-11 2018-09-11 Mobile detection alarm method, device, acquisition equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109308778A CN109308778A (en) 2019-02-05
CN109308778B true CN109308778B (en) 2020-08-18

Family

ID=65224867

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811056620.1A Active CN109308778B (en) 2018-09-11 2018-09-11 Mobile detection alarm method, device, acquisition equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109308778B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110262913B (en) * 2019-05-13 2024-05-28 平安科技(深圳)有限公司 Early warning effectiveness analysis method, early warning effectiveness analysis device, computer equipment and storage medium
CN111262949B (en) * 2020-02-21 2023-04-07 普联技术有限公司 Message pushing method, control device, monitoring equipment, system and storage medium

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1249624A (en) * 1998-09-04 2000-04-05 松下电器产业株式会社 Network monitoring video camera system
US7095328B1 (en) * 2001-03-16 2006-08-22 International Business Machines Corporation System and method for non intrusive monitoring of “at risk” individuals
CN101867796A (en) * 2010-07-09 2010-10-20 杭州华三通信技术有限公司 Method and device for monitoring video
CN102164270A (en) * 2011-01-24 2011-08-24 浙江工业大学 Intelligent video monitoring method and system capable of exploring abnormal events
US8039799B2 (en) * 2007-12-31 2011-10-18 Honeywell International Inc. Motion detection system and method
CN102611845A (en) * 2011-01-20 2012-07-25 卡西欧计算机株式会社 Imaging apparatus and imaging method for taking moving image
CN103700087A (en) * 2013-11-28 2014-04-02 深圳市智美达科技有限公司 Motion detection method and device
CN103997598A (en) * 2013-02-14 2014-08-20 三星电子株式会社 Method of tracking object using camera and camera system for object tracking
CN104202533A (en) * 2014-09-24 2014-12-10 中怡(苏州)科技有限公司 Motion detection device and motion detection method
CN104639978A (en) * 2015-02-13 2015-05-20 上海小蚁科技有限公司 Multimedia processing method and device
CN105282521A (en) * 2015-11-21 2016-01-27 浙江宇视科技有限公司 Method and device for detecting motion during IP camera cruising process
CN106231379A (en) * 2016-07-29 2016-12-14 广州酷狗计算机科技有限公司 A kind of methods, devices and systems playing live video
TW201705747A (en) * 2015-07-24 2017-02-01 晶睿通訊股份有限公司 Setting method for a surveillance system, setting device thereof and computer readable medium
CN106448003A (en) * 2016-08-30 2017-02-22 宁波耀泰电器有限公司 Alarm lamp, alarm system and human body detection alarm method
CN106878668A (en) * 2015-12-10 2017-06-20 微软技术许可有限责任公司 Mobile detection to object
CN107995450A (en) * 2017-12-07 2018-05-04 安徽国广数字科技有限公司 A kind of new high integrity degree video camera mobile detection video recording mode
CN108012097A (en) * 2017-11-13 2018-05-08 深圳市智美达科技股份有限公司 Method, apparatus, computer equipment and the storage medium of video cloud video recording
WO2018152365A1 (en) * 2017-02-15 2018-08-23 New Sun Technologies, Inc. Activity monitoring system

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1131382A (en) * 1997-07-09 1999-02-02 Hitachi Ltd Magnetic recording / reproducing device
TW201224685A (en) * 2010-12-07 2012-06-16 Hon Hai Prec Ind Co Ltd Alarm clock
US20130208576A1 (en) * 2011-12-23 2013-08-15 Leonor F. Loree, IV Easy wake system and method
CN104867292B (en) * 2015-03-26 2021-03-26 青岛海尔智能家电科技有限公司 An intelligent alarm method and device
AU2017208327A1 (en) * 2016-07-28 2018-02-15 Accenture Global Solutions Limited Connected devices for detecting and responding to events in an environment
CN106385571A (en) * 2016-11-12 2017-02-08 国网山西省电力公司忻州供电公司 Video monitoring system
CN106658042B (en) * 2016-12-28 2019-07-02 广州华多网络科技有限公司 A kind of data push method and relative clients end, server
CN107689984B (en) * 2017-07-27 2020-02-07 深圳壹账通智能科技有限公司 Message pushing method and device, computer equipment and storage medium
CN108447208B (en) * 2018-05-17 2019-10-29 普联技术有限公司 Light warning method, equipment, web camera and storage medium

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1249624A (en) * 1998-09-04 2000-04-05 松下电器产业株式会社 Network monitoring video camera system
US7095328B1 (en) * 2001-03-16 2006-08-22 International Business Machines Corporation System and method for non intrusive monitoring of “at risk” individuals
US8039799B2 (en) * 2007-12-31 2011-10-18 Honeywell International Inc. Motion detection system and method
CN101867796A (en) * 2010-07-09 2010-10-20 杭州华三通信技术有限公司 Method and device for monitoring video
CN102611845A (en) * 2011-01-20 2012-07-25 卡西欧计算机株式会社 Imaging apparatus and imaging method for taking moving image
CN102164270A (en) * 2011-01-24 2011-08-24 浙江工业大学 Intelligent video monitoring method and system capable of exploring abnormal events
CN103997598A (en) * 2013-02-14 2014-08-20 三星电子株式会社 Method of tracking object using camera and camera system for object tracking
CN103700087A (en) * 2013-11-28 2014-04-02 深圳市智美达科技有限公司 Motion detection method and device
CN104202533A (en) * 2014-09-24 2014-12-10 中怡(苏州)科技有限公司 Motion detection device and motion detection method
CN104639978A (en) * 2015-02-13 2015-05-20 上海小蚁科技有限公司 Multimedia processing method and device
TW201705747A (en) * 2015-07-24 2017-02-01 晶睿通訊股份有限公司 Setting method for a surveillance system, setting device thereof and computer readable medium
CN105282521A (en) * 2015-11-21 2016-01-27 浙江宇视科技有限公司 Method and device for detecting motion during IP camera cruising process
CN106878668A (en) * 2015-12-10 2017-06-20 微软技术许可有限责任公司 Mobile detection to object
CN106231379A (en) * 2016-07-29 2016-12-14 广州酷狗计算机科技有限公司 A kind of methods, devices and systems playing live video
CN106448003A (en) * 2016-08-30 2017-02-22 宁波耀泰电器有限公司 Alarm lamp, alarm system and human body detection alarm method
WO2018152365A1 (en) * 2017-02-15 2018-08-23 New Sun Technologies, Inc. Activity monitoring system
CN108012097A (en) * 2017-11-13 2018-05-08 深圳市智美达科技股份有限公司 Method, apparatus, computer equipment and the storage medium of video cloud video recording
CN107995450A (en) * 2017-12-07 2018-05-04 安徽国广数字科技有限公司 A kind of new high integrity degree video camera mobile detection video recording mode

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Motion detection in triple scan SPECT imaging;C.Pellot-Barakat等;《IEEE Transactions on Nuclear Science》;19980831;全文 *
基于MPoC的移动视频监控关键技术研究;朱方;《中国博士学位论文全文数据库信息科技辑》;20170215;全文 *
视频监控移动侦测报警使用注意事项;科技发展;《网易 dy.163.com/v2/article/detail/DM6O6F040511UK14.html》;20180708;全文 *

Also Published As

Publication number Publication date
CN109308778A (en) 2019-02-05

Similar Documents

Publication Publication Date Title
US11778006B2 (en) Data transmission method and apparatus
CN112235597B (en) Method and device for synchronous protection of streaming media live broadcast audio and video and computer equipment
US12015770B2 (en) Method for encoding video data, device, and storage medium
CN113542795A (en) Video processing method and device, electronic equipment and computer readable storage medium
WO2021169632A1 (en) Video quality detection method and apparatus, and computer device
CN110505522A (en) Processing method, device and the electronic equipment of video data
CN107948605A (en) Method, apparatus, equipment and the storage medium of vehicle-mounted monitoring video data storage
CN109308778B (en) Mobile detection alarm method, device, acquisition equipment and storage medium
CN108924485B (en) Client real-time video stream interrupt processing method and system and monitoring system
CN115002402A (en) event video sequence
CN112584083A (en) Video playing method, system, electronic equipment and storage medium
CN109962944B (en) Media data storage method, storage device and electronic equipment
CN111787256B (en) Management method, device, medium and electronic equipment for pre-alarm video
CN112543348A (en) Remote screen recording method, device, equipment and computer readable storage medium
CN107734278B (en) Video playback method and related device
US20120134534A1 (en) Control computer and security monitoring method using the same
CN115633188B (en) Video stream transmission control method and device, video system, equipment and storage medium
CN111372240A (en) Picture uploading method and device, computer equipment and storage medium
CN110825601A (en) On-site storage method and device under abnormal scene of embedded equipment
CN117676214A (en) Vehicle video playback method, device, computer equipment and storage medium
US11398091B1 (en) Repairing missing frames in recorded video with machine learning
CN115103216A (en) Live broadcast data processing method and device, computer equipment and storage medium
CN110401845B (en) First screen playing method and device, computer equipment and storage medium
CN114245080A (en) Network Video Surveillance System
KR100906075B1 (en) Intelligent security system using H.264

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PD01 Discharge of preservation of patent

Date of cancellation: 20230727

Granted publication date: 20200818

PD01 Discharge of preservation of patent