CN108174147B - Automatic optimization allocation method for video source and tracking server in video monitoring system - Google Patents
Automatic optimization allocation method for video source and tracking server in video monitoring system Download PDFInfo
- Publication number
- CN108174147B CN108174147B CN201711315412.4A CN201711315412A CN108174147B CN 108174147 B CN108174147 B CN 108174147B CN 201711315412 A CN201711315412 A CN 201711315412A CN 108174147 B CN108174147 B CN 108174147B
- Authority
- CN
- China
- Prior art keywords
- server
- tracking
- domain name
- video
- name resolution
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
- H04N7/181—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/40—Scenes; Scene-specific elements in video content
- G06V20/41—Higher-level, semantic clustering, classification or understanding of video scenes, e.g. detection, labelling or Markovian modelling of sport events or news items
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V2201/00—Indexing scheme relating to image or video recognition or understanding
- G06V2201/07—Target detection
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computational Linguistics (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Closed-Circuit Television Systems (AREA)
Abstract
Description
技术领域technical field
本发明涉及城市视频监控安全技术领域,特别是涉及一种视频监控系统中视频源与追踪服务器的自动优化分配方法。The invention relates to the technical field of urban video surveillance security, in particular to an automatic optimal distribution method of a video source and a tracking server in a video surveillance system.
背景技术Background technique
目前对事故发生后逃逸嫌犯的追捕还是依靠人力查看事故发生地及其附近监控摄像画面。人力查看监控的方法帮助我国破获大量的案件,各案件发生地覆盖全国各地,破获案件数量多。以山东青岛莱西市为例,2015年9月8日至2016年9月8日,全市通过视频监控系统直接破获各类刑事案件770余起。利用人力查看监控的方法追捕逃逸嫌犯是追捕逃逸嫌犯如今最常用的方法。At present, the pursuit of escaped suspects after the accident still relies on manpower to check the surveillance camera images of the accident site and its vicinity. The method of human inspection and monitoring has helped our country to solve a large number of cases. The places where the cases occurred cover all parts of the country, and the number of solved cases is large. Taking Laixi City, Qingdao, Shandong as an example, from September 8, 2015 to September 8, 2016, the city directly cracked more than 770 criminal cases of various types through the video surveillance system. Using manpower to check and monitor the method of chasing escape suspects is the most common method of chasing escape suspects today.
在之前相当长的历史时期,人力查看监控画面追捕逃逸嫌犯对于抓捕嫌犯起到了重要的作用。但是随着案件发生后时间的延续,疑犯的逃逸范围就逐步扩大,在实际追捕调查中搜寻疑犯的难度也将越来越大,需要的人力也就越来越多。后期虽然增派了人力来加快查看监控的速度,但是因为总人力的限制,通过人力来实现追捕逃逸嫌犯的方法的效率不高。显然,效率受到了限制。In a long historical period before, manpower viewing surveillance images to hunt down escaped suspects played an important role in catching suspects. However, with the continuation of the time after the incident, the escape range of the suspect has gradually expanded, and it will become more and more difficult to search for the suspect in the actual pursuit and investigation, and more and more manpower will be required. In the later period, although additional manpower was dispatched to speed up the inspection and monitoring, due to the limitation of the total manpower, the method of chasing escaped suspects through manpower was not efficient. Obviously, efficiency is limited.
目前导致追捕逃逸嫌犯效率低的原因有如下几方面:At present, the reasons for the inefficiency of chasing escaped suspects are as follows:
①.人力观看监控视频效率低①. The efficiency of human watching surveillance video is low
人力在观看监控视频查找嫌疑人的过程中,需要观看大量的视频资料,在大量的视频资料中找出逃逸嫌犯。因为视频资料中的绝大部分是逃逸嫌犯不出现的画面,经过长期观看的疲劳将导致错过逃逸嫌犯几率增高。In the process of watching surveillance videos to find suspects, manpower needs to watch a large number of video materials and find escaped suspects in a large number of video materials. Because the vast majority of the video data are pictures of escape suspects that do not appear, fatigue after long-term viewing will increase the probability of missing escape suspects.
②.追捕人力不足、追捕时间长②.Insufficient manpower to hunt down and long hunting time
由于人力总和的限制,追捕逃逸嫌犯的人力有最大值。然而人力观看监控视频查找逃逸嫌疑人的过程中,人力不足导致观看监控视频的速度慢,追捕到疑犯的时间就越长,则嫌犯逃逸范围越大,需要观看更多的监控视频,如此恶性循环。嫌犯逃逸几率增高。Due to the limitation of the sum of manpower, there is a maximum manpower to hunt down escaped suspects. However, in the process of manpower watching surveillance videos to find escape suspects, the lack of manpower leads to slow viewing of surveillance videos. The longer it takes to hunt down the suspect, the greater the escape range of the suspect and the need to watch more surveillance videos. Such a vicious circle . Suspects are more likely to escape.
③.监控摄像机的地理信息搜寻不科学③. The geographic information search of surveillance cameras is unscientific
人力观看监控摄像机的过程,需要人工对摄像机与地理信息进行对应,效率低且不能保证正确。The process of watching surveillance cameras manually requires manual correspondence between cameras and geographic information, which is inefficient and cannot be guaranteed to be correct.
发明内容SUMMARY OF THE INVENTION
本发明的目的在于提供一种视频监控系统中视频源与追踪服务器的自动优化分配方法,解决目前视频监控系统追踪逃逸嫌犯效率较低的技术问题。The purpose of the present invention is to provide an automatic optimal allocation method for video sources and tracking servers in a video surveillance system, so as to solve the technical problem that the current video surveillance system has low efficiency in tracking escaped suspects.
本发明提供一种视频监控系统中视频源与追踪服务器的自动优化分配方法,包括以下步骤:The present invention provides an automatic optimal allocation method for a video source and a tracking server in a video surveillance system, comprising the following steps:
步骤一、建立树形逻辑结构的服务器集群Step 1. Establish a server cluster with a tree-like logical structure
服务器集群包括一台视频追踪信息调度服务器、多台域名解析服务器、一台查询服务器和多台追踪服务器,其中,视频追踪信息调度服务器处理来自其他服务器的信息,是不同种类服务器之间交流的纽带,域名解析服务器采用树形逻辑结构,将域名解析成IP,查询服务器为每个IP动态分配追踪服务器,追踪服务器用于摄像头中的视频解析;The server cluster includes a video tracking information scheduling server, multiple domain name resolution servers, a query server and multiple tracking servers. The video tracking information scheduling server processes information from other servers and is the link between different types of servers. , the domain name resolution server adopts a tree-like logic structure to resolve the domain name into IP, the query server dynamically allocates a tracking server for each IP, and the tracking server is used for video analysis in the camera;
步骤二、确定要解析的摄像头的范围Step 2. Determine the range of the camera to be analyzed
以视频源摄像头a为起点,以可达路径长度r为半径的覆盖区域内的n个摄像头作为要解析的摄像头,利用地图可知路径长度,以路径长度依次递增的顺序为各摄像头分配优先级,路径长度最短的摄像头的优先级最高;Take the video source camera a as the starting point, and take the n cameras in the coverage area with the reachable path length r as the radius as the cameras to be analyzed, use the map to know the path length, and assign the priority to each camera in the order of increasing path length, The camera with the shortest path length has the highest priority;
步骤三、获取摄像头的IP地址Step 3. Obtain the IP address of the camera
在互联网中,每一个摄像头会被分配一个IP地址作为全球唯一标识符。视频追踪信息调度服务器将以视频源摄像头a为起点,以可达路径长度r为半径的覆盖区域内的n个摄像头根据优先级高低,把域名解析请求发送至域名解析服务器,域名解析服务器采用树形逻辑结构,将整个域名空间的管理任务分成多份,分别由每个子节点上的域名解析服务器自行进行管理,最终将视频源摄像头a为起点,以可达路径长度r为半径的覆盖区域内的n个摄像头的IP地址发送至视频追踪信息调度服务器;In the Internet, each camera is assigned an IP address as a globally unique identifier. The video tracking information scheduling server will take the video source camera a as the starting point, and the n cameras in the coverage area with the reachable path length r as the radius will send the domain name resolution request to the domain name resolution server according to the priority level, and the domain name resolution server uses a tree It is a logical structure that divides the management tasks of the entire domain name space into multiple parts, which are managed by the domain name resolution server on each sub-node. Finally, the video source camera a is the starting point, and the reachable path length r is the coverage area of the radius. The IP addresses of the n cameras are sent to the video tracking information scheduling server;
步骤四、为摄像头分配对应的追踪服务器Step 4. Assign the corresponding tracking server to the camera
视频追踪信息调度服务器将解析好的IP地址发送至查询服务器,查询服务器根据动态优化分配的原则,为每个追踪服务器分配一个初始化为空的队列空间,用来保存追踪服务器需要处理的摄像头对应的IP地址;根据IP进入查询服务器的先后顺序,为每个IP分配追踪服务器;若当前所有追踪服务器均被占用,则将新进入的IP分配给队列长度最短的追踪服务器;当队列长度最短的服务器数量大于1时,则从中随机选择进行分配;视频解析完毕后,将其对应的IP地址从追踪服务器的队列中删除;The video tracking information dispatch server sends the resolved IP address to the query server, and the query server allocates an initialized empty queue space for each tracking server according to the principle of dynamic optimization and allocation, which is used to store the corresponding cameras that the tracking server needs to process. IP address; assign a tracking server to each IP according to the order in which the IP enters the query server; if all current tracking servers are occupied, the newly entered IP will be assigned to the tracking server with the shortest queue length; when the server with the shortest queue length When the number is greater than 1, it will be randomly selected for allocation; after the video is parsed, its corresponding IP address will be deleted from the queue of the tracking server;
步骤五、确定时间片Step 5. Determine the time slice
利用地图可知区域内的摄像头离视频源摄像头a的距离大小,则截取视频的起始时刻和结束时刻可用公式表示为:Using the map to know the distance between the camera in the area and the video source camera a, the start time and end time of the intercepted video can be expressed as:
其中,in,
Vc为逃逸嫌犯最快逃逸速度;V c is the fastest escape speed of the escaping suspect;
Vx为逃逸嫌犯最慢逃逸速度;V x is the slowest escape velocity of the escape suspect;
si为第i个摄像头到a的距离,i=1,2,…,n;s i is the distance from the ith camera to a, i=1,2,...,n;
则第i个摄像头传输视频的时间片可表示为其中t0为a中特定目标信息出现的时间;Then the time slice of the video transmitted by the i-th camera can be expressed as where t 0 is the time when the specific target information in a appears;
步骤六、追踪Step 6. Tracking
视频追踪信息调度服务器将特定目标信息和以视频源摄像头a为起点,以可达路径长度r为半径的覆盖区域内的n个摄像头的时间片内的视频源传送至摄像头分配到的追踪服务器中,对应的追踪服务器根据特定目标信息分析视频源,判断该目标是否出现在视频源中。The video tracking information scheduling server transmits the specific target information and the video sources within the time slice of n cameras in the coverage area with the video source camera a as the starting point and the reachable path length r as the radius to the tracking server assigned by the cameras. , the corresponding tracking server analyzes the video source according to the specific target information, and determines whether the target appears in the video source.
进一步的,步骤三中,获取以视频源摄像头a为起点,以可达路径长度r为半径的覆盖区域内的n个摄像头的IP地址具体包括如下步骤:Further, in step 3, obtaining the IP addresses of n cameras in the coverage area with the video source camera a as the starting point and the reachable path length r as the radius specifically includes the following steps:
步骤31、视频追踪信息调度服务器将域名解析请求先发送至本地域名解析服务器;Step 31, the video tracking information scheduling server first sends the domain name resolution request to the local domain name resolution server;
步骤32、本地域名解析服务器收到请求后,先查询本地的缓存,如果本地的缓存有该域名和IP地址对应的记录项,则本地域名解析服务器直接把查询的结果返回给视频追踪信息调度服务器;Step 32: After the local domain name resolution server receives the request, it first queries the local cache. If the local cache has a record item corresponding to the domain name and the IP address, the local domain name resolution server directly returns the query result to the video tracking information scheduling server. ;
步骤33、如果本地的缓存没有该域名和IP地址对应的记录项,则本地域名解析服务器把域名解析请求发送至根节点上的域名解析服务器,然后根节点上的域名解析服务器再返回给本地域名解析服务器一个根节点下的子节点上的域名解析服务器的地址;Step 33: If the local cache does not have a record item corresponding to the domain name and IP address, the local domain name resolution server sends the domain name resolution request to the domain name resolution server on the root node, and then the domain name resolution server on the root node returns to the local domain name. The address of the domain name resolution server on the child node under a root node of the resolution server;
步骤34、本地域名解析服务器再向步骤33中子节点上的域名解析服务器发送请求,然后接受请求的域名解析服务器查询自己的缓存,如果没有该域名和IP地址对应的记录项,则返回下一级的域名解析服务器的地址;Step 34, the local domain name resolution server sends a request to the domain name resolution server on the child node in step 33, and then the domain name resolution server that accepts the request queries its own cache, if there is no record item corresponding to the domain name and IP address, then returns to the next The address of the domain name resolution server at the highest level;
步骤35、重复步骤34,直至找到正确域名解析服务器地址,并将解析出的IP地址发送本地域名解析服务器;Step 35, repeat step 34, until the correct domain name resolution server address is found, and the resolved IP address is sent to the local domain name resolution server;
步骤36、本地域名解析服务器将摄像头的IP地址发送至视频追踪信息调度服务器。Step 36: The local domain name resolution server sends the IP address of the camera to the video tracking information scheduling server.
进一步的,步骤三中,视频追踪信息调度服务器到本地域名解析服务器的查询方式为递归查询。Further, in step 3, the query method from the video tracking information scheduling server to the local domain name resolution server is recursive query.
进一步的,步骤三中,域名解析服务器之间的查询方式为迭代查询。Further, in step 3, the query mode between the domain name resolution servers is an iterative query.
进一步的,步骤四中,为摄像头分配对应的追踪服务器具体包括如下步骤:Further, in step 4, allocating the corresponding tracking server to the camera specifically includes the following steps:
步骤41、查询有无队列为空的追踪服务器,有则将IP分配给该服务器;Step 41. Query whether there is a tracking server with an empty queue, and assign an IP to the server if there is;
步骤42、当前没有队列为空的追踪服务器时,则查询所有追踪服务器队列长度;Step 42: When there is no tracking server with an empty queue, query the queue lengths of all tracking servers;
步骤43、选择队列长度最短的追踪服务器,将摄像头对应的IP添加至该追踪服务器的队列中,当队列长度最短的追踪服务器数量大于1时,则在备选追踪服务器中随机分配;Step 43: Select the tracking server with the shortest queue length, and add the IP corresponding to the camera to the queue of the tracking server. When the number of tracking servers with the shortest queue length is greater than 1, it will be randomly allocated among the alternative tracking servers;
步骤44、有多个IP就重复步骤41-43;Step 44. Repeat steps 41-43 if there are multiple IPs;
步骤45、追踪服务器完成对当前IP的视频解析后,将当前IP从队列中删除。Step 45: After the tracking server completes the video parsing of the current IP, it deletes the current IP from the queue.
与现有技术相比,本发明的视频监控系统中视频源与追踪服务器的自动优化分配方法及具有以下特点和优点:Compared with the prior art, the automatic optimal distribution method of the video source and the tracking server in the video surveillance system of the present invention has the following characteristics and advantages:
本发明的视频监控系统中视频源与追踪服务器的自动优化分配方法,在某一摄像头处发生事故后,该处摄像头拍摄具有事故特定目标信息(如逃逸嫌犯的五官特征)的视频源,通过本方法确定以视频源摄像头a为起点,以可达路径长度r为半径的覆盖区域内的n个摄像头为查询区域,追踪服务器根据特定目标信息分析时间片内的视频源,判断该目标是否出现在分配给该追踪服务器的摄像头拍摄的视频源中,确定逃逸嫌犯的逃跑路径及位置,提高利用视频监控系统追踪逃逸嫌犯的效率。According to the automatic optimal distribution method of video source and tracking server in the video surveillance system of the present invention, after an accident occurs at a certain camera, the camera shoots the video source with the specific target information of the accident (such as the facial features of the escaped suspect), and through this The method determines that with the video source camera a as the starting point and n cameras in the coverage area with the reachable path length r as the radius as the query area, the tracking server analyzes the video source in the time slice according to the specific target information, and determines whether the target appears in the In the video source captured by the camera assigned to the tracking server, the escape path and location of the escaped suspect are determined, and the efficiency of tracking the escaped suspect by using the video surveillance system is improved.
结合附图阅读本发明的具体实施方式后,本发明的特点和优点将变得更加清楚。The features and advantages of the present invention will become more apparent after reading the detailed description of the present invention in conjunction with the accompanying drawings.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are For some embodiments of the present invention, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.
图1为本发明实施例视频监控系统中视频源与追踪服务器的自动优化分配方法的流程图;1 is a flowchart of an automatic optimal allocation method for a video source and a tracking server in a video surveillance system according to an embodiment of the present invention;
图2为本发明实施例视频监控系统中视频源与追踪服务器的自动优化分配方法中服务器集群的示意图;2 is a schematic diagram of a server cluster in an automatic optimal allocation method for a video source and a tracking server in a video surveillance system according to an embodiment of the present invention;
图3为本发明实施例视频监控系统中视频源与追踪服务器的自动优化分配方法中服务器集群树形逻辑结构示意图。FIG. 3 is a schematic diagram of a server cluster tree logical structure in an automatic optimal allocation method for video sources and tracking servers in a video surveillance system according to an embodiment of the present invention.
具体实施方式Detailed ways
参照图1至图3,本实施例的视频监控系统中视频源与追踪服务器的自动优化分配方法,包括以下步骤:Referring to FIGS. 1 to 3 , the method for automatically optimizing the distribution of video sources and tracking servers in the video surveillance system of the present embodiment includes the following steps:
步骤一、建立树形逻辑结构的服务器集群Step 1. Establish a server cluster with a tree-like logical structure
服务器集群包括一台视频追踪信息调度服务器、多台域名解析服务器、一台查询服务器和多台追踪服务器,其中,视频追踪信息调度服务器处理来自其他服务器的信息,是不同种类服务器之间交流的纽带,域名解析服务器采用树形逻辑结构,将域名解析成IP,查询服务器为每个IP动态分配追踪服务器,追踪服务器用于摄像头中的视频解析;The server cluster includes a video tracking information scheduling server, multiple domain name resolution servers, a query server and multiple tracking servers. The video tracking information scheduling server processes information from other servers and is the link between different types of servers. , the domain name resolution server adopts a tree-like logic structure to resolve the domain name into IP, the query server dynamically allocates a tracking server for each IP, and the tracking server is used for video analysis in the camera;
步骤二、确定要解析的摄像头的范围Step 2. Determine the range of the camera to be analyzed
以视频源摄像头a为起点,以可达路径长度r为半径的覆盖区域内的n个摄像头作为要解析的摄像头,利用地图可知路径长度,以路径长度依次递增的顺序为各摄像头分配优先级,路径长度最短的摄像头的优先级最高。比如,视频源摄像头a位于一超市门口,则以超市门口为中心,以可达路径长度r为半径的覆盖区域内的n个摄像头作为要解析的摄像头,在此区域内离视频源摄像头a距离最近的摄像头作为最先解析的摄像头。Take the video source camera a as the starting point, and take the n cameras in the coverage area with the reachable path length r as the radius as the cameras to be analyzed, use the map to know the path length, and assign the priority to each camera in the order of increasing path length, The camera with the shortest path length has the highest priority. For example, if the video source camera a is located at the entrance of a supermarket, take the supermarket entrance as the center, and take the n cameras in the coverage area with the reachable path length r as the radius as the cameras to be analyzed, and the distance from the video source camera a in this area is The closest camera is used as the first parsed camera.
步骤三、获取摄像头的IP地址Step 3. Obtain the IP address of the camera
在互联网中,每一个摄像头会被分配一个IP地址作为全球唯一标识符。视频追踪信息调度服务器将以视频源摄像头a为起点,以可达路径长度r为半径的覆盖区域内的n个摄像头的域名解析请求发送至域名解析服务器,域名解析服务器采用树形逻辑结构,将整个域名空间的管理任务分成多份,分别由每个子节点上的域名解析服务器自行进行管理,最终将视频源摄像头a为起点,以可达路径长度r为半径的覆盖区域内的n个摄像头的IP地址发送至视频追踪信息调度服务器。In the Internet, each camera is assigned an IP address as a globally unique identifier. The video tracking information scheduling server sends the domain name resolution requests of n cameras within the coverage area with the video source camera a as the starting point and the reachable path length r as the radius to the domain name resolution server. The management tasks of the entire domain name space are divided into multiple parts, which are managed by the domain name resolution server on each sub-node. Finally, the video source camera a is the starting point, and the coverage area with the reachable path length r is the radius. The IP address is sent to the video tracking information scheduling server.
以上,确定以视频源摄像头a为起点,以可达路径长度r为半径的覆盖区域内的n个摄像头的IP地址具体包括如下步骤:Above, determining the IP addresses of n cameras in the coverage area with the video source camera a as the starting point and the reachable path length r as the radius specifically includes the following steps:
步骤31、视频追踪信息调度服务器将域名解析请求先发送至本地域名解析服务器;Step 31, the video tracking information scheduling server first sends the domain name resolution request to the local domain name resolution server;
步骤32、本地域名解析服务器收到请求后,先查询本地的缓存,如果本地的缓存有该域名和IP地址对应的记录项,则本地域名解析服务器直接把查询的结果返回给视频追踪信息调度服务器;Step 32: After the local domain name resolution server receives the request, it first queries the local cache. If the local cache has a record item corresponding to the domain name and the IP address, the local domain name resolution server directly returns the query result to the video tracking information scheduling server. ;
步骤33、如果本地的缓存没有该域名和IP地址对应的记录项,则本地域名解析服务器把域名解析请求发送至根节点上的域名解析服务器,然后根节点上的域名解析服务器再返回给本地域名解析服务器一个根节点下的子节点上的域名解析服务器的地址;Step 33: If the local cache does not have a record item corresponding to the domain name and IP address, the local domain name resolution server sends the domain name resolution request to the domain name resolution server on the root node, and then the domain name resolution server on the root node returns to the local domain name. The address of the domain name resolution server on the child node under a root node of the resolution server;
步骤34、本地域名解析服务器再向步骤33中子节点上的域名解析服务器发送请求,然后接受请求的域名解析服务器查询自己的缓存,如果没有该域名和IP地址对应的记录项,则返回下一级的域名解析服务器的地址;Step 34, the local domain name resolution server sends a request to the domain name resolution server on the child node in step 33, and then the domain name resolution server that accepts the request queries its own cache, if there is no record item corresponding to the domain name and IP address, then returns to the next The address of the domain name resolution server at the highest level;
步骤35、重复步骤34,直至找到正确域名解析服务器地址,并将解析出的IP地址发送本地域名解析服务器;Step 35, repeat step 34, until the correct domain name resolution server address is found, and the resolved IP address is sent to the local domain name resolution server;
步骤36、本地域名解析服务器将摄像头的IP地址发送至视频追踪信息调度服务器。Step 36: The local domain name resolution server sends the IP address of the camera to the video tracking information scheduling server.
在步骤三中,视频追踪信息调度服务器到本地域名解析服务器的查询方式为递归查询。递归查询的查询过程如下:如果视频追踪信息调度服务器所询问的是本地域名解析服务器不知道的地址,那么本地域名解析服务器就向其根域名解析服务器继续发出查询请求的要求,而不是让视频追踪信息调度服务器自己进行下一步查询;本地域名解析服务器代替视频追踪信息调度服务器向其他域名解析服务器查询时,视频追踪信息调度服务器完全处于等待状态,返回的结果只有两种:查询成功或者查询失败。In step 3, the query method from the video tracking information scheduling server to the local domain name resolution server is recursive query. The query process of recursive query is as follows: if the video tracking information scheduling server asks for an address that the local DNS server does not know, then the local DNS server will continue to send a query request to its root DNS server, instead of letting the video tracking The information scheduling server performs the next query by itself; when the local domain name resolution server replaces the video tracking information scheduling server to query other domain name resolution servers, the video tracking information scheduling server is completely in a waiting state, and there are only two results returned: the query succeeds or the query fails.
在步骤三中,域名解析服务器之间的查询方式为迭代查询。迭代查询的查询过程如下:当根域名解析服务器收到本地域名解析服务器发出的查询请求时,要么给出所要查询的地址,要么告诉本地域名解析服务器“你下一步应当向哪一个域名解析服务器进行查询”,然后让本地域名解析服务器进行后续的查询;根域名解析服务器把自己知道的下一级域名解析服务器的地址告诉本地域名解析服务器,让本地域名解析服务器再向下一级域名解析服务器查询,返回的结果只有两种:最佳的查询点或者IP地址。In step 3, the query mode between the domain name resolution servers is an iterative query. The query process of the iterative query is as follows: when the root DNS server receives the query request from the local DNS server, it either gives the address to be queried, or tells the local DNS server "Which DNS server should you go to next? Query", and then let the local domain name resolution server perform subsequent queries; the root domain name resolution server informs the local domain name resolution server of the address of the next-level domain name resolution server that it knows, and asks the local domain name resolution server to query the next-level domain name resolution server. , there are only two kinds of results returned: the best query point or the IP address.
步骤四、为摄像头分配对应的追踪服务器Step 4. Assign the corresponding tracking server to the camera
视频追踪信息调度服务器将解析好的IP地址发送至查询服务器,查询服务器根据动态优化分配的原则,为每个追踪服务器分配一个初始化为空的队列空间,用来保存追踪服务器需要处理的摄像头对应的IP地址;根据IP进入查询服务器的先后顺序,为每个IP分配追踪服务器;若当前所有追踪服务器均被占用,则将新进入的IP分配给队列长度最短的追踪服务器;当队列长度最短的服务器数量大于1时,则从中随机选择进行分配;视频解析完毕后,将其对应的IP地址从追踪服务器的队列中删除。The video tracking information dispatch server sends the resolved IP address to the query server, and the query server allocates an initialized empty queue space for each tracking server according to the principle of dynamic optimization and allocation, which is used to store the corresponding cameras that the tracking server needs to process. IP address; assign a tracking server to each IP according to the order in which the IP enters the query server; if all current tracking servers are occupied, the newly entered IP will be assigned to the tracking server with the shortest queue length; when the server with the shortest queue length When the number is greater than 1, it will be randomly selected for allocation; after the video is parsed, its corresponding IP address will be deleted from the queue of the tracking server.
以上,为摄像头分配对应的追踪服务器具体包括如下步骤:Above, allocating the corresponding tracking server to the camera specifically includes the following steps:
步骤41、查询有无队列为空的追踪服务器,有则将IP分配给该服务器;Step 41. Query whether there is a tracking server with an empty queue, and assign an IP to the server if there is;
步骤42、当前没有队列为空的追踪服务器时,则查询所有追踪服务器队列长度;Step 42: When there is no tracking server with an empty queue, query the queue lengths of all tracking servers;
步骤43、选择队列长度最短的追踪服务器,将摄像头对应的IP添加至该追踪服务器的队列中,当队列长度最短的追踪服务器数量大于1时,则在备选追踪服务器中随机分配;Step 43: Select the tracking server with the shortest queue length, and add the IP corresponding to the camera to the queue of the tracking server. When the number of tracking servers with the shortest queue length is greater than 1, it will be randomly allocated among the alternative tracking servers;
步骤44、有多个IP就重复步骤41-43;Step 44. Repeat steps 41-43 if there are multiple IPs;
步骤45、追踪服务器完成对当前IP的视频解析后,将当前IP从队列中删除Step 45. After the tracking server completes the video analysis of the current IP, it deletes the current IP from the queue
步骤五、确定时间片Step 5. Determine the time slice
利用地图可知区域内的摄像头离视频源摄像头a的距离大小,则截取视频的起始时刻和结束时刻可用公式表示为:Using the map to know the distance between the camera in the area and the video source camera a, the start time and end time of the intercepted video can be expressed as:
其中,in,
Vc为逃逸嫌犯最快逃逸速度,比如为逃逸嫌犯驾驶车辆行驶的平均速度;V c is the fastest escape speed of the escape suspect, such as the average speed of the vehicle driven by the escape suspect;
Vx为逃逸嫌犯最慢逃逸速度,比如为逃逸嫌犯行走的平均速度;V x is the slowest escape velocity of the escaping suspect, such as the average walking speed of the escaping suspect;
si为第i个摄像头到a的距离,i=1,2,…,n;s i is the distance from the ith camera to a, i=1,2,...,n;
则第i个摄像头传输视频的时间片可表示为其中t0为a中特定目标信息出现的时间;Then the time slice of the video transmitted by the i-th camera can be expressed as where t 0 is the time when the specific target information in a appears;
步骤六、追踪Step 6. Tracking
视频追踪信息调度服务器将特定目标信息和以视频源摄像头a为起点,以可达路径长度r为半径的覆盖区域内的n个摄像头的时间片内的视频源传送至摄像头分配到的追踪服务器中,对应的追踪服务器根据特定目标信息分析视频源,判断该目标是否出现在视频源中。The video tracking information scheduling server transmits the specific target information and the video sources within the time slice of n cameras in the coverage area with the video source camera a as the starting point and the reachable path length r as the radius to the tracking server assigned by the cameras. , the corresponding tracking server analyzes the video source according to the specific target information, and determines whether the target appears in the video source.
本实施例的视频监控系统中视频源与追踪服务器的自动优化分配方法,在某一摄像头处发生事故后,该处摄像头拍摄具有事故特定目标信息(如逃逸嫌犯的五官特征)的视频源,通过本方法确定以视频源摄像头a为起点,以可达路径长度r为半径的覆盖区域内的n个摄像头为查询区域,追踪服务器根据特定目标信息分析时间片内的视频源,判断该目标是否出现在分配给该追踪服务器的摄像头拍摄的视频源中,确定逃逸嫌犯的逃跑路径及位置,提高利用视频监控系统追踪逃逸嫌犯的效率。In the method for automatically optimizing the distribution of video sources and tracking servers in the video surveillance system of this embodiment, after an accident occurs at a certain camera, the camera shoots a video source with specific target information of the accident (such as the facial features of the escaped suspect), This method determines that the video source camera a is the starting point, and n cameras in the coverage area with the reachable path length r as the radius are the query area, and the tracking server analyzes the video source in the time slice according to the specific target information, and judges whether the target appears. From the video source shot by the camera assigned to the tracking server, the escape path and location of the escaped suspect are determined, and the efficiency of tracking the escaped suspect by using the video surveillance system is improved.
当然,上述说明并非是对本发明的限制,本发明也并不仅限于上述举例,本技术领域的技术人员在本发明的实质范围内所做出的变化、改型、添加或替换,也应属于本发明的保护范围。Of course, the above description is not intended to limit the present invention, and the present invention is not limited to the above examples. Changes, modifications, additions or substitutions made by those skilled in the art within the essential scope of the present invention should also belong to the present invention. the scope of protection of the invention.
Claims (5)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711315412.4A CN108174147B (en) | 2017-12-12 | 2017-12-12 | Automatic optimization allocation method for video source and tracking server in video monitoring system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711315412.4A CN108174147B (en) | 2017-12-12 | 2017-12-12 | Automatic optimization allocation method for video source and tracking server in video monitoring system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN108174147A CN108174147A (en) | 2018-06-15 |
| CN108174147B true CN108174147B (en) | 2020-01-03 |
Family
ID=62525080
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201711315412.4A Active CN108174147B (en) | 2017-12-12 | 2017-12-12 | Automatic optimization allocation method for video source and tracking server in video monitoring system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108174147B (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111526324B (en) * | 2019-02-01 | 2022-02-25 | 杭州海康威视数字技术股份有限公司 | Monitoring system and method |
| CN110798618B (en) * | 2019-10-30 | 2022-01-11 | 广州海格星航信息科技有限公司 | Camera resource scheduling method and device in dynamic tracking |
| CN113010545B (en) * | 2019-12-20 | 2023-02-28 | 浙江宇视科技有限公司 | Data searching method, device, server, storage medium and system |
| CN115941775B (en) * | 2022-10-09 | 2024-07-19 | 北京奇艺世纪科技有限公司 | Client registration method and device, electronic equipment and storage medium |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102509310A (en) * | 2011-11-18 | 2012-06-20 | 上海电机学院 | Video tracking analysis method and system combined with geographic information |
| CN103004188A (en) * | 2010-07-19 | 2013-03-27 | 爱普索科技有限公司 | Devices, systems and methods |
| CN103607576A (en) * | 2013-11-28 | 2014-02-26 | 北京航空航天大学深圳研究院 | Traffic video monitoring system oriented to cross camera tracking relay |
| CN104702917A (en) * | 2015-03-25 | 2015-06-10 | 成都市灵奇空间软件有限公司 | Video concentrating method based on micro map |
| CN104902004A (en) * | 2015-04-13 | 2015-09-09 | 深圳位置网科技有限公司 | Emergency rescue system and emergency rescue method for missing persons |
| CN105491327A (en) * | 2015-11-18 | 2016-04-13 | 浙江宇视科技有限公司 | Video tracking method and device based on road network |
| CN106096577A (en) * | 2016-06-24 | 2016-11-09 | 安徽工业大学 | Target tracking system in a kind of photographic head distribution map and method for tracing |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070106484A1 (en) * | 2005-11-04 | 2007-05-10 | Triverity Corporation | Entertainment ride experience enhancement system |
| US9210385B2 (en) * | 2012-11-20 | 2015-12-08 | Pelco, Inc. | Method and system for metadata extraction from master-slave cameras tracking system |
-
2017
- 2017-12-12 CN CN201711315412.4A patent/CN108174147B/en active Active
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103004188A (en) * | 2010-07-19 | 2013-03-27 | 爱普索科技有限公司 | Devices, systems and methods |
| CN102509310A (en) * | 2011-11-18 | 2012-06-20 | 上海电机学院 | Video tracking analysis method and system combined with geographic information |
| CN103607576A (en) * | 2013-11-28 | 2014-02-26 | 北京航空航天大学深圳研究院 | Traffic video monitoring system oriented to cross camera tracking relay |
| CN104702917A (en) * | 2015-03-25 | 2015-06-10 | 成都市灵奇空间软件有限公司 | Video concentrating method based on micro map |
| CN104902004A (en) * | 2015-04-13 | 2015-09-09 | 深圳位置网科技有限公司 | Emergency rescue system and emergency rescue method for missing persons |
| CN105491327A (en) * | 2015-11-18 | 2016-04-13 | 浙江宇视科技有限公司 | Video tracking method and device based on road network |
| CN106096577A (en) * | 2016-06-24 | 2016-11-09 | 安徽工业大学 | Target tracking system in a kind of photographic head distribution map and method for tracing |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108174147A (en) | 2018-06-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108174147B (en) | Automatic optimization allocation method for video source and tracking server in video monitoring system | |
| US6751627B2 (en) | Method and apparatus to facilitate accessing data in network management protocol tables | |
| US20130013789A1 (en) | Content management | |
| CN109873855B (en) | Resource acquisition method and system based on block chain network | |
| KR20140009931A (en) | Communication method of contents requester and contents provider for providing contents and real-time streaming contents in a contents centric network based on contents name | |
| CN106686102B (en) | A kind of switching method and device of service node | |
| CN107025243A (en) | A kind of querying method of resource data, inquiring client terminal and inquiry system | |
| CN103701957A (en) | Domain name server (DNS) recursive method and system thereof | |
| CN107092686A (en) | A kind of file management method and device based on cloud storage platform | |
| CN112016030B (en) | Message pushing method, device, server and computer storage medium | |
| WO2020181820A1 (en) | Data cache method and apparatus, computer device and storage medium | |
| US12056089B2 (en) | Method and system for deleting obsolete files from a file system | |
| CN108270860A (en) | The acquisition system and method for environmental quality online monitoring data | |
| CN106453122A (en) | Method and device for selecting streaming data transmission node | |
| CN108494755A (en) | Method and device for transmitting application programming interface API request | |
| CN108234632A (en) | A kind of data distributing method and device of content distributing network CDN | |
| CN106357776A (en) | Method and device for selecting transmission resource of streaming data | |
| WO2018223964A1 (en) | Data caching control method and device | |
| CN109302406B (en) | Distributed webpage evidence obtaining method and system | |
| CN113791733A (en) | Information storage method, device, equipment and storage medium | |
| CN103294683B (en) | A kind of video file captions automatic patching system and method | |
| CN108920631A (en) | A kind of file polling method, apparatus, equipment and readable storage medium storing program for executing | |
| CN111600929B (en) | Transmission line detection method, routing strategy generation method and proxy server | |
| CN112564928B (en) | Service classification method and device, and Internet system | |
| CN114866597B (en) | Packet management client connection method and system |
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 | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20231107 Address after: 266000 room 2102, 21 / F, block B, No.1 Keyuan Weiyi Road, Laoshan District, Qingdao City, Shandong Province Patentee after: Qingdao Guancheng Software Co.,Ltd. Address before: 266590 No. 579, Qian Wan Gang Road, Qingdao economic and Technological Development Zone, Shandong Patentee before: SHANDONG University OF SCIENCE AND TECHNOLOGY |
|
| TR01 | Transfer of patent right |