Camera query method, device, electronic device and storage medium

By obtaining the distance relationship between the position information to be queried and the position information of the camera's visual field target, and combining the position information of the movable target, the camera that can capture the scene to be queried is automatically determined, which solves the problem of low camera query efficiency in the prior art. Achieve fast and efficient scene positioning.

CN114969575BActive Publication Date: 2024-12-03HANGZHOU HIKVISION SYST TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210576973.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-25
Publication Date
2024-12-03
Estimated Expiration
2042-05-25

AI Technical Summary

Technical Problem

Existing cameras have low query efficiency, and manual observation is required to determine the camera that can capture the target scene, resulting in low efficiency.

Method used

By obtaining the distance relationship between the position information to be queried and the pre-calibrated target position information of the camera's visual field, the camera identifier that can be photographed is determined, and the corresponding relationship between the camera identifier and the target position information is established using the position information of the movable target. , automatically determine the camera that can capture the position to be inquired.

Benefits of technology

It is possible to determine the camera that can capture the scene to be inquired without manual observation, which significantly improves the camera query efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114969575B_ABST
    Figure CN114969575B_ABST
Patent Text Reader

Abstract

The embodiments of the present invention provide a camera query method, device, electronic device and storage medium, the method comprising: obtaining position information to be queried; based on the distance relationship between the position information to be queried and the target position information included in the visual field of the pre-calibrated camera, determining the identification of the camera that can capture the scene corresponding to the position information to be queried as the camera identification to be checked; wherein the visual field of the camera includes the corresponding relationship between the camera identification and the target position information, and the target position information is the position information of the movable target when the camera can capture the movable target during the movement of the movable target. Based on the distance relationship between the position information to be queried and the target position information included in the visual field of the camera, the camera identification to be checked can be determined; the camera that can capture the scene to be queried can be determined without manual observation, which greatly improves the efficiency of camera query.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of video surveillance technology, and in particular to a camera query method, device, electronic equipment and storage medium. Background Art

[0002] The visual range of a camera is the actual physical space area that can be covered by the camera's shooting picture. By setting the camera at different positions of the target monitoring scene, cameras with different visual ranges can capture different scenes. In order to determine the visual range of a camera, it is necessary to calibrate the camera's visual range in advance. In the commonly used camera visual range calibration method, identifiable information is extracted from the pictures of the surrounding scene taken by the camera, and the identifiable information is matched with the information points with known positions within the preset distance range of the camera, and then the camera's visual range can be determined based on the matching results.

[0003] When the staff wants to view a certain scene, they can open the surveillance footage of the camera near the scene, determine through manual observation whether the scene is included in the camera's field of view, and determine the camera that can capture the scene from the multiple cameras set up, so that they can view the scene from multiple angles.

[0004] When an event occurs in the target monitoring scene, it is necessary to manually observe the camera that can capture the scene, and the camera query efficiency is very low. Summary of the invention

[0005] The purpose of the embodiments of the present invention is to provide a camera query method, device, electronic device and storage medium to improve the efficiency of camera query. The specific technical solution is as follows:

[0006] In a first aspect, an embodiment of the present invention provides a camera query method, the method comprising:

[0007] Get the location information to be queried;

[0008] Based on the distance relationship between the position information to be queried and the target position information included in the visual range of the pre-calibrated camera, determine the identifier of the camera that can capture the scene corresponding to the position information to be queried as the camera identifier to be viewed;

[0009] The visual field of the camera includes the correspondence between the camera identification and the target position information, and the target position information is the position information of the movable target when the camera can capture the movable target during the movement of the movable target.

[0010] Optionally, the step of determining the identifier of a camera capable of capturing a scene corresponding to the position information to be queried based on the distance relationship between the position information to be queried and target position information included in the visual range of the pre-calibrated camera includes:

[0011] Calculating the distance between the position information to be queried and the target position information included in the visual range of the pre-calibrated camera;

[0012] If the distance satisfies a preset distance condition, the identifier of the camera corresponding to the target position information corresponding to the distance is determined as the identifier of the camera that can capture the scene corresponding to the position information to be queried.

[0013] Optionally, before the step of obtaining the location information to be queried, the method further includes:

[0014] Acquire multiple position information of the movable target during the movement process and the time point corresponding to each position information;

[0015] Based on the images captured by the camera during the movement of the movable target and the time point, determine the target position information from the multiple position information, wherein the target position information is the position information of the movable target when the camera can capture the movable target;

[0016] A corresponding relationship between the camera identifier and the target location information is established.

[0017] Optionally, the step of determining the target position information from the plurality of position information based on the image captured by the camera during the movement of the movable target and the time point includes:

[0018] Acquire multiple images captured by the camera during the movement of the movable target and the capture time corresponding to each image;

[0019] Determining, from the plurality of images, an image including the movable object as a target image;

[0020] From the multiple pieces of position information, position information whose corresponding time point matches the acquisition time of the target image is determined as the target position information.

[0021] Optionally, the step of determining, from the plurality of pieces of position information, position information corresponding to a time point that matches the acquisition time of the target image as the target position information includes:

[0022] Arranging the plurality of position information in order of corresponding time points to obtain arranged position information;

[0023] Determining, from the time points corresponding to the arranged position information, each time point that matches the acquisition time of the target image;

[0024] The location information corresponding to each time point is determined as the target location information.

[0025] Optionally, the step of determining, from the time points corresponding to the arranged position information, each time point that matches the acquisition time of the target image comprises:

[0026] From the time points corresponding to the arranged position information, the time points whose time intervals with the acquisition time of the target image are not greater than a preset time threshold are determined as the time points that match the acquisition time of the target image.

[0027] In a second aspect, an embodiment of the present invention provides a camera query device, the device comprising:

[0028] A module for obtaining the location information to be queried, used for obtaining the location information to be queried;

[0029] A module for determining the identification of a camera to be viewed, configured to determine, based on a distance relationship between the position information to be queried and target position information included in a pre-calibrated visual range of a camera, an identification of a camera that can capture a scene corresponding to the position information to be queried, as the identification of the camera to be viewed;

