Image storage space determination method and apparatus, electronic device, and storage medium

CN117348790BActive Publication Date: 2026-10-23ZHEJIANG UNIVIEW TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210749127.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-28
Publication Date
2026-10-23
Estimated Expiration
2042-06-28

AI Technical Summary

Technical Problem

但是,图像检测系统的存储容量不易准确配置,容易出现图像存储空间配置不合理,导致出现实际存储与需求存储不一致,导致关键数据被覆盖或者存储配置过多导致空间浪费等问题

Benefits of technology

[0018]本发明实施例的技术方案,通过确定目标区域在参考周期中不同时段对应的候选出行位置;所述候选出行位置包括出行对象在目标区域内出行移动时位于目标拍摄点位所属路段上的出行位置;从所述候选出行位置中确定目标拍摄点位在参考周期中不同时段对应的目标出行位置;所述目标出行位置包括落入目标拍摄点位对应拍摄视域的候选出行位置,所述目标拍摄点位包括目标区域中预设的用于抓拍的拍摄点位;依据目标拍摄点位在参考周期中不同时段对应的目标出行位置量,确定所述目标区域在目标周期所需要的图像存储空间;所述目标周期包括位于所述参考周期之后的邻近时间周期。解决了视频监控中实际的存储空间与需求存储空间不一致问题,以提升城市智能抓拍存储的预估准确性,实现合理图像存储空间。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117348790B_ABST
    Figure CN117348790B_ABST
Patent Text Reader

Abstract

The application discloses a kind of image storage space determination method, device, electronic equipment and storage medium, the method includes: determining the candidate location of target area in reference period corresponding to different time period;From the candidate location, determine the target location of target shooting point in reference period corresponding to different time period;According to the target location of target shooting point in reference period corresponding to different time period, determine the image storage space required by the target area in target period;The target period includes adjacent time period after the reference period.The technical scheme of the embodiment of the present application solves the problem that the actual storage space and the required storage space are inconsistent in video monitoring, to improve the estimation accuracy of urban intelligent snapshot storage, to realize reasonable image storage space.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of image data storage technology, and in particular to a method, apparatus, electronic device, and storage medium for determining image storage space. Background Technology

[0002] Currently, security detection is widely used in urban security maintenance, especially with the rapid development of artificial intelligence, and its application in intelligent recognition scenarios is increasing; for example, the identification of traffic incidents and traffic violations, facial recognition, and action behavior analysis.

[0003] The construction of safe cities requires the capture and storage of images of pedestrians and vehicles for use in emergency situations. However, the storage capacity of image detection systems is not easily configured accurately, leading to problems such as inadequate image storage space allocation, discrepancies between actual and required storage, overwriting of critical data, or excessive storage configuration resulting in wasted space. Summary of the Invention

[0004] This invention provides a method, apparatus, electronic device, and storage medium for determining image storage space, so as to improve the prediction accuracy of intelligent image capture and storage in cities and achieve reasonable image storage space.

[0005] According to one aspect of the present invention, a method for determining image storage space is provided, characterized in that the method includes:

[0006] Determine candidate travel locations for the target area at different time periods within the reference period; the candidate travel locations include the travel locations of the traveler on the road segment to which the target shooting point belongs when the traveler moves within the target area; the target shooting point includes the preset shooting point in the target area for capturing images.

[0007] The target travel location corresponding to the target shooting point in different time periods within the reference period is determined from the candidate travel locations; the target travel location includes candidate travel locations that fall within the shooting field of view corresponding to the target shooting point;

[0008] Based on the target travel location data corresponding to different time periods within the reference period, the image storage space required for the target area in the target period is determined; the target period includes adjacent time periods following the reference period.

[0009] According to another aspect of the present invention, an image storage space determination apparatus is provided, characterized in that the apparatus comprises:

[0010] The candidate travel location determination module is used to determine the candidate travel locations of the target area at different time periods within the reference period; the candidate travel locations include the travel locations of the traveler on the road segment to which the target shooting point belongs when the traveler moves within the target area; the target shooting point includes the preset shooting point in the target area for capturing images.

[0011] The target travel location determination module is used to determine the target travel location corresponding to the target shooting point at different time periods in the reference period from the candidate travel locations; the target travel location includes candidate travel locations that fall within the shooting field of view corresponding to the target shooting point.

[0012] The image storage space determination module is used to determine the image storage space required by the target area in the target period based on the target travel location corresponding to different time periods in the reference period; the target period includes the adjacent time period after the reference period.

[0013] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0014] At least one processor; and

[0015] A memory communicatively connected to the at least one processor; wherein,

[0016] The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the image storage space determination method according to any embodiment of the present invention.

[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the image storage space determination method according to any embodiment of the present invention.

[0018] The technical solution of this invention determines candidate travel locations corresponding to different time periods within a reference period for a target area. These candidate travel locations include the travel locations of individuals moving within the target area and situated on the road segment corresponding to the target shooting point. From these candidate travel locations, the target travel locations corresponding to the target shooting point within different time periods within the reference period are determined. The target travel locations include candidate travel locations falling within the shooting field of view of the target shooting point, and the target shooting points include preset shooting points within the target area for image capture. Based on the number of target travel locations corresponding to the target shooting point within different time periods within the reference period, the image storage space required by the target area in the target period is determined. The target period includes adjacent time periods following the reference period. This solves the problem of discrepancies between actual and required storage space in video surveillance, improving the accuracy of urban intelligent image capture storage estimation and achieving reasonable image storage space.

[0019] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0020] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0021] Figure 1 This is a flowchart of an image storage space determination method provided in Embodiment 1 of the present invention;

