CN114363565A - Video polling method, device, equipment and medium - Google Patents
Video polling method, device, equipment and medium Download PDFInfo
- Publication number
- CN114363565A CN114363565A CN202111619460.9A CN202111619460A CN114363565A CN 114363565 A CN114363565 A CN 114363565A CN 202111619460 A CN202111619460 A CN 202111619460A CN 114363565 A CN114363565 A CN 114363565A
- Authority
- CN
- China
- Prior art keywords
- video
- image
- equipment
- acquisition
- determining
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 238000004590 computer program Methods 0.000 claims description 21
- 238000012545 processing Methods 0.000 claims description 12
- 238000000605 extraction Methods 0.000 claims description 6
- 238000012544 monitoring process Methods 0.000 abstract description 22
- 238000013145 classification model Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 9
- 230000008569 process Effects 0.000 description 6
- 230000002159 abnormal effect Effects 0.000 description 4
- 238000012549 training Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000001351 cycling effect Effects 0.000 description 2
- 238000007689 inspection Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Landscapes
- Closed-Circuit Television Systems (AREA)
Abstract
The application relates to the technical field of video monitoring, in particular to a video polling method, a device, equipment and a medium, which are used for improving the flexibility of determining the video polling sequence, the method is applied to management equipment of a video polling system, the video polling system further comprises acquisition equipment and playing equipment, and the method comprises the following steps: receiving a plurality of images sent by a plurality of acquisition devices, wherein each acquisition device corresponds to one image; determining a first weight of each image according to whether each image meets a plurality of self-defined preset rules; determining a video polling sequence of the plurality of acquisition devices according to a descending order of the first weights of the plurality of images; and sending a notice carrying the video polling sequence to the playing equipment so that the playing equipment plays the video streams acquired by the plurality of acquisition equipment in real time in polling according to the video polling sequence.
Description
Technical Field
The application relates to the technical field of video monitoring, in particular to a video polling method, a video polling device, video polling equipment and a video polling medium.
Background
Video polling systems have been widely used in the field of video surveillance technology. The video polling system generally includes a plurality of acquisition devices, a management device, and a playback device. Each acquisition device is used for acquiring videos of corresponding monitoring areas, the management device controls the playing device to carry out video polling according to a video polling sequence, in other words, the management device controls the playing device to carry out polling playing on the videos acquired by the appointed acquisition devices according to an appointed sequence, and therefore a user can check each monitoring area through the playing device and find abnormal conditions in time.
At present, a management device determines a video polling sequence of each acquisition device according to the number of alarm information reported by each acquisition device, however, in this mode of determining the video polling sequence, each acquisition device must have the capability of detecting a preset rule to send alarm information, the requirement on the acquisition device is high, and the preset rule is set when the acquisition device leaves a factory, and a user cannot define the preset rule, so that the mode of determining the video polling sequence is not flexible.
Disclosure of Invention
The embodiment of the application provides a video polling method, a video polling device, video polling equipment and a video polling medium, which are used for improving the flexibility of determining a video polling sequence.
In a first aspect, the present application provides a video polling method, which is applied to a management device of a video polling system, where the video polling system further includes a collection device and a playing device, and the method includes:
receiving a plurality of images sent by a plurality of acquisition devices, wherein each acquisition device corresponds to one image;
determining a first weight of each image according to whether each image meets a plurality of self-defined preset rules;
determining a video polling sequence of the plurality of acquisition devices according to a descending order of the first weights of the plurality of images;
and sending a notice carrying the video polling sequence to the playing equipment so that the playing equipment plays the video streams acquired by the plurality of acquisition equipment in real time in polling according to the video polling sequence.
In one possible embodiment, any one of the plurality of images is the image of the current time sent after the plurality of acquisition devices determine that the image of the current time is different from the image of the previous time.
In one possible embodiment, determining the first weight of each image according to whether each image satisfies a plurality of customized preset rules includes:
carrying out feature extraction processing on each image to obtain a plurality of features;
classifying the plurality of features to obtain a plurality of classified feature units;
and determining the first weight of each image according to the number of the characteristic units successfully matched with the plurality of self-defined preset rules.
In a possible embodiment, each preset rule includes at least one feature and a feature value corresponding to the at least one feature, and determining a first weight of each image according to the number of successful matching between the feature units and the customized preset rules includes:
matching the plurality of feature units with the at least one feature, and determining whether the plurality of feature units are successfully matched with each preset rule;
and determining a first weight of each image according to the number of the preset rules successfully matched and a second weight of each preset rule successfully matched, wherein the second weight of each preset rule is determined according to the at least one characteristic and the characteristic value corresponding to the at least one characteristic.
In a possible embodiment, determining the video polling order of the plurality of capture devices according to the descending order of the first weights of the plurality of images includes:
and if a plurality of target images with the same first weight exist, determining a video polling sequence of a plurality of target acquisition devices sending the plurality of target images according to the priorities of the plurality of acquisition devices.
In a possible embodiment, when receiving a plurality of images sent by the plurality of acquisition devices, the method further includes:
acquiring an equipment serial number and a channel number of each acquisition equipment;
sending a notification carrying the video polling sequence to the playing device, comprising:
encapsulating the video polling sequence of the plurality of acquisition devices, the device serial number and the channel number of each acquisition device in the notification;
and sending the notification to the playing equipment so that the playing equipment is connected with the acquisition equipment corresponding to each equipment serial number through the channel corresponding to each channel number, acquiring a plurality of video streams acquired by the acquisition equipment in real time, and playing the video streams in turn according to the turn sequence of the video.
In a second aspect, the present application provides a video polling device, the device is applied to the management equipment of the video polling system, the video polling system further includes a collection device and a playing device, the device includes:
the receiving module is used for receiving a plurality of images sent by a plurality of acquisition devices, wherein each acquisition device corresponds to one image;
the determining module is used for determining a first weight of each image according to whether each image meets a plurality of self-defined preset rules;
the determining module is further configured to determine a video polling sequence of the multiple acquiring devices according to a descending order of the first weights of the multiple images;
and the sending module is used for sending the notice carrying the video polling sequence to the playing equipment so that the playing equipment plays the video streams acquired by the plurality of acquisition equipment in real time in polling according to the video polling sequence.
In one possible embodiment, any one of the plurality of images is the image of the current time sent after the plurality of acquisition devices determine that the image of the current time is different from the image of the previous time.
In a possible embodiment, the determining module is specifically configured to:
carrying out feature extraction processing on each image to obtain a plurality of features;
classifying the plurality of features to obtain a plurality of classified feature units;
and determining the first weight of each image according to the number of the characteristic units successfully matched with the plurality of self-defined preset rules.
In a possible embodiment, each preset rule includes at least one feature and a feature value corresponding to the at least one feature, and the determining module is specifically configured to:
matching the plurality of feature units with the at least one feature, and determining whether the plurality of feature units are successfully matched with each preset rule;
and determining a first weight of each image according to the number of the preset rules successfully matched and a second weight of each preset rule successfully matched, wherein the second weight of each preset rule is determined according to the at least one characteristic and the characteristic value corresponding to the at least one characteristic.
In a possible embodiment, the determining module is specifically configured to:
and if a plurality of target images with the same first weight exist, determining a video polling sequence of a plurality of target acquisition devices sending the plurality of target images according to the priorities of the plurality of acquisition devices.
In a possible embodiment, the apparatus further comprises an obtaining module configured to:
acquiring an equipment serial number and a channel number of each acquisition equipment;
the sending module is specifically configured to:
encapsulating the video polling sequence of the plurality of acquisition devices, the device serial number and the channel number of each acquisition device in the notification;
and sending the notification to the playing equipment so that the playing equipment is connected with the acquisition equipment corresponding to each equipment serial number through the channel corresponding to each channel number, acquiring a plurality of video streams acquired by the acquisition equipment in real time, and playing the video streams in turn according to the turn sequence of the video.
In a third aspect, the present application provides an electronic device, comprising:
a memory for storing program instructions;
a processor for calling the program instructions stored in the memory and executing the method of any of the first aspect according to the obtained program instructions.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon a computer program comprising program instructions which, when executed by a computer, cause the computer to perform the method of any of the first aspects.
In a fifth aspect, the present application provides a computer program product comprising: computer program code which, when run on a computer, causes the computer to perform the method of any of the first aspects.
In the embodiment of the application, the management device of the video polling system receives a plurality of images sent by a plurality of acquisition devices, determines a first weight of each image according to whether each image meets a plurality of self-defined preset rules, determines a video polling sequence of the plurality of acquisition devices according to a descending order of the first weights of the plurality of images, and sends a notification carrying the video polling sequence to the playing device. The method supports a user to define a plurality of preset rules in the management equipment, determines the video polling sequence of a plurality of acquisition equipment according to the actual requirement of the user, improves the flexibility of determining the video polling sequence, and further enables the playing equipment to poll and play the video stream acquired by the corresponding acquisition equipment in real time according to the actual requirement of the user, so that the user can find abnormal conditions in time.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or related technologies, the drawings needed to be used in the description of the embodiments or related technologies are briefly introduced below, it is obvious that the drawings in the following description are only the embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of a video polling method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a video polling method according to an embodiment of the present application;
fig. 3 is a structural diagram of a video polling device according to an embodiment of the present application;
fig. 4 is a structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions in the embodiments of the present invention will be described clearly and completely in the following with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application. In the present application, the embodiments and features of the embodiments may be arbitrarily combined with each other without conflict. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
The terms "first" and "second" in the description and claims of the present application and the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the term "comprises" and any variations thereof, which are intended to cover non-exclusive protection. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
In the embodiments of the present application, "a plurality" may mean at least two, for example, two, three, or more, and the embodiments of the present application are not limited.
In order to improve flexibility in determining a video polling sequence, embodiments of the present application provide a video polling method, which may be performed by a management device of a video polling system. The management apparatus may be implemented by a terminal such as a mobile phone, a Personal Computer (PC), a notebook computer, or the like, or a server. The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a network service, cloud communication, middleware service, a domain name service, a security service, a CDN, and a big data and artificial intelligence platform, but is not limited thereto.
Some brief descriptions are given below to application scenarios to which the technical solution of the embodiment of the present application can be applied, and it should be noted that the application scenarios described below are only used for describing the embodiment of the present application and are not limited. In a specific implementation process, the technical scheme provided by the embodiment of the application can be flexibly applied according to actual needs.
Referring to fig. 1, a schematic view of an application scenario of the video polling method provided in the embodiment of the present application or a schematic view of a structure of a video polling system can be understood, where the video polling system includes a management device 101, a collection device 102, and a playing device 103. Fig. 1 is an example of one acquisition device 102, and the number of acquisition devices 102 is not limited in practice. The management device 101 and the capture device 102 may communicate with each other, the management device 101 and the playback device 103 may communicate with each other, and the capture device 102 and the playback device 103 may communicate with each other.
The capture device 102 is a device having a camera function, such as a video camera or a video recorder. The playback device 103 is a terminal device having a display screen, and may be, for example, a mobile phone, a Personal Computer (PC), a notebook computer, a television wall, an intelligent large screen, or the like.
Each acquisition device 102 sends the acquired image to the management device 101, after the management device 101 receives the plurality of images, the management device 101 analyzes the plurality of images, determines the weight sequence of the plurality of images, further determines the video polling sequence of each acquisition device 102, and notifies the playing device 103 of the video polling sequence, and the playing device 103 performs polling playing on the video stream acquired by each acquisition device 102 in real time according to the video polling sequence. A procedure of how the management apparatus 101 specifically determines the video polling sequence will be described in detail below.
As described above, in the following, the management apparatus in fig. 1 is described as an example of the video polling method, in conjunction with the application scenario shown in fig. 1. Please refer to fig. 2, which is a flowchart illustrating a video polling method according to an embodiment of the present application.
S201, receiving a plurality of images sent by a plurality of acquisition devices.
The video polling system comprises a plurality of acquisition devices, and the acquisition devices are used for acquiring images or videos of a plurality of monitoring areas. One or more acquisition devices can be deployed in each monitoring area, and the acquisition devices deployed in one monitoring area can respectively acquire images or videos of the monitoring area from different angles. For example, the video polling system has 4 acquisition devices, wherein the acquisition device 1 and the acquisition device 2 are both deployed in a monitoring area a, the acquisition device 2 is deployed in a monitoring area B, and the acquisition device 3 is deployed in a monitoring area C.
Each acquisition device can send the image of self collection to management device can receive a plurality of images that a plurality of acquisition devices sent, wherein, every image corresponds an acquisition device. The plurality of images may be images of the current time acquired and transmitted by the plurality of acquisition devices in real time, for example, each acquisition device acquires an image of each time in real time and transmits the image of the current time to the management device.
Considering that a monitoring area corresponding to the acquisition equipment may be kept in a static state, for example, at night, no human or animal enters or exits from a large door of a certain cell, and at this time, an abnormal condition may not exist at the large door of the certain cell, and if the image is sent to the management equipment, the data volume processed by the management equipment is increased. Thus, in one possible embodiment, any one of the plurality of images is an image of the current time that is transmitted after the plurality of capture devices determine that the image of the current time is different from the image of the previous time.
Specifically, each acquisition device may acquire an image at each time in real time, and if the image at the current time is the same as the image at the previous time, which indicates that the condition of the monitoring area corresponding to the acquisition device has not changed, the image is not sent to the management device. And if the image at the current moment is different from the image at the previous moment, which indicates that the condition of the monitoring area corresponding to the acquisition equipment is changed, the image at the current moment is sent to the management equipment.
In the embodiment of the application, each acquisition device can compare the image at the current moment with the image at the previous moment in real time to determine whether the monitoring area changes, and if not, the image at the current moment is not sent to the management device, so that the data volume of the image processed by the management device can be reduced, and the processing efficiency of the management device can be improved.
Because there are many collection devices, in order to facilitate subsequent accurate search of a corresponding collection device, in a possible embodiment, the management device obtains the device serial number and the channel number of each collection device while receiving multiple images sent by multiple collection devices. For example, each acquisition device may transmit the image acquired at the present time, the device serial number of the acquisition device, and the channel number to the management device together. The device serial number is used for uniquely identifying each acquisition device, and the channel number is used for identifying a channel for communication between each acquisition device and the playing device.
In a possible embodiment, the management device receives a plurality of images sent by the plurality of acquisition devices and also receives the acquisition time of each image, where the acquisition time refers to the time for each acquisition device to acquire each image, and the management device may store the acquisition time of each image, and then use the acquisition time for data tracking, making statistics based on the acquisition times of the plurality of images, and the like.
S202, determining a first weight of each image according to whether each image meets a plurality of self-defined preset rules.
After the management device acquires a plurality of images, the management device may perform feature extraction processing on each image to obtain a plurality of features, classify the plurality of features, and obtain a plurality of classified feature units. For example, two persons and one vehicle are in one image, the two persons can be divided into one characteristic unit, and the vehicle can be divided into another characteristic unit.
Specifically, the management device may input each image into a trained classification model, and perform feature extraction and feature classification on each image through the trained classification model, where the classification result output by the trained classification model is a plurality of feature units. The trained classification model is obtained by training based on a sample data set, the sample data set comprises a plurality of sample images and an actual classification result corresponding to each sample image, and the sample data set can be downloaded from network resources and can be acquired by a user. The model parameters in the classification model can be randomly valued, or empirical values, or obtained from other devices, or trained by management devices. Taking the training of the classification model by the management device as an example, the training process of the classification model is described as follows:
the management equipment takes the sample image as the input of the classification model, takes the error between the target classification result and the actual classification result output by the classification model as the feedback data of the classification model, and continuously adjusts the value of the model parameter through the feedback data. Through training of a large number of sample images, model parameters of the classification model are continuously updated, so that the error between a target classification result output by the classification model and an actual classification result is within a preset range, and the trained classification model is obtained.
Further, after the management device obtains the classified plurality of feature units, the management device determines the first weight of each image according to the number of the feature units successfully matched with the plurality of self-defined preset rules.
Specifically, the management device is configured with a rule base, and the rule base has a plurality of self-defined preset rules. For example, the management device may determine a preset rule customized by the user in response to an input operation of the user, and store the customized preset rule in the rule base. Each preset rule includes at least one feature and at least one feature value corresponding to the feature, the size of the feature value corresponding to each feature may be set by a user according to actual needs, the feature values corresponding to each feature may be the same, for example, all are 1, the feature values corresponding to each feature may also be different, for example, the feature values corresponding to the life-threatening safety features are higher.
In order to meet the various requirements of the user in consideration that the user may want to delete or modify a certain preset rule subsequently, in one possible embodiment, the management device may delete or modify any preset rule in response to an update operation of the user on the any preset rule.
In one possible embodiment, the management device may match a plurality of feature units with at least one feature of each preset rule, determine whether the plurality of feature units are successfully matched with each preset rule, and determine the first weight of each image according to the number of the successfully matched preset rules and the second weight of each successfully matched preset rule. And determining the second weight of each preset rule according to at least one characteristic of each preset rule and a characteristic value corresponding to the at least one characteristic.
It should be noted that, when the feature values corresponding to each feature are the same and are all 1, since the second weight of each preset rule is the same, the management device may directly determine the number of the successfully matched preset rules as the first weight of each image. For example, if a plurality of feature units extracted from a certain image are successfully matched with two preset rules at the same time, the first weight of the image is 2.
Taking two preset rules in table 1 as an example, a manner of determining the first weight of each image according to the number of the successfully matched preset rules and the second weight of each successfully matched preset rule is described below.
TABLE 1
The preset rule 1 includes two features, i.e., a person and a knife, where the feature value of the person is 1 and the feature value of the knife is 10, so that the second weight of the preset rule 1 is 1+10 — 11. The preset rule 2 includes three features, i.e., a person, a car, and a person-falling place, the feature value of the person is 1, the feature value of the car is 2, and the feature value of the person-falling place is 10, so that the second weight of the preset rule 2 is 1+2+10 — 13. If a plurality of feature units extracted from a certain image are successfully matched with the two preset rules at the same time, the first weight of the image is 11+ 13-24.
S203, determining the video polling sequence of the plurality of acquisition devices according to the sequence of the first weights of the plurality of images from large to small.
After the management device determines the first weights of the multiple images, the first weights of the multiple images are sequenced from large to small, and then the video polling sequence of multiple acquisition devices sending the multiple images is determined.
For example, the image 1 is sent by the acquisition device 1, the first weight of the image 1 is 10, the image 2 is sent by the acquisition device 2, the first weight of the image 2 is 11, the image 3 is sent by the acquisition device 3, the first weight of the image 3 is 12, the image 4 is sent by the acquisition device 4, the first weight of the image 4 is 13, and the images are sorted by the first weights: image 4> image 3> image 2> image 1, so the video polling order of the multiple capture devices is, in order: collection equipment 4, collection equipment 3, collection equipment 2, collection equipment 1.
In consideration of the fact that there may be a plurality of images with the same calculated weights, in one possible embodiment, if there are a plurality of target images with the same first weight, the management device may arbitrarily determine the video polling order of the plurality of target capturing devices that send the plurality of target images.
For example, if the capturing device 1 sends the image 1, the capturing device 2 sends the image 2, and the first weights of the image 1 and the image 2 are the same, the video polling sequence of the capturing device 1 and the capturing device 2 may be: the acquisition device 1 and the acquisition device 2 may be: collection equipment 2, collection equipment 1.
In order to further determine the video polling sequence, in a possible embodiment, if there are multiple target images with the same first weight, the management device may determine the video polling sequence of multiple target capture devices that send the multiple target images according to the priorities of the multiple capture devices. The priorities of the multiple acquisition devices may be input by a user, or may be determined according to the importance of the multiple monitoring areas corresponding to the multiple acquisition devices.
For example, what collection equipment 1 sent is image 1, what collection equipment 2 sent is image 2, the first weight of image 1 is the same with image 2, collection equipment 1 deploys at the cell doorway, collection equipment 2 deploys at the cell doorway, because the surveillance camera at the cell doorway is more important, therefore the priority of collection equipment 1 is higher than the priority of collection equipment 2, the video round-robin order of collection equipment 1 and collection equipment 2 is: collection equipment 1, collection equipment 2.
In the embodiment of the application, when the weights of some images are the same, the priority of the acquisition equipment sending the images can be determined according to the importance of the monitored area, the video polling sequence is further determined, and the user requirements are further met.
And S204, sending the notice carrying the video polling sequence to the playing equipment so that the playing equipment polls and plays the video streams acquired by the acquisition equipment in real time according to the video polling sequence.
After the management device determines the video polling sequence, the video polling sequence is packaged in the notice, and the notice is sent to the playing device, so that the playing device plays the video streams acquired by the plurality of acquisition devices in real time in polling according to the video polling sequence. The polling playing can be understood as playing the video streams acquired by a plurality of acquisition devices in real time in a cycling manner in turn, that is, after the video stream acquired by a certain acquisition device in real time is played for more than a preset time, the video stream acquired by the next acquisition device in real time is automatically switched, and so on, and the video streams are continuously played in a cycling manner. The preset time of each acquisition device can be the same or different. The preset duration of each acquisition device may be user input.
Considering the higher the ranking of the capturing device, it indicates that the user is more concerned about the video stream captured by the capturing device in real time. Therefore, in a possible embodiment, the preset duration of each capturing device may also be determined according to the video polling sequence of the multiple capturing devices, in other words, the video polling sequence of the multiple capturing devices is the size sequence of the preset durations of the multiple capturing devices. For example, the video polling sequence of a plurality of acquisition devices is as follows: the system comprises a collection device 4, a collection device 3, a collection device 2 and a collection device 1, wherein the preset time of the collection device 4 is 40 minutes, the preset time of the collection device 3 is 30 minutes, the preset time of the collection device 2 is 20 minutes, and the preset time of the collection device 1 is 10 minutes.
In the embodiment of the application, the higher the weight of the image is, the more the ranking of the acquisition device sending the image is, the longer the playing device plays the video stream acquired by the acquisition device in real time, so that monitoring personnel have sufficient time to view the video stream.
There are various situations related to how the playing device plays the multiple video streams collected by the multiple collecting devices in real time in turn, which will be described below.
In the first case, the playback device does not support split-screen.
When the playing device does not support split screen, the playing device can rank the plurality of collecting devices according to the video polling sequence, firstly plays the video stream collected by the first collecting device with the first ranking in real time, switches to the video stream collected by the second collecting device with the second ranking in real time after the playing time length exceeds the preset time length of the first collecting device, and so on until the video stream collected by the last collecting device with the last ranking in real time is switched, and switches back to the video stream collected by the first collecting device in real time after the playing time length exceeds the preset time length of the last collecting device, and the process is continuously circulated.
For example, the video polling sequence of 2 acquisition devices is as follows: the device comprises a collection device 2 and a collection device 1, wherein the preset time of the collection device 2 is 2 hours, the preset time of the collection device 1 is 1 hour, a video stream collected by the collection device 2 in real time is played firstly, the video stream collected by the collection device 1 in real time is played after the playing time of the video stream exceeds 2 hours, the video stream collected by the collection device 2 in real time is played after the playing time of the video stream exceeds 1 hour, and the like.
In the second case, the playback device supports split screens.
When the playback device supports split-screen, the display screen may be divided into a plurality of sub-areas. For example, a playing device supporting 4 split screens divides a display screen into 4 sub-regions, a playing device supporting 16 split screens may divide a display screen into 16 sub-regions, and a playing device supporting 32 split screens may divide a display screen into 32 sub-regions. The playing device can rank the plurality of collecting devices according to the video polling sequence, and plays the video streams collected by the collecting devices in real time in the subareas corresponding to the ranking.
Use 4 minute screens as an example, divide into about 4 regions about the display screen, a plurality of collection equipment's video rounds to patrol the order and is in proper order: the acquisition device 4, the acquisition device 3, the acquisition device 2 and the acquisition device 1 play the video stream acquired by the acquisition device 4 in real time in a first area (for example, an upper left area), play the video stream acquired by the acquisition device 3 in real time in a second area (for example, an upper right area), play the video stream acquired by the acquisition device 2 in real time in a third area (for example, a lower left area), and play the video stream acquired by the acquisition device 1 in real time in a fourth area (for example, an upper right area).
In order to ensure that the playing device can accurately find the corresponding acquisition device, in a possible embodiment, the management device may encapsulate the video polling sequence of the multiple acquisition devices, the device serial number and the channel number of each acquisition device in a notification, and send the notification to the playing device, so that the playing device connects the acquisition devices corresponding to the device serial numbers through the channels corresponding to the channel numbers, obtains multiple video streams acquired by the multiple acquisition devices in real time, and polls and plays the multiple video streams according to the video polling sequence. For the meaning of the device serial number and the channel number, please refer to the content discussed above, and the description is omitted here.
In the embodiment of the application, the management equipment sends the channel number and the equipment serial number of each acquisition equipment to the playing equipment together, and the playing equipment can accurately and quickly find the corresponding acquisition equipment according to the channel number and the equipment serial number, so that the video stream acquired by the acquisition equipment in real time can be accurately played in turn according to the video turn inspection sequence.
To sum up, the video polling method provided in this application embodiment, for a multi-feature complex scene concerned by a monitoring person, the management device of the video polling system performs feature analysis on multiple images reported by multiple collection devices, determines weights of the multiple images according to a self-defined intelligent rule of the monitoring person, and then determines a video polling sequence of the multiple collection devices according to an actual demand of the monitoring person, so that flexibility of determining the video polling sequence can be improved, and then the playing device polls and plays a video stream acquired by the corresponding collection device in real time according to the actual demand of the monitoring person, so that the monitoring person can find abnormal conditions in time. And the requirement on the acquisition equipment is low only based on the image sent by the common acquisition equipment, so that the cost of the acquisition equipment is relatively reduced.
As an example, the management device in the embodiment shown in fig. 2 is, for example, the management device 101 in fig. 1, the capture device is, for example, the capture device 102 in fig. 1, and the playback device is, for example, the playback device 103 in fig. 1.
Based on the same inventive concept, the present application provides a video polling device, which is applied to the management device of the video polling system discussed above, the video polling system further includes a collecting device and a playing device, please refer to fig. 3, and the device includes:
the receiving module 301 is configured to receive multiple images sent by multiple acquiring devices, where each acquiring device corresponds to one image;
a determining module 302, configured to determine a first weight of each image according to whether each image satisfies a plurality of self-defined preset rules;
the determining module 302 is further configured to determine a video polling sequence of the multiple acquiring devices according to a descending order of the first weights of the multiple images;
the sending module 303 is configured to send a notification carrying a video polling sequence to the playing device, so that the playing device polls and plays the video streams acquired by the multiple acquiring devices in real time according to the video polling sequence.
In one possible embodiment, any one of the plurality of images is an image of the current time that is transmitted after the plurality of capture devices determine that the image of the current time is different from the image of the previous time.
In a possible embodiment, the determining module 302 is specifically configured to:
carrying out feature extraction processing on each image to obtain a plurality of features;
classifying the plurality of features to obtain a plurality of classified feature units;
and determining the first weight of each image according to the number of the characteristic units successfully matched with the plurality of self-defined preset rules.
In a possible embodiment, each preset rule includes at least one feature and a feature value corresponding to the at least one feature, and the determining module 302 is specifically configured to:
matching the plurality of characteristic units with at least one characteristic, and determining whether the plurality of characteristic units are successfully matched with each preset rule;
and determining a first weight of each image according to the number of the preset rules successfully matched and a second weight of each preset rule successfully matched, wherein the second weight of each preset rule is determined according to at least one characteristic and a characteristic value corresponding to the at least one characteristic.
In a possible embodiment, the determining module 302 is specifically configured to:
and if a plurality of target images with the same first weight exist, determining a video polling sequence of a plurality of target acquisition devices sending the plurality of target images according to the priorities of the plurality of acquisition devices.
In a possible embodiment, the apparatus further includes an obtaining module 304, where the obtaining module 304 is configured to:
acquiring an equipment serial number and a channel number of each acquisition equipment;
the sending module is specifically configured to:
encapsulating the video polling sequence of the plurality of acquisition devices, the device serial number and the channel number of each acquisition device in a notification;
and sending the notification to the playing equipment so that the playing equipment is connected with the acquisition equipment corresponding to each equipment serial number through the channel corresponding to each channel number, acquiring a plurality of video streams acquired by the acquisition equipment in real time, and playing the video streams in turn according to the turn sequence of video turn inspection.
As an embodiment, the apparatus discussed in fig. 3 may be configured to execute the video polling method in the embodiment shown in fig. 2, and therefore, for functions and the like that can be realized by each functional module of the apparatus, reference may be made to the description of the embodiment shown in fig. 2, and details are not repeated here.
Based on the same inventive concept, the embodiment of the present application provides an electronic device, which can implement the functions of the management device in the video polling system discussed above, and referring to fig. 4, the electronic device includes a processor 401 and a memory 402.
A memory 402 for storing program instructions;
a processor 401 for calling the program instructions stored in the memory 402 and executing any of the video polling methods discussed above according to the obtained program instructions. Because the principle of the electronic device for solving the problems is similar to that of the video polling method, the implementation of the electronic device can refer to the implementation of the method, and repeated details are not repeated.
The processor 401 may be a Central Processing Unit (CPU), or one or more combinations of a digital processing unit, an image processor, and the like. The memory 402 may be a volatile memory (volatile memory), such as a random-access memory (RAM); the memory 402 may also be a non-volatile memory (non-volatile memory) such as, but not limited to, a read-only memory (rom), a flash memory (flash memory), a Hard Disk Drive (HDD) or a solid-state drive (SSD), or the memory 402 may be any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory 402 may be a combination of the above.
As an example, the processor 401 in fig. 4 may implement any of the video polling methods discussed above, and the processor 401 may also implement the functions of the video polling apparatus discussed above in fig. 3.
Based on the same inventive concept, embodiments of the present application provide a computer-readable storage medium storing a computer program, the computer program comprising program instructions that, when executed by a computer, cause the computer to perform any of the video polling methods as discussed above. Since the principle of solving the problem of the computer-readable storage medium is similar to that of the video polling method, the implementation of the computer-readable storage medium can refer to the implementation of the method, and repeated details are not repeated.
Based on the same inventive concept, the embodiment of the present application further provides a computer program product, where the computer program product includes: computer program code which, when run on a computer, causes the computer to perform a video polling method as any of the preceding discussions. Because the principle of solving the problems of the computer program product is similar to that of the video polling method, the implementation of the computer program product can refer to the implementation of the method, and repeated details are not repeated.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.
Claims (10)
1. A video polling method is applied to management equipment of a video polling system, wherein the video polling system further comprises acquisition equipment and playing equipment, and the method comprises the following steps:
receiving a plurality of images sent by a plurality of acquisition devices, wherein each acquisition device corresponds to one image;
determining a first weight of each image according to whether each image meets a plurality of self-defined preset rules;
determining a video polling sequence of the plurality of acquisition devices according to a descending order of the first weights of the plurality of images;
and sending a notice carrying the video polling sequence to the playing equipment so that the playing equipment plays the video streams acquired by the plurality of acquisition equipment in real time in polling according to the video polling sequence.
2. The method of claim 1, wherein any image of the plurality of images is the image of the current time sent after the plurality of capture devices determine that the image of the current time is different from the image of the previous time.
3. The method of claim 1, wherein determining the first weight for each image based on whether each image satisfies a customized plurality of predetermined rules comprises:
carrying out feature extraction processing on each image to obtain a plurality of features;
classifying the plurality of features to obtain a plurality of classified feature units;
and determining the first weight of each image according to the number of the characteristic units successfully matched with the plurality of self-defined preset rules.
4. The method of claim 3, wherein each preset rule comprises at least one feature and a feature value corresponding to the at least one feature, and determining the first weight of each image according to the number of successful matching of the feature units with the customized preset rules comprises:
matching the plurality of feature units with the at least one feature, and determining whether the plurality of feature units are successfully matched with each preset rule;
and determining a first weight of each image according to the number of the preset rules successfully matched and a second weight of each preset rule successfully matched, wherein the second weight of each preset rule is determined according to the at least one characteristic and the characteristic value corresponding to the at least one characteristic.
5. The method of any one of claims 1-4, wherein determining the video polling order of the plurality of capture devices in order of the first weights of the plurality of images from greater to lesser comprises:
and if a plurality of target images with the same first weight exist, determining a video polling sequence of a plurality of target acquisition devices sending the plurality of target images according to the priorities of the plurality of acquisition devices.
6. The method of any one of claims 1-4, wherein upon receiving a plurality of images transmitted by the plurality of acquisition devices, the method further comprises:
acquiring an equipment serial number and a channel number of each acquisition equipment;
sending a notification carrying the video polling sequence to the playing device, comprising:
encapsulating the video polling sequence of the plurality of acquisition devices, the device serial number and the channel number of each acquisition device in the notification;
and sending the notification to the playing equipment so that the playing equipment is connected with the acquisition equipment corresponding to each equipment serial number through the channel corresponding to each channel number, acquiring a plurality of video streams acquired by the acquisition equipment in real time, and playing the video streams in turn according to the turn sequence of the video.
7. The utility model provides a video is patrolled in turn and is put, its characterized in that, the device is applied to in the management equipment of video is patrolled in turn and is patrolled the system, the video is patrolled in turn and is still included collection equipment and playback devices, the device includes:
the receiving module is used for receiving a plurality of images sent by a plurality of acquisition devices, wherein each acquisition device corresponds to one image;
the determining module is used for determining a first weight of each image according to whether each image meets a plurality of self-defined preset rules;
the determining module is further configured to determine a video polling sequence of the multiple acquiring devices according to a descending order of the first weights of the multiple images;
and the sending module is used for sending the notice carrying the video polling sequence to the playing equipment so that the playing equipment plays the video streams acquired by the plurality of acquisition equipment in real time in polling according to the video polling sequence.
8. An electronic device, comprising:
a memory for storing program instructions;
a processor for calling program instructions stored in said memory and for executing the method of any one of claims 1 to 6 in accordance with the obtained program instructions.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions that, when executed by a computer, cause the computer to perform the method according to any one of claims 1-6.
10. A computer program product, the computer program product comprising: computer program code which, when run on a computer, causes the computer to perform the method according to any of the preceding claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111619460.9A CN114363565A (en) | 2021-12-27 | 2021-12-27 | Video polling method, device, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111619460.9A CN114363565A (en) | 2021-12-27 | 2021-12-27 | Video polling method, device, equipment and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114363565A true CN114363565A (en) | 2022-04-15 |
Family
ID=81102541
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111619460.9A Pending CN114363565A (en) | 2021-12-27 | 2021-12-27 | Video polling method, device, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114363565A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115103161A (en) * | 2022-06-22 | 2022-09-23 | 重庆紫光华山智安科技有限公司 | Patrol method, system, equipment and medium based on video propulsion |
CN115439787A (en) * | 2022-09-07 | 2022-12-06 | 长扬科技(北京)股份有限公司 | AI visual detection method and device for grain depot, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20190024934A (en) * | 2019-02-26 | 2019-03-08 | 이정무 | Multi image displaying method, Multi image managing server, Multi image displaying system, Computer program and Recording medium storing computer program for the same |
CN109862323A (en) * | 2019-02-20 | 2019-06-07 | 北京旷视科技有限公司 | Playback method, device and the processing equipment of multi-channel video |
CN110830758A (en) * | 2018-08-07 | 2020-02-21 | 浙江宇视科技有限公司 | Video polling method, device, video server and storage medium |
CN110933361A (en) * | 2018-09-19 | 2020-03-27 | 浙江宇视科技有限公司 | Wheel patrol display method and device |
CN112668357A (en) * | 2019-09-30 | 2021-04-16 | 广州慧睿思通科技股份有限公司 | Monitoring method and device |
-
2021
- 2021-12-27 CN CN202111619460.9A patent/CN114363565A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110830758A (en) * | 2018-08-07 | 2020-02-21 | 浙江宇视科技有限公司 | Video polling method, device, video server and storage medium |
CN110933361A (en) * | 2018-09-19 | 2020-03-27 | 浙江宇视科技有限公司 | Wheel patrol display method and device |
CN109862323A (en) * | 2019-02-20 | 2019-06-07 | 北京旷视科技有限公司 | Playback method, device and the processing equipment of multi-channel video |
KR20190024934A (en) * | 2019-02-26 | 2019-03-08 | 이정무 | Multi image displaying method, Multi image managing server, Multi image displaying system, Computer program and Recording medium storing computer program for the same |
CN112668357A (en) * | 2019-09-30 | 2021-04-16 | 广州慧睿思通科技股份有限公司 | Monitoring method and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115103161A (en) * | 2022-06-22 | 2022-09-23 | 重庆紫光华山智安科技有限公司 | Patrol method, system, equipment and medium based on video propulsion |
CN115439787A (en) * | 2022-09-07 | 2022-12-06 | 长扬科技(北京)股份有限公司 | AI visual detection method and device for grain depot, electronic equipment and storage medium |
CN115439787B (en) * | 2022-09-07 | 2023-08-04 | 长扬科技(北京)股份有限公司 | AI visual detection method and device for grain depot, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109166261B (en) | Image processing method, device and equipment based on image recognition and storage medium | |
CN111901573A (en) | Fine granularity real-time supervision system based on edge calculation | |
CN114363565A (en) | Video polling method, device, equipment and medium | |
CN108875834B (en) | Image clustering method, device, computer equipment and storage medium | |
CN109740004B (en) | Filing method and device | |
WO2018112722A1 (en) | Video inspection method and system thereof | |
CN111010547A (en) | Target object tracking method and device, storage medium and electronic device | |
CN108806153A (en) | Alert processing method, apparatus and system | |
CN109960969B (en) | Method, device and system for generating moving route | |
CN112437264B (en) | Monitoring video processing method and device | |
CN111565225A (en) | Figure action track determination method and device | |
CN110705476A (en) | Data analysis method and device, electronic equipment and computer storage medium | |
CN109800664B (en) | Method and device for determining passersby track | |
CN111464819A (en) | Live image detection method, device, equipment and storage medium | |
CN110191324B (en) | Image processing method, image processing apparatus, server, and storage medium | |
CN113992893A (en) | Park inspection method and device, storage medium and electronic device | |
CN108540817B (en) | Video data processing method, device, server and computer readable storage medium | |
CN115223076A (en) | Behavior warning method, behavior warning device, behavior warning equipment and storage medium | |
US20200128193A1 (en) | Camera Array Orchestration | |
CN110147759A (en) | Target identification method, system, target identification management method and storage medium | |
CN109120896B (en) | Security video monitoring guard system | |
CN110855947B (en) | Image snapshot processing method and device | |
KR101964230B1 (en) | System for processing data | |
CN110990607B (en) | Method, apparatus, server and computer readable storage medium for screening game photos | |
US9070040B2 (en) | Video processing system, method of determining viewer preference, video processing apparatus, and control method |
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 |