[0030] The visual field of the camera includes the correspondence between the camera identification and the target position information, and the target position information is the position information of the movable target when the camera can capture the movable target during the movement of the movable target.

[0031] Optionally, the module for determining the identity of the camera to be viewed includes:

[0032] A distance calculation submodule, used to calculate the distance between the position information to be queried and the target position information included in the visual range of the pre-calibrated camera;

[0033] A submodule for determining the identification of a camera to be viewed, for determining the identification of a camera corresponding to the target position information corresponding to the distance as the identification of a camera capable of photographing the scene corresponding to the position information to be queried, if the distance satisfies a preset distance condition;

[0034] The device also includes:

[0035] A position information acquisition module, used to acquire a plurality of position information of the movable target during the movement process and a time point corresponding to each position information before the step of acquiring the position information to be queried;

[0036] a target position information determination module, configured to determine the target position information from the plurality of position information based on the image captured by the camera during the movement of the movable target and the time point, wherein the target position information is the position information of the movable target when the camera is able to capture the movable target;

[0037] A corresponding relationship establishing module, used to establish a corresponding relationship between the camera identifier and the target position information;

[0038] The target location information determination module includes:

[0039] An image acquisition submodule, used to acquire a plurality of images acquired by a camera during the movement of the movable target and the acquisition time corresponding to each image;

[0040] A target image determination submodule, used to determine, from the multiple images, an image containing the movable target as the target image;

[0041] A target position information determination submodule, used to determine, from the plurality of position information, position information whose corresponding time point matches the acquisition time of the target image as the target position information;

[0042] The target location information determination submodule includes:

[0043] A position information arrangement unit, used to arrange the plurality of position information in the order of corresponding time points to obtain arranged position information;

[0044] A time matching unit, used to determine, from the time points corresponding to the arranged position information, each time point that matches the acquisition time of the target image;

[0045] a target position information determining unit, configured to determine the position information corresponding to each time point as the target position information;

[0046] The time matching unit comprises:

[0047] The time matching subunit is used to determine, from the time points corresponding to the arranged position information, the time points whose time intervals with the acquisition time of the target image are not greater than a preset time threshold, as the time points that match the acquisition time of the target image.

[0048] In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0049] Memory, used to store computer programs;

[0050] The processor is used to implement any method step described in the first aspect when executing the program stored in the memory.

[0051] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps described in any one of the first aspects are implemented.

[0052] Beneficial effects of the embodiments of the present invention:

[0053] In the scheme provided by the embodiment of the present invention, the electronic device can obtain the position information to be queried, and based on the distance relationship between the position information to be queried and the target position information included in the visual field of the pre-calibrated camera, the identification of the camera that can capture the scene corresponding to the position information to be queried can be determined as the camera identification to be viewed; wherein the visual field of the camera includes the corresponding relationship between the camera identification and the target position information, and the target position information is the position information of the movable target when the camera can capture the movable target during the movement of the movable target. In the above scheme, the visual field of the pre-calibrated camera includes the corresponding relationship between the camera identification and the target position information. During the movement of the movable target, if the camera can capture the movable target, it means that the movable target is within the visual field of the camera at this time, and the position information of the movable target can be used as the target position information. The electronic device can obtain the position information to be queried, and then based on the distance relationship between the position information to be queried and the target position information included in the visual field of the camera, the identification of the camera that can capture the scene corresponding to the position information to be queried can be determined as the camera identification to be viewed. This scheme can determine the camera that can capture the scene to be queried without manual observation, which greatly improves the efficiency of camera query. Of course, it is not necessary to achieve all of the advantages described above at the same time to implement any product or method of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other embodiments can also be obtained based on these drawings.

[0055] Figure 1 A flowchart of a camera query method provided by an embodiment of the present invention;

[0056] Figure 2 for Figure 1 A specific flow chart of step S102 in the illustrated embodiment;

[0057] Figure 3 Based on Figure 1 A flow chart of establishing a corresponding relationship in the illustrated embodiment;

[0058] Figure 4 for Figure 3 A specific flow chart of step S302 in the illustrated embodiment;

[0059] Figure 5 for Figure 4 A specific flow chart of step S403 in the illustrated embodiment;

[0060] Figure 6 A schematic diagram of the structure of a camera query device provided by an embodiment of the present invention;

[0061] Figure 7 A schematic diagram of the structure of another camera query device provided by an embodiment of the present invention;

[0062] Figure 8 The present invention is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0063] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field based on the present invention belong to the scope of protection of the present invention.

[0064] In order to improve the efficiency of camera query, an embodiment of the present invention provides a camera query method, device, electronic device, computer-readable storage medium and computer program product. The following first introduces a camera query method provided by an embodiment of the present invention.

[0065] The camera query method provided in the embodiment of the present invention can be applied to any electronic device that needs to query a camera, including a processing device, a control device, a server corresponding to a camera in a video surveillance system, a processor, and of course, it can also be applied to a camera with computing capabilities, etc., which is not specifically limited here. For the sake of clarity, it is hereinafter referred to as an electronic device.

[0066] like Figure 1 As shown, a camera query method, the method comprising:

[0067] S101, obtaining location information to be queried.

[0068] S102: Based on the distance relationship between the position information to be queried and the target position information included in the visual range of the pre-calibrated camera, determine the identifier of a camera that can capture the scene corresponding to the position information to be queried as the identifier of the camera to be viewed.

[0069] The visual field of the camera includes the corresponding relationship between the camera identification and the target position information, and the target position information is the position information of the movable target when the camera can capture the movable target during the movement of the movable target.