[0022] Figure 2A This is a flowchart of an image storage space determination method provided in Embodiment 2 of the present invention;

[0023] Figure 2B This is a schematic diagram of the layout of a camera for capturing images at first-level, second-level, and third-level intersections provided in an embodiment of the present invention;

[0024] Figure 2C This is a schematic diagram of the layout of a camera at a level four junction provided in an embodiment of the present invention;

[0025] Figure 2D This is a schematic diagram of the layout of a camera at a level 5 intersection provided in an embodiment of the present invention;

[0026] Figure 2E This is a schematic diagram of the layout of a capture device for key areas provided in an embodiment of the present invention;

[0027] Figure 2F This is a schematic diagram of a simulated urban monitoring system provided in an embodiment of the present invention;

[0028] Figure 3A This is a flowchart of an image storage space determination method provided in Embodiment 3 of the present invention;

[0029] Figure 3B This is a schematic diagram of a preliminary travel location structure provided by an embodiment of the present invention;

[0030] Figure 3C This is a structural schematic diagram of the shooting angle of a snapshot camera provided in an embodiment of the present invention;

[0031] Figure 3D This is a schematic diagram of the location points and visible range of camera A on the map provided in this embodiment of the invention;

[0032] Figure 3E This is a schematic diagram of the effective capture area of ​​camera A provided in an embodiment of the present invention;

[0033] Figure 3F This is a schematic diagram of physical address distribution provided in an embodiment of the present invention;

[0034] Figure 3G This is a schematic diagram of the structure of a travel object corresponding to the shooting field of view and the non-shooting field of view at the target shooting point, provided in an embodiment of the present invention;

[0035] Figure 4 This is a schematic diagram of the structure of an image storage space determination device provided in Embodiment 4 of the present invention;

[0036] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0037] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0038] It should be noted that the terms "candidate," "target," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0039] The acquisition, storage, use, and processing of data and location in this embodiment of the invention comply with the relevant provisions of national laws and regulations.

[0040] Example 1

[0041] Figure 1 This is a flowchart illustrating a method for determining image storage space according to Embodiment 1 of the present invention. This embodiment is applicable to situations where image storage space needs to be determined. This method can be executed by an image storage space determining device, which can be implemented in hardware and / or software. This image storage space determining device can be configured in any electronic device with network communication capabilities. Figure 1 As shown, the method includes:

[0042] S110. Determine the candidate travel locations for the target area at different time periods within the reference period.

[0043] The target area can refer to the area where it is necessary to capture images of people and vehicles engaged in social activities; for example, subway entrances and traffic intersections with high pedestrian traffic; the target area includes, but is not limited to, building entrances and exits, driving lanes and road intersections.

[0044] The reference period can refer to the time interval for obtaining candidate travel locations, which can be a day, a week, or a month. In this embodiment of the invention, the reference period is one or more weeks divided according to a weekday system, and the one or more weeks are further divided into multiple different time periods; for example, a week can be divided into 7 time periods, with each day serving as one time period. In this embodiment of the invention, the reference period can refer to one week, obtaining candidate travel locations corresponding to different time periods within a week.

[0045] Travel location can refer to the travel location reported by various travelers when moving within the target area. Candidate travel locations include the travel locations of travelers within the target area on the road segment corresponding to the target shooting point, and each candidate travel location is configured with a candidate travel time. For example, capture devices are installed in all directions of the pedestrian crossing at a road intersection to capture images of pedestrians moving in the non-motorized vehicle lane. The candidate travel location can refer to the travel location of the pedestrian on the non-motorized vehicle lane within a preset range of 500 meters centered on the road intersection. The capture device can refer to a camera; the preset range can be set according to the acquisition distance of the capture device, and the preset range can be within 200 meters or 300 meters, without specific limitations in this embodiment of the invention.

[0046] S120. Determine the target travel location corresponding to the target shooting point at different time periods in the reference period from the candidate travel locations.

[0047] The target shooting point refers to a shooting point within a target area for capturing images. This includes pre-set shooting points within the target area for capturing images. The target shooting points can be set up based on the density of people, the road surface, and the building's grade. For example, multiple shooting devices can be set up in densely populated areas such as subway entrances or stations to form a closed-loop monitoring system. For instance, if shooting device A captures a pedestrian entering the target area, and shooting device B captures a pedestrian leaving the target area, closed-loop capturing of pedestrians within the target area can be achieved.

[0048] The target travel location can refer to the travel location on the non-motorized vehicle lane within the shooting area of ​​the target shooting point. The target travel location includes candidate travel locations that fall within the shooting field of view corresponding to the target shooting point. For example, if a shooting device is installed at a road intersection, and the shooting area of ​​the shooting device includes only one non-motorized vehicle lane, then the non-motorized vehicle lane included in the shooting area is the target travel location.

[0049] In this embodiment of the invention, the target travel location corresponding to the target shooting point in different time periods of the reference period is determined from the candidate travel locations, so as to determine the capture volume of the target travel location in different time periods of the reference period.

[0050] S130. Based on the target travel location data corresponding to different time periods in the reference period, determine the image storage space required for the target area in the target period.

[0051] Specifically, the number of target travel locations corresponding to the target shooting points at different time periods within a reference period is determined. Using the target travel location data obtained within the reference period, the number of target travel locations within the target period can be estimated. The target period includes adjacent time periods following the reference period. In this embodiment of the invention, the target period is one week. The number of target travel locations within the target period is estimated based on the number of target travel locations within the reference period, thereby determining the image storage space required for the target area within the target period.

