WO2021197259A1 - 一种画面切换的确定方法、装置、电子设备及存储介质 - Google Patents

一种画面切换的确定方法、装置、电子设备及存储介质 Download PDF

Info

Publication number
WO2021197259A1
WO2021197259A1 PCT/CN2021/083576 CN2021083576W WO2021197259A1 WO 2021197259 A1 WO2021197259 A1 WO 2021197259A1 CN 2021083576 W CN2021083576 W CN 2021083576W WO 2021197259 A1 WO2021197259 A1 WO 2021197259A1
Authority
WO
WIPO (PCT)
Prior art keywords
event
tracking
monitoring device
received
reported
Prior art date
Application number
PCT/CN2021/083576
Other languages
English (en)
French (fr)
Inventor
邵振邦
Original Assignee
杭州海康威视数字技术股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 杭州海康威视数字技术股份有限公司 filed Critical 杭州海康威视数字技术股份有限公司
Priority to US17/995,166 priority Critical patent/US20230177838A1/en
Priority to EP21779203.5A priority patent/EP4131934A4/en
Publication of WO2021197259A1 publication Critical patent/WO2021197259A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/268Signal distribution or switching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/52Surveillance or monitoring of activities, e.g. for recognising suspicious objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/10Terrestrial scenes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • G06V20/41Higher-level, semantic clustering, classification or understanding of video scenes, e.g. detection, labelling or Markovian modelling of sport events or news items
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • G06V20/44Event detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30232Surveillance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V2201/00Indexing scheme relating to image or video recognition or understanding
    • G06V2201/07Target detection
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B13/00Burglar, theft or intruder alarms
    • G08B13/18Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength
    • G08B13/189Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems
    • G08B13/194Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems
    • G08B13/196Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems using television cameras
    • G08B13/19602Image analysis to detect motion of the intruder, e.g. by frame subtraction
    • G08B13/19608Tracking movement of a target, e.g. by detecting an object predefined as a target, using target direction and or velocity to predict its new position
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B13/00Burglar, theft or intruder alarms
    • G08B13/18Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength
    • G08B13/189Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems
    • G08B13/194Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems
    • G08B13/196Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems using television cameras
    • G08B13/19639Details of the system layout
    • G08B13/19641Multiple cameras having overlapping views on a single scene