[0070] It can be seen that in the scheme provided by the embodiment of the present invention, the electronic device can obtain the position information to be queried, and based on the distance relationship between the position information to be queried and the target position information included in the visual field of the pre-calibrated camera, the identification of the camera that can capture the scene corresponding to the position information to be queried can be determined as the camera identification to be viewed; wherein the visual field of the camera includes the corresponding relationship between the camera identification and the target position information, and the target position information is the position information of the movable target when the camera can capture the movable target during the movement of the movable target. In the above scheme, the visual field of the pre-calibrated camera includes the corresponding relationship between the camera identification and the target position information. During the movement of the movable target, if the camera can capture the movable target, it means that the movable target is within the visual field of the camera at this time, and the position information of the movable target can be used as the target position information. The electronic device can obtain the position information to be queried, and then based on the distance relationship between the position information to be queried and the target position information included in the visual field of the camera, the identification of the camera that can capture the scene corresponding to the position information to be queried can be determined as the camera identification to be viewed. This solution can determine the camera that can capture the scene to be queried without manual observation, greatly improving the efficiency of camera query.

[0071] In some application scenarios, for example, when an abnormal event such as a traffic accident occurs, it is necessary to view the surveillance video corresponding to a certain location. At this time, the electronic device can obtain the location information to be queried. The location information of the location that needs to be viewed can be used as the location information to be queried. In one embodiment, the location information to be queried can be a certain location information corresponding to the target monitoring scene of the camera, or a plurality of location information in a certain area corresponding to the target monitoring scene.

[0072] For example, if the target monitoring scene is a road in a city, and a traffic accident occurs on the road and the scene needs to be determined through a camera, the electronic device can obtain the location information of the location where the traffic accident occurred as the location information to be queried. For another example, if a staff member needs to query the monitoring scene of a parking area through a camera, the multiple location information contained in the parking area can be used as the location information to be queried, and the electronic device can also obtain the location information to be queried.

[0073] Furthermore, in the above step S102, the electronic device can determine the identifier of the camera that can capture the scene corresponding to the position information to be queried based on the distance relationship between the position information to be queried and the target position information included in the visual range of the pre-calibrated camera, as the camera identifier to be viewed.

[0074] The visual field of the camera includes the correspondence between the camera identification and the target position information. Therefore, based on the pre-calibrated visual field of the camera, the electronic device can obtain the correspondence between the camera identification and the target position information. The scene corresponding to the target position information is the scene that the camera can capture. The target position information is the position information of the movable target when the camera can capture the movable target during the movement of the movable target.

[0075] The movable target can move in the target monitoring scene, and the electronic device can obtain multiple position information of the movable target during the movement and the time point corresponding to each position information. In one embodiment, the movable target can determine its own position information in real time. For example, the movable target can be a car with GPS (Global Positioning System) function, a robot or drone carrying a positioning device, and other movable devices, which are not specifically limited here. Taking the movable target as a car with GPS function as an example, the license plate information of the car can be obtained in advance, or the vehicle model, size, color and other features of the car that can be distinguished from other objects in the target monitoring scene, and then it can be determined based on these features whether the camera has captured the car.

[0076] When the size of the movable device is large, the location information collected by the positioning device more accurately identifies the location information of a part of the movable device that is closer to the positioning device, while the location information of a part that is farther from the positioning device is different from the location information collected by the positioning device. For example, when the movable device is a vehicle, when the GPS device is set at the rear of the vehicle, the vehicle is identified by identifying the license plate at the front of the vehicle. It is possible that the license plate at the front of the vehicle is captured by the camera, while the rear of the vehicle is not captured by the camera. At this time, the real-time positioning information of the GPS device is the actual location information of the rear of the vehicle, and the rear of the vehicle is not actually within the visual field of the camera, resulting in inaccurate calibrated visual field.

[0077] Therefore, in order to reduce the visual field error, in one embodiment, the movable target can be a marker set on the movable device. The marker can make the movable device more clearly distinguishable from other objects in the target monitoring scene. If the marker can be identified in the image captured by the camera, it can be considered that the camera can capture the movable target. This can facilitate a faster and more accurate judgment of whether the camera captures the movable target. For example, the marker can be a sticker with a specific pattern, a flag of a specific color or shape, etc., which is not specifically limited here. Then when setting the marker, a smaller marker can be selected as much as possible. The marker can be set on the movable device at a position as close as possible to the positioning device, or the marker can directly carry the positioning device to make the acquired position information of the movable target more accurate.

[0078] Furthermore, the target position information in the correspondence between the camera identification and the target position information included in the visual range of the camera can accurately represent the position coordinates of the position that the camera can capture, thereby obtaining the accurate visual range of the camera. Then, when the to-be-queried position information corresponding to a certain target is the same as or similar to the target position information included in the visual range of the camera, it means that the target appears in the visual range of the camera, and the camera can also capture the target, and the camera is the camera to be viewed.

[0079] Since it takes a certain amount of time to obtain the movable target position information each time, the amount of target position information obtained by the electronic device is usually limited, and it is difficult to cover all the position information included in the visual field of the camera. When the position information to be queried is exactly the same as a certain target position information, the target position information is within the visual field of the corresponding camera, and the camera can capture the scene corresponding to the position information to be queried. Since the amount of target position information is limited, when the scene corresponding to the position information to be queried is within the visual field of a certain camera, the position information to be queried may not be exactly the same as the target position information included in the visual field of the camera. It can be considered that the scene corresponding to the position information to be queried that is closer to the target position information is within the visual field of the camera, and the scene corresponding to the position information to be queried that is farther away from the target position information is not within the visual field of the camera.

[0080] Therefore, when the distance between the position information to be queried and the target position information included in the visual field of the camera is close, the camera can capture the scene corresponding to the position information to be queried. When the distance between the position information to be queried and the target position information included in the visual field of the camera is far, the scene corresponding to the position information to be queried may have been outside the visual field of the camera, and the camera may not be able to capture the scene corresponding to the position information to be queried. The electronic device can determine the identity of the camera that can capture the scene corresponding to the position information to be queried based on the distance relationship between the position information to be queried and the target position information included in the visual field of the camera, as the camera identity to be viewed.

[0081] In one implementation, there may be overlapping areas in the visual fields of different cameras, and the scene corresponding to the position information to be queried may be captured by multiple cameras at the same time, so there may be one or more camera identifiers to be checked. When the scene corresponding to the position information to be queried is not within the visual field of any camera, the camera identifier to be checked may not exist, and no specific limitation is made here.