[0052] Image storage space refers to the storage space required for images captured by each capture device at different times within a reference period corresponding to the target travel location. For example, if four capture devices are set up in target area 1, the storage spaces required by the four capture devices at different times within a week are Z1, Z2, Z3, and Z4, respectively. That is, the total image storage space required per week is Z = Z1 + Z2 + Z3 + Z4.

[0053] This invention provides a method for determining image storage space. The method involves determining candidate travel locations for a target area at different time periods within a reference period; determining the target travel location for a target shooting point at different time periods within the reference period from the candidate travel locations; and determining the image storage space required for the target area within the target period based on the number of target travel locations corresponding to the target shooting point at different time periods within the reference period. This invention solves the problem of discrepancies between actual and required storage space in video surveillance. By obtaining the number of target travel locations that a traveler falls into during movement within the target area at different time periods within the reference period, the required image storage space for the target area within the target period is determined. Furthermore, by setting the capture area of ​​the capture device, effective personnel travel capture data is obtained, improving the accuracy of urban intelligent capture storage prediction and achieving reasonable image storage space allocation.

[0054] Example 2

[0055] Figure 2A This is a flowchart illustrating a method for determining image storage space according to Embodiment 2 of the present invention. The embodiments of the present invention further optimize the aforementioned embodiments, and can be combined with various optional solutions from one or more of the above embodiments. For example... Figure 2A As shown, in this embodiment of the invention, before estimating the image storage space, the acquisition of urban monitoring data and social dynamic data is also included. The acquisition of road network data, as illustrated in this embodiment, may include the following steps:

[0056] A1: Acquire urban surveillance data. Acquiring urban surveillance data includes acquiring urban road data, urban road intersection data, and urban key building data.

[0057] The road data is further refined to include the road's classification, the number of lanes, and lane direction. Table 1 shows the road data for Road A and Road B obtained in this embodiment of the invention. As shown in Table 1, the latitude and longitude information of Road A and Road B can be obtained, and the roads can be classified into different classifications. Class 1 refers to a first-level road, Class 2 refers to a second-level road, Class 3 refers to a third-level road, and so on. Further details will not be elaborated upon in this embodiment of the invention.

[0058] Table 1 Road Data

[0059]

[0060] Table 2 shows the road data obtained based on road level provided in the embodiments of the present invention. As shown in Table 2, the vehicle data includes level, vehicle speed, number of one-way motor vehicle lanes, width of motor vehicle lanes, total road width, and median strip setting.

[0061] Table 2 Road Data Levels

[0062]

[0063] Table 3 shows the lane data provided in the embodiments of the present invention.

[0064] Table 3 Lane Data

[0065]

[0066]

[0067] Table 4 shows the junction data provided in the embodiments of the present invention.

[0068] Table 4. Data on intersections

[0069] 10005 R000005 <![CDATA[(x 13 ,and 13 )]]> 10006 R000006 <![CDATA[(x 14 ,and 14 )]]>

[0070] Table 5 presents key building data provided in this embodiment of the invention. This key building data includes existing building data, building data under construction, and planned building data.

[0071] Table 5 Key Building Data

[0072] 10005 R000005 E 1 1 <![CDATA[(x 15 ,and 15 )]]> 10006 R000006 F 2 3 <![CDATA[(x 16 ,and 16 )]]>

[0073] A2: Generate road and key building data. Based on the data in step A, key roads and key areas are defined according to the following principles: key roads are roads of level three or above (level one, two, and three), secondary roads are level four roads, and general roads are level five roads; the principle for defining intersections is that intersections of roads of the same level are defined as that level, and intersections of different levels are defined as the level of the higher road. According to this principle, the levels of intersections are defined as level one, two, three, four, and five. For example, intersection A includes roads 1 and 2, both of which are level one, so intersection A is level one; intersection B includes roads 3, 4, and 5, both of which are level three, and road 5 is level two, so intersection B is level two. Table 6 shows a key area level classification provided in this embodiment of the invention.

[0074] Table 6 Key Area Levels

[0075]

[0076]

[0077] A3: Automatically generate simulated urban monitoring point data. Based on the classification of roads and buildings in step A2, set the layout of the capture devices.

[0078] Figure 2B This is a schematic diagram of the layout of a camera system for first-level, second-level, and third-level intersections provided in this embodiment of the invention. (See attached diagram.) Figure 2B Traffic cameras are installed in all directions of the pedestrian crossing. The diagram uses pentagons to represent these cameras, and arrows indicate their shooting directions. These directions can be outwards from the road or towards the center of the intersection. For level 1, 2, and 3 intersections, installing cameras in all directions of the pedestrian crossing effectively captures data on all pedestrians passing through the intersection, preventing missed captures and ensuring sufficient image storage space.

[0079] Figure 2C This is a schematic diagram of the layout of a camera at a level four junction, provided in an embodiment of the present invention. (See attached diagram.) Figure 2C Four camera sensors are installed at the corner of the intersection to capture data on all personnel passing through the intersection. In one optional embodiment of the invention, the camera sensors are positioned pointing towards the center of the intersection, effectively capturing data on all personnel passing through the intersection.

[0080] Figure 2D This is a schematic diagram of the layout of a camera at a level 5 intersection provided in an embodiment of the present invention. See also... Figure 2DTwo cameras are set up at the corner of the intersection, positioned diagonally. By adjusting the shooting angle of the two cameras, data on all personnel passing through the intersection can be obtained.

[0081] Figure 2E This is a schematic diagram of the layout of image capture devices for key areas provided in this embodiment of the invention. Each entrance and exit to a public area in the city must have a corresponding monitoring device. (See also...) Figure 2E In this embodiment of the invention, a subway station exit is used as an example. Capture devices are installed at both the subway station entrance and exit to obtain data on all personnel entering and exiting the subway station.