Definitions

  • This application relates to the field of video surveillance technology, and in particular to a method, device, electronic equipment, and storage medium for determining screen switching.
  • the management platform needs to determine whether to switch the tracking screen of the target object across devices.
  • the so-called cross-device tracking screen switching is: when the target object is tracked by a monitoring device, when the target object enters the overlapping area of the monitoring device and another monitoring device, determine the overlap that the target object enters Another monitoring device to which the area belongs, and switch the currently obtained tracking picture to the monitoring picture collected by the other monitoring device.
  • the overlapping area between each monitoring device is determined in advance; further, when the target object enters a certain overlapping area, it is determined to switch the tracking screen of the target object across devices.
  • the management platform needs to perform a large number of complex calculations to determine whether to perform cross-device tracking screen switching. Therefore, a large amount of calculation logic needs to be integrated in the management platform, which makes the integration of the management platform more difficult.
  • the purpose of the embodiments of the present application is to provide a method, device, electronic device, and storage medium for determining screen switching, so as to reduce the integration difficulty of the management platform of the monitoring system.
  • the specific technical solutions are as follows:
  • an embodiment of the present application provides a method for determining screen switching.
  • the method includes: issuing tracking tasks for target objects to multiple designated monitoring devices; receiving detection events reported by the monitoring devices, Wherein, the detection event is the event information reported by the monitoring device based on the presence of the target object in the captured video frame; when the received detection event meets the preset conditions for the object to cross the collection area, It is determined to perform cross-device tracking screen switching; wherein the object cross-collection area refers to: the target object enters or leaves the collection area of one of the multiple monitoring devices.
  • an embodiment of the present application provides a device for determining screen switching.
  • the device includes: a task issuing module for issuing tracking tasks for target objects to multiple designated monitoring devices; an event receiving module, Used to receive the detection event reported by the monitoring device, where the detection event is the event information reported by the monitoring device based on the presence of the target object in the collected video screen; switching determination module, When the received detection event satisfies the preset condition of the cross-collection area of the object, determine to switch the tracking screen across devices; wherein the cross-collection area of the object refers to: the target object enters or leaves the multiple A collection area of a monitoring device in a monitoring device.
  • an embodiment of the present application provides an electronic device including a processor and a memory; the memory is used to store computer programs; the processor is used to execute the programs stored in the memory to implement the above-mentioned first aspect. Steps of any method of determining screen switching.
  • an embodiment of the present application provides a computer-readable storage medium in which a computer program is stored, and when the computer program is executed by a processor, any screen provided in the first aspect is realized. Steps of the method of determining the handover.
  • the embodiments of the present application also provide a computer program product containing instructions that, when run on a computer, cause the computer to execute the steps of any method for determining screen switching provided in the first aspect.
  • the management platform of the monitoring system can receive the detection event reported by the designated monitoring device. Since the detection event reported by the monitoring device is the event information reported by the monitoring device based on the existence of the target object in the video screen collected by itself, it can be determined whether the detection event meets the preset object cross-collection area condition , That is, determine whether the target object enters or leaves the collection area of the monitoring device. Furthermore, when the received detection event satisfies the preset object cross-collection area condition, the management platform can directly determine to perform cross-device tracking screen switching for the target object.
  • the management platform of the monitoring system when determining whether to perform cross-device tracking screen switching, can directly determine according to the detection events reported by the received monitoring device, without the need for a large number of And complicated calculations, therefore, there is no need to integrate a large amount of calculation logic in the management platform, which reduces the integration difficulty of the management platform.
  • FIG. 1 is a schematic flowchart of a method for determining screen switching provided by an embodiment of the application
  • Figure 2 is a schematic diagram of the designated monitoring equipment for the target object
  • Figure 3 is a processing flow of the management platform issuing tracking tasks for the target object to the designated monitoring equipment
  • Figure 4 is a schematic diagram of a target object passing through a collection area of a designated monitoring device
  • Figure 5 is a schematic diagram of a target object moving linearly within the monitoring range of multiple monitoring devices
  • FIG. 6 is a schematic diagram of a target object moving back and forth outside the overlapping area of the monitoring range of multiple monitoring devices
  • FIG. 7 is a schematic diagram of a target object moving back and forth in the overlapping area of the monitoring ranges of multiple monitoring devices
  • FIG. 8(a) is a schematic flowchart of another method for determining screen switching provided by an embodiment of the application.
  • FIG. 8(b) is a schematic flowchart of a specific implementation of the embodiment shown in FIG. 6;
  • FIG. 8(c) is a schematic flowchart of a specific implementation of the embodiment shown in FIG. 6;
  • Fig. 9(a) is a schematic flowchart of another method for determining screen switching provided by an embodiment of the application.
  • FIG. 9(b) is a schematic flowchart of a specific implementation of the embodiment shown in FIG. 6;
  • FIG 10 is a schematic flow chart of the processing logic of the management platform for various detection events in the specific implementation shown in Figure 9(b);
  • FIG. 11 is a schematic flowchart of another method for determining screen switching provided by an embodiment of the application.
  • FIG. 12 is a schematic structural diagram of an apparatus for determining screen switching provided by an embodiment of the application.
  • FIG. 13 is a schematic structural diagram of an electronic device provided by an embodiment of the application.
  • FIG. 14 is a schematic structural diagram of another electronic device provided by an embodiment of the application.
  • the overlapping area between each monitoring device is determined in advance; further, when the target object enters a certain overlapping area, it is determined to switch the tracking screen of the target object across devices.
  • the management platform needs to perform a large number of complex calculations to determine whether to perform cross-device tracking screen switching. Therefore, a large amount of calculation logic needs to be integrated in the management platform, which makes the integration of the management platform more difficult.
  • an embodiment of the present application provides a method for determining screen switching.
  • the method can be applied to the management platform of the monitoring system, and the management platform can establish a communication connection with each monitoring device in the monitoring system, so that the management platform can issue tracking tasks to each monitoring device, and receive each monitoring device The reported detection event.
  • the management platform can be any type of electronic device, for example, a mobile phone, a tablet computer, a notebook computer, and the like.
  • the embodiments of the present application do not make specific limitations, and are referred to as the management platform hereinafter.
  • the detection event is event information reported by the monitoring device based on the presence of the target object in the collected video screen;
  • the object cross-collection area refers to: the target object enters or leaves the multiple monitoring devices The collection area of S1 monitoring equipment.
  • the management platform of the monitoring system when tracking the target object, can receive the detection event reported by the designated monitoring device, because the detection event reported by the monitoring device is the monitoring device The event information reported based on the existence of the target object in the video screen collected by itself, therefore, it can be determined whether the detection event meets the preset object cross-collection area condition, that is, whether the target object enters or leaves the monitoring device The collection area. Furthermore, when the received detection event satisfies the preset object cross-collection area condition, the management platform can directly determine to perform cross-device tracking screen switching for the target object.
  • the management platform of the monitoring system when determining whether to perform cross-device tracking screen switching, can directly determine according to the detection events reported by the received monitoring device, without the need for a large number of And complicated calculations, therefore, there is no need to integrate a large amount of calculation logic in the management platform, which reduces the integration difficulty of the management platform.
  • FIG. 1 is a schematic flowchart of a method for determining screen switching provided by an embodiment of the application. As shown in Figure 1, the determining method may include the following steps:
  • S100 Issue tracking tasks for target objects to multiple designated monitoring devices
  • the monitoring range of each monitoring device in the monitoring system can be calculated in advance, and then, according to the monitoring range of each monitoring device and the possible route direction of the target object, it can be determined that it can cover all the moving area of the target object in the route direction.
  • the multiple monitoring devices in the above, and the multiple monitoring devices determined above can be used as the designated multiple monitoring devices.
  • the multiple monitoring devices may be multiple monitoring devices that can completely cover all areas in the monitoring system.
  • target 1 is the target object that needs to be tracked, and the area that the target object may pass through includes the monitoring range of cameras A-C. Therefore, cameras A-C are monitoring equipment used to track target 1.
  • the cameras A-C are dome cameras, the pan-tilt orientation of the cameras A-C can be initialized according to the possible traveling direction of the target 1, thereby expanding the monitoring range of the cameras A-C.
  • the determined multiple monitoring devices can be used as the multiple designated monitoring devices in step S100. Furthermore, the management platform can issue tracking tasks for the target object to the designated multiple monitoring devices.
  • the target object may be any movable object, which is not specifically limited in the embodiment of the present invention.
  • the monitoring platform issued The tracking task can include the identification information of the target object, so that each designated monitoring device can use the identification information to detect the target object in the video images collected by itself.
  • the identification information of the target object may be any information that can uniquely identify the target object, that is, the target object can be uniquely determined according to the identification information of the target object.
  • the information types of the identification information of different types of target objects may be the same or different, which is not specifically limited in the embodiment of the present invention. For example, when the target object is a vehicle, the identification information may be license plate information.
  • the tracking task issued to each of the multiple monitoring devices may include the device task identifier of the monitoring device, where different monitoring devices have different device task identifiers;
  • the event information of the detection event reported by each designated monitoring device may include: the device task identifier of the monitoring device that reported the event information.
  • the tracking tasks issued by the management platform to multiple designated monitoring devices are for the same target object, and further, the designated monitoring device only supports single Task tracking, that is, in the process of executing each tracking task, the designated monitoring device can only track one target object.
  • the tracking task for the target object issued by the management platform can be called a single-target tracking task.
  • the tracking tasks issued by the management platform to multiple designated monitoring devices can include the following three types of content:
  • the identification information of the target object to be tracked wherein the identification information has a one-to-one correspondence with the target object, so that the identification information can uniquely identify the target object; for example, when the target object is a vehicle, the identification The information may be license plate information.
  • the equipment task identification of the monitoring equipment among the designated multiple monitoring equipment, different monitoring equipment has different equipment task identification, and the equipment task identification of the monitoring equipment is maintained by the management platform and issued to the monitoring equipment. Furthermore, when the monitoring device reports a detection event to the management platform in the subsequent process of the monitoring device performing the tracking task for the target task, the reported event information of the detection event will carry its own device task identifier.
  • the device task identifier of the monitoring device may consist of a 64-bit character string.
  • Configuration parameters such as the longest execution time of tracking tasks. It is understandable that the tracking task for the target object may not be executed indefinitely. Therefore, the management platform needs to inform the designated monitoring equipment when to stop executing the tracking task for the target object, that is, the issued target object tracking task.
  • the tracking task of the target object may include the longest execution time of the tracking task.
  • the tracking task may also include other configuration parameters, such as the frequency of the designated monitoring device reporting detection events.
  • the detection event is the event information reported by the monitoring device based on the existence of the target object in the collected video screen;
  • the management platform can continue to perform the above step S102 to receive the detection event reported by the monitoring device.
  • each designated monitoring device After each designated monitoring device receives the tracking task for the target object, it can know the target object that it needs to detect, and then the monitoring device can detect the target object in the video screen it collects. , To determine whether the target object exists in the video frame, and thereby report the detection event corresponding to the presence condition of the target object to the management platform according to the presence of the target object in the captured video frame. In this way, the management platform can receive the detection events reported by each designated monitoring device.
  • the detection event reported by the monitoring device received by the management platform refers to the detection event reported by each monitoring device among the multiple monitoring devices specified, and the detection event reported by each monitoring device is The monitoring equipment reports event information based on the existence of the target object in the collected video screen.
  • each designated monitoring device can report detection events to the management platform multiple times, therefore, the management platform can receive the designated Multiple detection events reported by each monitoring device.
  • each designated monitoring device can adopt various object detection algorithms or object detection models corresponding to the target object to detect the target object in the video images collected by itself.
  • object detection algorithms or object detection models corresponding to the target object For example, when the target object is a vehicle, a license plate detection algorithm can be used.
  • each designated monitoring device can use the received identification information of the target object included in the tracking task for the target object to perform target object detection in the video screen collected by itself. . In this way, each designated monitoring device can detect the identification information of the target object in the video screen collected by itself.
  • the target object is a vehicle and the identification information is license plate information
  • each designated monitoring device can detect the license plate information in the video images collected by itself.
  • each designated monitoring device after each designated monitoring device receives the tracking task for the target object, according to a predetermined cycle, after a predetermined time indicated by the predetermined cycle, the current self-collected Target object detection is performed on the received video screen to determine whether the target object exists in the video screen, and accordingly, according to the presence of the target object in the captured video screen, the detection event corresponding to the presence is reported to the management platform .
  • each monitoring device can report detection events to the management platform according to the aforementioned predetermined period.
  • the object cross-collection area refers to: the target object enters or leaves the collection area of one monitoring device among the multiple designated monitoring devices.
  • the received detection event satisfies the preset condition of the cross-collection area of the object, it can indicate that the target object has begun to enter the monitoring range of a monitoring device, or the target object is within the monitoring range of a monitoring device where it is currently located. Leave.
  • the management platform after the management platform receives the detection event reported by each designated monitoring device, it can determine whether to perform cross-device tracking screen switching according to whether the received detection event meets the preset cross-collection area conditions of the object . When the received detection event satisfies the preset cross-collection area condition of the object, the management platform can determine the cross-device tracking screen switch.
  • the management platform can switch the monitoring device that reports the currently displayed tracking screen to other monitoring devices among the specified multiple monitoring devices, thereby displaying the tracking screen reported by the switched monitoring device, and using the switched monitoring device The monitoring equipment continues to track the target object.
  • the management platform You can also stop performing the tracking task for the target object described above.
  • the management platform may determine that the received detection event meets the preset object cross-collection area condition in various ways, which is not specifically limited in the embodiment of the present application. For clarity of writing, an example will be given later on how the management platform determines that the received detection event satisfies the preset conditions for the cross-collection area of the object.
  • the management platform of the monitoring system when determining whether to perform cross-device tracking screen switching, can directly determine according to the detection events reported by the received monitoring device, without the need for a large number of And complicated calculations, therefore, there is no need to integrate a large amount of calculation logic in the management platform, which reduces the integration difficulty of the management platform.
  • the management platform issues a processing flow of a tracking task for a target object to a designated monitoring device.
  • the processing flow may include the following steps:
  • S301 Issue tracking tasks for target objects to multiple designated monitoring devices
  • S302 Determine whether the designated multiple monitoring devices are performing other tracking tasks; if so, perform S303, otherwise, perform S304;
  • S304 Control the designated multiple monitoring devices to execute the issued tracking task, and report the detection event.
  • the management platform can issue tracking tasks for the target object to the multiple specified monitoring devices; at this time, the multiple specified monitoring devices may be performing other tracking tasks In this way, the management platform can determine whether the designated multiple monitoring devices are performing other tracking tasks based on the task execution status of the monitoring device.
  • the management platform when the management platform determines that the multiple designated monitoring devices are performing other tracking tasks, the management platform can issue a task end instruction to the designated multiple monitoring devices to control the designated multiple monitoring devices to stop executing the current tracking task. The tracking task being performed. In this way, the multiple designated monitoring devices can be in a task idle state, so that the management platform can again issue the aforementioned tracking task for the target object to the designated multiple monitoring devices.
  • the management platform sends tasks to the designated multiple monitoring devices.
  • the termination instruction and the re-issue of the tracking task for the target object to the designated multiple monitoring devices realize the update of the tracking tasks performed by the designated multiple monitoring devices. Since the tracking tasks currently being executed by the designated multiple monitoring devices are also issued by the management platform, the above process can be understood as an update of the issued tracking tasks by the management platform.
  • the management platform determines that the multiple designated monitoring devices are not performing other tracking tasks, that is, the designated multiple monitoring devices are in a task idle state.
  • the designated multiple monitoring devices can receive the tracking tasks for the target object issued by the management platform; further, the multiple designated monitoring devices can execute the received tracking under the control of the management platform Task, track the above-mentioned target objects, and report detection events to the management platform during the tracking process.
  • the management platform can also issue task end instructions to the designated multiple monitoring devices to control the designated multiple monitoring devices.
  • the device stops executing the above-mentioned tracking task for the target object issued.
  • the management platform can update the tracking task for the target object, and issue the updated tracking task for the target object to multiple designated monitoring devices.
  • the management platform once again realizes the update of the issued tracking task. That is, the management device may execute the foregoing step S304 when the judgment result of executing the foregoing step S302 is yes, or may execute the foregoing step S304 during the process of executing the foregoing step S303.
  • the detection event reported by the designated monitoring device is explained.
  • the detection event reported by the monitoring device may also be different, that is, the detection event may have multiple event types.
  • the event type of the detection event may include: a non-end tracking event and an end tracking event.
  • the non-end tracking event is: the event information reported by the monitoring device when it detects that the target object is in its own collection area
  • the end tracking event is: the monitoring device reports when the monitoring device detects that the target object leaves its own collection area Event information.
  • the monitoring device After the monitoring device receives the tracking task for the target object, it can detect the target object in the video images it has collected, that is, detect that the target object is on itself. The presence of the captured video screen.
  • the monitoring device when the monitoring device detects the target object in the video screen it has collected, that is, when it detects that the target object is in its own collection area, the monitoring device can report a non-end tracking event to the management platform;
  • the monitoring device does not detect the target object in the video screen it has collected, and the monitoring device detects the target object in the video screen it has collected during the last detection before this detection, then It is explained that between the previous detection and this detection, the target object leaves the collection area of the monitoring device, so that the monitoring device can determine that the target object has been detected to leave its collection area, and then the monitoring device can send The management platform reports the end tracking event.
  • the monitoring device can record the presence of the target object in the video captured by itself each time.
  • the monitoring device can check the recorded presence In this case, read the result of the last detected existence of this detection.
  • the last detected existence result of this detection is that the target object is in its own collection area, it means that in the time period between this detection and the last detection of this detection, the target object has changed from
  • the monitoring device moves inside the collection area of the monitoring device outside the collection area, that is, the target object leaves its own collection area. Therefore, in this case, the monitoring device can report the end tracking event to the management platform.
  • the aforementioned non-end tracking event may further include: a start tracking event and a continuous tracking event.
  • the start tracking event is: the event information reported by the monitoring device when it detects that the target object enters its own collection area;
  • the continuous tracking event is: after the start tracking event is reported, and before the end tracking event is reported, the monitoring device is detecting Event information reported when the target object is in its own collection area.
  • the monitoring device After the monitoring device receives the tracking task for the target object, it detects the target object in the video screen it has collected for the first time, that is, it detects the existence of the target object in the video screen it has collected for the first time. In this case, it means that the target object enters the collection area of the monitoring device from outside the collection area of the monitoring device, so that the monitoring device can determine that the target object has entered its own collection area, and then the monitoring device can send The management platform reports and starts tracking events; or,
  • the reported event information can indicate that the target object enters the collection area of the monitoring device again from outside the collection area of the monitoring device, so that the monitoring device can determine that it detects that the target object enters its own collection area, and further, The monitoring device can then report the start tracking event to the management platform.
  • the process of the target object passing through the collection area of a monitoring device may include three steps: enter the collection area, move in the collection area, and leave the collection area.
  • the monitoring device detects that the target object enters its own collection area, the monitoring device can report the start tracking event, and when the monitoring device detects that the target object leaves its own collection area, the monitoring device can report the end tracking event.
  • the target object moves within the collection area of the monitoring device during the time period between the monitoring device reporting the start tracking event and the end tracking event. Furthermore, during this time period, the monitoring device moves on its own every time. If the target object is detected in the collected video frame, all the target objects can be detected in the video frame. Therefore, after the monitoring device reports the start tracking event and before the end tracking event is reported, when the monitoring device detects the target object in the video screen it has collected, that is, when it detects that the target object is in its own collection area, it can report The management platform reports continuous tracking events.
  • FIG. 4 it is a schematic diagram of the target object passing through the collection area of a designated monitoring device; among them, the target 1 in Fig. 4 is the target object, and the camera A is the designated monitoring device. specific:
  • Stage 1 Target 1 enters the acquisition area of camera A from outside the acquisition area of camera A, then when camera A performs target detection on the video images it has collected, it will first detect after it has not detected target 1 at least once When the target 1 is reached, the camera A can determine that the target 1 has entered its own collection area, and then the camera A reports the start tracking event to the management platform.
  • Stage 2 Target 1 is located in the acquisition area of camera A and can move within the acquisition area of camera A. After reporting the start tracking event, when camera A detects the target object in the video image it has collected, it will always Target 1 can be detected, and thus, camera A reports the continuous tracking event to the management platform.
  • Stage 3 Target 1 moves from the acquisition area of camera A to outside of the acquisition area of camera A. After at least one continuous tracking event is reported, when camera A detects the target object in the video image it has collected, it is not the first time. Target 1 is detected, and therefore, camera A reports the end tracking event to the management platform.
  • the target object can move linearly in the collection area of multiple monitoring devices, or for example, the target object can turn back in the collection area of multiple monitoring devices. Move etc. Based on this, the following provides examples of multiple movement scenarios that may occur during the movement of the target object, and describes various detection events reported by the monitoring device in multiple movement scenarios.
  • Example 1 As shown in Figure 5, it is a schematic diagram of the target object moving linearly in the collection area of multiple monitoring devices. Among them, the target 1 in Fig. 5 is the target object, and the cameras A and B are the designated monitoring equipment.
  • target 1 first enters the acquisition area of camera A; after moving a certain distance, without leaving the acquisition area of camera A, target 1 enters the acquisition area of camera B. At this time, target 1 is located in camera A. In the acquisition area where A and camera B overlap; after moving for a certain distance, target 1 leaves the acquisition area of camera A, but is still in the acquisition area of camera B; after continuing to move for a certain distance, target 1 leaves the acquisition area of camera B. Thus, the target 1 leaves the monitoring range of the designated monitoring device.
  • cameras A and B after cameras A and B receive the tracking task for target 1, they can detect target 1 on the video images they have collected, and perform target 1 detection based on the detected target 1 For the presence in the video screen, report the detection event corresponding to the presence.
  • camera A when camera A detects the presence of target 1 in the captured video frame for the first time, it indicates that target 1 has entered the capture area of camera A, and then camera A can report non-end tracking events or start tracking events to the management platform .
  • camera A After that, every time camera A detects that there is target 1 in the captured video frame, it reports a non-end tracking event or continuous tracking event to the management platform, and in the process, camera B detects that the captured video frame does not exist Goal 1.
  • target 1 will enter the acquisition area of camera B before leaving the acquisition area of camera A.
  • camera B detects the captured video for the first time If there is target 1 in the screen, camera B can report a non-end tracking event or a start tracking event to the management platform.
  • the camera A still reports the non-end tracking event or the continuous tracking event to the management platform.
  • the cameras A and B After that, each time the cameras A and B detect that there is a target 1 in the video frame they have collected, they respectively report a non-end tracking event or a continuous tracking event to the management platform.
  • the camera A detects that there is no target 1 in the captured video frame, it indicates that the target 1 has left the capture area of the camera A, and further, the camera A can report the end tracking event to the management platform. At this time, since the target 1 has not left the acquisition area of the camera B, the camera B still reports the non-end tracking event or the continuous tracking event to the management platform.
  • the camera B detects that there is no target 1 in the captured video image, it indicates that the target 1 has left the capture area of the camera B, and then the camera B can report the end tracking event to the management platform.
  • target 1 completely leaves the monitoring range of cameras A and B, and the tracking task of target 1 ends.
  • the movement process of the target 1 and the tracking events received by the management platform are similar to the above situation.
  • Example 2 As shown in Fig. 6, it is a schematic diagram of the target object moving back and forth outside the overlapping area of the collection area of multiple monitoring devices. Among them, the target 1 in Fig. 6 is the target object, and the cameras A and B are the designated monitoring equipment.
  • target 1 first enters the acquisition area of camera A; after moving a certain distance, without leaving the acquisition area of camera A, target 1 enters the acquisition area of camera B. At this time, target 1 is located in camera A. In the acquisition area where A and camera B overlap; after moving a certain distance, target 1 leaves the acquisition area of camera A, but is still located in the acquisition area of camera B; after continuing to move for a certain distance, it does not leave the acquisition area of camera B. In this case, target 1 enters the acquisition area of camera A again.
  • target 1 is again in the acquisition area where camera A and camera B overlap; after moving for a certain distance, target 1 leaves the acquisition area of camera B, but is still located in camera A After continuing to move for a certain distance, target 1 leaves the acquisition area of camera A, that is, target 1 leaves the monitoring range of the designated monitoring device.
  • cameras A and B after cameras A and B receive the tracking task for target 1, they can detect target 1 on the video images they have collected, and perform target 1 detection based on the detected target 1 For the presence in the video screen, report the detection event corresponding to the presence.
  • camera A when camera A detects the presence of target 1 in the captured video frame for the first time, it indicates that target 1 has entered the capture area of camera A, and then camera A can report non-end tracking events or start tracking events to the management platform .
  • camera A After that, every time camera A detects that there is target 1 in the captured video frame, it reports a non-end tracking event or continuous tracking event to the management platform, and in the process, camera B detects that the captured video frame does not exist Goal 1.
  • target 1 will enter the acquisition area of camera B before leaving the acquisition area of camera A.
  • camera B detects the captured video for the first time If there is target 1 in the screen, camera B can report a non-end tracking event or a start tracking event to the management platform.
  • the camera A still reports the non-end tracking event or the continuous tracking event to the management platform.
  • the cameras A and B After that, each time the cameras A and B detect that there is a target 1 in the video frame they have collected, they respectively report a non-end tracking event or a continuous tracking event to the management platform.
  • the camera A detects that there is no target 1 in the captured video frame, it indicates that the target 1 has left the capture area of the camera A, and further, the camera A can report the end tracking event to the management platform. At this time, since the target 1 has not left the acquisition area of the camera B, the camera B still reports the non-end tracking event or the continuous tracking event to the management platform.
  • camera B After that, if target 1 only moves within the capture area of camera B, camera B still reports non-end tracking events or continuous tracking events to the management platform, and in the process, camera A detects that there is no target in the captured video frame 1.
  • the camera B detects that there is no target 1 in the captured video frame, it indicates that the target 1 has left the capture area of the camera B, and then the camera B can report the end tracking event to the management platform. At this time, since the target 1 has not left the acquisition area of the camera A, the camera A still reports the non-end tracking event or the continuous tracking event to the management platform.
  • the camera A detects that there is no target 1 in the captured video image, it indicates that the target 1 has left the capture area of the camera A, and then the camera A can report the end tracking event to the management platform.
  • the target 1 completely leaves the monitoring range of cameras A and B, and the tracking of the target 1 is completed.
  • the movement process of the target 1 and the tracking events received by the management platform are similar to the above situation.
  • Example 3 is a schematic diagram of the target object moving back and forth in the overlapping area of the collection area of multiple monitoring devices.
  • the target 1 in Fig. 7 is the target object
  • the cameras A and B are the designated monitoring equipment.
  • target 1 first enters the acquisition area of camera A; after moving a certain distance, without leaving the acquisition area of camera A, target 1 enters the acquisition area of camera B. At this time, target 1 is located in camera A. In the acquisition area where A and camera B overlap; after moving for a certain distance, target 1 leaves the acquisition area of camera B, but is still in the acquisition area of camera A; after continuing to move for a certain distance, target 1 leaves the acquisition area of camera A, Thus, the target 1 leaves the monitoring range of the designated monitoring device.
  • cameras A and B after cameras A and B receive the tracking task for target 1, they can detect target 1 on the video images they have collected, and perform target 1 detection based on the detected target 1 For the presence in the video screen, report the detection event corresponding to the presence.
  • camera A when camera A detects the presence of target 1 in the captured video frame for the first time, it indicates that target 1 has entered the capture area of camera A, and then camera A can report non-end tracking events or start tracking events to the management platform .
  • camera A After that, every time camera A detects that there is target 1 in the captured video frame, it reports a non-end tracking event or continuous tracking event to the management platform, and in the process, camera B detects that the captured video frame does not exist Goal 1.
  • target 1 will enter the acquisition area of camera B before leaving the acquisition area of camera A.
  • camera B detects the captured video for the first time If there is target 1 in the screen, camera B can report a non-end tracking event or a start tracking event to the management platform.
  • the camera A still reports the non-end tracking event or the continuous tracking event to the management platform.
  • the cameras A and B After that, each time the cameras A and B detect that there is a target 1 in the video frame they have collected, they respectively report a non-end tracking event or a continuous tracking event to the management platform.
  • the camera B detects that there is no target 1 in the captured video frame, it indicates that the target 1 has left the capture area of the camera B, and then the camera B can report the end tracking event to the management platform. At this time, since the target 1 has not left the acquisition area of the camera A, the camera A still reports the non-end tracking event or the continuous tracking event to the management platform.
  • the camera A detects that there is no target 1 in the captured video image, it indicates that the target 1 has left the capture area of the camera A, and then the camera A can report the end tracking event to the management platform.
  • target 1 completely leaves the monitoring range of cameras A and B, and the tracking task of target 1 ends.
  • the movement process of the target 1 and the tracking events received by the management platform are similar to the above situation.
  • the manner in which the management platform determines that the received detection event satisfies the preset object cross-collection area condition will be specifically described.
  • Embodiment 1 The event type of the detection event may include: non-end tracking event and end tracking event.
  • the method for determining screen switching provided by the embodiment of the present application may further include the following steps S103A or S103B.
  • the first device is: a monitoring device that sends the currently displayed tracking screen;
  • the display device in the monitoring system can display the tracking picture for the target object, and the tracking picture is the video picture collected by one of the multiple monitoring devices sent by the monitoring device. .
  • the monitoring device may be referred to as the first device.
  • the tracking task issued to each of the multiple monitoring devices may include the device task identifier of the monitoring device, where different monitoring devices have different device task identifiers, and the monitoring device
  • the event information of the reported detection event includes its own device task ID, and the management platform can determine whether the device task ID of the monitoring device reporting the received detection event is the same as the device task ID of the first device to determine the report location. Whether the monitoring device that receives the detection event is the first device.
  • the monitoring device that reported the end tracking event is the first device, after receiving the end tracking event Within the first preset period of time, when a detection event whose event type is a non-end tracking event is received, it is determined that the received detection event satisfies the preset object cross-collection area condition.
  • the management platform When the management platform receives the detection event reported by the first device that belongs to the end tracking event, it can be determined that the target object has left the collection area of the first device, and furthermore, the video images collected by the first device will not be included in the collected video images sent by the first device. There is a target object. Therefore, when the display device continues to display the video image sent by the first device, the tracking of the target object cannot be achieved.
  • the management platform when the management platform receives a detection event that belongs to a non-end tracking event within the first preset time period after receiving a detection event that belongs to an end tracking event reported by the first device, it can determine that the target object is located in the reported event. Within the collection area of the monitoring equipment that belongs to the detection event of the non-end tracking event. Furthermore, when the display device displays the video screen collected by the monitoring device that reports the detection event that belongs to the non-end tracking event, the tracking of the target object can be continued.
  • the management platform can determine that the received detection event meets the preset object cross-collection area condition. Furthermore, the management platform can execute the above-mentioned step S104 to determine to switch the tracking screen across devices.
  • the management platform may switch the tracking screen currently displayed by the display device to: the video screen collected by the monitoring device that reports the detection event that belongs to the non-end tracking event.
  • the management platform can still track the target object, ensuring that the display device can always display the specified The tracking picture of the existence of the target object sent by the monitoring device.
  • the management platform can receive the end tracking event reported by camera B at the same time or when it receives the end tracking reported by camera B Within the first preset time period after the event, a non-end tracking event sent by camera A is received. In this way, the management platform can determine that the received tracking end event reported by camera B satisfies the preset condition of cross-acquisition area of the object. Further, the management platform can determine to switch the tracking screen across devices, and switch the first device to camera A, that is, control the display device to display the video screen collected and sent by camera A.
  • the tracking task identifier is used to indicate the device task identifier of the monitoring device that currently needs to send the tracked screen, and the tracking task identifier is the device task identifier of the first device before being cleared.
  • the display device in the monitoring system can display the tracking screen for the target object, and the tracking task identifier is recorded in the management platform, that is, the management platform records that the identifier currently needs to be sent The device task ID of the monitoring device of the tracked screen.
  • the management platform can control the display device to display the tracking image sent by the monitoring device corresponding to the tracking task identifier.
  • the management platform cannot determine the monitoring device that needs to send the tracked screen to the display device among the designated monitoring devices.
  • the tracking task identifier is empty, even if the display device displays a video screen, the display device does not track the target object.
  • the management platform when the management platform receives a detection event that belongs to a non-end tracking event, it can be determined that the target object is located in the collection area of the monitoring device reporting the detection event that belongs to the non-end tracking event, and because the tracking task ID is empty, it can be It is determined that the management platform has not determined the monitoring device that currently needs to send the tracked screen, and the display device has not tracked the target object.
  • the management platform can determine to control the display device to display and report the video screen collected by the monitoring device that is the detection event of the non-end tracking event, so as to realize the screen tracking of the target object.
  • the management platform can determine that the received detection event satisfies the preset object cross-collection area condition.
  • the management platform may execute the above step S104 to determine to switch the tracking screen across devices.
  • the management platform may switch the tracking screen currently displayed by the display device to: the video screen collected by the monitoring device that reports the detection event that belongs to the non-end tracking event.
  • the management platform may subsequently update the tracking task identifier to the device task identifier of the monitoring device that reports the detection event that belongs to the non-finished tracking event.
  • the non-end tracking event may include a start tracking event and a continuous tracking event.
  • step S103A “after receiving an end tracking event, when a detection event whose event type is a non-end tracking event is received, it is determined that the received detection event satisfies the preset "Object cross-collection area conditions” can include the following steps:
  • the received detection event satisfies the preset object when a detection event whose event type is a continuous tracking event is received within the first preset time period after the end tracking event is received. Conditions across collection areas.
  • the management platform can receive the end tracking event reported by camera B at the same time or when it receives the end tracking reported by camera B Within the first preset time period after the event, the continuous tracking event sent by camera A is received. In this way, the management platform can determine that the received tracking end event reported by camera B satisfies the preset object cross-collection area condition.
  • the non-end tracking event may include a start tracking event and a continuous tracking event.
  • the event type of the received detection event is a non-end tracking event, and the tracking task identifier is empty, it is determined that the received detection event satisfies
  • the preset conditions for objects across the collection area can include the following steps:
  • the management platform When the management platform receives a detection event belonging to a continuous tracking event, it can be determined that the target object is located in the collection area of the monitoring device reporting the detection event belonging to the continuous tracking event, and since the tracking task identifier is empty, it can be determined that the management platform and The monitoring device that currently needs to send the tracked picture is not determined, and the display device has not tracked the target object on the picture.
  • the management platform can determine to control the display device to display and report the video screen collected by the monitoring device that is the detection event of the continuous tracking event, so as to realize the screen tracking of the target object.
  • the management platform can determine that the received detection event satisfies the preset object cross-collection area condition.
  • the method for determining screen switching may further include the following steps:
  • the management platform When the management platform receives the detection event that belongs to the start tracking event, it can be determined that the target object starts to enter the collection area of the monitoring device that reports the detection event that belongs to the start tracking event, so that the management platform can determine that the received detection event meets the preset The object crosses the acquisition area condition. Furthermore, the management platform can execute the above-mentioned step S104 to determine to switch the tracking screen across devices.
  • the management platform may switch the tracking picture currently displayed by the display device to: reporting the video picture collected by the monitoring device that belongs to the detection event of the start tracking event.
  • the display device can display a video screen, and the video screen can be any video screen, for example, it can be any monitoring device in the monitoring system
  • the sent video picture can also be a pre-set video picture of a video, or even a pre-set and fixed picture.
  • the video picture displayed by the display device may not be the video picture collected by the monitoring device that reported the tracking start event for the first time.
  • the management platform when the management platform receives the tracking start event, it can determine that the received detection event satisfies the preset cross-collection area condition of the object, thereby determining to switch the tracking screen across devices. In this way, when the video screen displayed by the display device is not the video screen collected by the monitoring device that reported the tracking event for the first time, the screen can be switched in time, thereby ensuring that the target object starts to enter the specified When multiple monitoring devices are within the monitoring range, the target object will be tracked.
  • the event type of the detection event may include: non-end tracking event and end tracking event.
  • step S103A When the event type of the received detection event belongs to the end tracking event, and the monitoring device reporting the end tracking event is the first device, after receiving the end tracking event
  • the preset object cross-collection area condition which may include the following steps S103C and S103D:
  • the related content about the tracking task identifier is the same as the related content about the tracking task identifier in step S103B, and will not be repeated here.
  • the tracking task ID is the device task ID of the first device.
  • the management platform when the management platform receives the detection event reported by the first device that belongs to the end tracking event, the management platform can determine that the target object has left the collection area of the first device, so that the first device sent the video image collected by itself There will be no target in the lieutenant. In other words, the first device is no longer the monitoring device that currently needs to send the tracked picture, and accordingly, the tracking task identifier will no longer be the device task identifier of the first device. Based on this, the management platform can clear the tracking task identifier.
  • the management platform when the tracking task identifier is empty, when the management platform receives a detection event that is a non-end tracking event, it can be determined that the received detection event satisfies the preset object cross-collection area condition.
  • step S103D is the same as the specific content of step S103B in the embodiment shown in FIG. 6, and will not be repeated here.
  • the non-end tracking event may include a start tracking event and a continuous tracking event.
  • the tracking task identifier is empty, it is determined that the received detection event satisfies
  • the preset conditions for objects across the collection area can include the following steps:
  • the method for determining screen switching provided in the embodiment of the present application may further include the following steps:
  • steps S901-S902 is the same as the specific content of steps S602-S603 in the embodiment shown in FIG. 6(b) respectively, and will not be repeated here.
  • Stage 1 Target 1 does not enter the acquisition area of camera A and camera B, and neither camera A nor camera B report detection events to the management platform.
  • Phase 2 Target 1 enters the acquisition area of camera A, and camera 1 does not enter the acquisition area of camera B; camera A reports the start tracking event to the management platform, and camera B does not report the detection event to the management platform; the management platform determines the start of the reception The tracking event satisfies the preset object cross-acquisition area condition, and further, it is determined to perform cross-device tracking screen switching, thereby determining camera A as the first device, and starting to display the tracking screen sent by camera A.
  • Stage 3 Target 1 is located in the acquisition area of camera A and does not enter the acquisition area of camera B.
  • Camera A reports continuous tracking events to the management platform, and camera B does not report detection events to the management platform; the management platform determines the continuous tracking received The event does not meet the preset conditions for the cross-acquisition area of the object, and further, it is determined that no cross-device tracking screen switching is performed. Therefore, camera A is still determined to be the first device, and the tracking image sent by camera A continues to be displayed.
  • Stage 4 Target 1 is located in the acquisition area of camera A, and target 1 enters the acquisition area of camera B.
  • Camera A reports the continuous tracking event to the management platform, and camera B reports the start tracking event to the management platform;
  • the management platform determines the received camera The tracking start event reported by B satisfies the preset object cross-acquisition area condition, and then it is determined to switch the tracking screen across devices, thus switching the first device to camera B, and switching the displayed tracking screen to camera B to send Tracking screen.
  • Stage 5 Target 1 is located in the overlapping acquisition area of camera A and camera B. Both camera A and camera B report continuous tracking events to the management platform. The management platform determines that the received continuous tracking events do not meet the preset object cross-acquisition area Condition, and furthermore, it is determined that no cross-device tracking screen switching is performed, so that camera B is still determined to be the first device, and the tracking image sent by camera B continues to be displayed.
  • Stage 6 Target 1 leaves the acquisition area of camera A, and target 1 is located in the acquisition area of camera B.
  • Camera A reports the end tracking event to the management platform
  • camera B reports the continuous tracking event to the management platform
  • the management platform determines the received end Neither the tracking event nor the continuous tracking event satisfies the preset object cross-acquisition area condition, and furthermore, if it is determined that no cross-device tracking screen switching is performed, then camera B is still determined to be the first device, and the tracking image sent by camera B continues to be displayed.
  • Stage 7 Target 1 is located outside the acquisition area of camera A, and target 1 is located in the acquisition area of camera B.
  • Camera A does not report detection events to the management platform
  • camera B reports continuous tracking events to the management platform
  • the management platform determines the received
  • the continuous tracking event does not meet the preset conditions for the cross-acquisition area of the object, and further, it is determined that no cross-device tracking screen switching is performed. Therefore, camera B is still determined to be the first device, and the tracking image sent by camera B continues to be displayed.
  • Stage 8 Target 1 is outside the acquisition area of camera A, and target 1 leaves the acquisition area of camera B.
  • Camera A does not report the detection event to the management platform
  • camera B reports the end tracking event to the management platform
  • the management platform clears the tracking task identifier. And the tracking picture sent by camera B is no longer displayed.
  • Stage 1 Target 1 does not enter the acquisition area of camera A and camera B, and neither camera A nor camera B report detection events to the management platform.
  • Phase 2 Target 1 enters the acquisition area of camera A, and camera 1 does not enter the acquisition area of camera B; camera A reports the start tracking event to the management platform, and camera B does not report the detection event to the management platform; the management platform determines the start of the reception The tracking event satisfies the preset object cross-acquisition area condition, and further, it is determined to perform cross-device tracking screen switching, thereby determining camera A as the first device, and starting to display the tracking screen sent by camera A.
  • Stage 3 Target 1 is located in the acquisition area of camera A and does not enter the acquisition area of camera B.
  • Camera A reports continuous tracking events to the management platform, and camera B does not report detection events to the management platform; the management platform determines the continuous tracking received The event does not meet the preset conditions for the cross-acquisition area of the object, and further, it is determined that no cross-device tracking screen switching is performed. Therefore, camera A is still determined to be the first device, and the tracking image sent by camera A continues to be displayed.
  • Stage 4 Target 1 is located in the acquisition area of camera A, and target 1 enters the acquisition area of camera B.
  • Camera A reports the continuous tracking event to the management platform, and camera B reports the start tracking event to the management platform;
  • the management platform determines the received camera The tracking start event reported by B satisfies the preset object cross-acquisition area condition, and then it is determined to switch the tracking screen across devices, thus switching the first device to camera B, and switching the displayed tracking screen to camera B to send Tracking screen.
  • Stage 5 Target 1 is located in the overlapping acquisition area of camera A and camera B. Both camera A and camera B report continuous tracking events to the management platform. The management platform determines that the received continuous tracking events do not meet the preset object cross-acquisition area Condition, and furthermore, it is determined that no cross-device tracking screen switching is performed, so that camera B is still determined to be the first device, and the tracking image sent by camera B continues to be displayed.
  • Stage 6 Target 1 leaves the acquisition area of camera A, and target 1 is located in the acquisition area of camera B.
  • Camera A reports the end tracking event to the management platform
  • camera B reports the continuous tracking event to the management platform
  • the management platform determines the received end Neither the tracking event nor the continuous tracking event satisfies the preset object cross-acquisition area condition, and furthermore, if it is determined that no cross-device tracking screen switching is performed, then camera B is still determined to be the first device, and the tracking image sent by camera B continues to be displayed.
  • Stage 7 Target 1 is located outside the acquisition area of camera A, and target 1 is located in the acquisition area of camera B.
  • Camera A does not report detection events to the management platform
  • camera B reports continuous tracking events to the management platform
  • the management platform determines the received
  • the continuous tracking event does not meet the preset conditions for the cross-acquisition area of the object, and further, it is determined that no cross-device tracking screen switching is performed. Therefore, camera B is still determined to be the first device, and the tracking image sent by camera B continues to be displayed.
  • Target 1 enters the acquisition area of camera A, and target 1 is located in the acquisition area of camera B.
  • Camera A reports the start tracking event to the management platform
  • camera B reports the continuous tracking event to the management platform
  • the management platform determines the start of the reception
  • the tracking event satisfies the preset object cross-acquisition area condition, and further, it is determined to perform cross-device tracking screen switching, thereby switching the first device to camera A, and switching the displayed tracking screen to the tracking screen sent by camera A.
  • Stage 9 Target 1 is located in the overlapping acquisition area of camera A and camera B. Both camera A and camera B report continuous tracking events to the management platform, and the management platform determines that the received continuous tracking events do not meet the preset object cross-acquisition area Condition, and furthermore, it is determined that no cross-device tracking screen switching is performed, so that camera A is still determined to be the first device, and the tracking screen sent by camera A continues to be displayed.
  • Stage 10 Target 1 is located in the acquisition area of camera A, and target 1 leaves the acquisition area of camera B, camera A reports the continuous tracking event to the management platform, camera B reports the end tracking event to the management platform, and the management platform determines the received end Neither the tracking event nor the continuous tracking event satisfies the preset object cross-acquisition area condition, and furthermore, if it is determined that no cross-device tracking screen switching is performed, then camera A is still determined to be the first device, and the tracking image sent by camera A continues to be displayed.
  • Stage 11 Target 1 is located in the acquisition area of camera A, and target 1 is located outside the acquisition area of camera B.
  • Camera A reports continuous tracking events to the management platform
  • camera B does not report detection events to the management platform
  • the management platform determines the received
  • the continuous tracking event does not meet the preset conditions for the cross-collection area of the object, and further, it is determined that no cross-device tracking screen switching is performed. Therefore, camera A is still determined to be the first device, and the tracking image sent by camera A continues to be displayed.
  • Stage 12 Target 1 leaves the acquisition area of camera A, and target 1 is outside the acquisition area of camera B.
  • Camera A reports the end tracking event to the management platform.
  • Camera B does not report the detection event to the management platform.
  • the management platform clears the tracking task identifier. And the tracking picture sent by camera A is no longer displayed.
  • Stage 1 Target 1 does not enter the acquisition area of camera A and camera B, and neither camera A nor camera B report detection events to the management platform.
  • Phase 2 Target 1 enters the acquisition area of camera A, and camera 1 does not enter the acquisition area of camera B; camera A reports the start tracking event to the management platform, and camera B does not report the detection event to the management platform; the management platform determines the start of the reception The tracking event satisfies the preset object cross-acquisition area condition, and further, it is determined to perform cross-device tracking screen switching, thereby determining camera A as the first device, and starting to display the tracking screen sent by camera A.
  • Stage 3 Target 1 is located in the acquisition area of camera A and does not enter the acquisition area of camera B.
  • Camera A reports continuous tracking events to the management platform, and camera B does not report detection events to the management platform; the management platform determines the continuous tracking received The event does not meet the preset conditions for the cross-acquisition area of the object, and further, it is determined that no cross-device tracking screen switching is performed. Therefore, camera A is still determined to be the first device, and the tracking image sent by camera A continues to be displayed.
  • Stage 4 Target 1 is located in the acquisition area of camera A, and target 1 enters the acquisition area of camera B.
  • Camera A reports the continuous tracking event to the management platform, and camera B reports the start tracking event to the management platform;
  • the management platform determines the received camera The tracking start event reported by B satisfies the preset object cross-acquisition area condition, and then it is determined to switch the tracking screen across devices, thus switching the first device to camera B, and switching the displayed tracking screen to camera B to send Tracking screen.
  • Stage 5 Target 1 is located in the overlapping acquisition area of camera A and camera B. Both camera A and camera B report continuous tracking events to the management platform. The management platform determines that the received continuous tracking events do not meet the preset object cross-acquisition area Condition, and furthermore, it is determined that no cross-device tracking screen switching is performed, so that camera B is still determined to be the first device, and the tracking image sent by camera B continues to be displayed.
  • Stage 6 Target 1 is located in the acquisition area of camera A, and target 1 leaves the acquisition area of camera B.
  • Camera A reports the continuous tracking event to the management platform
  • camera B reports the end tracking event to the management platform
  • the management platform clears the tracking task identifier.
  • the cross-device tracking screen switch is determined, so that the first device is switched to camera A, and the displayed tracking screen is switched to camera A sent tracking screen.
  • Stage 7 Target 1 is located in the acquisition area of camera A, and target 1 is located outside the acquisition area of camera B.
  • Camera A reports continuous tracking events to the management platform.
  • Camera B does not report detection events to the management platform.
  • the management platform determines the received The continuous tracking event does not meet the preset conditions for the cross-collection area of the object, and further, it is determined that no cross-device tracking screen switching is performed. Therefore, camera A is still determined to be the first device, and the tracking image sent by camera A continues to be displayed.
  • Stage 8 Target 1 leaves the acquisition area of camera A, and target 1 is outside the acquisition area of camera B.
  • Camera A reports the end tracking event to the management platform.
  • Camera B does not report the detection event to the management platform.
  • the management platform clears the tracking task identifier. And the tracking picture sent by camera A is no longer displayed.
  • various detection events have different processing priorities.
  • the processing priority of the start tracking event is higher than the processing priority of the continuous tracking event
  • the processing priority of the continuous tracking event is higher than the processing priority of the end tracking event.
  • the start tracking event has the highest processing priority
  • the continuous tracking event has the second highest processing priority
  • the end tracking event has the lowest processing priority.
  • the management platform determines the processing logic of screen switching.
  • FIG. 10 it is a schematic flow diagram of the processing logic of the management platform for various detection events in the specific implementation shown in FIG. 9(b).
  • the current tracking task ID is cleared; because the tracking task ID is used to indicate the device task ID of the monitoring device that currently needs to send the tracked screen, so .
  • the management platform has not determined the monitoring device that currently needs to send the traced screen.
  • the processing priority of the tracking start event is the highest; in this way, when the tracking start event is received, the management platform can update the current tracking task identifier to the device task identifier of the monitoring device reporting the tracking start event.
  • management platform can also control the monitoring device that reported the tracking event to send the video images collected by itself, so that the management platform can control the display device in the monitoring system to display the tracking image sent by the monitoring device that reported the tracking event.
  • the processing priority of the continuous tracking event is the second, that is, the processing priority of the continuous tracking event is lower than the processing priority of the start tracking event, and higher than the processing priority of the end tracking event; in this way, when the continuous tracking event is received, the management The platform first judges whether the current tracking task ID is empty.
  • the management platform when the management platform determines that the current tracking task identifier is empty, the management platform can update the current tracking task identifier to the device task identifier of the monitoring device reporting the continuous tracking event.
  • the management platform can also control the monitoring device reporting the continuous tracking event to send the video images collected by itself, so that the management platform can control the display device in the monitoring system to display the tracking image sent by the monitoring device reporting the continuous tracking event.
  • the management platform may further determine whether the current tracking task identifier is the device task identifier of the monitoring device reporting the continuous tracking event.
  • the management platform determines that the current tracking task ID is the device task ID of the monitoring device reporting the continuous tracking event, it means that the tracking screen displayed by the display device in the monitoring system is the monitoring device reporting the continuous tracking event If the tracking screen is sent, the management platform can continue to control the display device in the monitoring system to display the tracking screen sent by the monitoring device that reported the continuous tracking event.
  • the management platform determines that the current tracking task identifier is not the device task identifier of the monitoring device that reported the continuous tracking event, the management platform can ignore the continuous tracking event, that is, the management platform does not identify the current tracking task and send the displayed The monitoring device of the tracking screen is changed.
  • the processing priority of the end tracking event is the lowest; in this way, when the end tracking event is received, the management platform can determine whether the current tracking task ID is the device task ID of the monitoring device that reported the end tracking event.
  • the management platform when the management platform determines that the current tracking task identifier is not the device task identifier of the monitoring device that reported the end tracking event, the management platform can ignore the continuous tracking event; that is, the management platform does not identify the current tracking task and send The monitoring device of the displayed tracking screen is changed.
  • the management platform may clear the current tracking task identifier.
  • the management platform can further determine whether the continuous tracking event continues to be received within a preset time period.
  • the management platform can then continue to execute the relevant steps in the "processing logic regarding continuous tracking events"; wherein the preset time period is determined according to the preset reporting frequency.
  • the management platform can determine that the tracking of the target object is finished, and thus stop the aforementioned tracking task for the target object.
  • the method for determining screen switching provided in the embodiment of the present application may further include the following steps:
  • the management platform When the management platform receives the detection event that belongs to the end tracking event reported by the first device, it can be determined that the target object has left the collection area of the first device. Furthermore, when the management platform receives the detection event that belongs to the end tracking event, Within the second preset period of time, when the detection event of the event type that is not an end tracking event is not received, the management platform can determine that the target object is outside the monitoring range of the designated multiple monitoring devices, that is, the target can be determined The subject has completely left the monitoring range of multiple designated monitoring devices. Therefore, the management platform can determine that the tracking of the target object is finished, and the management platform can stop performing the tracking task for the target object.
  • the management platform can issue a tracking task stop instruction to each designated monitoring device, so that each designated monitoring device can stop at its own location after receiving the tracking task stop instruction.
  • the target object is detected in the collected video screen, and further, the detection event is stopped to be reported to the management platform. At this point, it can be determined that the tracking task for the target object has been completed.
  • the second preset duration is not less than the first preset duration
  • the specific durations of the first preset duration and the second preset duration can be based on actual application requirements and the management platform and monitoring equipment in actual applications The performance is determined, which is not specifically limited in the embodiment of the present application.
  • Embodiment 3 The event type of the detection event may include: start tracking event and end tracking event. As shown in FIG. 11, the method for determining screen switching provided by the embodiment of the present application may further include the following steps S103E and S103F. It should be noted that in the third embodiment, the execution of S103E and S103F is not limited. Order, but according to the event type of the received event to be detected, S103E or S103F is executed.
  • the management platform When the management platform receives the tracking start event, it can be determined that the target object has begun to enter the collection area of the monitoring device reporting the tracking start event, so that the management platform can determine that the received detection event meets the preset object cross-collection area condition. Furthermore, the management platform may execute the above step S104 to determine to switch the tracking screen across devices.
  • the display device can display a video screen, and the video screen can be any video screen, for example, it can be a video screen sent by any monitoring device in the monitoring system , It can also be a pre-set video picture of a video, or even a pre-set and fixed picture.
  • the video picture displayed by the display device may not be the video picture collected by the monitoring device that reported the tracking start event for the first time.
  • the management platform when the management platform receives the tracking start event, it can determine that the received detection event satisfies the preset object cross-collection area condition, thereby determining to switch the tracking screen across devices. In this way, when the video screen displayed by the display device is not the video screen collected by the monitoring device that reported the tracking event for the first time, the screen can be switched in time, thereby ensuring that the target object starts to enter the specified When multiple monitoring devices are within the monitoring range, the target object will be tracked.
  • the target object can move into the overlapping area of two monitoring devices, and when the target object enters the overlapping area of the two monitoring devices, it may first enter the collection area of a monitoring device, and then , Without leaving the collection area of the monitoring device, enter the collection area of another monitoring device.
  • the management platform can receive the tracking start event reported by the other monitoring device, so that the management platform can determine that the received detection event meets the preset object cross-collection area condition.
  • the management platform may execute the above step S104 to determine to switch the tracking screen across devices.
  • the third embodiment it is also possible to switch the tracking screen when the target object enters the collection area of a monitoring device, so that each monitoring device belonging to the collection area that the target object passes through during the movement can be acquired. And the sequence of passing through the collection area of each monitoring device.
  • the target 1 may first enter the acquisition area with camera A, and then enter the acquisition area of camera B before leaving the acquisition area of camera A, and thus enter the overlapping area of cameras A and B.
  • camera A can report the start tracking event to the management platform, so that the management platform can determine that the received detection event meets the preset object cross-acquisition area condition. Furthermore, it is determined to switch the tracking screen across devices. After that, after target 1 has moved a certain distance, it can enter the acquisition area of camera B without leaving the acquisition area of camera A, and then camera B can report the start tracking event to the management platform, so that the management platform can determine the received detection The event satisfies the preset condition of the object across the collection area. Furthermore, it is determined again to switch the tracking screen across devices.
  • the event type of the received detection event is an end tracking event
  • the monitoring device reporting the detection event is the first device
  • the end tracking event reported by the second device is not received before the detection event is received
  • the first device is: the monitoring device that sends the currently displayed tracking screen
  • the second device is: the monitoring device that reports the start-tracking event received last time
  • the last-received start-tracking event is: The last tracking start event received before the tracking start event sent by the device.
  • the tracking task issued to each of the multiple monitoring devices may include the device task identifier of the monitoring device, where different monitoring devices have different device task identifiers, and the monitoring device
  • the event information of the reported detection event includes its own device task ID.
  • the management platform can determine whether the device task ID of the monitoring device reporting the received detection event is the same as the device task ID of the first device to determine the report received Whether the monitoring device of the detected event is the first device.
  • the management platform Upon receiving the end tracking event sent by the first device, the management platform can determine that the target object has left the collection area of the first device, and further, the management device can determine whether the end tracking event sent by the first device is received. End tracking event sent by the second device.
  • the management device since the management device has received the tracking start event reported by the second device, the management device can determine that the target object has entered the collection area of the second device. Then, before receiving the end tracking event sent by the first device, the management device has not received At the end of the tracking event sent by the second device, the management device can determine that when the target object leaves the collection area of the first device, the target object does not leave the collection area of the second device.
  • the management platform may store the detection events uploaded by each monitoring device, and further, when receiving the end tracking event reported by the first device, it may query the detected events from the stored detection events. Before the end tracking event reported by the first device, whether the end tracking event reported by the second device is received.
  • the event type of the received detection event is the end tracking event
  • the monitoring device reporting the detection event is the first device
  • the end tracking event reported by the second device is not received
  • the management device can determine that the received detection event satisfies the preset object cross-collection area condition. Furthermore, the management platform can execute the above-mentioned step S104 to determine to switch the tracking screen across devices.
  • Example 3 for the moving scene where the target object moves back and forth in the overlapping area of the collection area of multiple monitoring devices, the management platform can still track the target object, ensuring that the display device can always display the specified The tracking picture of the existence of the target object sent by the monitoring device.
  • target 1 first enters the acquisition area of camera A, then camera A reports the start tracking event to the management platform, and manages The platform determines that the received detection event satisfies the preset condition of the object across the collection area. Furthermore, it is determined to perform cross-device tracking screen switching. At this time, it is determined that the first device is camera A. Then, target 1 enters the acquisition area of camera B without leaving the acquisition area of camera A, then camera B reports the start tracking event to the management platform, and the management platform determines that the received detection event meets the preset object cross acquisition area condition. Furthermore, it is determined to switch the tracking screen across devices.
  • the management platform can determine that the received detection event meets the preset The object crosses the acquisition area condition. Furthermore, it is determined to switch the tracking screen across devices, and camera A is determined to be the first device again.
  • the method for determining screen switching provided in the foregoing embodiment of the present application may further include the following steps:
  • switch the currently displayed tracking screen to: the tracking screen collected by the monitoring device reporting the detection event;
  • the fourth embodiment: the detection event is: the event information reported by the monitoring device when the target object is detected in the collected tracking screen.
  • the method for determining screen switching provided by the embodiment of the present application may further include the following steps:
  • the monitoring device reporting the detection event is not the first device, and the detection event reported by the first device is not received within the third preset time period, it is determined that the received detection event satisfies the preset object cross-collection area condition ;
  • the first device is: a monitoring device that sends the currently displayed tracking screen.
  • the tracking task issued to each monitoring device of the multiple monitoring devices may include the device task identifier of the monitoring device, where different monitoring devices have different device task identifiers, and the detection event reported by the monitoring device is different.
  • the event information includes its own device task ID, and the management platform can determine whether the device task ID of the monitoring device that reported the received detection event is the same as the device task ID of the first device to determine to report the received detection event Whether the monitoring device is the first device.
  • the specific duration of the third preset duration may be determined according to actual application requirements and the performance of the management platform and monitoring equipment in actual applications, which is not specifically limited in the embodiment of the present application.
  • the detection event is the event information reported by the monitoring device when the target object is detected in the collected tracking screen
  • a monitoring device reports a detection event
  • it can indicate that the target object is in the collection area of the monitoring device, where:
  • the target object can either start to enter the collection area of the detection device, or it can already enter the collection area of the monitoring device; correspondingly, when a monitoring device no longer reports detection events, it can indicate that the target object has left the collection area of the monitoring device area.
  • the management platform when the management platform receives a detection event reported by a monitoring device other than the first device, the management platform can determine that the target object is located in the collection area of the monitoring device of the non-first device, and then, when the management platform is in the third pre- If the detection event reported by the first device is not received within the time period, the management platform may determine that the target object has left the collection area of the first device. Thus, the management platform can determine that the received detection event satisfies the preset condition for the object to cross the collection area. Furthermore, the management platform may execute the above step S104 to determine to perform cross-device screen switching.
  • the method for determining screen switching provided in the foregoing embodiment of the present application may further include the following steps:
  • Example 4 for a moving scene where the target object moves back and forth in the overlapping area of the collection area of multiple monitoring devices, the management platform can still track the target object, ensuring that the display device can always display the specified The tracking picture of the existence of the target object sent by the monitoring device.
  • the management platform can receive the detection event reported by camera A, but does not receive the detection event reported by camera B within the third preset time period. Detection event. In this way, the management platform can determine that the received detection event reported by camera A satisfies the preset condition for the object to cross the collection area. Further, the management platform can determine to switch the tracking screen across devices, and switch the first device to camera A, that is, control the display device to display the video screen collected and sent by camera A.
  • Embodiment 5 The event type of the detection event may include: start tracking event and end tracking event.
  • the method for determining screen switching provided by the embodiment of the present application may further include the following steps:
  • the event type of the received detection event is an end tracking event
  • the monitoring device reporting the detection event is the first device
  • the monitoring device reporting the most recently received start tracking event is not the first device
  • the first device is: a monitoring device that sends the currently displayed tracking screen.
  • the tracking task issued to each monitoring device of the multiple monitoring devices may include the device task identifier of the monitoring device, where different monitoring devices have different device task identifiers, and the detection event reported by the monitoring device is different.
  • the event information includes its own device task ID, and the management platform can determine whether the device task ID of the monitoring device that reported the received detection event is the same as the device task ID of the first device to determine to report the received detection event Whether the monitoring device is the first device.
  • the management platform Upon receiving the end tracking event sent by the first device, the management platform can determine that the target object has left the collection area of the first device. Furthermore, the management device can determine whether the monitoring device that received the most recent tracking event started is the first device. equipment.
  • the start tracking event is the event information reported by the monitoring device when it detects that the target object enters its own collection area
  • the management platform determines that the tracking end event sent by the first device is received, the latest one is received If the monitoring device that started tracking the event is not the first device, it can be determined that the target object enters the collection area of the monitoring device that reported the most recently received tracking event, so that the management platform can determine that the received detection event satisfies the preset The condition of the object across the collection area. Furthermore, the management platform can determine to perform cross-region screen tracking.
  • the method for determining screen switching provided in the foregoing embodiment of the present application may further include the following steps:
  • switch the currently displayed tracking screen to: the monitoring device that reports the last received start tracking event Tracking screen.
  • FIG. 12 is a schematic structural diagram of a device for determining screen switching provided by an embodiment of the application. As shown in FIG. 12, the device for determining screen switching may include the following modules:
  • the task issuing module 1210 is used to issue tracking tasks for target objects to multiple designated monitoring devices;
  • the event receiving module 1220 is configured to receive a detection event reported by the monitoring device, where the detection event is the event information reported by the monitoring device based on the presence of the target object in the collected video screen ;
  • the switching determination module 1230 is configured to determine to perform a cross-device tracking screen switch when the received detection event meets the preset condition of the object cross-collection area; wherein, the object cross-collection area refers to: the target object enters or Leaving the collection area of one of the multiple monitoring devices.
  • the management platform of the monitoring system can receive the detection event reported by the designated monitoring device.
  • the detection event reported by the monitoring device is the event information reported by the monitoring device based on the existence of the target object in the video screen collected by itself, it can be determined whether the detection event meets the preset object cross-collection
  • the area condition is to determine whether the target object enters or leaves the collection area of the monitoring device.
  • the management platform can directly determine to perform cross-device tracking screen switching for the target object.
  • the management platform of the monitoring system when determining whether to perform cross-device tracking screen switching, can directly determine according to the detection events reported by the received monitoring device, without the need for a large number of And complicated calculations, therefore, there is no need to integrate a large amount of calculation logic in the management platform, which reduces the integration difficulty of the management platform.
  • the event type of the detection event includes: a non-end tracking event and an end tracking event; wherein, the non-end tracking event is: the monitoring device detects the target object The event information reported when it is in its own collection area; the end tracking event is: the event information reported by the monitoring device when the monitoring device detects that the target object leaves its own collection area; the device further includes: The first condition determination module is configured to: after the step of receiving the detection event reported by the monitoring device, after the event type of the received detection event belongs to the end tracking event, and reporting the end tracking event In the case that the monitoring device is the first device, after receiving the end tracking event, when a detection event whose event type belongs to the non-end tracking event is received, it is determined that the received detection event satisfies the preset object cross-collection area Conditions; wherein, the first device is: a monitoring device that sends the currently displayed tracking screen.
  • the first condition determination module includes: an identification clearing submodule, configured to: after the step of receiving the detection event reported by the monitoring device, If the event type belongs to the end tracking event, and the monitoring device reporting the end tracking event is the first device, the tracking task identifier is cleared; wherein, the tracking task identifier is used to indicate that the tracked screen needs to be sent currently The device task ID of the monitoring device, and the tracking task ID is the device task ID of the first device before being cleared; the condition determination sub-module is used to determine the event type of the received detection event belongs to the non-end tracking event , And when the tracking task identifier is empty, it is determined that the received detection event satisfies the preset condition for the object to cross the collection area.
  • an identification clearing submodule configured to: after the step of receiving the detection event reported by the monitoring device, If the event type belongs to the end tracking event, and the monitoring device reporting the end tracking event is the first device, the tracking task identifier is cleared; wherein, the tracking task identifier is used to indicate that the
  • the non-end tracking event includes: a start tracking event and a continuous tracking event; wherein, the start tracking event is: the monitoring device detects that the target object enters its own When the area is collected, the reported event information; the continuous tracking event is: after the start tracking event is reported, and before the end tracking event is reported, the monitoring device detects that the target object is in its own collection Area, the reported event information; the first condition determining module is specifically configured to: within the first preset time period after receiving the end tracking event, the detection of the event type belonging to the continuous tracking event is received When an event occurs, it is determined that the received detection event satisfies the preset condition of the object across the collection area.
  • the non-end tracking event includes: a start tracking event and a continuous tracking event; wherein, the start tracking event is: the monitoring device detects that the target object enters its own When the area is collected, the reported event information; the continuous tracking event is: after the start tracking event is reported, and before the end tracking event is reported, the monitoring device detects that the target object is in its own collection Area, the reported event information; the condition sub-determination module is specifically configured to: determine to receive when the event type of the received detection event belongs to the continuous tracking event and the tracking task identifier is empty The detected event satisfies the preset condition of the object across the collection area; the device further includes a third condition determining module, wherein the third condition determining module is configured to: when the event type of the received detection event belongs to the In the case of starting to track an event, it is determined that the received detection event meets the preset condition of the object across the collection area.
  • the start tracking event is: the monitoring device detects that the target object enters its own When the area is collected, the reported event information
  • the tracking task issued to each monitoring device of the plurality of monitoring devices includes the device task identifier of the monitoring device, wherein the device task identifiers of different monitoring devices are different ;
  • the event information includes the device task identifier of the monitoring device that reported the event information.
  • the device further includes: a task stop module, which is used when the event type of the received detection event belongs to the end tracking event, and the monitoring device that reports the end tracking event is In the case of the first device, within the second preset time period of receiving the end tracking event, if no detection event whose event type belongs to the non-end tracking event is received, the execution of the tracking task is stopped.
  • a task stop module which is used when the event type of the received detection event belongs to the end tracking event
  • the monitoring device that reports the end tracking event is In the case of the first device, within the second preset time period of receiving the end tracking event, if no detection event whose event type belongs to the non-end tracking event is received, the execution of the tracking task is stopped.
  • the device further includes: a screen switching module, which is used to switch the currently displayed tracking screen to: the report belongs to the The video images collected by the monitoring device of the detection event of the non-final tracking event; an identification update module for updating the tracking task identifier to the device task of the monitoring device reporting the detection event of the non-final tracking event Logo.
  • a screen switching module which is used to switch the currently displayed tracking screen to: the report belongs to the The video images collected by the monitoring device of the detection event of the non-final tracking event
  • an identification update module for updating the tracking task identifier to the device task of the monitoring device reporting the detection event of the non-final tracking event Logo.
  • the event type of the detection event includes: a start tracking event and an end tracking event; wherein, the start tracking event is: the monitoring device detects that the target object enters itself The event information reported in the collection area of the device; the end tracking event is: the event information reported by the monitoring device when the monitoring device detects that the target object leaves its collection area; the device further includes a fourth condition Determination module; wherein, the fourth condition determination module is used to: after the step of receiving the detection event reported by the monitoring device, when the event type of the received detection event is the start tracking event Next, it is determined that the received detection event satisfies the preset object cross-collection area condition; the event type of the received detection event is the end tracking event, and the monitoring device reporting the detection event is the first device, and Before the detection event is received, if the tracking end event sent by the second device is not received, it is determined that the received detection event satisfies the preset condition of cross-acquisition area of the object; wherein, the first device is
  • the detection event is: event information reported by the monitoring device when the target object is detected on the collected tracking screen; the device further includes a fifth condition Determining module; wherein the fifth condition determining module is configured to: after the step of receiving the detection event reported by the monitoring device, the monitoring device reporting the detection event is not the first device and is in the first 3. In the case that the detection event reported by the first device is not received within the preset time, it is determined that the received detection event satisfies the preset object cross-collection area condition; wherein, the first device is: sending the currently displayed trace Screen monitoring equipment.
  • the embodiment of the present application also provides an electronic device, which is a management platform of a monitoring system. As shown in FIG. 13, it includes a processor 1301 and a memory 1303; among them, the memory 1303 is used to store computer programs; the processor 1301 is used to execute the programs stored in the memory 1303 to implement any of the above described embodiments of the present application. Steps of a method for determining screen switching.
  • the electronic device further includes a communication interface 1302 and a communication bus 1304; among them, the processor 1301, the communication interface 1302, and the memory 1303 communicate with each other through the communication bus 1304. Communication.
  • the communication bus mentioned in the above electronic device may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the communication bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
  • the communication interface is used for communication between the above-mentioned electronic device and other devices.
  • the memory may include random access memory (Random Access Memory, RAM), and may also include non-volatile memory (Non-Volatile Memory, NVM), such as at least one disk storage.
  • NVM non-Volatile Memory
  • the memory may also be at least one storage device located far away from the foregoing processor.
  • the above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (Network Processor, NP), etc.; it can also be a digital signal processor (Digital Signal Processing, DSP), a dedicated integrated Circuit (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • CPU central processing unit
  • NP Network Processor
  • DSP Digital Signal Processing
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • FPGA Field-Programmable Gate Array
  • the embodiments of the present application also provide a computer-readable storage medium.
  • the computer program is executed by a processor, any Steps to determine how to switch screens.
  • the embodiments of the present application also provide a computer program product containing instructions that, when run on a computer, cause the computer to execute the method provided in the first aspect above. Steps of any method of determining screen switching.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • Alarm Systems (AREA)
  • Closed-Circuit Television Systems (AREA)

Abstract

本申请实施例提供了一种画面切换的确定方法、装置、电子设备及存储介质,该方法包括:向指定的多个监控设备下发针对目标对象的跟踪任务;接收所述监控设备所上报的检测事件,其中,所述检测事件是所述监控设备基于所述目标对象在采集到的视频画面中的存在情况,所上报的事件信息;当接收到的检测事件满足预设的对象跨采集区域条件时,确定进行跨设备的跟踪画面切换;其中,所述对象跨采集区域是指:所述目标对象进入或离开所述多个监控设备中一监控设备的采集区域。与现有技术相比,应用本申请实施例提供的方案,可以降低监控***的管理平台的集成难度。

Description

一种画面切换的确定方法、装置、电子设备及存储介质
本申请要求于2020年3月30日提交中国专利局、申请号为202010239581.X发明名称为“一种画面切换的确定方法、装置、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及视频监控技术领域,特别是涉及一种画面切换的确定方法、装置、电子设备及存储介质。
背景技术
在实际应用中,通常需要实时监控某一目标的行动状况,从而,对该目标进行目标跟踪。为了保证监控全面,监控场景中通常设置有多个监控设备;并且,为了展示包含目标对象的视频画面,管理平台需要确定是否对目标对象进行跨设备的跟踪画面切换。其中,所谓跨设备的跟踪画面切换为:在通过某个监控设备对目标对象进行跟踪时,在目标对象进入该监控设备与其他某一监控设备的重叠区域时,确定目标对象所进入到的重叠区域所属的另一监控设备,并将当前所得到的跟踪画面切换至该另一监控设备采集到的监控画面。
相关技术中,针对多个监控设备,预先确定出各个监控设备之间的重叠区域;进而,在目标对象进入某个重叠区域时,确定对目标对象进行跨设备的跟踪画面切换。其中,针对目标对象,管理平台需要进行大量复杂的计算来确定是否进行跨设备的跟踪画面切换,因此,管理平台中需要集成大量的计算逻辑,从而,导致管理平台的集成难度较大。
发明内容
本申请实施例的目的在于提供一种画面切换的确定方法、装置、电子设备及存储介质,以实现降低监控***的管理平台的集成难度。具体技术方案如下:
第一方面,本申请实施例提供了一种画面切换的确定方法,所述方法包括:向指定的多个监控设备下发针对目标对象的跟踪任务;接收所述监控设备所上报的检测事件,其中,所述检测事件是所述监控设备基于所述目标对象在采集到的视频画面中的存在情况,所上报的事件信息;当接收到的检测事件满足预设的对象跨采集区域条件时,确定进行跨设备的跟踪画面切换;其中,所述对象跨采集区域是指:所述目标对象进入或离开所述多个监控设备中一监控设备的采集区域。
第二方面,本申请实施例提供了一种画面切换的确定装置,所述装置包括:任务下发模块,用于向指定的多个监控设备下发针对目标对象的跟踪任务;事件接收模块,用于接收所述监控设备所上报的检测事件,其中,所述检测事件是所述监控设备基于所述目标对象在采集到的视频画面中的存在情况,所上报的事件信息;切换确定模块,用于当接收到的检测事件满足预设的对象跨采集区域条件时,确定进行跨设备的跟踪画面切换;其中,所述对象跨采集区域是指:所述目标对象进入或离开所述多个监控设备中一监控设备的采集区域。
第三方面,本申请实施例提供了一种电子设备,包括处理器和存储器;存储器,用于存放计算机程序;处理器,用于执行存储器上所存放的程序时,实现上述第一方面提供的任一画面切换的确定方法的步骤。
第四方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现上述第一方面提供的任一画面切换的确定方法的步骤。
第五方面,本申请实施例还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面提供的任一画面切换的确定方法的步骤。
以上可见,应用本申请实施例提供的方案,在对目标对象进行跟踪时,监控***的管理平台可以接收所指定的监控设备所上报的检测事件。由于监控设备所上报的检测事件是该监控设备基于目标对象在自身所采集到的视频画面中的存在情况所上报的事件信息,因此,可以确定该检测事件是否满足预设的对象跨采集区域条件,即确定目标对象是否进入或者离开该监控设备的采集区域。进而,当接收到的检测事件满足预设的对象跨采集区域条件时,管理平台便可以直接确定进行针对目标对象的跨设备的跟踪画面切换。基于此,应用本申请实施例提供的方案,在确定是否进行跨设备的跟踪画面切换时,监控***的管理平台可以直接根据所接收到的监控设备上报的检测事件进行确定,而不需要进行大量且复杂的计算,从而,管理平台中可以不需要集成大量的计算逻辑,降低了管理平台的集成难度。
附图说明
为了更清楚地说明本申请实施例和现有技术的技术方案,下面对实施例和现有技术中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,本领域普通技术人员来讲还可以根据这些附图获得其他的附图。
图1为本申请实施例提供的一种画面切换的确定方法的流程示意图;
图2为针对目标对象的所指定的监控设备的示意图;
图3为管理平台向所指定的监控设备下发针对目标对象的跟踪任务的处理流程;
图4为目标对象通过一所指定的监控设备的采集区域的示意图;
图5为目标对象在多个监控设备的监控范围内直线移动的示意图;
图6为目标对象在多个监控设备的监控范围的重叠区域外折返移动的示意图;
图7为目标对象在多个监控设备的监控范围的重叠区域内折返移动的示意图;
图8(a)为本申请实施例提供的另一种画面切换的确定方法的流程示意图;
图8(b)为图6所示实施例的一种具体实现方式的流程示意图;
图8(c)为图6所示实施例的一种具体实现方式的流程示意图;
图9(a)为本申请实施例提供的另一种画面切换的确定方法的流程示意图;
图9(b)为图6所示实施例的一种具体实现方式的流程示意图;
图10为在图9(b)所示具体实现方式中,管理平台针对各类检测事件的处理逻辑的流程示意图;
图11为本申请实施例提供的另一种画面切换的确定方法的流程示意图;
图12为本申请实施例提供的一种画面切换的确定装置的结构示意图;
图13为本申请实施例提供的一种电子设备的结构示意图;
图14为本申请实施例提供的另一种电子设备的结构示意图。
具体实施方式
为使本申请的目的、技术方案、及优点更加清楚明白,以下参照附图并举实施例,对本申请进一步详细说明。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。本领域普通技术人员基于本申请中的实施例所获得的所有其他实施例,都属于本申请保护的范围。
相关技术中,针对多个监控设备,预先确定出各个监控设备之间的重叠区域;进而,在目标对象进入某个重叠区域时,确定对目标对象进行跨设备的跟踪画面切换。其中,针对目标对象,管理平台需要 进行大量复杂的计算来确定是否进行跨设备的跟踪画面切换,因此,管理平台中需要集成大量的计算逻辑,从而,导致管理平台的集成难度较大。
为了解决上述技术问题,本申请实施例提供了一种画面切换的确定方法。其中,该方法可以应用于监控***的管理平台,该管理平台可以与该监控***中的各个监控设备建立通信连接,以使得该管理平台可以向各个监控设备下发跟踪任务,并接收各个监控设备所上报的检测事件。此外,该管理平台可以是任一类型电子设备,例如,手机、平板电脑、笔记本电脑等。对此,本申请实施例不做具体限定,以下简称管理平台。
本申请实施例提供的一种画面切换的确定方法,可以包括如下步骤:
向指定的多个监控设备下发针对目标对象的跟踪任务;
接收所述监控设备所上报的检测事件;其中,所述检测事件是所述监控设备基于所述目标对象在采集到的视频画面中的存在情况,所上报的事件信息;
当接收到的检测事件满足预设的对象跨采集区域条件时,确定进行跨设备的跟踪画面切换;其中,所述对象跨采集区域是指:所述目标对象进入或离开所述多个监控设备中一监控设备的采集区域。
以上可见,应用本申请实施例提供的方案,在对目标对象进行跟踪时,监控***的管理平台可以接收所指定的监控设备所上报的检测事件,由于监控设备所上报的检测事件是该监控设备基于目标对象在自身所采集到的视频画面中的存在情况所上报的事件信息,因此,可以确定该检测事件是否满足预设的对象跨采集区域条件,即确定目标对象是否进入或者离开该监控设备的采集区域。进而,当接收到的检测事件满足预设的对象跨采集区域条件时,管理平台便可以直接确定进行针对目标对象的跨设备的跟踪画面切换。基于此,应用本申请实施例提供的方案,在确定是否进行跨设备的跟踪画面切换时,监控***的管理平台可以直接根据所接收到的监控设备上报的检测事件进行确定,而不需要进行大量且复杂的计算,从而,管理平台中可以不需要集成大量的计算逻辑,降低了管理平台的集成难度。
下面,结合附图,对本申请实施例提供的一种画面切换的确定方法进行具体说明。
图1为本申请实施例提供的一种画面切换的确定方法的流程示意图。如图1所示,该确定方法可以包括如下步骤:
S100:向指定的多个监控设备下发针对目标对象的跟踪任务;
可以理解的,在确定出需要进行跟踪的目标对象后,还需要确定可以用来对目标对象进行跟踪的监控设备。其中,可以事先计算好监控***中各个监控设备的监控范围,进而,根据各个监控设备的监控范围,以及目标对象可能出现的路线方向,可以确定能够覆盖目标对象在该路线方向上的全部移动区域的多个监控设备,并且,上述所确定的多个监控设备便可以作为指定的多个监控设备。
可选的,针对某一确定的路线方向上的全部区域,监控***中可以存在能够完整覆盖该全部区域的多个监控设备。并且,在能够完整覆盖该全部区域的多个监控设备中,相邻的两个监控设备之间还可以存在重叠区域,即同一区域可以位于该两个监控设备的监控范围内。例如,如图2所示,目标1即为需要进行跟踪的目标对象,该目标对象可能经过的区域包括相机A-C的监控范围,因此,相机A-C即为用于对目标1进行跟踪的监控设备。其中,当相机A-C为球机时,还可以根据目标1可能出现的行进方向,初始化相机A-C的云台朝向,从而,扩大相机A-C的监控范围。
这样,在确定了用于对目标对象进行跟踪的多个监控设备后,则所确定的多个监控设备即可以作为上述步骤S100中的指定的多个监控设备。进而,管理平台便可以向该指定的多个监控设备下发针对目 标对象的跟踪任务。其中,该目标对象可以是任意可以移动的对象,对此,本发明实施例不做具体限定。
为了使得上述所指定的多个监控设备能够在自身所采集到的视频画面中检测目标对象,并根据目标对象在该视频画面中的存在情况向监控平台上报检测事件,上述监控平台所下发的跟踪任务中可以包括该目标对象的标识信息,从而,所指定的各个监控设备便可以利用该标识信息在自身所采集到的视频画面中检测目标对象。其中,目标对象的标识信息可以是任意能够唯一标识该目标对象的信息,也就是说,根据目标对象的标识信息,可以唯一确定该目标对象。并且,不同的类型的目标对象的标识信息的信息类型可以相同也可以不同,对此,本发明实施例不做具体限定。例如,当目标对象为车辆时,该标识信息可以为车牌信息。
此外,在本申请的一实施例中,上述下发至多个监控设备中的每个监控设备的跟踪任务中可以包括该监控设备的设备任务标识,其中,不同的监控设备的设备任务标识不同;进而,所指定的各个监控设备所上报的检测事件的事件信息中便可以包括:上报该事件信息的监控设备的设备任务标识。
可选的,一种具体实现方式中,在上述步骤S100中,管理平台向指定的多个监控设备所下发的跟踪任务是针对同一目标对象的,进而,该所指定的监控设备仅支持单任务跟踪,即在执行每次跟踪任务的过程中,所指定的监控设备仅能够对一个目标对象进行跟踪。
基于此,当需要更改所指定的监控设备所跟踪的目标对象时,则需要停止并结束当前所指定的监控设备所执行的跟踪任务,并下发针对新的目标对象的跟踪任务。其中,在这种情况下,可以将管理平台所下发的针对目标对象的跟踪任务称为单目标跟踪任务。
例如,在具体应用中,管理平台向指定的多个监控设备所下发的跟踪任务中可以包括如下三种内容:
1、所要跟踪的目标对象的标识信息;其中,该标识信息与目标对象具有一对一的对应关系,从而,该标识信息可以唯一标识该目标对象;例如,当目标对象为车辆时,该标识信息可以为车牌信息。
2、监控设备的设备任务标识;其中,所指定的多个监控设备中,不同的监控设备所具有的设备任务标识不同,且监控设备的设备任务标识是由管理平台进行维护并下发至监控设备的。进而,在后续监控设备执行针对目标任务的跟踪任务过程中,监控设备向管理平台上报检测事件时,所上报的检测事件的事件信息中将携带自身的设备任务标识。可选的,监控设备的设备任务标识可以由64位字符串构成。
3、跟踪任务的最长执行时间等配置参数。可以理解的,针对目标对象的跟踪任务可能不会无限期的执行下去,因此,管理平台需要告知所指定的监控设备,在何时停止执行该针对目标对象的跟踪任务,即所下发的针对目标对象的跟踪任务中可以包括该跟踪任务的最长执行时间。当然,针对不同的目标对象,以及不同的跟踪任务的具体内容,该跟踪任务中还可以包括其他的配置参数,例如,所指定的监控设备上报检测事件的频率等。
S102:接收监控设备所上报的检测事件;
其中,检测事件是监控设备基于目标对象在采集到的视频画面中的存在情况,所上报的事件信息;
在执行完上述步骤S100,向指定的多个监控设备下发针对目标对象的跟踪任务后,管理平台便可以继续执行上述步骤S102,接收监控设备所上报的检测事件。
其中,所指定的各个监控设备在接收到上述针对目标对象的跟踪任务后,便可以获知自身需要检测的目标对象,进而,该监控设备便可以在自身所采集到的视频画面中进行目标对象检测,以确定该视频画面中是否存在该目标对象,从而,根据目标对象在采集到的视频画面中的存在情况,向管理平台上报与该存在情况所对应的检测事件。这样,管理平台便可以接收所指定的各个监控设备所上报的检测事件。
也就是说,管理平台所接收到的监控设备上报的检测事件,是指:所指定的多个监控设备中,各个监控设备所上报的检测事件,并且,每个监控设备所上报的检测事件为该监控设备基于目标对象在采集到的视频画面中的存在情况,所上报的事件信息。
在本申请的一实施例中,由于针对目标对象的跟踪可以持续一段时长,而在该时长内,所指定的各个监控设备可以多次向管理平台上报检测事件,因此,管理平台可以接收所指定的各个监控设备所上报的多个检测事件。
此外,针对不同类型的目标对象,所指定的各个监控设备可以采用各种与该目标对象对应的对象检测算法或对象检测模型,在自身所采集到的视频画面中检测该目标对象。例如,当目标对象为车辆时,可以采用车牌检测算法。
在本申请的一实施例中,所指定的各个监控设备可以利用接收到的上述针对目标对象的跟踪任务中所包括的目标对象的标识信息,在自身所采集到的视频画面中进行目标对象检测。这样,所指定的各个监控设备可以在自身所采集到的视频画面中检测目标对象的标识信息。示例性的,当目标对象为车辆且标识信息为车牌信息时,所指定的各个监控设备便可以在自身所采集到的视频画面中检测该车牌信息。
在本申请的另一实施例中,所指定的各个监控设备在接收到上述针对目标对象的跟踪任务后,可以按照预定周期,每隔该预定周期所指示的预定时间后,对当前自身所采集到的视频画面进行目标对象检测,以确定该视频画面中是否存在该目标对象,从而,根据目标对象在采集到的视频画面中的存在情况,向管理平台上报与该存在情况所对应的检测事件。也就是说,各个监控设备可以按照上述预定周期,向管理平台上报检测事件。
S104:当接收到的检测事件满足预设的对象跨采集区域条件时,确定进行跨设备的跟踪画面切换;
其中,对象跨采集区域是指:目标对象进入或离开所指定的多个监控设备中一监控设备的采集区域。也就是说,当接收到的检测事件满足预设的对象跨采集区域条件时,可以表明目标对象开始进入某一监控设备的监控范围,或者,目标对象从当前所在的一监控设备的监控范围内离开。
这样,管理平台在接收到所指定的各个监控设备所上报的检测事件后,便可以根据所接收到的检测事件是否满足预设的对象跨采集区域条件,来确定是否进行跨设备的跟踪画面切换。当接收到的检测事件满足预设的对象跨采集区域条件时,管理平台便可以确定进行跨设备的跟踪画面切换。
其中,管理平台可以将上报当前所显示的跟踪画面的监控设备,切换为所指定的多个监控设备中的其他监控设备,从而,显示切换后的监控设备所上报的跟踪画面,并利用切换后的监控设备继续对目标对象进行跟踪。
此外,当接收到的检测事件表明目标对象从当前所在的一监控设备的监控范围内离开,并且,未继续进入所指定的多个监控设备中的任一监控设备的监控范围内时,管理平台还可以停止执行上述针对目标对象的跟踪任务。
其中,在上述步骤S104中,管理平台可以通过多种方式确定接收到的检测事件满足预设的对象跨采集区域条件,对此,本申请实施例不做具体限定。为了行文清晰,后续将会对管理平台确定接收到的检测事件满足预设的对象跨采集区域条件的方式进行举例说明。
基于此,应用本申请实施例提供的方案,在确定是否进行跨设备的跟踪画面切换时,监控***的管理平台可以直接根据所接收到的监控设备上报的检测事件进行确定,而不需要进行大量且复杂的计算,从而,管理平台中可以不需要集成大量的计算逻辑,降低了管理平台的集成难度。
可选的,一种具体方式中,如图3所示,为管理平台向所指定的监控设备下发针对目标对象的跟踪任务的处理流程,该处理流程可以包括如下步骤:
S301:向所指定的多个监控设备下发针对目标对象的跟踪任务;
S302:判断所指定的多个监控设备是否正在执行其他跟踪任务;若是,执行S303,否则,执行S304;
S303:控制所指定的多个监控设备停止执行当前正在执行的跟踪任务,返回执行S301;
S304:控制所指定的多个监控设备执行所下发的跟踪任务,并上报检测事件。
在确定目标对象并指定多个监控设备后,管理平台便可以向所指定的多个监控设备下发针对目标对象的跟踪任务;此时,所指定的多个监控设备可能正在执行其他的跟踪任务,这样,管理平台便可以基于监控设备的任务执行状态,判断所指定的多个监控设备是否正在执行其他跟踪任务。
其中,当管理平台判断出所指定的多个监控设备正在执行其他跟踪任务时,管理平台便可以向所指定的多个监控设备下发任务结束指令,以控制所指定的多个监控设备停止执行当前正在执行的跟踪任务。这样,所指定的多个监控设备便可以处于任务空闲状态,从而,管理平台可以再次向所指定的多个监控设备下发上述针对目标对象的跟踪任务。
需要说明的是,在停止执行当前正在执行的跟踪任务前后,所指定的多个监控设备所执行的跟踪任务发生了更改,也就是说,管理平台通过向所指定的多个监控设备下发任务结束指令和再次向所指定的多个监控设备下发针对目标对象的跟踪任务,实现了所指定的多个监控设备所执行的跟踪任务的更新。由于所指定的多个监控设备当前正在执行的跟踪任务也是管理平台下发的,则上述过程可以理解为管理平台对所下发的跟踪任务的更新。
相应的,当管理平台判断出所指定的多个监控设备未执行其他跟踪任务时,也就是说,所指定的多个监控设备处于任务空闲状态。这样,所指定的多个监控设备便可以接收管理平台所下发的上述针对目标对象的跟踪任务;进而,所指定的多个监控设备便可以在管理平台的控制下,执行所接收到的跟踪任务,对上述目标对象进行跟踪,并在跟踪过程中向管理平台上报检测事件。
进而,在所指定的多个监控设备在管理平台的控制下,执行所接收到的跟踪任务时,管理平台同样可以向所指定的多个监控设备下发任务结束指令,控制所指定的多个设备停止执行所下发的上述针对目标对象的跟踪任务。
这样,管理平台便可以对针对目标对象的跟踪任务进行更新,并向所指定的多个监控设备下发更新后的针对目标对象的跟踪任务。也就是说,管理平台再次实现了对所下发的跟踪任务的更新。也就是说,管理设备可以在执行上述步骤S302的判断结果为是时,执行上述步骤S304,也可以在执行上述步骤S303的过程中,执行上述步骤S304。
在对管理平台确定接收到的检测事件满足预设的对象跨采集区域条件的方式进行具体说明之前,首先对确定方式中涉及到的相关技术内容进行说明。
首先,对所指定的监控设备上报的检测事件进行说明。当目标对象在监控设备所采集到的视频画面中的存在情况不同时,监控设备所上报的检测事件也可以是不同的,也就是说,检测事件可以存在多种事件类型。
可选的,一种具体实现方式中,检测事件的事件类型可以包括:非结束跟踪事件和结束跟踪事件。其中,非结束跟踪事件为:监控设备在检测到目标对象处于自身的采集区域时,所上报的事件信息;结束跟踪事件为:监控设备在检测到目标对象离开自身的采集区域时,所上报的事件信息。
针对所指定的多个监控设备中的一监控设备,该监控设备在接收到针对目标对象的跟踪任务后,便可以在自身所采集到的视频画面中检测该目标对象,即检测目标对象在自身所采集到的视频画面中的存在情况。
其中,当监控设备在自身所采集到的视频画面中检测到该目标对象,即检测到目标对象处于自身的采集区域时,该监控设备便可以向管理平台上报非结束跟踪事件;
当监控设备在自身所采集到的视频画面中未检测到该目标对象,且在此次检测之前的上一次检测时,监控设备在自身所采集到的视频画面中检测到该目标对象时,则说明在上述上一次检测和此次检测之间,目标对象从该监控设备的采集区域内离开,从而,该监控设备可以确定检测到目标对象离开自身的采集区域,进而,该监控设备便可以向管理平台上报结束跟踪事件。
也就是说,监控设备可以记录每次检测到的目标对象在自身所采集到的视频画面中的存在情况,则当检测到目标对象不处于自身的采集区域时,监控设备可以从所记录的存在情况中,读取此次检测的上一次所检测到的存在结果。进而,当此次检测的上一次所检测到的存在结果为目标对象处于自身的采集区域时,则说明在此次检测和此次检测的上一次所检测之间的时间段内,目标对象从该监控设备的采集区域内移动到该监控设备的采集区域外,即目标对象离开自身的采集区域。从而,在这种情况下,监控设备可以向管理平台上报结束跟踪事件。
进一步的,可选的,一种具体实现方式中,上述非结束跟踪事件还可以包括:开始跟踪事件和持续跟踪事件。其中,开始跟踪事件为:监控设备在检测到目标对象进入自身的采集区域时,所上报的事件信息;持续跟踪事件为:在上报开始跟踪事件之后,且上报结束跟踪事件之前,监控设备在检测到目标对象处于自身的采集区域时,所上报的事件信息。
当监控设备在接收到上述针对目标对象的跟踪任务之后,第一次在自身所采集到的视频画面中检测该目标对象,即第一次检测目标对象在自身所采集到的视频画面中的存在情况时,则说明目标对象从该监控设备的采集区域外进入到该监控设备的采集区域内,从而,该监控设备可以确定检测到目标对象进入自身的采集区域,进而,该监控设备便可以向管理平台上报开始跟踪事件;或者,
当监控设备在向管理平台上报过结束跟踪事件之后,再次在自身所采集到的视频画面中检测到该目标对象时,由于结束跟踪事件是监控设备在检测到目标对象离开自身的采集区域时,所上报的事件信息,因此,可以说明目标对象从该监控设备的采集区域外再次进入到该监控设备的采集区域内,从而,该监控设备可以确定检测到目标对象进入自身的采集区域,进而,该监控设备便可以向管理平台上报开始跟踪事件。
进一步的,目标对象穿过一监控设备的采集区域的过程可以包括三个步骤:进入该采集区域,在该采集区域中移动,离开该采集区域。则当监控设备检测到目标对象进入自身的采集区域时,监控设备可以上报开始跟踪事件,而当监控设备检测到目标对象离开自身的采集区域时,监控设备可以上报结束跟踪事件。
基于此,可以说明:在监控设备上报开始跟踪事件和结束跟踪事件之间的时间段内,目标对象在该监控设备的采集区域内移动,进而,在该时间段内,监控设备每次在自身所采集到的视频画面中检测目标对象,均可以检测该视频画面中存在目标对象。从而,在监控设备上报开始跟踪事件之后,且上报结束跟踪事件之前,当监控设备在自身所采集到的视频画面中检测到目标对象,即检测到目标对象处于自身的采集区域时,便可以向管理平台上报持续跟踪事件。
为了便于理解上述开始跟踪事件、持续跟踪事件和结束跟踪事件,下面通过一个具体实施例来进行具体说明。如图4所示,为目标对象通过一所指定的监控设备的采集区域的示意图;其中,图4中的目标1即为目标对象,相机A即为所指定的监控设备。具体的:
阶段1:目标1从相机A的采集区域外进入到相机A的采集区域,则相机A在对自身所采集到的视频图像进行目标对象检测时,在至少一次未检测到目标1后,首次检测到目标1,相机A可以确定目标1进入到自身的采集区域,则相机A向管理平台上报开始跟踪事件。
阶段2:目标1位于相机A的采集区域内,并可以在相机A的采集区域内移动,则在上报开始跟踪事件之后,相机A在自身所采集到的视频图像中进行目标对象检测时,始终可以检测到目标1,从而,相机A向管理平台上报持续跟踪事件。
阶段3:目标1从相机A的采集区域内移动到相机A的采集区域外,则在至少上报一次持续跟踪事件之后,相机A在自身所采集到的视频图像中进行目标对象检测时,首次未检测到目标1,从而,相机A向管理平台上报结束跟踪事件。
接着,对目标对象在移动过程中可能出现的多种移动场景进行说明。可以理解的,目标对象在移动过程中可能出现多种移动场景,例如,目标对象可以在多个监控设备的采集区域内直线移动,又例如,目标对象可以在多个监控设备的采集区域内折返移动等。基于此,下面对目标对象在移动过程中可能出现的多种移动场景进行举例说明,并对多种移动场景中,监控设备所上报的各类检测事件进行说明。
示例一:如图5所示,为目标对象在多个监控设备的采集区域内直线移动的示意图。其中,图5中的目标1为目标对象,相机A和B为所指定的监控设备。
其中,在本示例中,目标1首先进入相机A的采集区域;移动一段距离后,在未离开相机A的采集区域的情况下,目标1进入相机B的采集区域,此时,目标1位于相机A和相机B重合的采集区域中;再移动一段距离后,目标1离开相机A的采集区域,而仍然位于相机B的采集区域中;继续移动一段距离后,目标1离开相机B的采集区域,从而,目标1离开所指定的监控设备的监控范围。
相应的,在本示例中,相机A和B在接收到针对目标1的跟踪任务后,便可以对自身所采集到的视频画面进行目标1检测,并根据所检测到的目标1在采集到的视频画面中的存在情况,上报与该存在情况对应的检测事件。
这样,当相机A第一次检测到采集到的视频画面中存在目标1时,则表明目标1进入到相机A的采集区域,进而,相机A可以向管理平台上报非结束跟踪事件或开始跟踪事件。
之后,相机A在每次检测到采集到的视频画面中存在目标1时,向管理平台上报非结束跟踪事件或持续跟踪事件,且该过程中,相机B检测到采集到的视频画面中不存在目标1。
然后,由于相机A和B的采集区域存在重叠区域,则目标1在离开相机A的采集区域之前,会先进入到相机B的采集区域,此时,相机B第一次检测到采集到的视频画面中存在目标1,则相机B可以向管理平台上报非结束跟踪事件或开始跟踪事件。同时,由于目标1还未离开相机A的采集区域,则相机A仍然向管理平台上报非结束跟踪事件或持续跟踪事件。
之后,相机A和B在每次检测到自身采集到的视频画面中存在目标1时,分别向管理平台上报非结束跟踪事件或持续跟踪事件。
接着,当相机A检测到采集到的视频画面中不存在目标1时,则表明目标1离开相机A的采集区域,进而,相机A可以向管理平台上报结束跟踪事件。此时,由于目标1还未离开相机B的采集区域,因此, 相机B仍然向管理平台上报非结束跟踪事件或持续跟踪事件。
最后,当相机B检测到采集到的视频画面中不存在目标1时,则表明目标1离开相机B的采集区域,进而,相机B可以向管理平台上报结束跟踪事件。
这样,目标1彻底离开相机A和B的监控范围,对目标1的跟踪任务结束。其中,如果所指定的监控设备中还存在相机C或者更多的监控设备,则目标1的移动过程,以及管理平台所接收到的各个跟踪事件与上述情况类似。
示例二:如图6所示,为目标对象在多个监控设备的采集区域的重叠区域外折返移动的示意图。其中,图6中的目标1为目标对象,相机A和B为所指定的监控设备。
其中,在本示例中,目标1首先进入相机A的采集区域;移动一段距离后,在未离开相机A的采集区域的情况下,目标1进入相机B的采集区域,此时,目标1位于相机A和相机B重合的采集区域中;再移动一段距离后,目标1离开相机A的采集区域,而仍然位于相机B的采集区域中;继续移动一段距离后,在未离开相机B的采集区域的情况下,目标1再次进入相机A的采集区域,此时,目标1再次相机A和相机B重合的采集区域中;再移动一段距离后,目标1离开相机B的采集区域,而仍然位于相机A的采集区域中;继续移动一段距离后,目标1离开相机A的采集区域,即目标1离开所指定的监控设备的监控范围。
相应的,在本示例中,相机A和B在接收到针对目标1的跟踪任务后,便可以对自身所采集到的视频画面进行目标1检测,并根据所检测到的目标1在采集到的视频画面中的存在情况,上报与该存在情况对应的检测事件。
这样,当相机A第一次检测到采集到的视频画面中存在目标1时,则表明目标1进入到相机A的采集区域,进而,相机A可以向管理平台上报非结束跟踪事件或开始跟踪事件。
之后,相机A在每次检测到采集到的视频画面中存在目标1时,向管理平台上报非结束跟踪事件或持续跟踪事件,且该过程中,相机B检测到采集到的视频画面中不存在目标1。
然后,由于相机A和B的采集区域存在重叠区域,则目标1在离开相机A的采集区域之前,会先进入到相机B的采集区域,此时,相机B第一次检测到采集到的视频画面中存在目标1,则相机B可以向管理平台上报非结束跟踪事件或开始跟踪事件。同时,由于目标1还未离开相机A的采集区域,则相机A仍然向管理平台上报非结束跟踪事件或持续跟踪事件。
之后,相机A和B在每次检测到自身采集到的视频画面中存在目标1时,分别向管理平台上报非结束跟踪事件或持续跟踪事件。
接着,当相机A检测到采集到的视频画面中不存在目标1时,则表明目标1离开相机A的采集区域,进而,相机A可以向管理平台上报结束跟踪事件。此时,由于目标1还未离开相机B的采集区域,因此,相机B仍然向管理平台上报非结束跟踪事件或持续跟踪事件。
此后,目标1仅在相机B的采集区域内移动,则相机B仍然向管理平台上报非结束跟踪事件或持续跟踪事件,并且,该过程中,相机A检测到采集到的视频画面中不存在目标1。
然后,当目标1再次移动至相机A和B的重叠区域内时,则表明目标1再次进入到相机A的采集区域,此时,相机A在上报结束跟踪事件后,再次检测到目标1进入相机A的采集区域,则相机A可以再次向管理平台上报非结束跟踪事件或开始跟踪事件。
之后,由于目标1还未离开相机B的采集区域,因此,相机A和B在每次检测到自身采集到的视频画面中存在目标1时,分别向管理平台上报非结束跟踪事件或持续跟踪事件。
接着,当相机B检测到采集到的视频画面中不存在目标1时,则表明目标1离开相机B的采集区域,进而,相机B可以向管理平台上报结束跟踪事件。此时,由于目标1还未离开相机A的采集区域,因此,相机A仍然向管理平台上报非结束跟踪事件或持续跟踪事件。
最后,当相机A检测到采集到的视频画面中不存在目标1时,则表明目标1离开相机A的采集区域,进而,相机A可以向管理平台上报结束跟踪事件。
这样,目标1彻底离开相机A和B的监控范围,对目标1的跟踪完成。相应的,如果所指定的监控设备中还存在相机C或者更多的监控设备,则目标1的移动过程,以及管理平台所接收到的各个跟踪事件与上述情况类似。
示例三,如图7所示,为目标对象在多个监控设备的采集区域的重叠区域内折返移动的示意图。其中,图7中的目标1为目标对象,相机A和B为所指定的监控设备。
其中,在本示例中,目标1首先进入相机A的采集区域;移动一段距离后,在未离开相机A的采集区域的情况下,目标1进入相机B的采集区域,此时,目标1位于相机A和相机B重合的采集区域中;再移动一段距离后,目标1离开相机B的采集区域,而仍然位于相机A的采集区域中;继续移动一段距离后,目标1离开相机A的采集区域,从而,目标1离开所指定的监控设备的监控范围。
相应的,在本示例中,相机A和B在接收到针对目标1的跟踪任务后,便可以对自身所采集到的视频画面进行目标1检测,并根据所检测到的目标1在采集到的视频画面中的存在情况,上报与该存在情况对应的检测事件。
这样,当相机A第一次检测到采集到的视频画面中存在目标1时,则表明目标1进入到相机A的采集区域,进而,相机A可以向管理平台上报非结束跟踪事件或开始跟踪事件。
之后,相机A在每次检测到采集到的视频画面中存在目标1时,向管理平台上报非结束跟踪事件或持续跟踪事件,且该过程中,相机B检测到采集到的视频画面中不存在目标1。
然后,由于相机A和B的采集区域存在重叠区域,则目标1在离开相机A的采集区域之前,会先进入到相机B的采集区域,此时,相机B第一次检测到采集到的视频画面中存在目标1,则相机B可以向管理平台上报非结束跟踪事件或开始跟踪事件。同时,由于目标1还未离开相机A的采集区域,则相机A仍然向管理平台非结束跟踪事件或上报持续跟踪事件。
之后,相机A和B在每次检测到自身采集到的视频画面中存在目标1时,分别向管理平台上报非结束跟踪事件或持续跟踪事件。
然后,当相机B检测到采集到的视频画面中不存在目标1时,则表明目标1离开相机B的采集区域,进而,相机B可以向管理平台上报结束跟踪事件。此时,由于目标1还未离开相机A的采集区域,因此,相机A仍然向管理平台上报非结束跟踪事件或持续跟踪事件。
最后,当相机A检测到采集到的视频画面中不存在目标1时,则表明目标1离开相机A的采集区域,进而,相机A可以向管理平台上报结束跟踪事件。
这样,目标1彻底离开相机A和B的监控范围,对目标1的跟踪任务结束。相应的,如果所指定的监控设备中还存在相机C或者更多的监控设备,则目标1的移动过程,以及管理平台所接收到的各个跟踪事件与上述情况类似。
下面,在上述对检测事件的事件类型和目标对象的移动场景的说明的基础上,对管理平台确定接收到的检测事件满足预设的对象跨采集区域条件的方式,进行具体说明。
实施例一:检测事件的事件类型可以包括:非结束跟踪事件和结束跟踪事件。如图8(a)所示,本申请实施例提供的一种画面切换的确定方法还可以包括如下步骤S103A或S103B。
S103A:在接收到的检测事件的事件类型属于结束跟踪事件,以及上报结束跟踪事件的监控设备是第一设备的情况下,在接收到结束跟踪事件后,接收到事件类型属于非结束跟踪事件的检测事件时,确定接收到的检测事件满足预设的对象跨采集区域条件;
其中,第一设备为:发送当前所显示跟踪画面的监控设备;
在对目标对象的跟踪过程中,监控***中的显示设备可以显示针对目标对象的跟踪画面,而该跟踪画面为所指定的多个监控设备中的一监控设备所发送的自身采集到的视频画面。其中,该监控设备可以称为第一设备。
在本申请的一实施例中,由于下发至多个监控设备中的每个监控设备的跟踪任务中可以包括该监控设备的设备任务标识,其中,不同的监控设备的设备任务标识不同,监控设备上报的检测事件的事件信息中包括自身的设备任务标识,则管理平台可以通过判断上报所接收到的检测事件的监控设备的设备任务标识与第一设备的设备任务标识是否相同,来确定上报所接收到的检测事件的监控设备是否为第一设备。
在本申请的另一实施例中,可以是在接收到的检测事件的事件类型属于结束跟踪事件,以及上报结束跟踪事件的监控设备是第一设备的情况下,在接收到结束跟踪事件后的第一预设时长内,接收到事件类型属于非结束跟踪事件的检测事件时,确定接收到的检测事件满足预设的对象跨采集区域条件。
当管理平台接收到第一设备所上报的属于结束跟踪事件的检测事件时,则可以确定目标对象离开第一设备的采集区域,进而,第一设备所发送的自身所采集的视频画面中将不存在目标对象,从而,当显示设备继续显示第一设备所发送的视频画面时,将无法实现对目标对象的跟踪。
进而,当管理平台在接收到第一设备所上报的属于结束跟踪事件的检测事件后的第一预设时长内,接收到属于非结束跟踪事件的检测事件时,则可以确定目标对象位于上报该属于非结束跟踪事件的检测事件的监控设备的采集区域内。进而,当显示设备显示该上报该属于非结束跟踪事件的检测事件的监控设备所采集的视频画面时,则可以继续实现对目标对象的跟踪。
基于此,在接收到的检测事件的事件类型属于结束跟踪事件,以及上报结束跟踪事件的监控设备是第一设备的情况下,在接收到结束跟踪事件后的第一预设时长内,接收到事件类型属于非结束跟踪事件的检测事件时,管理平台可以确定接收到的检测事件满足预设的对象跨采集区域条件。进而,管理平台便可以执行上述步骤S104,确定进行跨设备的跟踪画面切换。
进一步的,可选的,管理平台可以将显示设备当前显示的跟踪画面切换为:上报上述属于非结束跟踪事件的检测事件的监控设备所采集的视频画面。
因此,在实施例一中,对于目标对象在多个监控设备的采集区域的重叠区域内折返移动的移动场景而言,管理平台仍然可以实现对目标对象的跟踪,保证显示设备可以始终显示所指定的监控设备发送的存在目标对象的跟踪画面。
例如,在上述图7所示的目标1在多个监控设备的采集区域的重叠区域内折返移动的示例中,假设,当目标1位于相机A和B重合的采集区域中时,第一设备为相机B。进而,当目标1离开相机B的采集区域,而仍然位于相机A的采集区域中时,管理平台便可以在接收到相机B上报的结束跟踪事件的同时,或者在接收到相机B上报的结束跟踪事件之后的第一预设时长内,接收到相机A发送的非结束跟踪事件。这 样,管理平台可以确定所接收到的相机B上报的结束跟踪事件满足预设的对象跨采集区域条件。进一步的,管理平台便可以确定进行跨设备的跟踪画面切换,并将第一设备切换为相机A,即控制显示设备显示相机A所采集并发送的视频画面。
S103B:在接收到的检测事件的事件类型属于非结束跟踪事件,且跟踪任务标识为空的情况下,确定接收到的检测事件满足预设的对象跨采集区域条件。
其中,跟踪任务标识用于表示当前需要发送所跟踪画面的监控设备的设备任务标识,且跟踪任务标识在清空之前为第一设备的设备任务标识。
可以理解的,在对目标对象的跟踪过程中,监控***中的显示设备可以显示针对目标对象的跟踪画面,并且,在管理平台中记录有跟踪任务标识,即管理平台中记录有标识当前需要发送所跟踪画面的监控设备的设备任务标识。
显然,跟踪任务标识不为空时,管理平台可以控制显示设备显示该跟踪任务标识所对应的监控设备发送的跟踪画面。而当跟踪任务标识为空时,即使显示设备显示有视频画面,管理平台也无法在所指定的多个监控设备中确定需要向显示设备发送所跟踪画面的监控设备。也就是说,当跟踪任务标识为空时,即使显示设备显示有视频画面,显示设备也并未对目标对象进行画面跟踪。
这样,当管理平台接收到属于非结束跟踪事件的检测事件时,可以确定目标对象位于上报该属于非结束跟踪事件的检测事件的监控设备的采集区域内,而由于跟踪任务标识为空,则可以确定管理平台并未确定当前需要发送所跟踪画面的监控设备,显示设备也并未对目标对象进行画面跟踪。
因此,管理平台可以确定控制显示设备显示上报该属于非结束跟踪事件的检测事件的监控设备所采集到的视频画面,实现对目标对象进行画面跟踪。从而,管理平台便可以确定接收到的检测事件满足预设的对象跨采集区域条件。进而,管理平台可以执行上述步骤S104,确定进行跨设备的跟踪画面切换。
进一步的,可选的,管理平台可以将显示设备当前显示的跟踪画面切换为:上报上述属于非结束跟踪事件的检测事件的监控设备所采集的视频画面。
并且,管理平台还可以随之将跟踪任务标识更新为上报上述属于非结束跟踪事件的检测事件的监控设备的设备任务标识。
可选的,在实施例一的一种具体实现方式中,非结束跟踪事件可以包括开始跟踪事件和持续跟踪事件。相应的,如图8(b)所示,上述步骤S103A中的“在接收到结束跟踪事件后,接收到事件类型属于非结束跟踪事件的检测事件时,确定接收到的检测事件满足预设的对象跨采集区域条件”,便可以包括如下步骤:
S801:在接收到结束跟踪事件后,接收到事件类型属于持续跟踪事件的检测事件时,确定接收到的检测事件满足预设的对象跨采集区域条件。
在本申请的一实施例中,可以是在接收到结束跟踪事件后的第一预设时长内,接收到事件类型属于持续跟踪事件的检测事件时,确定接收到的检测事件满足预设的对象跨采集区域条件。
例如,在上述图7所示的目标1在多个监控设备的采集区域的重叠区域内折返移动的示例中,假设,当目标1位于相机A和B重合的采集区域中时,第一设备为相机B。进而,当目标1离开相机B的采集区域,而仍然位于相机A的采集区域中时,管理平台便可以在接收到相机B上报的结束跟踪事件的同时,或者在接收到相机B上报的结束跟踪事件之后的第一预设时长内,接收到相机A发送的持续跟踪事件。这样,管理平台可以确定所接收到的相机B上报的结束跟踪事件满足预设的对象跨采集区域条件。
可选的,在实施例一的另一种具体实现方式中,非结束跟踪事件可以包括开始跟踪事件和持续跟踪事件。相应的,如图8(c)所示,上述步骤S103B中的“在接收到的检测事件的事件类型属于非结束跟踪事件,且跟踪任务标识为空的情况下,确定接收到的检测事件满足预设的对象跨采集区域条件”,便可以包括如下步骤:
S802:在接收到的检测事件的事件类型属于持续跟踪事件,且跟踪任务标识为空的情况下,确定接收到的检测事件满足预设的对象跨采集区域条件。
当管理平台接收到属于持续跟踪事件的检测事件时,可以确定目标对象位于上报该属于持续跟踪事件的检测事件的监控设备的采集区域内,而由于跟踪任务标识为空,则可以确定管理平台并未确定当前需要发送所跟踪画面的监控设备,显示设备也并未对目标对象进行画面跟踪。
因此,管理平台可以确定控制显示设备显示上报该属于持续跟踪事件的检测事件的监控设备所采集到的视频画面,实现对目标对象进行画面跟踪。从而,管理平台便可以确定接收到的检测事件满足预设的对象跨采集区域条件。
此外,如图8(b)所示,在该具体实现方式中,本申请实施例提供的一种画面切换的确定方法还可以包括如下步骤:
S803:在接收到的检测事件的事件类型属于开始跟踪事件的情况下,确定接收到的检测事件满足预设的对象跨采集区域条件。
当管理平台接收到属于开始跟踪事件的检测事件时,可以确定目标对象开始进入上报上述属于开始跟踪事件的检测事件的监控设备的采集区域,从而,管理平台可以确定接收到的检测事件满足预设的对象跨采集区域条件。进而,管理平台便可以执行上述步骤S104,确定进行跨设备的跟踪画面切换。
进一步的,可选的,管理平台可以将显示设备当前显示的跟踪画面切换为:上报上述属于开始跟踪事件的检测事件的监控设备所采集的视频画面。
可以理解的,在所指定的多个监控设备均未上报开始跟踪事件时,显示设备可以显示有视频画面,而该视频画面可以为任一视频画面,例如,可以为监控***中任一监控设备发送的视频画面,也可以预先设定的一段视频的视频画面,甚至可以为一预先设定的且固定不变的画面。
当管理平台接收到所指定的多个监控设备第一次上报的开始跟踪事件时,显示设备所显示的视频画面可以不是该第一次上报开始跟踪事件的监控设备所采集到的视频画面。
基于此,在本具体实现方式中,管理平台在接收到开始跟踪事件时,即可以确定接收到的检测事件满足预设的对象跨采集区域条件,从而,确定进行跨设备的跟踪画面切换。这样,便可以在显示设备所显示的视频画面不是该第一次上报开始跟踪事件的监控设备所采集到的视频画面时,及时地对实现画面切换,从而,保证在目标对象开始进入所指定的多个监控设备的监控范围内时即开始对目标对象进行画面跟踪。
实施例二:检测事件的事件类型可以包括:非结束跟踪事件和结束跟踪事件。如图9(a)所示,上述步骤S103A“在接收到的检测事件的事件类型属于结束跟踪事件,以及上报结束跟踪事件的监控设备是第一设备的情况下,在接收到结束跟踪事件后,接收到事件类型属于非结束跟踪事件的检测事件时,确定接收到的检测事件满足预设的对象跨采集区域条件”,可以包括如下步骤S103C和S103D:
S103C:在接收到的检测事件的事件类型属于结束跟踪事件,以及上报结束跟踪事件的监控设备是第一设备的情况下,清空跟踪任务标识;
S103D:在接收到的检测事件的事件类型属于非结束跟踪事件,且跟踪任务标识为空的情况下,确定接收到的检测事件满足预设的对象跨采集区域条件。
其中,关于跟踪任务标识的相关内容与上述步骤S103B中关于跟踪任务标识的相关内容相同,在此不再赘述。
由于第一设备为发送当前所显示跟踪画面的监控设备,而跟踪画面中存在目标对象,因此,在第一设备上报结束跟踪事件之前,第一设备是当前需要发送所跟踪画面的监控设备,从而,跟踪任务标识即为第一设备的设备任务标识。
这样,当管理平台接收到第一设备所上报的属于结束跟踪事件的检测事件时,管理平台可以确定目标对象离开第一设备的采集区域,从而,第一设备所发送的自身所采集的视频画面中将不存在目标对象。也就是说,第一设备不再是当前需要发送所跟踪画面的监控设备,相应的,跟踪任务标识也将不再是第一设备的设备任务标识。基于此,管理平台可以清空跟踪任务标识。
进一步的,在跟踪任务标识为空的情况下,当管理平台接收到属于非结束跟踪事件的检测事件时,便可以确定接收到的检测事件满足预设的对象跨采集区域条件。
其中,步骤S103D的具体内容与图6所示实施例中步骤S103B的具体内容相同,在此不再赘述。
可选的,在实施例二的一种具体实现方式中,非结束跟踪事件可以包括开始跟踪事件和持续跟踪事件。相应的,如图9(b)所示,上述步骤S103D中的“在接收到的检测事件的事件类型属于非结束跟踪事件,且跟踪任务标识为空的情况下,确定接收到的检测事件满足预设的对象跨采集区域条件”,便可以包括如下步骤:
S901:在接收到的检测事件的事件类型属于持续跟踪事件,且跟踪任务标识为空的情况下,确定接收到的检测事件满足预设的对象跨采集区域条件。
此外,如图9(b)所示,在该具体实现方式中,本申请实施例提供的一种画面切换的确定方法还可以包括如下步骤:
S902:在接收到的检测事件的事件类型属于开始跟踪事件的情况下,确定接收到的检测事件满足预设的对象跨采集区域条件。
其中,步骤S901-S902的具体内容分别与上述图6(b)所示实施例中的步骤S602-S603的具体内容相同,在此不再赘述。
为了更好的理解上述图9(b)所示具体实现方式所提供的一种画面切换的确定方法,通过图5-图7所示的移动场景进行具体说明。
针对如图5所示的目标对象在多个监控设备的采集区域内直线移动的移动场景:
阶段1:目标1未进入相机A和相机B的采集区域,相机A和相机B均不向管理平台上报检测事件。
阶段2:目标1进入相机A的采集区域,且相机1未进入相机B的采集区域;相机A向管理平台上报开始跟踪事件,相机B不向管理平台上报检测事件;管理平台确定接收到的开始跟踪事件满足预设的对象跨采集区域条件,进而,确定进行跨设备的跟踪画面切换,从而,将相机A确定为第一设备,并开始显示相机A发送的跟踪画面。
阶段3:目标1位于相机A的采集区域内,且未进入相机B的采集区域,相机A向管理平台上报持续跟踪事件,相机B不向管理平台上报检测事件;管理平台确定接收到的持续跟踪事件不满足预设的对象跨采集区域条件,进而,确定不进行跨设备的跟踪画面切换,从而,相机A仍然确定为第一设备,并继 续显示相机A发送的跟踪画面。
阶段4:目标1位于相机A的采集区域内,且目标1进入相机B的采集区域,相机A向管理平台上报持续跟踪事件,相机B向管理平台上报开始跟踪事件;管理平台确定接收到的相机B上报的开始跟踪事件满足预设的对象跨采集区域条件,进而,确定进行跨设备的跟踪画面切换,从而,将第一设备切换为相机B,并将所显示的跟踪画面切换为相机B发送的跟踪画面。
阶段5:目标1位于相机A和相机B重合的采集区域内,相机A和相机B均向管理平台上报持续跟踪事件,管理平台确定接收到的持续跟踪事件均不满足预设的对象跨采集区域条件,进而,确定不进行跨设备的跟踪画面切换,从而,相机B仍然确定为第一设备,并继续显示相机B发送的跟踪画面。
阶段6:目标1离开相机A的采集区域,且目标1位于相机B的采集区域内,相机A向管理平台上报结束跟踪事件,相机B向管理平台上报持续跟踪事件,管理平台确定接收到的结束跟踪事件和持续跟踪事件均不满足预设的对象跨采集区域条件,进而,确定不进行跨设备的跟踪画面切换,则相机B仍然确定为第一设备,并继续显示相机B发送的跟踪画面。
阶段7:目标1位于相机A的采集区域外,且目标1位于相机B的采集区域内,相机A不向管理平台上报检测事件,相机B向管理平台上报持续跟踪事件,管理平台确定接收到的持续跟踪事件不满足预设的对象跨采集区域条件,进而,确定不进行跨设备的跟踪画面切换,从而,相机B仍然确定为第一设备,并继续显示相机B发送的跟踪画面。
阶段8:目标1位于相机A的采集区域外,且目标1离开相机B的采集区域,相机A不向管理平台上报检测事件,相机B向管理平台上报结束跟踪事件,管理平台清空跟踪任务标识,并不再显示相机B发送的跟踪画面。
阶段8之后,针对目标1的跟踪任务完成。
针对如图6所示的目标对象在多个监控设备的采集区域的重叠区域外折返移动的移动场景:
阶段1:目标1未进入相机A和相机B的采集区域,相机A和相机B均不向管理平台上报检测事件。
阶段2:目标1进入相机A的采集区域,且相机1未进入相机B的采集区域;相机A向管理平台上报开始跟踪事件,相机B不向管理平台上报检测事件;管理平台确定接收到的开始跟踪事件满足预设的对象跨采集区域条件,进而,确定进行跨设备的跟踪画面切换,从而,将相机A确定为第一设备,并开始显示相机A发送的跟踪画面。
阶段3:目标1位于相机A的采集区域内,且未进入相机B的采集区域,相机A向管理平台上报持续跟踪事件,相机B不向管理平台上报检测事件;管理平台确定接收到的持续跟踪事件不满足预设的对象跨采集区域条件,进而,确定不进行跨设备的跟踪画面切换,从而,相机A仍然确定为第一设备,并继续显示相机A发送的跟踪画面。
阶段4:目标1位于相机A的采集区域内,且目标1进入相机B的采集区域,相机A向管理平台上报持续跟踪事件,相机B向管理平台上报开始跟踪事件;管理平台确定接收到的相机B上报的开始跟踪事件满足预设的对象跨采集区域条件,进而,确定进行跨设备的跟踪画面切换,从而,将第一设备切换为相机B,并将所显示的跟踪画面切换为相机B发送的跟踪画面。
阶段5:目标1位于相机A和相机B重合的采集区域内,相机A和相机B均向管理平台上报持续跟踪事件,管理平台确定接收到的持续跟踪事件均不满足预设的对象跨采集区域条件,进而,确定不进行跨设备的跟踪画面切换,从而,相机B仍然确定为第一设备,并继续显示相机B发送的跟踪画面。
阶段6:目标1离开相机A的采集区域,且目标1位于相机B的采集区域内,相机A向管理平台上报结束跟踪事件,相机B向管理平台上报持续跟踪事件,管理平台确定接收到的结束跟踪事件和持续跟踪事件均不满足预设的对象跨采集区域条件,进而,确定不进行跨设备的跟踪画面切换,则相机B仍然确定为第一设备,并继续显示相机B发送的跟踪画面。
阶段7:目标1位于相机A的采集区域外,且目标1位于相机B的采集区域内,相机A不向管理平台上报检测事件,相机B向管理平台上报持续跟踪事件,管理平台确定接收到的持续跟踪事件不满足预设的对象跨采集区域条件,进而,确定不进行跨设备的跟踪画面切换,从而,相机B仍然确定为第一设备,并继续显示相机B发送的跟踪画面。
阶段8:目标1进入相机A的采集区域,且目标1位于相机B的采集区域内,相机A向管理平台上报开始跟踪事件,相机B向管理平台上报持续跟踪事件,管理平台确定接收到的开始跟踪事件满足预设的对象跨采集区域条件,进而,确定进行跨设备的跟踪画面切换,从而,将第一设备切换为相机A,并将所显示的跟踪画面切换为相机A发送的跟踪画面。
阶段9:目标1位于相机A和相机B重合的采集区域内,相机A和相机B均向管理平台上报持续跟踪事件,管理平台确定接收到的持续跟踪事件均不满足预设的对象跨采集区域条件,进而,确定不进行跨设备的跟踪画面切换,从而,相机A仍然确定为第一设备,并继续显示相机A发送的跟踪画面。
阶段10:目标1位于相机A的采集区域内,且目标1离开相机B的采集区域,相机A向管理平台上报持续跟踪事件,相机B向管理平台上报结束跟踪事件,管理平台确定接收到的结束跟踪事件和持续跟踪事件均不满足预设的对象跨采集区域条件,进而,确定不进行跨设备的跟踪画面切换,则相机A仍然确定为第一设备,并继续显示相机A发送的跟踪画面。
阶段11:目标1位于相机A的采集区域内,且目标1位于相机B的采集区域外,相机A向管理平台上报持续跟踪事件,相机B不向管理平台上报检测事件,管理平台确定接收到的持续跟踪事件不满足预设的对象跨采集区域条件,进而,确定不进行跨设备的跟踪画面切换,从而,相机A仍然确定为第一设备,并继续显示相机A发送的跟踪画面。
阶段12:目标1离开相机A的采集区域,且目标1位于相机B的采集区域外,相机A向管理平台上报结束跟踪事件,相机B不向管理平台上报检测事件,管理平台清空跟踪任务标识,并不再显示相机A发送的跟踪画面。
阶段12之后,针对目标1的跟踪任务完成。
针对如图7所示的目标对象在多个监控设备的采集区域的重叠区域内折返移动的移动场景:
阶段1:目标1未进入相机A和相机B的采集区域,相机A和相机B均不向管理平台上报检测事件。
阶段2:目标1进入相机A的采集区域,且相机1未进入相机B的采集区域;相机A向管理平台上报开始跟踪事件,相机B不向管理平台上报检测事件;管理平台确定接收到的开始跟踪事件满足预设的对象跨采集区域条件,进而,确定进行跨设备的跟踪画面切换,从而,将相机A确定为第一设备,并开始显示相机A发送的跟踪画面。
阶段3:目标1位于相机A的采集区域内,且未进入相机B的采集区域,相机A向管理平台上报持续跟踪事件,相机B不向管理平台上报检测事件;管理平台确定接收到的持续跟踪事件不满足预设的对象跨采集区域条件,进而,确定不进行跨设备的跟踪画面切换,从而,相机A仍然确定为第一设备,并继续显示相机A发送的跟踪画面。
阶段4:目标1位于相机A的采集区域内,且目标1进入相机B的采集区域,相机A向管理平台上报持续跟踪事件,相机B向管理平台上报开始跟踪事件;管理平台确定接收到的相机B上报的开始跟踪事件满足预设的对象跨采集区域条件,进而,确定进行跨设备的跟踪画面切换,从而,将第一设备切换为相机B,并将所显示的跟踪画面切换为相机B发送的跟踪画面。
阶段5:目标1位于相机A和相机B重合的采集区域内,相机A和相机B均向管理平台上报持续跟踪事件,管理平台确定接收到的持续跟踪事件均不满足预设的对象跨采集区域条件,进而,确定不进行跨设备的跟踪画面切换,从而,相机B仍然确定为第一设备,并继续显示相机B发送的跟踪画面。
阶段6:目标1位于相机A的采集区域内,且目标1离开相机B的采集区域,相机A向管理平台上报持续跟踪事件,相机B向管理平台上报结束跟踪事件,管理平台清空跟踪任务标识,并确定接收到的持续跟踪事件满足预设的对象跨采集区域条件,进而,确定进行跨设备的跟踪画面切换,从而,将第一设备切换为相机A,并将所显示的跟踪画面切换为相机A发送的跟踪画面。
阶段7:目标1位于相机A的采集区域内,且目标1位于相机B的采集区域外,相机A向管理平台上报持续跟踪事件,相机B不向管理平台上报检测事件,管理平台确定接收到的持续跟踪事件不满足预设的对象跨采集区域条件,进而,确定不进行跨设备的跟踪画面切换,从而,相机A仍然确定为第一设备,并继续显示相机A发送的跟踪画面。
阶段8:目标1离开相机A的采集区域,且目标1位于相机B的采集区域外,相机A向管理平台上报结束跟踪事件,相机B不向管理平台上报检测事件,管理平台清空跟踪任务标识,并不再显示相机A发送的跟踪画面。
阶段8之后,针对目标1的跟踪任务完成。
根据上述分别针对图5-图7的移动场景的具体说明,在图9(b)所示的具体实现方式所提供的一种画面切换的确定方法中,各类检测事件具有不同的处理优先级,其中,开始跟踪事件的处理优先级高于持续跟踪事件的处理优先级,而持续跟踪事件的处理优先级高于结束跟踪事件的处理优先级。也就是说,开始跟踪事件具有最高处理优先级,持续跟踪事件具有次高处理优先级,结束跟踪事件最低处理优先级。
基于上述对图5-图7的移动场景的具体说明,可以得到图9(b)所示具体实现方式所提供的一种画面切换的确定方法中,管理平台确定画面切换的处理逻辑。
如图10所示,为在图9(b)所示具体实现方式中,管理平台针对各类检测事件的处理逻辑的流程示意图。其中,在向所指定的多个监控设备下发针对目标对象的跟踪任务时,清空当前的跟踪任务标识;由于跟踪任务标识用于表示当前需要发送所跟踪画面的监控设备的设备任务标识,因此,在所指定的监控设备接收到跟踪任务且均未上报检测事件时,管理平台未确定当前需要发送所跟踪画面的监控设备。
1、关于开始跟踪事件的处理逻辑:
开始跟踪事件的处理优先级最高;这样,在接收到开始跟踪事件时,管理平台便可以将当前的跟踪任务标识更新为上报该开始跟踪事件的监控设备的设备任务标识。
此外,管理平台还可以控制上报该开始跟踪事件的监控设备发送自身所采集到的视频画面,从而,管理平台可以控制监控***中的显示设备显示上报该开始跟踪事件的监控设备发送的跟踪画面。
2、关于持续跟踪事件的处理逻辑:
持续跟踪事件的处理优先级次之,即持续跟踪事件的处理优先级低于开始跟踪事件的处理优先级,且高于结束跟踪事件的处理优先级;这样,在接收到持续跟踪事件时,管理平台首先判断当前的跟踪任 务标识是否为空。
其中,当管理平台判断当前的跟踪任务标识为空时,管理平台便可以将当前的跟踪任务标识更新为上报该持续跟踪事件的监控设备的设备任务标识。此外,管理平台还可以控制上报该持续跟踪事件的监控设备发送自身所采集到的视频画面,从而,管理平台可以控制监控***中的显示设备显示上报该持续跟踪事件的监控设备发送的跟踪画面。
当管理平台判断当前的跟踪任务标识不为空时,管理平台可以进一步判断当前的跟踪任务标识是否为上报该持续跟踪事件的监控设备的设备任务标识。
其中,当管理平台判断出当前的跟踪任务标识为上报该持续跟踪事件的监控设备的设备任务标识时,则说明监控***中的显示设备所显示的跟踪画面即为上报该持续跟踪事件的监控设备发送的跟踪画面,则管理平台可以继续控制监控***中的显示设备显示上报该持续跟踪事件的监控设备发送的跟踪画面。
当管理平台判断出当前的跟踪任务标识不为上报该持续跟踪事件的监控设备的设备任务标识时,则管理平台可以忽略该持续跟踪事件,即管理平台不对当前的跟踪任务标识,以及发送所显示的跟踪画面的监控设备进行更改。
3、关于结束跟踪事件的处理逻辑:
结束跟踪事件的处理优先级最低;这样,在接收到结束跟踪事件时,管理平台便可以判断当前的跟踪任务标识是否为上报该结束跟踪事件的监控设备的设备任务标识。
其中,当管理平台判断出当前的跟踪任务标识不为上报该结束跟踪事件的监控设备的设备任务标识时,则管理平台可以忽略该持续跟踪事件;即管理平台不对当前的跟踪任务标识,以及发送所显示的跟踪画面的监控设备进行更改。
当管理平台判断出当前的跟踪任务标识为上报该结束跟踪事件的监控设备的设备任务标识时,则管理平台可以清空当前的跟踪任务标识。
在管理平台清空当前的跟踪任务标识后,管理平台可以进一步判断在预设的时间段内是否继续接收到持续跟踪事件。
其中,由于持续跟踪事件可以是所指定的监控设备按照预设的上报频率上报的,例如,每秒上报一次,因此,当管理平台在预设的时间段内继续接收到持续跟踪事件,则管理平台便可以继续执行上述“关于持续跟踪事件的处理逻辑”中的相关步骤;其中,预设的时间段是根据上述预设的上报频率所确定的。
当管理平台在该预设的时间段内未收到持续跟踪事件,则管理平台可以确定对目标对象的跟踪结束,从而,停止上述针对目标对象的跟踪任务。
可选的,在上述图8(a)、图8(b)、图9(a)和图9(b)所示实施例的基础上,本申请实施例提供的另一种具体实现方式中,在接收到的检测事件的事件类型属于结束跟踪事件,以及上报结束跟踪事件的监控设备是第一设备的情况下,本申请实施例提供的一种画面切换的确定方法还可以包括如下步骤:
在接收到结束跟踪事件的第二预设时长内,未接收到事件类型属于非结束跟踪事件的检测事件情况下,停止执行跟踪任务。
当管理平台接收到第一设备所上报的属于结束跟踪事件的检测事件时,则可以确定目标对象离开第一设备的采集区域,进而,当管理平台在接收到上述属于结束跟踪事件的检测事件后的第二预设时长内,未接收到事件类型属于非结束跟踪事件的检测事件时,管理平台可以确定目标对象位于所指定的多个监控设备的监控范围之外,也就是说,可以确定目标对象已经完全离开所指定的多个监控设备的监控范围。 因此,管理平台可以确定对目标对象的跟踪结束,则管理平台可以停止执行针对目标对象的跟踪任务。
在本申请的一实施例中,管理平台可以向所指定的各个监控设备下发跟踪任务停止指令,从而,所指定的各个监控设备在接收到该跟踪任务停止指令后,便可以停止在自身所采集到的视频画面中检测目标对象,进而,停止向管理平台上报检测事件。此时,可以确定针对目标对象的跟踪任务已经完成。
其中,上述第二预设时长不小于上述第一预设时长,且上述第一预设时长和上述第二预设时长的具体时长可以根据实际应用中的需求以及实际应用中管理平台和监控设备的性能确定,对此,本申请实施例不做具体限定。
实施例三:检测事件的事件类型可以包括:开始跟踪事件和结束跟踪事件。如图11所示,本申请实施例提供的一种画面切换的确定方法还可以包括如下步骤S103E和S103F,其中,需要说明的是,在本实施例三中,并不限定S103E和S103F的执行顺序,而是根据所接收到待检测事件的事件类型,执行S103E或S103F。
S103E:在接收到的检测事件的事件类型为开始跟踪事件的情况下,确定接收到的检测事件满足预设的对象跨采集区域条件;
当管理平台接收到开始跟踪事件时,可以确定目标对象开始进入上报上述开始跟踪事件的监控设备的采集区域,从而,管理平台可以确定接收到的检测事件满足预设的对象跨采集区域条件。进而,管理平台可以执行上述步骤S104,确定进行跨设备的跟踪画面切换。
在所指定的多个监控设备均未上报开始跟踪事件时,显示设备可以显示有视频画面,而该视频画面可以为任一视频画面,例如,可以为监控***中任一监控设备发送的视频画面,也可以预先设定的一段视频的视频画面,甚至可以为一预先设定的且固定不变的画面。
当管理平台接收到所指定的多个监控设备第一次上报的开始跟踪事件时,显示设备所显示的视频画面可以不是该第一次上报开始跟踪事件的监控设备所采集到的视频画面。
基于此,在实施例三中,管理平台在接收到开始跟踪事件时,即可以确定接收到的检测事件满足预设的对象跨采集区域条件,从而,确定进行跨设备的跟踪画面切换。这样,便可以在显示设备所显示的视频画面不是该第一次上报开始跟踪事件的监控设备所采集到的视频画面时,及时地对实现画面切换,从而,保证在目标对象开始进入所指定的多个监控设备的监控范围内时即开始对目标对象进行画面跟踪。
此外,在目标对象的移动过程中,目标对象可以移动至两个监控设备的重叠区域内,且目标对象进入两个监控设备的重叠区域内时,可以是先进入一监控设备的采集区域,进而,在未离开该监控设备的采集区域的情况下,进入另一监控设备的采集区域。这样,在进入另一监控设备的采集区域时,管理平台可以接收该另一监控设备上报的开始跟踪事件,从而,管理平台可以确定接收到的检测事件满足预设的对象跨采集区域条件。进而,管理平台可以执行上述步骤S104,确定进行跨设备的跟踪画面切换。
这样,在实施例三中,还可以实现在目标对象进入一监控设备的采集区域是,进行跟踪画面切换,从而,可以获取到目标对象在移动过程中所经过的采集区域所属的各个监控设备,以及经过各个监控设备的采集区域的顺序。
例如,在上述图6所示的目标1在多个监控设备的采集区域的重叠区域外折返移动的示例,以及上述图7所示的目标1在多个监控设备的采集区域的重叠区域内折返移动的示例中,目标1可以首先进入有相机A的采集区域内,进而,在未离开相机A的采集区域时,进入相机B的采集区域,从而,进入相机A和B的重叠区域。
则当目标1进入相机A的采集区域时,相机A可以向管理平台上报开始跟踪事件,从而,管理平台可以确定接收到的检测事件满足预设的对象跨采集区域条件。进而,确定进行跨设备的跟踪画面切换。之后,目标1在移动一段距离后,可以在未离开相机A的采集区域时,进入相机B的采集区域,则相机B可以向管理平台上报开始跟踪事件,从而,管理平台可以确定接收到的检测事件满足预设的对象跨采集区域条件。进而,再次确定进行跨设备的跟踪画面切换。
S103F:在接收到的检测事件的事件类型为结束跟踪事件,以及,上报检测事件的监控设备是第一设备,且在接收到检测事件之前,未接收到第二设备上报的结束跟踪事件的情况下,确定接收到的检测事件满足预设的对象跨采集区域条件;
其中,第一设备为:发送当前所显示跟踪画面的监控设备,第二设备为:上报上一次接收到的开始跟踪事件的监控设备;上一次接收到的开始跟踪事件为:在接收到第一设备发送的开始跟踪事件之前,最近一次接收到的开始跟踪事件。
在本申请的一实施例中,由于下发至多个监控设备中的每个监控设备的跟踪任务中可以包括该监控设备的设备任务标识,其中,不同的监控设备的设备任务标识不同,监控设备上报的检测事件的事件信息中包括自身的设备任务标识,管理平台可以通过判断上报所接收到的检测事件的监控设备的设备任务标识与第一设备的设备任务标识是否相同,来确定上报所接收到的检测事件的监控设备是否为第一设备。
在接收到第一设备发送的结束跟踪事件时,管理平台便可以确定目标对象离开第一设备的采集区域,进而,管理设备可以确定在接收到第一设备发送的结束跟踪事件之前,是否接收到第二设备发送的结束跟踪事件。
其中,由于管理设备已经接收到第二设备上报的开始跟踪事件,则管理设备可以确定目标对象进入第二设备的采集区域,那么,当在接收到第一设备发送的结束跟踪事件之前,未接收到第二设备发送的结束跟踪事件时,则管理设备可以确定在目标对象离开第一设备的采集区域时,目标对象未离开第二设备的采集区域。
在本申请的一实施例中,管理平台可以存储有各个监控设备所上传的检测事件,进而,在接收到第一设备上报的结束跟踪事件时,可以从所存储的检测事件中,查询在接收到第一设备上报的结束跟踪事件之前,是否接收到第二设备上报的结束跟踪事件。
这样,在接收到的检测事件的事件类型为结束跟踪事件,以及,上报检测事件的监控设备是第一设备,且在接收到检测事件之前,未接收到第二设备上报的结束跟踪事件的情况下,管理设备可以确定接收到的检测事件满足预设的对象跨采集区域条件。进而,管理平台便可以执行上述步骤S104,确定进行跨设备的跟踪画面切换。
基于此,在实例三中,对于目标对象在多个监控设备的采集区域的重叠区域内折返移动的移动场景而言,管理平台仍然可以实现对目标对象的跟踪,保证显示设备可以始终显示所指定的监控设备发送的存在目标对象的跟踪画面。
例如,如图7所示的目标1在多个监控设备的采集区域的重叠区域内折返移动的示例中,目标1首先进入相机A的采集区域,则相机A向管理平台上报开始跟踪事件,管理平台确定接收到的检测事件满足预设的对象跨采集区域条件。进而,确定进行跨设备的跟踪画面切换,此时,确定第一设备为相机A。接着,目标1在未离开相机A的采集区域的情况下,进入相机B的采集区域,则相机B向管理平台上报开始跟踪事件,管理平台确定接收到的检测事件满足预设的对象跨采集区域条件。进而,确定进行跨设备 的跟踪画面切换。此时,确定第一设备为相机B,则第二设备为相机A,且目标1位于相机A和相机B的重叠区域内。之后,目标1离开相机B的采集区域,且目标1未离开相机A的采集区域,则相机B向管理平台上报结束跟踪事件,且相机A未向管理平台上报结束跟踪事件。此时,第一设备上报结束跟踪事件,且在第一设备上报结束跟踪事件之前,管理平台未接收到第二设备上报的结束跟踪事件,因此,管理平台可以确定接收到的检测事件满足预设的对象跨采集区域条件。进而,确定进行跨设备的跟踪画面切换,且相机A再次被确定为第一设备。
可选的,实施例三的一种具体方式中,上述本申请实施例提供的一种画面切换的确定方法还可以包括如下步骤:
在确定进行跨设备的跟踪画面切换,且接收到的检测事件的事件类型为开始跟踪事件的情况下,将当前显示的跟踪画面切换为:上报检测事件的监控设备所采集的跟踪画面;
在确定进行跨设备的跟踪画面切换,且接收到的检测事件的事件类型为结束跟踪事件的情况下,将当前所显示的跟踪画面切换为:第二设备所采集到的的跟踪画面。
实施例四:检测事件为:监控设备在所采集到的跟踪画面中检测到目标对象时,所上报的事件信息。本申请实施例提供的一种画面切换的确定方法还可以包括如下步骤:
在上报检测事件的监控设备不是第一设备,且在第三预设时长内未接收到的第一设备上报的检测事件的情况下,确定接收到的检测事件满足预设的对象跨采集区域条件;
其中,第一设备为:发送当前所显示跟踪画面的监控设备。
可选的,由于下发至多个监控设备中的每个监控设备的跟踪任务中可以包括该监控设备的设备任务标识,其中,不同的监控设备的设备任务标识不同,监控设备上报的检测事件的事件信息中包括自身的设备任务标识,则管理平台可以通过判断上报所接收到的检测事件的监控设备的设备任务标识与第一设备的设备任务标识是否相同,来确定上报所接收到的检测事件的监控设备是否为第一设备。
其中,需要说明的是,上述第三预设时长的具体时长可以根据实际应用中的需求以及实际应用中管理平台和监控设备的性能确定,对此,本申请实施例不做具体限定。
由于检测事件是监控设备在采集到的跟踪画面中检测到目标对象时,上报的事件信息,因此,当一监控设备上报检测事件时,可以说明目标对象在该监控设备的采集区域中,其中,目标对象可以是开始进入该检测设备的采集区域,也可以是已经进入该监控设备的采集区域;相应的,当一监控设备不再上报检测事件时,则可以说明目标对象离开该监控设备的采集区域。
基于此,当管理平台接收到非第一设备的监控设备上报的检测事件时,管理平台可以确定目标对象位于该非第一设备的监控设备的采集区域内,进而,当管理平台在第三预设时长内未接收到第一设备上报的检测事件时,则管理平台可以确定目标对象离开第一设备的采集区域。从而,管理平台可以确定接收到的检测事件满足预设的对象跨采集区域条件。进而,管理平台可以执行上述步骤S104,确定进行跨设备的画面切换。
进一步的,可选的,实施例四的一种具体方式中,上述本申请实施例提供的一种画面切换的确定方法还可以包括如下步骤:
在确定进行跨设备的跟踪画面切换的情况下,将当前显示的跟踪画面切换为:上报上述检测事件的监控设备所采集的跟踪画面。
基于此,在实例四中,对于目标对象在多个监控设备的采集区域的重叠区域内折返移动的移动场景 而言,管理平台仍然可以实现对目标对象的跟踪,保证显示设备可以始终显示所指定的监控设备发送的存在目标对象的跟踪画面。
例如,在上述图7所示的目标1在多个监控设备的采集区域的重叠区域内折返移动的示例中,假设,当目标1位于相机A和B重合的采集区域中时,第一设备为相机B。进而,当目标1离开相机B的采集区域,而仍然位于相机A的采集区域中时,管理平台便可以接收到相机A上报检测事件,而在第三预设时长内未接收到相机B上报的检测事件。这样,管理平台可以确定所接收到的相机A上报的检测事件满足预设的对象跨采集区域条件。进一步的,管理平台便可以确定进行跨设备的跟踪画面切换,并将第一设备切换为相机A,即控制显示设备显示相机A所采集并发送的视频画面。
实施例五:检测事件的事件类型可以包括:开始跟踪事件和结束跟踪事件。本申请实施例提供的一种画面切换的确定方法还可以包括如下步骤:
在接收到的检测事件的事件类型为结束跟踪事件,以及,上报检测事件的监控设备是第一设备,且在上报最近一次接收到的开始跟踪事件的监控设备不是第一设备的情况下,确定接收到的检测事件满足预设的对象跨采集区域条件;
其中,第一设备为:发送当前所显示跟踪画面的监控设备。
可选的,由于下发至多个监控设备中的每个监控设备的跟踪任务中可以包括该监控设备的设备任务标识,其中,不同的监控设备的设备任务标识不同,监控设备上报的检测事件的事件信息中包括自身的设备任务标识,则管理平台可以通过判断上报所接收到的检测事件的监控设备的设备任务标识与第一设备的设备任务标识是否相同,来确定上报所接收到的检测事件的监控设备是否为第一设备。
在接收到第一设备发送的结束跟踪事件时,管理平台便可以确定目标对象离开第一设备的采集区域,进而,管理设备可以确定最近一次接收到的开始跟踪事件的监控设备是否为该第一设备。
其中,由于开始跟踪事件是监控设备在检测到目标对象进入自身的采集区域时所上报的事件信息,因此,当管理平台确定在接收到第一设备发送的结束跟踪事件后,最近一次接收到的开始跟踪事件的监控设备不是该第一设备,则可以确定目标对象进入上报该最近一次接收到的开始跟踪事件的监控设备的采集区域,从而,管理平台可以确定接收到的检测事件满足预设的对象跨采集区域条件。进而,管理平台可以确定进行跨区域的画面跟踪。
可选的,实施例五的一种具体方式中,上述本申请实施例提供的一种画面切换的确定方法还可以包括如下步骤:
在确定进行跨设备的跟踪画面切换,且接收到的检测事件的事件类型为结束跟踪事件的情况下,将当前显示的跟踪画面切换为:上报最近一次接收到的开始跟踪事件的监控设备所采集的跟踪画面。
相应于上述本申请实施例提供的一种画面切换的确定方法,本申请实施例还提供了一种画面切换的确定装置。图12为本申请实施例提供的一种画面切换的确定装置的结构示意图,如图12所示,该画面切换的确定装置可以包括如下模块:
任务下发模块1210,用于向指定的多个监控设备下发针对目标对象的跟踪任务;
事件接收模块1220,用于接收所述监控设备所上报的检测事件,其中,所述检测事件是所述监控设备基于所述目标对象在采集到的视频画面中的存在情况,所上报的事件信息;
切换确定模块1230,用于当接收到的检测事件满足预设的对象跨采集区域条件时,确定进行跨设备的跟踪画面切换;其中,所述对象跨采集区域是指:所述目标对象进入或离开所述多个监控设备中一监 控设备的采集区域。
以上可见,应用本申请实施例提供的方案,在对目标对象进行跟踪时,监控***的管理平台可以接收所指定的监控设备所上报的检测事件。这样,由于监控设备所上报的检测事件是该监控设备基于目标对象在自身所采集到的视频画面中的存在情况所上报的事件信息,因此,可以确定该检测事件是否满足预设的对象跨采集区域条件,即确定目标对象是否进入或者离开该监控设备的采集区域。进而,当接收到的检测事件满足预设的对象跨采集区域条件时,管理平台便可以直接确定进行针对目标对象的跨设备的跟踪画面切换。基于此,应用本申请实施例提供的方案,在确定是否进行跨设备的跟踪画面切换时,监控***的管理平台可以直接根据所接收到的监控设备上报的检测事件进行确定,而不需要进行大量且复杂的计算,从而,管理平台中可以不需要集成大量的计算逻辑,降低了管理平台的集成难度。
可选的,一种具体实现方式中,所述检测事件的事件类型包括:非结束跟踪事件和结束跟踪事件;其中,所述非结束跟踪事件为:所述监控设备在检测到所述目标对象处于自身的采集区域时,所上报的事件信息;所述结束跟踪事件为:所述监控设备在检测到所述目标对象离开自身的采集区域时,所上报的事件信息;所述装置还包括:第一条件确定模块,用于:在所述接收所述监控设备所上报的检测事件的步骤之后,在接收到的检测事件的事件类型属于所述结束跟踪事件,以及上报所述结束跟踪事件的监控设备是第一设备的情况下,在接收到所述结束跟踪事件后,接收到事件类型属于所述非结束跟踪事件的检测事件时,确定接收到的检测事件满足预设的对象跨采集区域条件;其中,所述第一设备为:发送当前所显示跟踪画面的监控设备。
可选的,一种具体实现方式中,所述第一条件确定模块包括:标识清空子模块,用于在所述接收所述监控设备所上报的检测事件的步骤之后,在接收到的检测事件的事件类型属于所述结束跟踪事件,以及上报所述结束跟踪事件的监控设备是第一设备的情况下,清空跟踪任务标识;其中,所述跟踪任务标识用于表示当前需要发送所跟踪画面的监控设备的设备任务标识,且所述跟踪任务标识在清空之前为所述第一设备的设备任务标识;条件确定子模块,用于在接收到的检测事件的事件类型属于所述非结束跟踪事件,且所述跟踪任务标识为空的情况下,确定接收到的检测事件满足预设的对象跨采集区域条件。
可选的,一种具体实现方式中,所述非结束跟踪事件包括:开始跟踪事件和持续跟踪事件;其中,所述开始跟踪事件为:所述监控设备在检测到所述目标对象进入自身的采集区域时,所上报的事件信息;所述持续跟踪事件为:在上报所述开始跟踪事件之后,且上报所述结束跟踪事件之前,所述监控设备在检测到所述目标对象处于自身的采集区域时,所上报的事件信息;所述第一条件确定模块,具体用于:在接收到所述结束跟踪事件后的第一预设时长内,接收到事件类型属于所述持续跟踪事件的检测事件时,确定接收到的检测事件满足预设的对象跨采集区域条件。
可选的,一种具体实现方式中,所述非结束跟踪事件包括:开始跟踪事件和持续跟踪事件;其中,所述开始跟踪事件为:所述监控设备在检测到所述目标对象进入自身的采集区域时,所上报的事件信息;所述持续跟踪事件为:在上报所述开始跟踪事件之后,且上报所述结束跟踪事件之前,所述监控设备在检测到所述目标对象处于自身的采集区域时,所上报的事件信息;所述条件子确定模块,具体用于:在接收到的检测事件的事件类型属于所述持续跟踪事件,且所述跟踪任务标识为空的情况下,确定接收到的检测事件满足预设的对象跨采集区域条件;所述装置还包括第三条件确定模块,其中,所述第三条件确定模块,用于:在接收到的检测事件的事件类型属于所述开始跟踪事件的情况下,确定接收到的检测事件满足预设的对象跨采集区域条件。
可选的,一种具体实现方式中,下发至所述多个监控设备中的每个监控设备的跟踪任务中包括该监控设备的设备任务标识,其中,不同的监控设备的设备任务标识不同;所述事件信息中包括上报该事件信息的监控设备的设备任务标识。
可选的,一种具体实现方式中,所述装置还包括:任务停止模块,用于在接收到的检测事件的事件类型属于所述结束跟踪事件,以及上报所述结束跟踪事件的监控设备是第一设备的情况下,在接收到所述结束跟踪事件的第二预设时长内,未接收到事件类型属于所述非结束跟踪事件的检测事件情况下,停止执行所述跟踪任务。
可选的,一种具体实现方式中,所述装置还包括:画面切换模块,用于在确定进行跨设备的跟踪画面切换的情况下,将当前显示的跟踪画面切换为:所述上报属于所述非结束跟踪事件的检测事件的监控设备所采集的视频画面;标识更新模块,用于将所述跟踪任务标识更新为所述上报属于所述非结束跟踪事件的检测事件的监控设备的设备任务标识。
可选的,一种具体实现方式中,所述检测事件的事件类型包括:开始跟踪事件和结束跟踪事件;其中,所述开始跟踪事件为:所述监控设备在检测到所述目标对象进入自身的采集区域时,所上报的事件信息;所述结束跟踪事件为:所述监控设备在检测到所述目标对象离开自身的采集区域时,所上报的事件信息;所述装置还包括第四条件确定模块;其中,所述第四条件确定模块,用于:在所述接收所述监控设备所上报的检测事件的步骤之后,在接收到的检测事件的事件类型为所述开始跟踪事件的情况下,确定接收到的检测事件满足预设的对象跨采集区域条件;在接收到的检测事件的事件类型为所述结束跟踪事件,以及,上报所述检测事件的监控设备是第一设备,且在接收到所述检测事件之前,未接收到第二设备发送的所述结束跟踪事件的情况下,确定接收到的检测事件满足预设的对象跨采集区域条件;其中,所述第一设备为:发送当前所显示跟踪画面的监控设备,所述第二设备为:上报上一次接收到的所述开始跟踪事件的监控设备;所述上一次接收到的所述开始跟踪事件为:在接收到所述第一设备发送的所述开始跟踪事件之前,最近一次接收到的所述开始跟踪事件;或者,在所述接收所述监控设备所上报的检测事件的步骤之后,在接收到的检测事件的事件类型为所述结束跟踪事件,以及,上报所述检测事件的监控设备是第一设备,且在上报最近一次接收到的所述开始跟踪事件的监控设备不是所述第一设备的情况下,确定接收到的检测事件满足预设的对象跨采集区域条件;其中,所述第一设备为:发送当前所显示跟踪画面的监控设备。
可选的,一种具体实现方式中,所述检测事件为:所述监控设备在所采集到的跟踪画面检测到所述目标对象时,所上报的事件信息;所述装置还包括第五条件确定模块;其中,所述第五条件确定模块,用于:在所述接收所述监控设备所上报的检测事件的步骤之后,在上报所述检测事件的监控设备不是第一设备,且在第三预设时长内未接收到的第一设备上报的检测事件的情况下,确定接收到的检测事件满足预设的对象跨采集区域条件;其中,所述第一设备为:发送当前所显示跟踪画面的监控设备。
相应于上述本申请实施例提供的一种画面切换的确定方法,本申请实施例还提供了一种电子设备,该电子设备为监控***的管理平台。如图13所示,包括处理器1301和存储器1303;其中,存储器1303,用于存放计算机程序;处理器1301,用于执行存储器1303上所存放的程序时,实现上述本申请实施例提供的任一画面切换的确定方法的步骤。
可选的,一种具体实现方式中,如图14所示,所述电子设备还包括通信接口1302和通信总线1304;其中,处理器1301,通信接口1302,存储器1303通过通信总线1304完成相互间的通信。
上述电子设备提到的通信总线可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。该通信总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
通信接口用于上述电子设备与其他设备之间的通信。存储器可以包括随机存取存储器(Random Access Memory,RAM),也可以包括非易失性存储器(Non-Volatile Memory,NVM),例如至少一个磁盘存储器。可选的,存储器还可以是至少一个位于远离前述处理器的存储装置。上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital Signal Processing,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。
相应于上述本申请实施例提供的一种画面切换的确定方法,本申请实施例还提供了一种计算机可读存储介质,该计算机程序被处理器执行时实现上述本申请实施例提供的任一画面切换的确定方法的步骤。
相应于上述本申请实施例提供的一种画面切换的确定方法,本申请实施例还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面提供的任一画面切换的确定方法的步骤。
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置实施例、电子设备实施例、计算机可读存储介质实施例和计算机程序产品实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
以上所述仅为本申请的较佳实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。

Claims (24)

  1. 一种画面切换的确定方法,所述方法包括:
    向指定的多个监控设备下发针对目标对象的跟踪任务;
    接收所述监控设备所上报的检测事件,其中,所述检测事件是所述监控设备基于所述目标对象在采集到的视频画面中的存在情况,所上报的事件信息;
    当接收到的检测事件满足预设的对象跨采集区域条件时,确定进行跨设备的跟踪画面切换;其中,所述对象跨采集区域是指:所述目标对象进入或离开所述多个监控设备中一监控设备的采集区域。
  2. 根据权利要求1所述的方法,其中,所述检测事件的事件类型包括:非结束跟踪事件和结束跟踪事件;其中,所述非结束跟踪事件为:所述监控设备在检测到所述目标对象处于自身的采集区域时,所上报的事件信息;所述结束跟踪事件为:所述监控设备在检测到所述目标对象离开自身的采集区域时,所上报的事件信息;在所述接收所述监控设备所上报的检测事件的步骤之后,所述方法还包括:
    在接收到的检测事件的事件类型属于所述结束跟踪事件,以及上报所述结束跟踪事件的监控设备是第一设备的情况下,在接收到所述结束跟踪事件后,接收到事件类型属于所述非结束跟踪事件的检测事件时,确定接收到的检测事件满足预设的对象跨采集区域条件;其中,所述第一设备为:发送当前所显示跟踪画面的监控设备。
  3. 根据权利要求2所述的方法,其中,所述在接收到所述结束跟踪事件后,接收到事件类型属于所述非结束跟踪事件的检测事件时,确定接收到的检测事件满足预设的对象跨采集区域条件的步骤,包括:
    在接收到的检测事件的事件类型属于所述结束跟踪事件,以及上报所述结束跟踪事件的监控设备是第一设备的情况下,清空跟踪任务标识;其中,所述跟踪任务标识用于表示当前需要发送所跟踪画面的监控设备的设备任务标识,且所述跟踪任务标识在清空之前为所述第一设备的设备任务标识;
    在接收到的检测事件的事件类型属于所述非结束跟踪事件,且所述跟踪任务标识为空的情况下,确定接收到的检测事件满足预设的对象跨采集区域条件。
  4. 根据权利要求2所述的方法,其中,所述非结束跟踪事件包括:开始跟踪事件和持续跟踪事件;其中,所述开始跟踪事件为:所述监控设备在检测到所述目标对象进入自身的采集区域时,所上报的事件信息;所述持续跟踪事件为:在上报所述开始跟踪事件之后,且上报所述结束跟踪事件之前,所述监控设备在检测到所述目标对象处于自身的采集区域时,所上报的事件信息;所述在接收到所述结束跟踪事件后,接收到事件类型属于所述非结束跟踪事件的检测事件时,确定接收到的检测事件满足预设的对象跨采集区域条件的步骤,包括:
    在接收到所述结束跟踪事件后的第一预设时长内,接收到事件类型属于所述持续跟踪事件的检测事件时,确定接收到的检测事件满足预设的对象跨采集区域条件。
  5. 根据权利要求3所述的方法,其中,所述非结束跟踪事件包括:开始跟踪事件和持续跟踪事件;其中,所述开始跟踪事件为:所述监控设备在检测到所述目标对象进入自身的采集区域时,所上报的事件信息;所述持续跟踪事件为:在上报所述开始跟踪事件之后,且上报所述结束跟踪事件之前,所述监控设备在检测到所述目标对象处于自身的采集区域时,所上报的事件信息;
    所述在接收到的检测事件的事件类型属于所述非结束跟踪事件,且所述跟踪任务标识为空的情况下,确定接收到的检测事件满足预设的对象跨采集区域条件的步骤,包括:在接收到的检测事件的事件类型属于所述持续跟踪事件,且所述跟踪任务标识为空的情况下,确定接收到的检测事件满足预设的对象跨 采集区域条件;
    在所述接收所述监控设备所上报的检测事件的步骤之后,所述方法还包括:在接收到的检测事件的事件类型属于所述开始跟踪事件的情况下,确定接收到的检测事件满足预设的对象跨采集区域条件。
  6. 根据权利要求2所述的方法,其中,在接收到的检测事件的事件类型属于所述结束跟踪事件,以及上报所述结束跟踪事件的监控设备是第一设备的情况下,所述方法还包括:
    在接收到所述结束跟踪事件的第二预设时长内,未接收到事件类型属于所述非结束跟踪事件的检测事件情况下,停止执行所述跟踪任务。
  7. 根据权利要求3所述的方法,其中,下发至所述多个监控设备中的每个监控设备的跟踪任务中包括该监控设备的设备任务标识,其中,不同的监控设备的设备任务标识不同;所述事件信息中包括上报该事件信息的监控设备的设备任务标识。
  8. 根据权利要求3、5和7中任一项所述的方法,其中,所述方法还包括:
    在确定进行跨设备的跟踪画面切换的情况下,将当前显示的跟踪画面切换为:所述上报属于所述非结束跟踪事件的检测事件的监控设备所采集的视频画面;
    将所述跟踪任务标识更新为所述上报属于所述非结束跟踪事件的检测事件的监控设备的设备任务标识。
  9. 根据权利要求1所述的方法,其中,所述检测事件的事件类型包括:开始跟踪事件和结束跟踪事件;其中,所述开始跟踪事件为:所述监控设备在检测到所述目标对象进入自身的采集区域时,所上报的事件信息;所述结束跟踪事件为:所述监控设备在检测到所述目标对象离开自身的采集区域时,所上报的事件信息;
    在所述接收所述监控设备所上报的检测事件的步骤之后,所述方法还包括:
    在接收到的检测事件的事件类型为所述开始跟踪事件的情况下,确定接收到的检测事件满足预设的对象跨采集区域条件;
    在接收到的检测事件的事件类型为所述结束跟踪事件,以及,上报所述检测事件的监控设备是第一设备,且在接收到所述检测事件之前,未接收到第二设备发送的所述结束跟踪事件的情况下,确定接收到的检测事件满足预设的对象跨采集区域条件;
    其中,所述第一设备为:发送当前所显示跟踪画面的监控设备,所述第二设备为:上报上一次接收到的所述开始跟踪事件的监控设备;所述上一次接收到的所述开始跟踪事件为:在接收到所述第一设备发送的所述开始跟踪事件之前,最近一次接收到的所述开始跟踪事件。
  10. 根据权利要求1所述的方法,其中,所述检测事件为:所述监控设备在所采集到的跟踪画面检测到所述目标对象时,所上报的事件信息;在所述接收所述监控设备所上报的检测事件的步骤之后,所述方法还包括:
    在上报所述检测事件的监控设备不是第一设备,且在第三预设时长内未接收到的第一设备上报的检测事件的情况下,确定接收到的检测事件满足预设的对象跨采集区域条件;其中,所述第一设备为:发送当前所显示跟踪画面的监控设备。
  11. 根据权利要求1所述的方法,其中,所述检测事件的事件类型包括:开始跟踪事件和结束跟踪事件;其中,所述开始跟踪事件为:所述监控设备在检测到所述目标对象进入自身的采集区域时,所上报的事件信息;所述结束跟踪事件为:所述监控设备在检测到所述目标对象离开自身的采集区域时,所 上报的事件信息;在所述接收所述监控设备所上报的检测事件的步骤之后,所述方法还包括:
    在接收到的检测事件的事件类型为所述结束跟踪事件,以及,上报所述检测事件的监控设备是第一设备,且上报最近一次接收到的所述开始跟踪事件的监控设备不是所述第一设备的情况下,确定接收到的检测事件满足预设的对象跨采集区域条件;其中,所述第一设备为:发送当前所显示跟踪画面的监控设备。
  12. 一种画面切换的确定装置,所述装置包括:
    任务下发模块,用于向指定的多个监控设备下发针对目标对象的跟踪任务;
    事件接收模块,用于接收所述监控设备所上报的检测事件,其中,所述检测事件是所述监控设备基于所述目标对象在采集到的视频画面中的存在情况,所上报的事件信息;
    切换确定模块,用于当接收到的检测事件满足预设的对象跨采集区域条件时,确定进行跨设备的跟踪画面切换;其中,所述对象跨采集区域是指:所述目标对象进入或离开所述多个监控设备中一监控设备的采集区域。
  13. 根据权利要求12所述的装置,其中,所述检测事件的事件类型包括:非结束跟踪事件和结束跟踪事件;其中,所述非结束跟踪事件为:所述监控设备在检测到所述目标对象处于自身的采集区域时,所上报的事件信息;所述结束跟踪事件为:所述监控设备在检测到所述目标对象离开自身的采集区域时,所上报的事件信息;所述装置还包括:
    第一条件确定模块,用于:
    在所述接收所述监控设备所上报的检测事件的步骤之后,在接收到的检测事件的事件类型属于所述结束跟踪事件,以及上报所述结束跟踪事件的监控设备是第一设备的情况下,在接收到所述结束跟踪事件后,接收到事件类型属于所述非结束跟踪事件的检测事件时,确定接收到的检测事件满足预设的对象跨采集区域条件;其中,所述第一设备为:发送当前所显示跟踪画面的监控设备。
  14. 根据权利要求13所述的装置,其中,所述第一条件确定模块包括:
    标识清空子模块,用于在所述接收所述监控设备所上报的检测事件的步骤之后,在接收到的检测事件的事件类型属于所述结束跟踪事件,以及上报所述结束跟踪事件的监控设备是第一设备的情况下,清空跟踪任务标识;其中,所述跟踪任务标识用于表示当前需要发送所跟踪画面的监控设备的设备任务标识,且所述跟踪任务标识在清空之前为所述第一设备的设备任务标识;
    条件确定子模块,用于在接收到的检测事件的事件类型属于所述非结束跟踪事件,且所述跟踪任务标识为空的情况下,确定接收到的检测事件满足预设的对象跨采集区域条件。
  15. 根据权利要求13所述的装置,其中,所述非结束跟踪事件包括:开始跟踪事件和持续跟踪事件;其中,所述开始跟踪事件为:所述监控设备在检测到所述目标对象进入自身的采集区域时,所上报的事件信息;所述持续跟踪事件为:在上报所述开始跟踪事件之后,且上报所述结束跟踪事件之前,所述监控设备在检测到所述目标对象处于自身的采集区域时,所上报的事件信息;所述第一条件确定模块,具体用于:
    在接收到所述结束跟踪事件后的第一预设时长内,接收到事件类型属于所述持续跟踪事件的检测事件时,确定接收到的检测事件满足预设的对象跨采集区域条件。
  16. 根据权利要求14所述的装置,其中,所述非结束跟踪事件包括:开始跟踪事件和持续跟踪事件;其中,所述开始跟踪事件为:所述监控设备在检测到所述目标对象进入自身的采集区域时,所上报的事 件信息;所述持续跟踪事件为:在上报所述开始跟踪事件之后,且上报所述结束跟踪事件之前,所述监控设备在检测到所述目标对象处于自身的采集区域时,所上报的事件信息;
    所述条件确定子模块,具体用于:在接收到的检测事件的事件类型属于所述持续跟踪事件,且所述跟踪任务标识为空的情况下,确定接收到的检测事件满足预设的对象跨采集区域条件;
    所述装置还包括第三条件确定模块,其中,所述第三条件确定模块,用于:在接收到的检测事件的事件类型属于所述开始跟踪事件的情况下,确定接收到的检测事件满足预设的对象跨采集区域条件。
  17. 根据权利要求13所述的装置,其中,所述装置还包括:
    任务停止模块,用于在接收到的检测事件的事件类型属于所述结束跟踪事件,以及上报所述结束跟踪事件的监控设备是第一设备的情况下,在接收到所述结束跟踪事件的第二预设时长内,未接收到事件类型属于所述非结束跟踪事件的检测事件情况下,停止执行所述跟踪任务。
  18. 根据权利要求14所述的装置,其中,下发至所述多个监控设备中的每个监控设备的跟踪任务中包括该监控设备的设备任务标识,其中,不同的监控设备的设备任务标识不同;所述事件信息中包括上报该事件信息的监控设备的设备任务标识。
  19. 根据权利要求14、16和18中任一项所述的装置,其中,所述装置还包括:
    画面切换模块,用于在确定进行跨设备的跟踪画面切换的情况下,将当前显示的跟踪画面切换为:所述上报属于所述非结束跟踪事件的检测事件的监控设备所采集的视频画面;
    标识更新模块,用于将所述跟踪任务标识更新为所述上报属于所述非结束跟踪事件的检测事件的监控设备的设备任务标识。
  20. 根据权利要求12所述的装置,其中,所述检测事件的事件类型包括:开始跟踪事件和结束跟踪事件;其中,所述开始跟踪事件为:所述监控设备在检测到所述目标对象进入自身的采集区域时,所上报的事件信息;所述结束跟踪事件为:所述监控设备在检测到所述目标对象离开自身的采集区域时,所上报的事件信息;所述装置还包括第四条件确定模块;其中,所述第四条件确定模块,用于:
    在所述接收所述监控设备所上报的检测事件的步骤之后,在接收到的检测事件的事件类型为所述开始跟踪事件的情况下,确定接收到的检测事件满足预设的对象跨采集区域条件;在接收到的检测事件的事件类型为所述结束跟踪事件,以及,上报所述检测事件的监控设备是第一设备,且在接收到所述检测事件之前,未接收到第二设备发送的所述结束跟踪事件的情况下,确定接收到的检测事件满足预设的对象跨采集区域条件;
    其中,所述第一设备为:发送当前所显示跟踪画面的监控设备,所述第二设备为:上报上一次接收到的所述开始跟踪事件的监控设备;所述上一次接收到的所述开始跟踪事件为:在接收到所述第一设备发送的所述开始跟踪事件之前,最近一次接收到的所述开始跟踪事件;或者,
    在所述接收所述监控设备所上报的检测事件的步骤之后,在接收到的检测事件的事件类型为所述结束跟踪事件,以及,上报所述检测事件的监控设备是第一设备,且在上报最近一次接收到的所述开始跟踪事件的监控设备不是所述第一设备的情况下,确定接收到的检测事件满足预设的对象跨采集区域条件;
    其中,所述第一设备为:发送当前所显示跟踪画面的监控设备。
  21. 根据权利要求12所述的装置,其中,所述检测事件为:所述监控设备在所采集到的跟踪画面检测到所述目标对象时,所上报的事件信息;所述装置还包括第五条件确定模块;其中,所述第五条件确定模块,用于:在所述接收所述监控设备所上报的检测事件的步骤之后,在上报所述检测事件的监控设 备不是第一设备,且在第三预设时长内未接收到的第一设备上报的检测事件的情况下,确定接收到的检测事件满足预设的对象跨采集区域条件;其中,所述第一设备为:发送当前所显示跟踪画面的监控设备。
  22. 一种电子设备,所述电子设备为监控***的管理平台,包括处理器和存储器;
    其中,所述存储器,用于存放计算机程序;
    所述处理器,用于执行所述存储器上所存放的程序时,实现权利要求1-11任一所述的方法步骤。
  23. 一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-11任一所述的方法步骤。
  24. 一种包含指令的计算机程序,当其在计算机上运行时,使得计算机执行权利要求1-11任一所述的方法步骤。
PCT/CN2021/083576 2020-03-30 2021-03-29 一种画面切换的确定方法、装置、电子设备及存储介质 WO2021197259A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US17/995,166 US20230177838A1 (en) 2020-03-30 2021-03-29 Method and apparatus for determining picture switching, electronic device, and storage medium
EP21779203.5A EP4131934A4 (en) 2020-03-30 2021-03-29 METHOD AND APPARATUS FOR DETERMINING IMAGE SWITCHING, ELECTRONIC DEVICE, AND STORAGE MEDIA

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010239581.XA CN111405203B (zh) 2020-03-30 2020-03-30 一种画面切换的确定方法、装置、电子设备及存储介质
CN202010239581.X 2020-03-30

Publications (1)

Publication Number Publication Date
WO2021197259A1 true WO2021197259A1 (zh) 2021-10-07

Family

ID=71429330

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/083576 WO2021197259A1 (zh) 2020-03-30 2021-03-29 一种画面切换的确定方法、装置、电子设备及存储介质

Country Status (4)

Country Link
US (1) US20230177838A1 (zh)
EP (1) EP4131934A4 (zh)
CN (1) CN111405203B (zh)
WO (1) WO2021197259A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111405203B (zh) * 2020-03-30 2022-11-04 杭州海康威视数字技术股份有限公司 一种画面切换的确定方法、装置、电子设备及存储介质
CN114501045A (zh) * 2021-12-29 2022-05-13 浙江大华技术股份有限公司 活动直播方法、装置、电子装置和存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065279A (zh) * 2010-10-28 2011-05-18 北京中星微电子有限公司 一种连续跟踪监控对象的方法及***
CN105530465A (zh) * 2014-10-22 2016-04-27 北京航天长峰科技工业集团有限公司 一种安保监控视频检索定位方法
CN107666590A (zh) * 2016-07-29 2018-02-06 华为终端(东莞)有限公司 一种目标监控方法、摄像头、控制器和目标监控***
CN110113579A (zh) * 2019-05-30 2019-08-09 浙江大华技术股份有限公司 一种跟踪目标对象的方法及装置
CN111405203A (zh) * 2020-03-30 2020-07-10 杭州海康威视数字技术股份有限公司 一种画面切换的确定方法、装置、电子设备及存储介质

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6359647B1 (en) * 1998-08-07 2002-03-19 Philips Electronics North America Corporation Automated camera handoff system for figure tracking in a multiple camera system
JP3902222B2 (ja) * 2005-06-07 2007-04-04 松下電器産業株式会社 監視システム、監視方法及びカメラ端末
US8471910B2 (en) * 2005-08-11 2013-06-25 Sightlogix, Inc. Methods and apparatus for providing fault tolerance in a surveillance system
US8760519B2 (en) * 2007-02-16 2014-06-24 Panasonic Corporation Threat-detection in a distributed multi-camera surveillance system
GB2491987B (en) * 2008-03-03 2013-03-27 Videoiq Inc Method of searching data for objects identified by object detection
TWI405457B (zh) * 2008-12-18 2013-08-11 Ind Tech Res Inst 應用攝影機換手技術之多目標追蹤系統及其方法,與其智慧節點
KR101318835B1 (ko) * 2011-09-20 2013-10-16 아주대학교산학협력단 섹터 기반의 액티브 트랙킹 가능한 멀티 카메라 제어 장치 및 방법
US8830322B2 (en) * 2012-08-06 2014-09-09 Cloudparc, Inc. Controlling use of a single multi-vehicle parking space and a restricted location within the single multi-vehicle parking space using multiple cameras
KR20150071504A (ko) * 2013-12-18 2015-06-26 한국전자통신연구원 카메라 추적 제어권 자동 전환 시스템 및 이의 카메라 추적 제어권 자동 전환 방법
CN106412414B (zh) * 2016-06-08 2019-12-27 同济大学 追踪***、摄像头、监测方法、及监测***
US20180308243A1 (en) * 2017-03-28 2018-10-25 Irvine Sensors Corporation Cognitive Tracker -- Appliance For Enabling Camera-to-Camera Object Tracking in Multi-Camera Surveillance Systems
US10165650B1 (en) * 2017-08-21 2018-12-25 Cree, Inc. Occupant tracking
CN110278413A (zh) * 2019-06-28 2019-09-24 Oppo广东移动通信有限公司 图像处理方法、装置、服务器以及存储介质
CN110177258A (zh) * 2019-06-28 2019-08-27 Oppo广东移动通信有限公司 图像处理方法、装置、服务器及存储介质
CN110533700B (zh) * 2019-08-30 2023-08-29 腾讯科技(深圳)有限公司 对象跟踪方法和装置、存储介质及电子装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065279A (zh) * 2010-10-28 2011-05-18 北京中星微电子有限公司 一种连续跟踪监控对象的方法及***
CN105530465A (zh) * 2014-10-22 2016-04-27 北京航天长峰科技工业集团有限公司 一种安保监控视频检索定位方法
CN107666590A (zh) * 2016-07-29 2018-02-06 华为终端(东莞)有限公司 一种目标监控方法、摄像头、控制器和目标监控***
CN110113579A (zh) * 2019-05-30 2019-08-09 浙江大华技术股份有限公司 一种跟踪目标对象的方法及装置
CN111405203A (zh) * 2020-03-30 2020-07-10 杭州海康威视数字技术股份有限公司 一种画面切换的确定方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN111405203A (zh) 2020-07-10
EP4131934A1 (en) 2023-02-08
EP4131934A4 (en) 2023-08-23
CN111405203B (zh) 2022-11-04
US20230177838A1 (en) 2023-06-08

Similar Documents

Publication Publication Date Title
WO2021197259A1 (zh) 一种画面切换的确定方法、装置、电子设备及存储介质
CN102158689B (zh) 视频监控***及方法
WO2021052008A1 (zh) 一种投屏方法及***
CN110855883B (zh) 一种图像处理***、方法、装置设备及存储介质
JP6386092B2 (ja) ネットワーク選択方法、装置、プログラム、及び記録媒体
CN110491060B (zh) 一种机器人及其安全监控方法、装置及存储介质
CN105933665A (zh) 一种调阅摄像机视频的方法及装置
CN113569825A (zh) 视频监控方法、装置、电子设备和计算机可读介质
CN111402286A (zh) 一种目标跟踪方法、装置、***及电子设备
WO2021004237A1 (zh) 一种图像配准、融合、遮挡检测方法、装置和电子设备
CN111447239A (zh) 视频流播放控制方法、设备及存储介质
WO2023077754A1 (zh) 目标跟踪方法、装置及存储介质
WO2021248712A1 (zh) 微运动监测方法、装置、设备及计算机可读存储介质
CN113905211B (zh) 一种视频巡逻方法、装置、电子设备及存储介质
KR101815053B1 (ko) 교통 정보 산출 시스템 및 그의 동작 방법
CN112770056B (zh) 拍摄方法、拍摄装置和电子设备
CN114020615A (zh) 异地多活金融***的测试方法、装置、设备及存储介质
US20090051770A1 (en) Camera control method, camera control device, camera control program, and camera system
CN109040672B (zh) 一种视频播放方法及装置
US20240054489A1 (en) Traffic information processing methods, apparatuses, electronic devices, servers, and storage mediums
CN114968158A (zh) 一种应用投屏方法、装置、电子设备及存储介质
KR20130116623A (ko) 이벤트 영상 출력 장치 및 방법
KR101530906B1 (ko) 저비용 pt 카메라를 이용한 광역 감시 시스템 및 방법
TWI846392B (zh) 監控方法、裝置、車聯網伺服器及存儲介質
CN114360257B (zh) 车辆监控方法和***

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21779203

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2021779203

Country of ref document: EP

Effective date: 20221031