[0082] In one implementation, after the electronic device determines the camera ID to be viewed, the staff can retrieve the historical video of the camera corresponding to the camera ID to be viewed and view the historical video, thereby determining the historical situation of the scene corresponding to the location information to be queried. The staff can also watch the monitoring screen of the camera corresponding to the camera ID to be viewed in real time to determine the real-time situation of the scene corresponding to the location information to be queried.

[0083] As an implementation method, a judgment rule for whether a movable target is captured can be set according to the specific scenario in which the camera query method is applied. For the case where the movable target is the above-mentioned movable device, for example, the specific scenario in which the camera query method is applied is to query the license plate of the vehicle causing the accident when a traffic accident occurs. For this scenario, the judgment rule for whether the movable target is captured can be: when the license plate of the movable target (vehicle) is captured, it is determined that the movable target is captured.

[0084] For another example, a specific scenario in which the camera query method is applied is to query the driver of the vehicle causing a traffic accident. For this scenario, since the driver is located at the front of the vehicle, the judgment rule for whether the movable target is captured can be: when the camera is shot from the front of the movable target (vehicle) to the front of the vehicle, it is determined that the movable target is captured.

[0085] For another example, a specific scenario in which the camera query method is applied is to determine what kind of abnormal situation has occurred at the location corresponding to the alarm information when an alarm message is received. Since any picture of the location corresponding to the alarm message can provide some useful information, the judgment rule for whether the movable target is captured for this scenario can be: if the complete movable target or part of the movable target is captured from any angle, it can be determined that the movable target has been captured.

[0086] In the case where the movable target is the above-mentioned marker set on the movable device, since the marker is generally small in size, the judgment rule for whether the movable target is photographed can be: when the marker is photographed, it is determined that the movable target is photographed. However, for different scenarios, the setting position of the marker can be different. For example, the specific scenario in which the camera query method is applied is to query the license plate of the vehicle causing the accident when a traffic accident occurs. For this scenario, the marker can be set near the license plate of the movable device (vehicle).

[0087] For another example, a specific scenario in which the camera query method is applied is to query the driver of the vehicle involved in a traffic accident. For this scenario, since the driver is located at the front of the vehicle, the marker can be set at the front position of the movable device (vehicle).

[0088] For another example, a specific scenario in which the camera query method is applied is to determine what kind of abnormal situation has occurred at the location corresponding to the alarm information when an alarm message is received. Since any picture of the location corresponding to the alarm message can provide some useful information, for this scenario, a marker can be set near the positioning device of the movable device to ensure the accuracy of the obtained target location information as much as possible.

[0089] By adopting the scheme provided by the embodiment of the present invention, the electronic device can obtain the position information to be queried, and based on the distance relationship between the position information to be queried and the target position information included in the visual field of the pre-calibrated camera, determine the identification of the camera that can capture the scene corresponding to the position information to be queried, as the camera identification to be viewed. Through the above scheme, the electronic device can determine the identification of the camera that can capture the scene corresponding to the position information to be queried, and can determine the camera that can capture the scene to be queried without manual observation, which greatly improves the efficiency of camera query and facilitates the staff to view the situation of the scene corresponding to the position information to be queried, and then make a quick response.

[0090] As an implementation method of the embodiment of the present invention, Figure 2 As shown, the step of determining the identification of a camera capable of capturing a scene corresponding to the position information to be queried based on the distance relationship between the position information to be queried and the target position information included in the visual range of the pre-calibrated camera may include:

[0091] S201, calculating the distance between the position information to be queried and the target position information included in the visual range of the pre-calibrated camera.

[0092] For each pre-calibrated camera, the camera's field of view may include multiple target location information. In order to determine whether the camera can capture the scene corresponding to the location information to be queried, the electronic device may calculate the distance between the location information to be queried and each target location information included in the camera's field of view.

[0093] For example, the position information to be queried is the coordinates (a, b), and the position information of any target included in the visual field of the camera is the coordinates (Xn, Yn). The distance L between the position information to be queried and the target position information can be calculated by the following formula:

[0094]

[0095] Wherein, L is the distance between the position information to be queried and the target position information, Xn is the horizontal coordinate of the target position information, a is the horizontal coordinate of the position information to be queried, Yn is the vertical coordinate of the target position information, and b is the vertical coordinate of the position information to be queried.

[0096] Through the above formula, the electronic device can calculate the distance between the position information to be queried and each target position information included in the visual range of the camera.

[0097] S202: If the distance satisfies a preset distance condition, determine the identifier of the camera corresponding to the target location information corresponding to the distance as the identifier of the camera that can capture the scene corresponding to the location information to be queried.

[0098] For each pre-calibrated camera, after the electronic device calculates the distance between the position information to be queried and the target position information included in the visual range of the camera, it can determine whether the distance meets the preset distance condition.

[0099] In one embodiment, the preset distance condition may be: the distance between the position information to be queried and the target position information included in the visual field of the camera is not greater than a preset distance threshold D. The preset distance threshold D may be 0.3 meters, 0.5 meters, etc., and may be set based on the amount of target position information and positioning accuracy, etc., and is not specifically limited here.

[0100] When the distance L between the query position information and the target position information included in the visual field of the camera is less than or equal to the preset distance threshold D, it means that there is at least one target position information in the target position information included in the visual field of the camera, so that the distance between the position information to be queried and the target position information meets the preset distance condition. The electronic device can determine the identifier of the camera corresponding to the target position information corresponding to the distance as the identifier of the camera that can capture the scene corresponding to the position information to be queried.

[0101] When L is greater than D, it means that the distance between the position information to be queried and each target position information in the target position information included in the visual field of the camera does not meet the preset distance condition, and the identification of the camera is not the identification of a camera that can capture the scene corresponding to the position information to be queried. The electronic device can continue to calculate the distance between the position information to be queried and the target position information included in the visual field of other cameras, and determine whether the distance meets the preset distance condition.