[0082] For areas classified as Q2, if there are roads and intersections of level 1, 2, and 3 in the surrounding area, monitoring is required for entry into the Q2 area. If there are only roads and intersections of level 4 and 5 in the surrounding area, monitoring is required for both entry into and exit from the Q2 area. In other words, if there are many level 1, 2, and 3 roads and intersections in the surrounding area with a large number of monitoring devices installed, monitoring devices can be installed in the Q2 key area. If there are only level 4 and 5 roads and intersections in the surrounding area with a small number of monitoring devices, monitoring devices need to be installed at both the entrances and exits of the key area.

[0083] For areas classified as Q3, if there are surrounding roads and intersections of levels one, two, and three, monitoring is not required. If only roads and intersections of levels four and five exist, the nearest road should be checked against the road network to determine if a closed-loop monitoring system exists. If it does, monitoring is not required; otherwise, closed-loop road monitoring is necessary. In other words, in areas classified as Q3, if there are numerous cameras but few people around the area, monitoring is not required. For roads and intersections of levels four and five, if the cameras at these roads and intersections can acquire personnel data for the key area, no further cameras are needed.

[0084] Figure 2F This is a schematic diagram of a simulated urban monitoring system provided in an embodiment of the present invention, such as... Figure 2F As shown, cameras are installed at road intersections and key building areas to effectively collect personnel data.

[0085] This invention provides a method for acquiring urban surveillance data. By classifying roads, intersections, and key buildings into different levels, and setting up different capture devices according to the levels, urban personnel data can be effectively acquired.

[0086] Example 3

[0087] Figure 3A This is a flowchart illustrating a method for determining image storage space according to Embodiment 3 of the present invention. The embodiments of the present invention further optimize the aforementioned embodiments, and can be combined with various optional solutions from one or more of the above embodiments. For example... Figure 3A As shown, the image storage space determination method provided in this embodiment of the invention may include the following steps:

[0088] S310. Determine the initial selected travel location reported by the traveler when traveling within the target area during the reference period, as well as the travel time corresponding to the initial selected travel location.

[0089] The "travel objects" can refer to pedestrians and non-motorized vehicles traveling in the non-motorized vehicle lane. Each pedestrian and non-motorized vehicle traveling in the non-motorized vehicle lane can be considered as a preliminary travel location. The preliminary travel location may include pedestrians and non-motorized vehicles traveling in the non-motorized vehicle lane, and may also include travel objects traveling in the motorized vehicle lane but near the edge of the non-motorized vehicle lane. Table 7 shows the preliminary travel locations reported by the travel objects during their travel within the target area within the reference period provided in this embodiment of the invention, along with the corresponding travel times. The preliminary travel locations and corresponding travel times can be obtained through mobile phone physical address data or radio frequency identification data.

[0090] Table 7 shows the preliminary travel locations and corresponding travel times.

[0091] 10001 C8-1S-LQ-49-N4-U0 2022051023 120.235412 30.125465 10002 FX-PB-92-02-IB-FT 2022051026 120.235521 30.125475

[0092] S320. Filter the initial selected travel locations and divide the filtered initial selected travel locations according to the corresponding travel time to obtain the candidate travel locations corresponding to the target area in different time periods of the reference period.

[0093] Figure 3B This is a schematic diagram of a preliminary travel location structure provided in an embodiment of the present invention. See also... Figure 3B In the diagram, solid lines represent motor vehicle lanes, dashed lines represent non-motor vehicle lanes, and diamond-shaped blocks represent pedestrians and vehicles traveling in the lanes. Travel locations A, B, and C are located at the edge of the non-motor vehicle lanes and may be considered as initial travel locations during data acquisition. Therefore, it is necessary to filter these initial travel locations to remove abnormal data.

[0094] The location filtering operation includes at least one of the following: filtering out the initial travel locations that are not within the preset distance range of the road segment to which the target shooting point belongs, and filtering out the initial travel locations that do not meet the preset walking speed generated by travel within the target area.

[0095] Optionally, the step of filtering the initially selected travel location includes:

[0096] Determine the capture road network data of the target area; wherein the capture road network data includes multiple road segments to which multiple target shooting points belong, each target shooting point to which multiple road segments belong, and the road segment to which the target shooting point belongs belongs to the non-motorized vehicle lane;

[0097] Based on the captured road network data of the target area, the initial selected travel location is filtered to obtain the filtered initial selected travel location.

[0098] The target shooting location is situated on a road segment formed by smaller road segments with known latitude and longitude, thus allowing the acquisition of the road's latitude and longitude data. For example, using... Figure 3B Taking Road 1 and Road 2 as examples, the initial travel locations A, B, C and D in Road 1 and Road 2 can be obtained.

[0099] Optionally, the step of filtering the initially selected travel locations based on the captured road network data of the target area includes:

[0100] The initial travel location is matched with the location of each road segment on the road segment to which the target shooting point belongs in the target area, and the initial travel location that is not within the preset distance range of the road segment to which the target shooting point belongs is eliminated.

[0101] The changing trends of multiple consecutive initial travel locations corresponding to the same traveler within the reference period are judged, and initial travel locations that do not meet the preset walking speed caused by travel within the target area are eliminated.