[0102] In this embodiment, the electronic device can calculate the distance between the position information to be queried and the target position information included in the visual field of the pre-calibrated camera. If the distance meets the preset distance condition, the identification of the camera corresponding to the target position information corresponding to the distance can be determined as the identification of the camera that can capture the scene corresponding to the position information to be queried. Through the above scheme, the electronic device can accurately calculate the distance between the position information to be queried and the target position information included in the visual field of the camera, and accurately determine whether the camera can capture the scene corresponding to the position information to be queried, and then determine the identification of the camera that can capture the scene corresponding to the position information to be queried.

[0103] As an implementation method of the embodiment of the present invention, Figure 3 As shown, before the step of obtaining the location information to be queried, the method may further include:

[0104] S301, obtaining a plurality of position information of a movable target during movement and a time point corresponding to each position information.

[0105] In the solution of the embodiment of the present invention, there can be one or more cameras, and the multiple cameras can be set at different positions of the target monitoring scene. For example, the target monitoring scene can be a main road in a city, and the cameras can be set at a certain distance and at a certain angle on both sides of the main road. The visual range of the camera is the actual physical space area that can be covered by the camera's shooting picture. The visual ranges of multiple cameras are different, and different scenes of the main road can be captured.

[0106] In order to determine the visual field of the camera, the movable target can move in the target monitoring scene, and the electronic device can obtain multiple position information of the movable target during the movement and the time point corresponding to each position information. In one embodiment, the movable target can determine its own position information in real time. For example, the movable target can be a movable device such as a vehicle with a GPS function, a robot or a drone carrying a positioning device, or a marker set on the movable device, which is not specifically limited here.

[0107] During the movement of the movable target, the electronic device can obtain the position information of the movable target, and the position information can be the real-time positioning information of the movable target. For example, it can be the geographical coordinates of the movable target, that is, the longitude and latitude. Then, the electronic device can obtain multiple position information of the movable target during the movement and the time point corresponding to each position information, and the time point is the moment when the corresponding position information is obtained.

[0108] If the movable target has a small moving range and does not completely cover the camera's visual range, the movable target may always be within the camera's shooting angle of view. In this case, if the camera's visual range is determined based only on the acquired multiple position information, the obtained visual range may be small, which may be part of the camera's visual range. The result is not accurate.

[0109] In order to determine the complete visual range of the camera, in one embodiment, the moving range of the movable target can completely cover the visual range of the camera, and the movable target can move within a larger range in the target monitoring scene so that the moving range covers the visual range of the camera as much as possible.

[0110] Taking the above-mentioned target monitoring scene as the main road of the city as an example, the movable target can not only move in the key areas of the main road, such as the central area of ​​the road; it can also move in the road edge, road periphery and other areas of the main road. In this way, the position information of the movable target can include multiple position information within the camera shooting angle, and may also include position information outside the camera shooting angle. Therefore, the electronic device can obtain as much position information of the movable target as possible during the movement process and the time point corresponding to each position information, which can be used to determine the complete visual range of the camera.

[0111] In one implementation, multiple location information of the movable target during the movement and the time point corresponding to each location information may be recorded, as shown in the following table, where the location information is the geographic coordinates of the movable target:

[0112] Location Information Time x1,y1 T1 x2,y2 T2 x3,y3 T3 x4,y4 T4 x5,y5 T5 x6,y6 T6 x7,y7 T7 x8,y8 T8 x9,y9 T9 x10,y10 T10 … … xn,yn Tn

[0113] Among them, the position information is the position information of the movable target during the movement process, and the time point is the moment when the corresponding position information is obtained. For example, if the electronic device obtains the position information of the movable target as (x9, y9) at time T9, the position information can be recorded as x9, y9; and the recorded time point is T9.

[0114] S302: Determine target position information from the plurality of position information based on images captured by the camera during the movement of the movable target and the time point.

[0115] The target position information is the position information of the movable target when the camera can capture the movable target. In other words, the target position information is the position information when the movable target is within the visual field of the camera, and can be used to calibrate the visual field of the camera. During the movement of the movable target, the camera can capture images. Based on the images captured by the camera, the electronic device can determine whether the camera has captured the movable target.

[0116] If the camera captures a movable target, it means that the movable target is within the visual field of the camera when the camera captures the image, and the position information of the movable target at this time can be used as the target position information. The electronic device can determine a matching time point from the time points corresponding to the multiple position information based on the capture time of the image, and then determine the position information corresponding to the time point as the target position information.

[0117] For example, the movable target is a car with GPS function, and the target monitoring scene is a main road in the city. When the car is driving on the main road, the electronic device can record the geographical coordinates of the car in real time. At the same time, the camera can continuously capture images of the main road. If the image of the main road captured by the camera at time t1 contains the car, the electronic device can determine the geographical coordinates at the time of acquisition t1 from the recorded geographical coordinates of the car as the target location information.

[0118] If the camera does not capture the movable target, it means that when the camera captures the image, the movable target is outside the visual field of the camera, and the position information of the movable target at this time is not used as the target position information.

[0119] In one embodiment, the electronic device can be pre-trained to obtain a movable target recognition model, which can perform image feature analysis on the image captured by the camera, and identify whether there is a movable target in the captured image based on the image feature analysis result. The movable target recognition model can be a deep learning model such as a convolutional neural network, a recurrent neural network, etc. that can recognize targets in an image, and is not specifically limited here.

[0120] S303: Establish a corresponding relationship between the camera identifier and the target location information.

[0121] The camera identification can be used to distinguish different cameras. The electronic device has obtained the target position information within the visual field of the camera, and then the corresponding relationship between the camera identification and the target position information can be established. Since the target position information is the position information of the movable target when the camera can capture the movable target, it can be used to identify the actual physical space area that can be covered by the camera's shooting picture.

[0122] In one implementation, the correspondence between the camera identifier and the target location information may be recorded as shown in the following table, where the target location information is the geographic coordinates of the movable target:

[0123]

[0124] Among them, Camera 1 corresponds to n target positions. For example, it can be determined through the table that the visual range of the camera identified as Camera 1 includes the scene corresponding to the geographic coordinates x6, y6.