[0102] Among them, with Figure 3B Taking Road 1 as an example, the latitude and longitude data of any point in the non-motorized vehicle lane of Road 1 are (x n ,y n The latitude and longitude data of the initially selected travel location D are (x m ,y m The distance between the initially selected travel location D and the target shooting point on Road 1 can be calculated using the relevant formulas for calculating distances based on map latitude and longitude. If the distance to the target shooting point is within a preset distance range for that road segment, it indicates that the initially selected travel location D is on the non-motorized vehicle lane of Road 1. If the distance is not within the preset distance range for that road segment, it indicates that the initially selected travel location is not on the non-motorized vehicle lane of Road 1, for example, the initially selected travel location C.

[0103] When a motor vehicle is very close to the road or is not driving on a pedestrian crossing according to traffic rules, some invalid physical addresses or radio frequency identification (RFID) data may exist, and therefore this data needs to be cleared. For example, taking the initially selected travel location B as an example, multiple continuous data points of the initially selected travel location B are obtained, and the speeds of at least three consecutive target shooting points on the road segments are determined to determine whether the initially selected travel location B is valid data. For example, by obtaining the four location points 10001, 10002, 10003, and 10004, the speeds of the initially selected travel location B on the road segments to which the three target shooting points belong are calculated.

[0104] V 10001-10002 =S 10001-10002 / T 10002-10001

[0105] V 10002-10003 =S 10002-10003 / T 10003-10002

[0106] V 10003-10004 =S 10003-10004 / T 10004-10003

[0107] Where S represents distance (meters), T represents time, and V represents speed. The speed between any two locations is obtained in this way. If at least three consecutive speeds exceed a preset speed threshold, the initially selected travel location B is determined to be a non-pedestrian trajectory, possibly indicating a motor vehicle not following traffic rules and traveling in the non-motorized vehicle lane. The preset speed threshold refers to the maximum speed a pedestrian can reach under normal walking conditions. Table 8 shows the initially selected travel location B obtained in the road segment of the target area where the target shooting point is located, as provided in this embodiment of the invention.

[0108] Table 8 Initial Selection of Travel Location B

[0109] 10001 C8-1S-LQ-49-N4-U0 2022051023 x1 y1 10002 C8-1S-LQ-49-N4-U0 2022051025 x2 y2 10003 C8-1S-LQ-49-N4-U0 2022051027 x3 y3

[0110] Initially selected travel locations that are not within a preset distance range of the road segment where the target shooting point is located are eliminated; initially selected travel locations that do not meet the preset walking speed due to travel within the target area are also eliminated, resulting in the filtered initial selected travel locations. Table 9 shows the filtered initial selected travel locations provided in this embodiment of the invention.

[0111] Table 9 shows the preliminary selected travel locations after screening.

[0112] 10001 9P-U5-HI-X2-NP-MM 2022051035 x1 y1 10002 S4-08-SM-B4-TS-LH 2022051035 x2 y2 10003 HX-RU-6N-K8-QC-72 2022051036 x3 y3

[0113] Initially selected travel locations that are outside the preset distance range of the road segment where the target shooting point is located, as well as those that do not meet the preset walking speed, are eliminated to obtain the filtered initial travel locations. Eliminating abnormal initial travel locations reduces unnecessary image storage space and avoids wasting storage space due to excessive image storage.

[0114] S330. Determine the target travel location corresponding to the target shooting point at different time periods in the reference period from the candidate travel locations.

[0115] The commonly used method for estimating storage capacity in current urban development is to estimate the population of the area or the population that may appear in the corresponding key areas, but this calculation method will have an error. Figure 3C This is a structural schematic diagram of the shooting angle of a snapshot camera provided in an embodiment of the present invention. See also... Figure 3C Pedestrians A and B are both very close to the surveillance camera, but cameras have limited viewing angles. Only pedestrians within the viewing angle will be captured. Pedestrian B would not be captured. However, current estimation methods mostly calculate based on the total number of people in the area. This leads to a problem: people who do not meet the criteria for capture or will not be captured are mistakenly included in the total number, resulting in significant errors. Therefore, it is necessary to adjust the shooting angle of the capture camera to capture all pedestrians in the target area.

[0116] Optionally, determining the target travel location corresponding to the target shooting point at different time periods within the reference period from the candidate travel locations includes:

[0117] Determine the location of the target shooting point and the shooting angle of the camera;

[0118] Based on the shooting point and the shooting angle of the camera, determine the shooting field of view corresponding to the target shooting point;

[0119] From the candidate travel locations corresponding to different time periods in the reference period, determine the target travel location that is within the shooting field of view of the target shooting point at different time periods in the reference period.

[0120] Table 10 contains the location information and field of view information of the capture camera provided in the embodiments of the present invention. By referring to Table 10, the location information of any capture camera in the target area and the field of view information of the capture camera can be obtained.

[0121] Table 10. Location information and field of view information of the capture camera

[0122] 10001 c000001 Camera A 120.235458 30.254854 (290°,20°) 10001 c000002 Camera B 120.235446 30.254856 (280°,15°) 10001 c000003 Camera C 120.235231 30.254852 (30°,120°) 10001 c000003 Camera D 120.235213 30.254849 (0°,90°)

[0123] Optionally, from the candidate travel locations corresponding to different time periods within the reference period, the target travel location located within the field of view corresponding to the target shooting point at different time periods within the reference period is determined, including:

[0124] From the candidate travel locations corresponding to different time periods in the reference period, determine the valid travel locations whose shooting locations are within a preset distance range from the target shooting location.

[0125] Select the target travel location from the valid locations that is within the shooting field of view of the target shooting point at different time periods in the reference period.

[0126] in, Figure 3D This is a schematic diagram of the location points and visible area of ​​camera A on the map provided in this embodiment of the invention. See [link / reference]. Figure 3D Taking camera A as an example, the latitude and longitude of camera A are (120.235458, 30.254854), and the field of view is (290°, 20°). Find the corresponding location and field of view on the map.

[0127] The effective capture area of ​​camera A can be obtained by measuring the range of its field of view, and the effective capture area information of camera A can be generated. Figure 3E This is a schematic diagram of the effective capture area of ​​camera A provided in an embodiment of the present invention. See also... Figure 3E The effective capture area of ​​camera A is defined as F, and the effective capture area is marked with a diagonal line.

[0128] Using the latitude and longitude of camera A, obtain all physical address (MAC) information within a 100-meter radius of camera A, define the set as X, and generate dataset X. a ={MAC 1, MAC2,…,MAC n}, then according to X a The latitude and longitude information of each MAC in the image is compared with the latitude and longitude range of the effective capture area of ​​camera A. If there is a corresponding MAC information that is within the effective range of F, then the captureable data Pa is defined; if it is data that cannot be captured, then it is defined as invalid capture data. Figure 3F This is a schematic diagram of a physical address distribution provided in an embodiment of the present invention. See [link / reference]. Figure 3F Physical addresses 1, 2, and 3 are within the valid capture range, while physical addresses 4, 5, 6, and 7 are within the invalid capture range. Therefore, physical addresses 1, 2, and 3 are valuable data that can be captured and whose storage capacity needs to be evaluated.

[0129] In this embodiment of the invention, the visible field of view of the capture device is obtained, and the target travel location of the capture device at different time periods within a reference period is obtained within the corresponding field of view of the target shooting point. By obtaining the visible field of view of the capture device, the number of target travel locations captured repeatedly is reduced, thereby reducing image storage space.

[0130] S340. Based on the target travel location data corresponding to different time periods in the reference period, determine the image storage space required for the target area in the target period.

[0131] Optionally, determining the image storage space required by the target area in the target period based on the target travel location data corresponding to different time periods within the reference period includes:

[0132] Based on the target travel location volume corresponding to different time periods in multiple consecutive reference periods, the trend of target travel location volume change in the same time period in multiple consecutive reference periods is determined; each reference period is divided into a preset number of different evaluation time periods;

[0133] Based on the trend of target travel location changes in the same period of multiple consecutive reference periods and the target travel location at different time periods of each reference period, the image storage space required by the target area in the target period is estimated.

[0134] In one optional example, a travel trajectory of each traveler within a preset range at the target shooting point is generated based on the candidate travel locations of each traveler. The travel trajectory is used to analyze the entry and exit of each traveler in the shooting field of view and the non-shooting field of view corresponding to the target shooting point. Candidate travel locations generated by moving from the shooting field of view to the non-shooting field of view are eliminated, and one candidate travel location that is always in the shooting field of view and does not move from the shooting field of view to the non-shooting field of view is retained and the others are deleted.

[0135] Figure 3G This is a schematic diagram illustrating the structure of a traveling object at a target shooting point, corresponding to the shooting field of view and the non-shooting field of view, as provided in an embodiment of the present invention. See also... Figure 3G Let 'a' represent the travel object; A represents the field of view corresponding to the target shooting point; and B represents the non-shooting field of view corresponding to the target shooting point. If travel object 'a' enters area A from area B, then leaves area A and enters area B, and then enters area A again, this will result in, but is not limited to, 5 duplicate data entries to be deduplicated, including:

[0136] Data 1: One data point is from cell A;

[0137] Data 2: One record is the data in area B after leaving area A and entering area B;

[0138] Data 3: One data point is from area B that returned to area A and is now in area A.

[0139] Data 4: One data point is from cell A;

[0140] Data 5: One data point is from cell A;

[0141] For the capture device, only data 1 and data 3 are valid data that need to be captured and stored as images. Therefore, the deduplication process is performed by analyzing the trajectory of the travel object a in the valid and invalid capture areas to obtain the valid data that needs to be recorded and captured.

[0142] This involved acquiring valid snapshot data from various locations within the city and statistically analyzing it on a daily basis from Monday to Sunday. This yielded weekly valid snapshot travel data P. a =(P a1 ,P a2 ,P a3 ,P a4, P a5 ,P a6 ,P a7 The size of captured images varies depending on the camera and parameter settings. Let M be the image size for each parameter; then M = (m1, m2, ..., m...). n If storage capacity is calculated on a weekly basis, then the total image storage capacity is defined as Z. Therefore, the estimated total image storage space required is...

[0143] Z x1 =P a (x1)*m n

[0144] Z = Z x1 +Z x2 +Z x3 +…+Z xn

[0145] Among them, Z x1 Z represents the storage space required by camera A per week, and Z represents the total storage space required by the city per week.

[0146] The total image storage space required by the city each week is determined by obtaining the image storage space required by all capture devices each week.

[0147] Optionally, before determining the candidate travel locations for the target area at different time periods within the reference period, the method further includes:

[0148] Determine whether the trend of change in the target travel location volume corresponding to the same period in multiple consecutive reference periods meets the preset trend conditions, so as to trigger an image storage space shortage warning when the conditions are not met.

[0149] Determine the remaining image storage space corresponding to the target area in the reference period, so as to trigger an image storage space shortage warning when the remaining amount does not meet the preset value.

[0150] Once the city's surveillance system is set up, pre-analysis can be performed based on the actual storage status of city images. This analysis reveals changes in the number of people being captured, which are then compared to a preset image storage threshold, triggering timely warnings. For example, using a one-week period as a reference, the amount of image storage space used from Monday to Thursday is checked, and it is determined whether the remaining image storage space is sufficient to store images for the remaining time. If the amount of image storage space used from Monday to Thursday increases significantly, an image storage space shortage warning is triggered promptly.

[0151] In one optional embodiment of the present invention, a timed early warning can also be set to remind relevant personnel to check the remaining image storage space in a timely manner. If it is detected that the preset image storage threshold space is insufficient due to dynamic changes in personnel, an alarm can be issued in advance.

[0152] This invention provides a method for determining image storage space. By eliminating abnormal initial selection of travel locations and obtaining the visible range of the capture device, effective captureable data is obtained, reducing duplicate captures of target travel locations and thus reducing unnecessary image storage space. The method acquires the image storage space of all capture devices within a reference period and estimates the total image storage space to provide actual image storage space consistent with the storage space required by the image detection system. This avoids wasted storage space due to excessive image storage space or overwriting of critical data due to insufficient image storage space.

[0153] Example 4

[0154] Figure 4 This is a schematic diagram of an image storage space determination device according to Embodiment 4 of the present invention. The device includes: a candidate travel location determination module 410, a target travel location determination module 420, and an image storage space determination module 430; wherein:

[0155] The candidate travel location determination module 410 is used to determine the candidate travel locations of the target area at different time periods in the reference period; the candidate travel locations include the travel locations of the traveler on the road segment to which the target shooting point belongs when the traveler moves within the target area; the target shooting point includes the preset shooting point in the target area for capturing images.

[0156] The target travel location determination module 420 is used to determine the target travel location corresponding to the target shooting point at different time periods in the reference period from the candidate travel locations; the target travel location includes candidate travel locations that fall within the shooting field of view corresponding to the target shooting point.

[0157] The image storage space determination module 430 is used to determine the image storage space required by the target area in the target period based on the target travel location corresponding to different time periods in the reference period; the target period includes the adjacent time period after the reference period.

[0158] Based on the above embodiments, optionally, the candidate travel location determination module includes:

[0159] Determine the initial selected travel location reported by the traveler when moving within the target area during the reference period, as well as the travel time corresponding to the initial selected travel location;

[0160] The initial selected travel locations are filtered, and the filtered initial selected travel locations are divided according to the corresponding travel time to obtain the candidate travel locations corresponding to the target area in different time periods of the reference period.

[0161] The location filtering operation includes at least one of the following: filtering out the initial travel locations that are not within the preset distance range of the road segment to which the target shooting point belongs, and filtering out the initial travel locations that do not meet the preset walking speed generated by travel within the target area.

[0162] Based on the above embodiments, optionally, the candidate travel location determination module further includes:

[0163] Determine the capture road network data of the target area; wherein the capture road network data includes multiple road segments to which multiple target shooting points belong, each target shooting point to which multiple road segments belong, and the road segment to which the target shooting point belongs belongs to the non-motorized vehicle lane;

[0164] Based on the captured road network data of the target area, the initial selected travel location is filtered to obtain the filtered initial selected travel location.

[0165] Based on the above embodiments, optionally, the candidate travel location determination module further includes:

[0166] The initial travel location is matched with the location of each road segment on the road segment to which the target shooting point belongs in the target area, and the initial travel location that is not within the preset distance range of the road segment to which the target shooting point belongs is eliminated.

[0167] The changing trends of multiple consecutive initial travel locations corresponding to the same traveler within the reference period are judged, and initial travel locations that do not meet the preset walking speed caused by travel within the target area are eliminated.

[0168] Based on the above embodiments, optionally, the target travel location determination module includes:

[0169] Determine the location of the target shooting point and the shooting angle of the camera;

[0170] Based on the shooting point and the shooting angle of the camera, determine the shooting field of view corresponding to the target shooting point;

[0171] From the candidate travel locations corresponding to different time periods in the reference period, determine the target travel location that is within the shooting field of view of the target shooting point at different time periods in the reference period.

[0172] Optionally, based on the above embodiments, the target travel location determination module further includes:

[0173] From the candidate travel locations corresponding to different time periods in the reference period, determine the valid travel locations whose shooting locations are within a preset distance range from the target shooting location.

[0174] Select the target travel location from the valid locations that is within the shooting field of view of the target shooting point at different time periods in the reference period.

[0175] Based on the above embodiments, optionally, the image storage space determination module includes:

[0176] Based on the target travel location volume corresponding to different time periods in multiple consecutive reference periods, the trend of target travel location volume change in the same time period in multiple consecutive reference periods is determined; each reference period is divided into a preset number of different evaluation time periods;

[0177] Based on the trend of target travel location changes in the same period of multiple consecutive reference periods and the target travel location at different time periods of each reference period, the image storage space required by the target area in the target period is estimated.

[0178] Optionally, based on the above embodiments, the image storage space determination module further includes:

[0179] Determine whether the trend of change in the target travel location volume corresponding to the same period in multiple consecutive reference periods meets the preset trend conditions, so as to trigger an image storage space shortage warning when the conditions are not met.

[0180] Determine the remaining image storage space corresponding to the target area in the reference period, so as to trigger an image storage space shortage warning when the remaining amount does not meet the preset value.

[0181] The image storage space determination device provided in the embodiments of the present invention can execute the image storage space determination method provided in any of the above embodiments of the present invention, and has the corresponding functions and beneficial effects of executing the image storage space determination method. For details, please refer to the relevant operations of the image storage space determination method in the foregoing embodiments.

[0182] Example 5

[0183] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. The electronic device 10 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (such as helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0184] like Figure 5 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 may also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0185] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0186] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as the image storage space determination method.

[0187] In some embodiments, the image storage space determination method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or mounted on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the image storage space determination method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the image storage space determination method by any other suitable means (e.g., by means of firmware).

[0188] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0189] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0190] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0191] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0192] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0193] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0194] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0195] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A method for determining image storage space, characterized in that, The method includes: Determine candidate travel locations for the target area at different time periods within the reference period; the candidate travel locations include the travel locations of the traveler on the road segment to which the target shooting point belongs when the traveler moves within the target area; the target shooting point includes the preset shooting point in the target area for capturing images. The target travel location corresponding to the target shooting point in different time periods within the reference period is determined from the candidate travel locations; the target travel location includes candidate travel locations that fall within the shooting field of view corresponding to the target shooting point; Based on the target travel location volume corresponding to the target shooting point at different time periods in the reference period, the image storage space required by the target area in the target period is determined; the target period includes the adjacent time period after the reference period. This includes determining candidate travel locations for the target area at different times within the reference period, including: The system determines the initial selected travel locations reported by the traveler when moving within the target area during a reference period, as well as the corresponding travel times. It then performs location filtering on these initial selected travel locations and divides them according to their corresponding travel times to obtain candidate travel locations for different time periods within the reference period for the target area. The location filtering operation includes at least one of the following: removing initial selected travel locations that are not within a preset distance range of the road segment to which the target shooting point belongs, and removing initial selected travel locations within the target area that do not meet a preset walking speed.