[0125] In this way, the visual range of the camera can be determined without determining the intrinsic and extrinsic parameters of the camera or the actual position of one or more objects in the scene. For example, the first camera is identified as Camera 1. When the position information of a target to be identified is the same as or close to one of the multiple target position information corresponding to Camera 1, it can be determined that the target to be identified is within the visual range of the first camera.

[0126] In one implementation, if the environment of the target monitoring scene changes, or the installation angle, height, etc. of the camera is adjusted, the actual physical space area that can be covered by the camera shooting picture will also change, thereby affecting the visual range of the camera. In this case, the above-mentioned camera visual range calibration scheme can be executed multiple times based on actual usage needs to obtain new target position information, and then update the corresponding relationship between the camera identification and the target position information. The calibration of the camera's visual range can be actively updated, which has a good auxiliary effect on the precise use of the camera.

[0127] In this embodiment, the electronic device can obtain multiple position information of the movable target during the movement process and the time point corresponding to each position information. And based on the images and time points captured by the camera during the movement of the movable target, the target position information is determined from the multiple position information. Then, a corresponding relationship between the camera identification and the target position information is established. Through this solution, the electronic device can calibrate the visual field of the camera without obtaining the intrinsic and extrinsic parameters of the camera. In addition, this solution has fewer restrictions on the usage scenarios, which improves the applicability of the visual field calibration of the camera.

[0128] As an implementation method of the embodiment of the present invention, Figure 4 As shown, the step of determining the target position information from the plurality of position information based on the image captured by the camera during the movement of the movable target and the time point may include:

[0129] S401, acquiring a plurality of images captured by a camera during the movement of the movable target and the capture time corresponding to each image.

[0130] During the movement of the movable target, the camera can capture images, and then the electronic device can obtain multiple images captured by the camera during the movement of the movable target and the capture time corresponding to each image. In one embodiment, for each camera, among the multiple images captured by the camera, some images may contain the movable target, and some images may not contain the movable target. The electronic device can record the identification of each image captured by the camera, the capture time corresponding to each image, and the identification of whether the image contains the movable target, as shown in the following table:

[0131]

[0132]

[0133] Among them, "Y" is used to indicate that the corresponding image contains a movable target, and "N" is used to indicate that the corresponding image does not contain a movable target. For example, the image with the image identifier "n" is captured by the camera corresponding to Camera 1 at time tn, and the image contains a movable target.

[0134] S402: Determine, from the multiple images, an image including the movable target as a target image.

[0135] The target image is an image captured by the camera when the movable target is within the visual field of the camera. If the image captured by the camera contains the movable target, it means that when the camera captured the image, the movable target was within the visual field of the camera, and the position information of the movable target at this time is the target position information, and the image is the target image.

[0136] The electronic device may determine, from among the multiple images, an image containing a movable target as the target image. In one embodiment, for each camera, the electronic device may perform data cleaning on the multiple images captured by the camera. That is, the electronic device may remove images that do not contain the movable target and only retain images containing the movable target as the target image. The multiple images captured by each camera after data cleaning may be recorded as shown in the following table:

[0137]

[0138]

[0139] Among the images captured by the camera corresponding to Camera 1, the images corresponding to the image identifiers "3", "4", and "6" do not contain movable targets and are removed during the data cleaning process. The images corresponding to the image identifiers "1", "2", "5", and "n" contain movable targets and can be retained as target images during the data cleaning process.

[0140] S403: Determine, from the plurality of pieces of position information, position information whose corresponding time point matches the acquisition time of the target image as target position information.

[0141] After acquiring a target image containing a movable target, the electronic device can determine the location information that matches the acquisition time and the time point based on the acquisition time of the target image and the time point corresponding to the location information, as the target location information. In one embodiment, the electronic device acquires multiple location information of the movable target during movement at a high frequency, and the time points corresponding to each two adjacent location information are close. The electronic device can determine the time point that is the same as the acquisition time of the target image based on the acquisition time of the target image, and use the location information corresponding to the time point as the target location information. The target location information of each camera can be recorded, as shown in the following table:

[0142]

[0143] Among them, the target location information is the geographic coordinates of the movable target, and the target image identifier is the identifier of the target image. Since some images are removed during the data cleaning process, the target image identifier may be different from the image identifier of the image captured by the camera, so it is re-recorded, which may be 1, 2, 3, etc. The acquisition time of the target image can be re-recorded accordingly, which may be t1, t2, t3, etc. The electronic device can determine the time point Tn that is the same as the acquisition time tn of the re-recorded target image, that is, determine multiple time points such as Tn=t1, t2 or t3, and then determine the corresponding location information, and record it as the target location information.

[0144] In another embodiment, the frequency of the electronic device acquiring multiple position information of the movable target during the movement is low, and the time points corresponding to two time-adjacent position information are far apart. In this case, it is difficult to determine a time point that is exactly the same as the acquisition time of the target image. A time threshold can be preset to further determine a time point whose time interval with the acquisition time of the target image is not greater than the preset time threshold, and the position information corresponding to the time point is used as the target position information.

[0145] In this embodiment, the electronic device can obtain multiple images captured by the camera during the movement of the movable target and the capture time corresponding to each image. And from the multiple images, the image containing the movable target is determined as the target image. Then, from the multiple position information, the position information whose corresponding time point matches the capture time of the target image is determined as the target position information. By obtaining the image captured by the camera and determining whether the image contains the movable target, the electronic device can accurately determine the target position information in the multiple position information, and then accurately calibrate the visual field of the camera.

[0146] As an implementation method of the embodiment of the present invention, Figure 5 As shown, the step of determining, from the plurality of position information, the position information corresponding to the time point that matches the acquisition time of the target image as the target position information may include:

[0147] S501, arranging the plurality of position information in order of corresponding time points to obtain arranged position information.

[0148] In the process of matching the corresponding time point with the acquisition time of the target image, in order to accurately obtain the entire visual field of the camera, the number of target images is usually large, and the number of time points corresponding to the position information is also large. If each acquisition time is directly matched with the time point, it takes a lot of time. In order to reduce the time consumption of the matching process and improve the efficiency of the camera visual field calibration, the electronic device can arrange multiple position information in the order of the corresponding time points, and then the electronic device can obtain the arranged position information. For example, it can be arranged in the order from early to late according to the time points, which is not specifically limited here.

[0149] S502: Determine, from the time points corresponding to the arranged position information, each time point that matches the acquisition time of the target image.

[0150] The time points corresponding to the arranged position information have a time sequence. Based on the acquisition time of the target image, the electronic device can quickly determine the time points that match the acquisition time from the time points corresponding to the arranged position information.

[0151] S503: Determine the location information corresponding to each time point as target location information.

[0152] Furthermore, the electronic device can obtain the location information corresponding to each time point as the target location information.

[0153] In this embodiment, the electronic device can arrange multiple position information in the order of corresponding time points to obtain the arranged position information. And from the time points corresponding to the arranged position information, determine each time point that matches the acquisition time of the target image. Then determine the position information corresponding to each time point as the target position information. By arranging multiple position information in the order of corresponding time points, the time consumption of the matching process is reduced, and the efficiency of the camera visual field calibration is improved.

[0154] As an implementation manner of an embodiment of the present invention, the step of determining each time point that matches the acquisition time of the target image from the time points corresponding to the arranged position information may include:

[0155] From the time points corresponding to the arranged position information, the time points whose time intervals with the acquisition time of the target image are not greater than a preset time threshold are determined as the time points that match the acquisition time of the target image.

[0156] When the time interval between two adjacent determinations of the position information of the movable target is long, or the frequency of the electronic device acquiring multiple position information of the movable target during movement is low, the time points corresponding to the arranged position information are far apart from each other. It is difficult for the electronic device to determine the time point that is exactly the same as the acquisition time of the target image from the time points corresponding to the arranged position information.

[0157] At this time, a time threshold can be set in advance, and then from the time points corresponding to the arranged position information, the time points whose time intervals with the acquisition time of the target image are not greater than the preset time threshold are determined, and the time points are used as the time points that match the acquisition time of the target image, and the position information corresponding to the time points is used as the target position information.

[0158] In this embodiment, the electronic device can determine, from the time points corresponding to the arranged position information, the time points whose time intervals with the acquisition time of the target image are not greater than the preset time threshold, as the time points that match the acquisition time of the target image. Thus, when there is no time point that is exactly the same as the acquisition time of the target image, the target position information can be determined conveniently and quickly, thereby improving the efficiency of the camera visual field calibration.

[0159] Corresponding to the above-mentioned camera query method, an embodiment of the present invention further provides a camera query device. The following is an introduction to a camera query device provided by an embodiment of the present invention.

[0160] like Figure 6 As shown, a camera query device, the device comprising:

[0161] The to-be-queried location information obtaining module 601 is used to obtain the to-be-queried location information.

[0162] The camera identification determination module 602 is used to determine the identification of the camera that can capture the scene corresponding to the position information to be queried based on the distance relationship between the position information to be queried and the target position information included in the visual range of the pre-calibrated camera, as the camera identification to be viewed.

[0163] The visual field of the camera includes the correspondence between the camera identification and the target position information, and the target position information is the position information of the movable target when the camera can capture the movable target during the movement of the movable target.

[0164] It can be seen that in the scheme provided by the embodiment of the present invention, the electronic device can obtain the position information to be queried, and based on the distance relationship between the position information to be queried and the target position information included in the visual field of the pre-calibrated camera, the identification of the camera that can capture the scene corresponding to the position information to be queried can be determined as the camera identification to be viewed; wherein the visual field of the camera includes the corresponding relationship between the camera identification and the target position information, and the target position information is the position information of the movable target when the camera can capture the movable target during the movement of the movable target. In the above scheme, the visual field of the pre-calibrated camera includes the corresponding relationship between the camera identification and the target position information. During the movement of the movable target, if the camera can capture the movable target, it means that the movable target is within the visual field of the camera at this time, and the position information of the movable target can be used as the target position information. The electronic device can obtain the position information to be queried, and then based on the distance relationship between the position information to be queried and the target position information included in the visual field of the camera, the identification of the camera that can capture the scene corresponding to the position information to be queried can be determined as the camera identification to be viewed. This solution can determine the camera that can capture the scene to be queried without manual observation, greatly improving the efficiency of camera query.

[0165] As an implementation of an embodiment of the present invention, the above-mentioned to-be-viewed camera identification determination module 602 may include:

[0166] The distance calculation submodule is used to calculate the distance between the position information to be queried and the target position information included in the visual range of the pre-calibrated camera.

[0167] The submodule for determining the identification of the camera to be viewed is used to determine the identification of the camera corresponding to the target position information corresponding to the distance as the identification of the camera that can capture the scene corresponding to the position information to be queried if the distance meets the preset distance condition.

[0168] As an implementation method of the embodiment of the present invention, Figure 7 As shown, the above device may also include:

[0169] The position information acquisition module 701 is used to acquire multiple position information of the movable target during the movement process and the time point corresponding to each position information before the step of acquiring the position information to be queried.

[0170] The target position information determination module 702 is used to determine the target position information from the multiple position information based on the images captured by the camera during the movement of the movable target and the time point.

[0171] The target position information is the position information of the movable target when the camera is able to capture the movable target.

[0172] The corresponding relationship establishing module 703 is used to establish the corresponding relationship between the camera identifier and the target position information.

[0173] As an implementation of an embodiment of the present invention, the target location information determination module 702 may include:

[0174] The image acquisition submodule is used to obtain a plurality of images acquired by the camera during the movement of the movable target and the acquisition time corresponding to each image.

[0175] The target image determination submodule is used to determine an image containing the movable target from the multiple images as the target image.

[0176] The target position information determination submodule is used to determine, from the multiple position information, position information whose corresponding time point matches the acquisition time of the target image as the target position information.

[0177] As an implementation manner of an embodiment of the present invention, the above-mentioned target location information determination submodule may include:

[0178] The position information arrangement unit is used to arrange the plurality of position information in the order of corresponding time points to obtain arranged position information.

[0179] A time matching unit is used to determine, from the time points corresponding to the arranged position information, each time point that matches the acquisition time of the target image.