2. The method according to claim 1, characterized in that, The initial selected travel location is then filtered, including: Determine the capture road network data of the target area; wherein the capture road network data includes multiple road segments to which multiple target shooting points belong, each target shooting point to which multiple road segments belong, and the road segment to which the target shooting point belongs belongs to the non-motorized vehicle lane; Based on the captured road network data of the target area, the initial selected travel location is filtered to obtain the filtered initial selected travel location.

3. The method according to claim 2, characterized in that, The initial travel locations are filtered based on the captured road network data of the target area, including: The initial travel location is matched with the location of each road segment on the road segment to which the target shooting point belongs in the target area, and the initial travel location that is not within the preset distance range of the road segment to which the target shooting point belongs is eliminated. The changing trends of multiple consecutive initial travel locations corresponding to the same traveler within the reference period are judged, and initial travel locations that do not meet the preset walking speed caused by travel within the target area are eliminated.

4. The method according to claim 1, characterized in that, Determining the target travel location corresponding to the target shooting point at different time periods within the reference period from the candidate travel locations includes: Determine the location of the target shooting point and the shooting angle of the camera; Based on the shooting point and the shooting angle of the camera, determine the shooting field of view corresponding to the target shooting point; From the candidate travel locations corresponding to different time periods in the reference period, determine the target travel location that is within the shooting field of view of the target shooting point at different time periods in the reference period.