[0180] The target position information determining unit is used to determine the position information corresponding to each time point as the target position information.

[0181] As an implementation manner of an embodiment of the present invention, the time matching unit may include:

[0182] The time matching subunit is used to determine, from the time points corresponding to the arranged position information, the time points whose time intervals with the acquisition time of the target image are not greater than a preset time threshold, as the time points that match the acquisition time of the target image.

[0183] The embodiment of the present invention further provides an electronic device, such as Figure 8 As shown, it includes a processor 801, a communication interface 802, a memory 803 and a communication bus 804, wherein the processor 801, the communication interface 802, and the memory 803 communicate with each other through the communication bus 804.

[0184] Memory 803, used for storing computer programs;

[0185] The processor 801 is used to implement the method steps described in any of the above embodiments when executing the program stored in the memory 803.

[0186] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. 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.

[0187] The communication interface is used for communication between the above electronic device and other devices.

[0188] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0189] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0190] In another embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the steps of the method described in any of the above embodiments are implemented.

[0191] In another embodiment of the present invention, a computer program product including instructions is provided, which, when executed on a computer, enables the computer to execute the method steps described in any of the above embodiments.

[0192] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.

[0193] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0194] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for devices, electronic devices, computer-readable storage media, and computer program products, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

[0195] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. A camera query method, characterized in that: The method comprises: Acquire multiple position information of the movable target during the movement process and the time point corresponding to each position information; Based on the images captured by the camera during the movement of the movable target and the time point, determine the target position information from the multiple position information, wherein the target position information is the position information of the movable target when the camera can capture the movable target; Establishing a corresponding relationship between the camera identifier and the target location information; Get the location information to be queried; Based on the distance relationship between the position information to be queried and the target position information included in the visual range of the pre-calibrated camera, determine the identifier of the camera that can capture the scene corresponding to the position information to be queried as the camera identifier to be viewed; The visual field of the camera includes a correspondence between a camera identifier and target position information, wherein the target position information is position information of the movable target when the camera can capture the movable target during its movement; The step of determining the target position information from the plurality of position information based on the image captured by the camera during the movement of the movable target and the time point comprises: Acquire multiple images captured by the camera during the movement of the movable target and the capture time corresponding to each image; Determining, from the plurality of images, an image including the movable object as a target image; From the multiple pieces of position information, position information whose corresponding time point matches the acquisition time of the target image is determined as the target position information.

2. The method according to claim 1, characterized in that The step of determining the identifier of a camera capable of photographing a scene corresponding to the position information to be queried based on the distance relationship between the position information to be queried and the target position information included in the visual range of the pre-calibrated camera includes: Calculating the distance between the position information to be queried and the target position information included in the visual range of the pre-calibrated camera; If the distance satisfies a preset distance condition, the identifier of the camera corresponding to the target position information corresponding to the distance is determined as the identifier of the camera that can capture the scene corresponding to the position information to be queried.

3. The method according to claim 1, characterized in that The step of determining, from the plurality of position information, position information corresponding to a time point that matches the acquisition time of the target image as target position information comprises: Arranging the plurality of position information in order of corresponding time points to obtain arranged position information; Determining, from the time points corresponding to the arranged position information, each time point that matches the acquisition time of the target image; The location information corresponding to each time point is determined as the target location information.

4. The method according to claim 3, characterized in that The step of determining, from the time points corresponding to the arranged position information, each time point that matches the acquisition time of the target image comprises: From the time points corresponding to the arranged position information, the time points whose time intervals with the acquisition time of the target image are not greater than a preset time threshold are determined as the time points that match the acquisition time of the target image.

5. A camera query device, characterized in that: The device comprises: A position information acquisition module, used to acquire multiple position information of the movable target during the movement process and the time point corresponding to each position information before the step of acquiring the position information to be queried; a target position information determination module, configured to determine the target position information from the plurality of position information based on the image captured by the camera during the movement of the movable target and the time point, wherein the target position information is the position information of the movable target when the camera is able to capture the movable target; A corresponding relationship establishing module, used to establish a corresponding relationship between the camera identifier and the target position information; A module for obtaining the location information to be queried, used for obtaining the location information to be queried; A module for determining the identification of a camera to be viewed, configured to determine, based on a distance relationship between the position information to be queried and target position information included in a pre-calibrated visual range of a camera, an identification of a camera that can capture a scene corresponding to the position information to be queried, as the identification of the camera to be viewed; The visual field of the camera includes a correspondence between a camera identifier and target position information, wherein the target position information is position information of the movable target when the camera can capture the movable target during its movement; The target location information determination module includes: An image acquisition submodule, used to acquire a plurality of images acquired by a camera during the movement of the movable target and the acquisition time corresponding to each image; A target image determination submodule, used to determine, from the multiple images, an image containing the movable target as the target image; The target position information determination submodule is used to determine, from the multiple position information, position information whose corresponding time point matches the acquisition time of the target image as the target position information.

6. The device according to claim 5, characterized in that The module for determining the identity of the camera to be viewed includes: A distance calculation submodule, used to calculate the distance between the position information to be queried and the target position information included in the visual range of the pre-calibrated camera; A submodule for determining the identification of a camera to be viewed, for determining the identification of a camera corresponding to the target position information corresponding to the distance as the identification of a camera capable of photographing the scene corresponding to the position information to be queried, if the distance satisfies a preset distance condition; The target location information determination submodule includes: A position information arrangement unit, used to arrange the plurality of position information in the order of corresponding time points to obtain arranged position information; A time matching unit, used to determine, from the time points corresponding to the arranged position information, each time point that matches the acquisition time of the target image; a target position information determining unit, configured to determine the position information corresponding to each time point as the target position information; The time matching unit comprises: The time matching subunit is used to determine, from the time points corresponding to the arranged position information, the time points whose time intervals with the acquisition time of the target image are not greater than a preset time threshold, as the time points that match the acquisition time of the target image.

7. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, for implementing the method steps described in any one of claims 1 to 4 when executing a program stored in a memory.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps described in any one of claims 1 to 4 are implemented.