5. The method according to claim 4, characterized in that, From the candidate travel locations corresponding to different time periods within the reference period, determine the target travel locations that are within the shooting field of view of the target shooting point at different time periods within the reference period, including: From the candidate travel locations corresponding to different time periods in the reference period, determine the effective travel locations whose shooting locations are within a preset distance range from the target shooting location; Select the target travel locations from the valid travel locations that are located within the shooting field of view of the target shooting location at different time periods in the reference period.

6. The method according to claim 1, characterized in that, Based on the target travel location data corresponding to different time periods within the reference period, the image storage space required for the target area during the target period is determined, including: Based on the target travel location volume corresponding to different time periods in multiple consecutive reference periods, the trend of target travel location volume change in the same time period in multiple consecutive reference periods is determined; each reference period is divided into a preset number of different evaluation time periods; Based on the trend of target travel location changes in the same period of multiple consecutive reference periods and the target travel location at different time periods of each reference period, the image storage space required by the target area in the target period is estimated.

7. The method according to claim 6, characterized in that, Before determining the candidate travel locations for the target area at different time periods within the reference period, the method further includes: Determine whether the trend of change in the target travel location volume corresponding to the same period in multiple consecutive reference periods meets the preset trend conditions, so as to trigger an image storage space shortage warning when the conditions are not met. Determine the remaining image storage space corresponding to the target area in the reference period, so as to trigger an image storage space shortage warning when the remaining amount does not meet the preset value.

8. An image storage space determination device, characterized in that, The device includes: The candidate travel location determination module is used to determine the candidate travel locations of the target area at different time periods within the reference period; the candidate travel locations include the travel locations of the traveler on the road segment to which the target shooting point belongs when the traveler moves within the target area; the target shooting point includes the preset shooting point in the target area for capturing images. The target travel location determination module is used to determine the target travel location corresponding to the target shooting point at different time periods in the reference period from the candidate travel locations; the target travel location includes candidate travel locations that fall within the shooting field of view corresponding to the target shooting point. The image storage space determination module is used to determine the image storage space required by the target area in the target period based on the target travel location volume corresponding to the target shooting point at different time periods in the reference period; the target period includes the adjacent time period after the reference period. The candidate travel location determination module is specifically used for: The system determines the initial selected travel locations reported by the traveler when moving within the target area during a reference period, as well as the corresponding travel times. It then performs location filtering on these initial selected travel locations and divides them according to their corresponding travel times to obtain candidate travel locations for different time periods within the reference period for the target area. The location filtering operation includes at least one of the following: removing initial selected travel locations that are not within a preset distance range of the road segment to which the target shooting point belongs, and removing initial selected travel locations within the target area that do not meet a preset walking speed.

9. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, which is executed by the at least one processor to enable the at least one processor to perform the image storage space determination method according to any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the image storage space determination method according to any one of claims 1-7.

Citation Information

Patent Citations

  • Image storage method and terminal

    CN105045846A

  • Target detection method and device

    WO2021227645A1