Collection range determination method, device, electronic device and storage medium
By generating and adjusting the convex envelope based on the obstacle location information set in the intelligent traffic management system, the problem of inaccurate coverage of the collection equipment is solved, precise dynamic adjustment of the collection range is achieved, adapting to environmental changes, and meeting the requirements of the intelligent transportation system. need.
Patent Information
- Application Number
- CN202111425614.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-26
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-11-26
AI Technical Summary
It is difficult for existing acquisition equipment to accurately determine the coverage, especially when the ambient light changes, resulting in inaccurate detection range and complex estimation process, which cannot meet the needs of intelligent transportation systems.
In the intelligent traffic management system, the convex envelope is generated and adjusted according to the position information collection of obstacles in the target area to dynamically determine the collection range, including generating the convex envelope at the first moment and the second moment, and Adjustments are made between the two moments based on the preset strategy.
It achieves accurate determination of the collection range, dynamically adjusts the convex envelope, adapts to environmental changes at different times, and improves the accuracy of coverage and ease of operation.
Smart Images

Figure CN114241439B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent transportation technology, and in particular to a collection range determination method, device, electronic equipment and storage medium. Background Art
[0002] With the development of intelligent transportation technology, the data collection equipment installed on the roadside poles can remotely monitor road conditions or provide support for autonomous driving. Therefore, the perception capability of the data collection equipment, that is, the coverage range, is increasingly required. Therefore, it is necessary to accurately grasp the coverage range of the data collection equipment in order to further determine the overlapping coverage area or coverage blind area between multiple data collection equipment.
[0003] However, it is difficult to accurately determine the actual coverage range of the acquisition device. In addition, as the ambient light changes, the detection range of the acquisition device will also change. At present, the detection range of the acquisition device is usually estimated based on the farthest detection distance and the closest detection distance of the acquisition device. And every time the detection range needs to be obtained, it is necessary to obtain the farthest detection distance and the closest detection distance corresponding to the acquisition device at that moment in real time for estimation. There are problems of inaccurate estimation and complicated operation process. Therefore, this rough estimation method is difficult to meet the needs of practical applications. Summary of the invention
[0004] The embodiments of the present invention provide a method, device, electronic device and storage medium for determining a collection range, so as to solve the problem of how to accurately determine the collection range corresponding to a target area at different times.
[0005] In a first aspect, an embodiment of the present invention provides a method for determining a collection range, which is applied to an intelligent traffic management system, comprising:
[0006] According to the acquired position information set of obstacles in the target area in the first time period, a first convex envelope corresponding to the target area is generated and displayed at a first moment, wherein the first moment is the end moment of the first time period;
[0007] At the second moment when the preset trigger condition is detected, a second convex envelope corresponding to the target area is generated and displayed according to the acquired position information set of obstacles in the target area within the target period, and the end moment of the target period is the second moment, and the initial moment of the target period is the first moment or the initial moment of the first period;
[0008] In a second time period, the first convex envelope is adjusted based on a preset strategy to generate a target convex envelope corresponding to the target area for display, the initial moment of the second time period is the first moment, and the end moment of the second time period is the second moment;
[0009] Among them, the intelligent traffic management system corresponds to multiple target areas, the target area is the first area, or the target area is the overlapping area of the convex polygon corresponding to the convex envelope of the first area and the convex polygon corresponding to the convex envelope of the second area, and the second area is an adjacent area of the first area.
[0010] In a second aspect, an embodiment of the present invention further provides a collection range determination device, which is applied to an intelligent traffic management system, comprising:
[0011] A first processing module is used to generate and display a first convex envelope corresponding to the target area at a first moment according to a set of position information of obstacles in the target area in a first time period, wherein the first moment is the end moment of the first time period; wherein the intelligent traffic management system corresponds to a plurality of target areas, the target area is the first area, or the target area is an overlapping area of a convex polygon corresponding to the convex envelope of the first area and a convex polygon corresponding to the convex envelope of a second area, and the second area is an adjacent area of the first area;
[0012] A second processing module is used to generate and display a second convex envelope corresponding to the target area according to the acquired position information set of obstacles in the target area within the target time period at a second moment when a preset trigger condition is detected, wherein the end moment of the target time period is the second moment, and the initial moment of the target time period is the first moment or the initial moment of the first time period;
[0013] The third processing module is used to adjust the first convex envelope based on a preset strategy in a second time period to generate a target convex envelope corresponding to the target area for display, the initial moment of the second time period is the first moment, and the end moment of the second time period is the second moment.
[0014] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the above-mentioned method for determining the acquisition range when executed by the processor.
[0015] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned acquisition range determination method is implemented.
[0016] Compared with the prior art, the present invention has the following advantages:
[0017] The technical solution of an embodiment of the present invention accurately determines and displays the first convex envelope corresponding to the target area at a first moment, accurately determines and displays the second convex envelope corresponding to the target area at a second moment, and adjusts the first convex envelope based on a preset strategy between the first moment and the second moment to obtain a dynamically changing target convex envelope and displays it, thereby accurately determining the convex envelope corresponding to the acquisition range of the target area at different moments. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 This is one of the flow charts of the method for determining the collection range provided in an embodiment of the present invention;
[0019] Figure 2 It is one of the structural schematic diagrams of the convex envelope provided by the embodiment of the present invention;
[0020] Figure 3 This is the second structural schematic diagram of the convex envelope provided by the embodiment of the present invention;
[0021] Figure 4 is a structural schematic diagram of the positional relationship between a point and a convex polygon provided by an embodiment of the present invention;
[0022] Figure 5 This is the second flow chart of the method for determining the collection range provided in the embodiment of the present invention;
[0023] Figure 6 It is a structural diagram of a collection range determination device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0024] 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 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 without creative work are within the scope of protection of the present invention.
[0025] It should be understood that the references to "one embodiment" or "an embodiment" throughout the specification mean that the specific features, structures, or characteristics associated with the embodiment are included in at least one embodiment of the present invention. Therefore, the references to "in one embodiment" or "in an embodiment" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0026] In various embodiments of the present invention, it should be understood that the size of the serial numbers of the following processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0027] The embodiment of the present invention provides a method for determining a collection range, which is applied to an intelligent traffic management system (Digital Road Controller, DRC), such as Figure 1 As shown, the method may include:
[0028] Step 101: based on a set of acquired position information of obstacles in a target area within a first time period, generate and display a first convex envelope corresponding to the target area at a first moment, wherein the first moment is an end moment of the first time period, and the intelligent traffic management system corresponds to a plurality of the target areas.
[0029] Specifically, the target area may be the first area, or the target area may be an overlapping area of a convex polygon corresponding to the convex envelope of the first area and a convex polygon corresponding to the convex envelope of the second area, and the second area is an adjacent area of the first area.
[0030] When the target area is the first area, the target area may be one of the road sections within the jurisdiction of the intelligent traffic management system. The intelligent traffic management system may correspond to multiple target areas, that is, the intelligent management system corresponds to multiple roads within its jurisdiction, and the length of the road section corresponding to each target area is determined according to the specific road conditions, and the present invention does not make specific limitations.
[0031] In the case where the target area is the overlapping area of the convex polygon corresponding to the convex envelope of the first area and the convex polygon corresponding to the convex envelope of the second area, the first area and the second area may be two adjacent sections within the jurisdiction of the intelligent traffic management system, namely the first section and the second section. Specifically, there is an overlapping part between the first section and the second section, then the convex polygons corresponding to the convex envelopes of the first area and the second area may have an overlapping area. In the embodiment of the present invention, only the case where the convex polygons corresponding to the convex envelopes of the first area and the second area have an overlapping area is introduced.
[0032] Specifically, at each moment in the first time period, a set of obstacle position information in the overlapping area of the convex polygon corresponding to the convex envelope of the first area and the convex polygon corresponding to the convex envelope of the second area is obtained, and the position information set in the first time period is determined according to the set of obstacle position information at each moment. According to the set of position information in the first time period, a first convex envelope corresponding to the target area is generated at the first moment, that is, a first convex envelope corresponding to the overlapping area between the convex polygons corresponding to the convex envelopes of the first area and the second area.
[0033] The obstacles may be various motor vehicles, non-motor vehicles, pedestrians and other entities participating in road traffic in the target area. The first time period is the basic time period for determining the collection range of the target area or the time period corresponding to the collection cycle. Considering the different traffic conditions of each road section, for example, two sections with different traffic volumes, the duration of the first time period corresponding to the section with larger traffic volume may be shorter than the duration of the first time period corresponding to the section with smaller traffic volume. Therefore, the duration of the first time period may be determined according to the traffic conditions of the section corresponding to the target area. For example, the duration of the first time period may be 5 minutes. The intelligent traffic management system may obtain a set of location information of obstacles in the target area within the first time period. The location information set is a set of locations of motor vehicles, non-motor vehicles, pedestrians and other entities participating in road traffic on the section corresponding to the target area within the first time period.
[0034] Specifically, when it is necessary to determine the collection range of the target area, the intelligent traffic management system can generate a first convex envelope corresponding to the target area at the end time of the first time period, i.e., the first time, after obtaining the set of location information within the first time period, and display it on the display device of the intelligent traffic management system. The collection range of the target area can be determined through the first convex envelope.
[0035] Step 102: At the second moment when the preset trigger condition is monitored, a second convex envelope corresponding to the target area is generated and displayed based on the acquired position information set of obstacles in the target area within the target time period, and the end moment of the target time period is the second moment, and the initial moment of the target time period is the first moment or the initial moment of the first time period.
[0036] In an embodiment of the present invention, in order to display the latest convex envelope corresponding to the target area acquisition range on the display device of the intelligent traffic management system, when the preset trigger condition is detected, it is necessary to re-determine a convex envelope, i.e., the second convex envelope, based on the position information set of obstacles in the target area during the target time period, and display it on the display device of the intelligent traffic management system. It should be noted that only one convex envelope of the target area is displayed on the display device of the intelligent traffic management system at the same time, and the first convex envelope is displayed at the first moment, and the second convex envelope is displayed at the second moment.
[0037] Specifically, the target time period for determining the second convex envelope may be a time period between the first moment and the second moment, or may be a time period between the initial moment of the first time period and the second moment.
[0038] It should be noted that, in the case where the target area is the overlapping area of the convex polygon corresponding to the convex envelope of the first area and the convex polygon corresponding to the convex envelope of the second area, at the second moment when the preset trigger condition is monitored, the step of generating the second convex envelope corresponding to the target area according to the acquired position information set of obstacles in the target area within the target time period is specifically to obtain the obstacle position information set in the overlapping area of the convex polygon corresponding to the convex envelope of the first area and the convex polygon corresponding to the convex envelope of the second area at each moment within the target time period, and determine the position information set within the target time period based on the position information set of the obstacles at each moment, and generate the second convex envelope corresponding to the target area at the second moment based on the position information set within the target time period, that is, the second convex envelope corresponding to the overlapping area between the convex polygons corresponding to the convex envelopes of the first area and the second area.
[0039] Step 103: In a second time period, the first convex envelope is adjusted based on a preset strategy to generate a target convex envelope corresponding to the target area for display, the initial moment of the second time period is the first moment, and the end moment of the second time period is the second moment.
[0040] The time period between the first moment and the second moment is the second time period. During the second time period, the convex envelope corresponding to the target area on the display device of the intelligent traffic management system can be a target convex envelope generated by adjusting the first convex envelope based on a preset strategy. Specifically, the target convex envelope can change dynamically based on the preset strategy.
[0041] The embodiment of the present invention accurately determines the first convex envelope corresponding to the target area at the first moment and displays it, accurately determines the second convex envelope corresponding to the target area at the second moment and displays it, and adjusts the first convex envelope based on a preset strategy between the first moment and the second moment to obtain a dynamically changing target convex envelope and displays it, thereby accurately determining the convex envelope corresponding to the acquisition range of the target area at different moments.
[0042] The following is an introduction to the calculation process of how to generate a convex envelope based on a set of position information. Figure 2 As shown, the location information set includes n points (n is a positive integer), each point can be represented by coordinates, and the location information set S = {(x0, y0), (x1, y1), ..., x n ,y n}, a convex envelope 21 can be determined. The convex envelope 21 needs to satisfy that any point in the position information set S and the line between any two points are located inside the convex polygon corresponding to the convex envelope 21, and the convex envelope 21 is the envelope corresponding to the minimum convex polygon that satisfies the above conditions. The specific calculation method of the convex envelope 21 includes the following steps:
[0043] Step 201: From the position information set S = {(x0, y0), (x1, y1), ..., x n ,y n}, specifically, the point with the largest x coordinate among the points with the smallest y coordinate, and record this point as P0.
[0044] Step 202: Sort the angles between the lines connecting all points except P0 in the position information set S and the x-axis from small to large. If there are two points with the same angle, the point closer to P0 is ignored. In addition, for greater efficiency, when sorting the angles, it is not necessary to calculate the angle value, because if the angle is calculated, there will be inaccuracies and the operation speed will be slow. At this time, the size relationship of the angle can be determined by comparing the position relationship between the point and the line. For example, if point P2 is on the left side of line P0P1, it can be determined that the angle corresponding to point P2 is greater than the angle corresponding to point P1.
[0045] Step 203: Traverse the sorted points in order to determine whether they are vertices of the convex polygon corresponding to the convex envelope. The specific determination method can be implemented using the inductive increment process of the stack operation. First, push P0 into the stack, and then push P1 directly into the stack. i (i is greater than or equal to 2), calculate P i After adding, does the current convex polygon change? In addition, since the points in the set S have been sorted, P i is the current convex polygon (P0~Pi-1 A point outside the convex polygon formed by i As a new vertex is added to the stack to get a new convex polygon. But P i The addition of may make P0~P i-1 If there is a point among the vertices of the convex polygon formed that is not a vertex of the convex polygon formed by P0~Pi, then the point needs to be popped from the stack. i The positional relationship between the line connecting the two top points of the stack determines whether to pop out the point already in the stack. i There are two situations when judging the positional relationship between the line connecting the two top points of the stack. First of all, it should be noted that when judging the positional relationship, the line connecting the first point on the top of the stack and the second point on the top of the stack takes the direction from the second point on the top of the stack to the first point on the top of the stack as the reference direction, and assuming that the reference direction is upward, then P can be determined. i The position relationship between the two points on the top of the stack is either on the left side of the line or on the right side of the line. i If the point Pi is on the left side of the line connecting the two top points of the stack, the point Pi is pushed into the stack to obtain a new convex polygon. At this time, all the points in the stack are vertices of the convex polygon. The second case is P i When it is on the right side of the line connecting the two top points of the stack, move the top point P i-1 Pop up and put P i Compare again with the line connecting the two points at the top of the new stack until P i When it is on the left side of the line connecting the two top points of the stack, P i Push it into the stack and get a new convex polygon. i The operation of pushing into the stack is performed on the remaining points in the set S in turn until the last point in the set S. After completing the above operation, the convex envelope corresponding to the convex polygon corresponding to the set S can be obtained.
[0046] In an optional embodiment of the present invention, when the target area is the first area, the method further includes:
[0047] Acquire a third convex envelope corresponding to the second area at the first moment, and acquire a fourth convex envelope corresponding to the second area at the second moment;
[0048] When a first overlapping area exists between the convex polygon corresponding to the first convex envelope and the convex polygon corresponding to the third convex envelope, a first overlapping position information set of obstacles in the first overlapping area is acquired; and a first overlapping convex envelope corresponding to the first overlapping area is generated and displayed at the first moment according to the first overlapping position information set;
[0049] When a second overlapping area exists between the convex polygon corresponding to the second convex envelope and the convex polygon corresponding to the fourth convex envelope, a second overlapping position information set of obstacles in the second overlapping area is obtained; and based on the second overlapping position information set, a second overlapping convex envelope corresponding to the second overlapping area is generated and displayed at the second moment.
[0050] Specifically, when the target area is the first area, the first convex envelope is the convex envelope corresponding to the first area at the first moment, and the second convex envelope is the convex envelope corresponding to the first area at the second moment. Because the intelligent traffic management system corresponds to multiple target areas, the third convex envelope corresponding to the second area can also be obtained at the first moment, and the fourth convex envelope corresponding to the second area can also be obtained at the second moment. By judging whether there is an overlapping area between the convex polygons corresponding to the convex envelopes of the first area and the second area at the same moment, the positional relationship between the first area and the second area can be determined. If there is an overlapping area, the first area and the second area are two target areas with adjacent positions. When there is an overlapping area, the position information set of the obstacles in the overlapping area is obtained, so that the convex envelope corresponding to the overlapping area can be determined according to the position information set.
[0051] like Figure 3 As shown, at the first moment, the convex polygon corresponding to the first convex envelope 31 of the first area and the convex polygon corresponding to the third convex envelope 32 of the second area have a first overlapping area, and the first overlapping convex envelope 33 can be determined according to the first overlapping position information set of obstacles in the first overlapping area. Similarly, the second overlapping convex envelope can be determined at the second moment.
[0052] Specifically, when judging whether there is an overlapping area between the convex polygons corresponding to the convex envelopes of the first area and the second area at the same time, it can be judged whether at least one vertex of one of the convex polygons is located inside the other convex polygon. If so, there is an overlapping area between the convex polygons corresponding to the convex envelopes of the first area and the second area. Figure 4 As shown below, the relationship between a convex polygon and point P is used to introduce how to determine the positional relationship between vertices and polygons. The convex polygon includes five vertices. and The cross product result, and The cross product result, and The cross product result, and The cross product result, and The relationship between point P and the convex polygon is determined by whether the cross product results are in the same direction. If they are in the same direction, point P is outside the convex polygon, otherwise, point P is inside the convex polygon. By processing point P1 and point P2 in the above manner, it can be determined that point P1 is outside the convex polygon and point P2 is inside the convex polygon.
[0053] The above embodiment of the present invention obtains the third convex envelope of the second area at the first moment and the fourth convex envelope at the second moment, and compares the third convex envelope with the first convex envelope, and compares the fourth convex envelope with the second convex envelope, so as to determine the first overlapping area between the convex polygon corresponding to the first convex envelope of the first area at the first moment and the convex polygon corresponding to the third convex envelope of the second area, and the second overlapping area between the convex polygon corresponding to the second convex envelope of the first area at the second moment and the convex polygon corresponding to the fourth convex envelope of the second area, and then by obtaining the position information set of obstacles in the first overlapping area, the first overlapping convex envelope corresponding to the first overlapping area can be determined, and by obtaining the position information set of obstacles in the second overlapping area, the second overlapping convex envelope corresponding to the second overlapping area can be determined. Thus, the convex envelope corresponding to the overlapping area of the acquisition range of the two target areas can be accurately determined.
[0054] In an optional embodiment of the present invention, the method further comprises:
[0055] In the second period, the first overlapping convex envelope is adjusted based on the preset strategy to generate a target overlapping convex envelope for display.
[0056] Specifically, the time period between the first moment and the second moment is the second time period, and the convex envelope corresponding to the overlapping area of the convex polygon corresponding to the convex envelope of the first area and the second area on the display device of the intelligent traffic management system during the second time period can be a target overlapping convex envelope generated by adjusting the first overlapping convex envelope based on a preset strategy, and specifically, the target overlapping convex envelope can be dynamically changed based on the preset strategy. The preset strategy for adjusting the first overlapping convex envelope and the preset strategy for adjusting the first convex envelope can be the same strategy.
[0057] In the above embodiment of the present invention, by adjusting the first overlapping convex envelope between the first moment and the second moment based on a preset strategy, a dynamically changing target overlapping convex envelope can be obtained for display.
[0058] In an optional embodiment of the present invention, in the second time period, adjusting the first convex envelope based on a preset strategy to generate a target convex envelope corresponding to the target area includes:
[0059] Determine the centroid position of the convex polygon corresponding to the first convex envelope;
[0060] In the second period, each vertex on the convex polygon corresponding to the first convex envelope is controlled to move toward the centroid position, so that the convex polygon corresponding to the first convex envelope is proportionally reduced to generate the target convex envelope corresponding to the target area.
[0061] In the second time period between the first moment of generating the first convex envelope and the second moment of generating the second convex envelope, in order to display the dynamic change process of the acquisition range of the target area on the display device of the intelligent transportation system, a target convex envelope can be determined to perform a transition display from the first convex envelope to the second convex envelope. Specifically, the target convex envelope can be a convex envelope generated by adjusting the first convex envelope based on a preset strategy. In an embodiment of the present invention, by calculating the centroid position of the convex polygon corresponding to the first convex envelope, each vertex on the convex polygon corresponding to the first convex envelope is controlled to move toward the centroid position, so that the convex polygon corresponding to the first convex envelope is proportionally reduced to generate the target convex envelope corresponding to the target area. Among them, the convex polygon corresponding to the target convex envelope is a convex polygon corresponding to the first convex envelope after the convex polygon is proportionally reduced according to a preset speed. Specifically, it can be a method of controlling each vertex on the convex polygon corresponding to the first convex envelope to move to the centroid position, wherein the ratio of the moving speeds of any two vertices of the convex polygon is equal to the ratio of the distances between the two vertices and the centroid position.
[0062] The above-mentioned implementation scheme of the present invention determines the center of gravity position of the convex polygon corresponding to the first convex envelope, controls the vertices on the convex polygon corresponding to the first convex envelope to move toward the center of gravity position, so that the convex polygon is proportionally reduced and a target convex envelope is generated, and the target convex envelope is used as the display content of the target area in the second time period, thereby realizing the dynamic display of the convex envelope corresponding to the target area, and the convex polygon corresponding to the target convex envelope is a proportional reduction of the convex polygon corresponding to the first convex envelope, so that before the second moment when the second convex envelope is obtained, the convex polygon representing the acquisition range displayed on the display device of the intelligent traffic control system is in a process of continuous shrinkage, until the second moment, the convex polygon becomes the convex polygon corresponding to the second convex envelope.
[0063] In an optional embodiment of the present invention, at the second moment when the preset trigger condition is detected, generating and displaying a second convex envelope corresponding to the target area according to the acquired position information set of obstacles in the target area within the target time period includes:
[0064] When the current moment is a second moment whose time difference from the first moment is a preset time threshold, determining that the preset trigger condition is monitored, and generating and displaying a second convex envelope corresponding to the target area based on the acquired position information set of obstacles in the target area within the target time period; and / or
[0065] After the first moment, when the number of obstacles in the target area that are re-monitored meets the preset condition, it is determined that the preset trigger condition is monitored, and based on the acquired position information set of the obstacles in the target area within the target time period, a second convex envelope corresponding to the target area is generated and displayed, wherein the moment when the number of obstacles in the target area is monitored to meet the preset condition is the second moment.
[0066] Specifically, in an embodiment of the present invention, the second convex envelope is generated and displayed based on a preset trigger condition, and the preset trigger condition may include three situations: the first trigger condition is that the current moment is the second moment whose time difference with the first moment is a preset time threshold, the second trigger condition is that after the first moment, the number of obstacles in the target area re-monitored meets the preset condition, and the third trigger condition is any situation that satisfies the above-mentioned first trigger condition and second trigger condition.
[0067] Specifically, when the current moment is a second moment whose time difference with the first moment is a preset time threshold as a trigger condition, optionally, the preset time threshold may be equal to the duration of the first time period. At this time, when obtaining the convex envelope corresponding to the acquisition range of the target area, a collection period may be set, and the collection period is the preset time threshold. At the end of the collection period, according to the acquired position information set of obstacles in the target area in the target time period, a second convex envelope corresponding to the target area is generated and displayed. Optionally, the preset time threshold may not be equal to the duration of the first time period, and is not a fixed value. Specifically, the preset time threshold may be determined by the intelligent traffic control system according to actual conditions. At this time, at the second moment after the first moment, a second convex envelope is generated. The specific time interval between the second moment and the first moment is determined by the intelligent traffic management system according to actual conditions. For example, the first time period is 5 minutes, and the second time period between the first moment and the second moment may be 3 minutes, 10 minutes, 15 minutes or other values. The specific value of the preset time threshold needs to be determined by the intelligent traffic management system according to actual conditions.
[0068] Specifically, after the first moment, when the number of obstacles in the target area that are re-monitored meets the preset condition as a trigger condition, wherein the moment when the number of obstacles in the target area that are monitored meets the preset condition is the second moment, and the preset condition can be satisfied that the number of obstacles in the target area that are re-monitored is greater than the first preset number, or the number of obstacles in the target area that are re-monitored and located outside the convex polygon corresponding to the first convex envelope is greater than the second preset number. At this time, it is necessary to update the convex envelope corresponding to the acquisition range of the target area. Therefore, at the second moment, according to the acquired position information set of the obstacles in the target area within the target time period, a second convex envelope corresponding to the target area is generated and displayed.
[0069] The above-mentioned embodiment of the present invention can determine the time to update the acquisition range of the target area on the display device of the intelligent traffic control system by setting a preset trigger condition, thereby realizing accurate determination of the acquisition range.
[0070] In an optional embodiment of the present invention, when generating the second convex envelope corresponding to the target area, the target time period corresponding to the location information set is divided into two cases, and each case is introduced below.
[0071] In the first case, the end time of the target period is the second time, and the initial time of the target period is the first time. At this time, generating and displaying a second convex envelope corresponding to the target area according to the acquired set of position information of obstacles in the target area during the target period includes:
[0072] The second convex envelope corresponding to the target area is generated according to the acquired position information set of obstacles in the target area within the second time period, and the displayed target convex envelope is replaced with the second convex envelope.
[0073] Specifically, when the end time of the target time period is the second time period and the initial time of the target time period is the first time period, the second convex envelope is generated according to the position information set in the second time period.
[0074] In the above implementation of the present invention, the convex envelope corresponding to the first time period is directly updated by the convex envelope corresponding to the second time period, so that the acquisition range of the target area can be updated in real time.
[0075] In the second case, the end time of the target period is the second time, and the initial time of the target period is the initial time of the first period. At this time, the second convex envelope corresponding to the target area is generated according to the acquired position information set of obstacles in the target area during the target period, including:
[0076] The second convex envelope corresponding to the target area is generated according to the acquired position information set of obstacles in the target area in the second time period and the first convex envelope corresponding to the target area, and the displayed target convex envelope is replaced with the second convex envelope.
[0077] Specifically, when the end moment of the target time period is the second moment and the initial moment of the target time period is the initial moment of the first time period, the second convex envelope is generated based on the set of position information in the first time period and the second time period, and the convex envelope corresponding to the first time period is the first convex envelope, so the second convex envelope is generated based on the first convex envelope and the set of position information in the second time period.
[0078] In the above implementation of the present invention, the convex envelope corresponding to the first time period is directly updated by the convex envelope corresponding to the first time period and the second time period, so that the acquisition range of the target area can be updated in real time.
[0079] In an optional embodiment of the present invention, the intelligent traffic management system is communicatively connected to an intelligent roadside unit (Digital Road Side Unit, DRSU), each of the target areas corresponds to at least one DRSU, and each of the DRSUs is provided with at least one collection device that communicates with the DRSU; the method further includes:
[0080] Based on the communication connection between the intelligent traffic management system and the DRSU, and the communication connection between the DRSU and the corresponding collection device, a set of position information of obstacles in the target area within a collection period is obtained; wherein the collection period is the first period or the target period.
[0081] Specifically, the DRSU is set on the road corresponding to the target area, and the collection device set on the DRSU is used to collect the location information of obstacles in the target area, so that the intelligent traffic management system can obtain a set of location information of obstacles in the target area based on the communication connection between the intelligent traffic management system and the DRSU and the communication connection between the DRSU and the corresponding collection device.
[0082] Specifically, the DRSUs may be arranged at a preset distance interval, so that the target areas corresponding to two adjacent DRSUs have overlapping parts, and the convex polygons of the corresponding convex envelopes have overlapping areas. The overlapping area may also be the target area, so that the overlapping convex envelopes corresponding to the overlapping areas may be determined.
[0083] The above embodiment of the present invention, by setting an RSU including a collection device in the target area, can acquire a set of position information of obstacles in the target area, so as to determine the collection range of the collection device for the target area.
[0084] In an optional embodiment of the present invention, the acquisition device includes a camera and a radar; and the method further includes:
[0085] Respectively acquiring a first position information set of obstacles in the target area collected by the camera during the collection period and a second position information set of obstacles in the target area collected by the radar during the collection period; wherein the first position information set includes at least one position information not included in the second position information set, and the second position information set includes at least one position information not included in the first position information set;
[0086] The first location information set and the second location information set are combined to determine a location information set of obstacles in the target area during the collection period.
[0087] Specifically, the camera can transmit the collected image of the target area to the DRSU for identification, identify various motor vehicles, non-motor vehicles, pedestrians and other subjects participating in road traffic appearing in the image, and calculate their types, sizes, positions, and speeds. The radar can transmit the positions and speeds of these subjects sensed in the target area to the DRSU. That is, for the target area, there may be differences in the position information sets of obstacles collected by the camera and the radar, that is, the first position information collected by the camera includes at least one position information not included in the second position information collected by the radar, and the second position information collected by the radar includes at least one position information not included in the first position information collected by the camera. The DRSU can output a more accurate position information set after fusing the position information sets collected by the camera and the radar. Specifically, the union of the first position information set and the second position information set can be directly taken as the position information set.
[0088] The above implementation scheme of the present invention determines the position information set corresponding to the target area by processing the position information set collected by the camera and the radar.
[0089] In order to further illustrate the technical solution of the present invention, the above technical solution is applied to a specific scenario. Figure 5 As shown, including:
[0090] Step 501: Obtain a set of position information of obstacles in a target area within a first time period.
[0091] Step 502: Generate a first convex envelope according to a set of position information of obstacles in the target area within the first time period. After executing step 502, execute steps 503 and 504.
[0092] Step 503: Display a first convex envelope of the target area at a first moment, wherein the first moment is the end moment of the first time period.
[0093] Step 504: adjust the first convex envelope based on a preset strategy to generate a target convex envelope corresponding to the target area, and monitor a preset trigger condition at the same time. Step 505 is performed while step 504 is performed, and step 506 is performed when a preset trigger condition is monitored.
[0094] Step 505: Display the target convex envelope of the target area between the first moment and the second moment, wherein the second moment is the moment when the preset trigger condition is detected.
[0095] Step 506: Obtain a set of position information of obstacles in the target area within the target time period.
[0096] Step 507: Generate a second convex envelope according to the position information set of obstacles in the target area within the target time period. After executing step 507, execute step 508.
[0097] Step 508: Display a second convex envelope of the target area at a second moment.
[0098] The above is the overall implementation process of the acquisition range determination method of an embodiment of the present invention, by accurately determining the first convex envelope corresponding to the target area at the first moment and displaying it, accurately determining the second convex envelope corresponding to the target area at the second moment and displaying it, and adjusting the first convex envelope based on a preset strategy between the first moment and the second moment to obtain a dynamically changing target convex envelope and display it, so that the convex envelope corresponding to the acquisition range of the target area at different moments can be accurately determined.
[0099] The embodiment of the present invention also provides a collection range determination device, which is applied to an intelligent traffic management system, such as Figure 6 As shown, the device comprises:
[0100] The first processing module 601 is used to generate and display a first convex envelope corresponding to the target area at a first moment according to the acquired position information set of obstacles in the target area within the first time period, wherein the first moment is the end moment of the first time period; wherein the intelligent traffic management system corresponds to a plurality of target areas, the target area is the first area, or the target area is an overlapping area of a convex polygon corresponding to the convex envelope of the first area and a convex polygon corresponding to the convex envelope of a second area, and the second area is an adjacent area of the first area;
[0101] The second processing module 602 is used to generate and display a second convex envelope corresponding to the target area according to the acquired position information set of obstacles in the target area within the target period at the second moment when the preset trigger condition is detected, the end moment of the target period is the second moment, and the initial moment of the target period is the first moment or the initial moment of the first period;
[0102] The third processing module 603 is used to adjust the first convex envelope based on a preset strategy in a second time period to generate a target convex envelope corresponding to the target area for display, the initial moment of the second time period is the first moment, and the end moment of the second time period is the second moment.
[0103] Optionally, when the target area is the first area, the device further includes:
[0104] A first acquisition module, configured to acquire a third convex envelope corresponding to the second area at the first moment, and acquire a fourth convex envelope corresponding to the second area at the second moment;
[0105] A second acquisition module, configured to acquire a first overlapping position information set of obstacles in the first overlapping area when the convex polygon corresponding to the first convex envelope and the convex polygon corresponding to the third convex envelope have a first overlapping area;
[0106] a fourth processing module, configured to generate and display a first overlapping convex envelope corresponding to the first overlapping area at the first moment according to the first overlapping position information set;
[0107] A third acquisition module, configured to acquire a second overlapping position information set of obstacles in the second overlapping area when the convex polygon corresponding to the second convex envelope and the convex polygon corresponding to the fourth convex envelope have a second overlapping area;
[0108] A fifth processing module is used to generate and display a second overlapping convex envelope corresponding to the second overlapping area at the second moment according to the second overlapping position information set.
[0109] Optionally, the device further comprises:
[0110] The sixth processing module is used to adjust the first overlapping convex envelope based on the preset strategy during the second time period to generate a target overlapping convex envelope for display.
[0111] Optionally, the third processing module includes:
[0112] A determination submodule, used to determine the centroid position of the convex polygon corresponding to the first convex envelope;
[0113] The control submodule is used to control each vertex on the convex polygon corresponding to the first convex envelope to move toward the center of gravity during the second time period, so that the convex polygon corresponding to the first convex envelope is proportionally reduced to generate the target convex envelope corresponding to the target area.
[0114] Optionally, the second processing module includes:
[0115] A first sub-processing module is used to determine that the preset trigger condition is monitored when the current moment is a second moment whose time difference with the first moment is a preset time threshold, and generate and display a second convex envelope corresponding to the target area according to the acquired position information set of obstacles in the target area within the target time period;
[0116] The second sub-processing module is used to determine that the preset trigger condition is monitored when the number of obstacles in the target area re-monitored after the first moment meets the preset condition, and generate and display the second convex envelope corresponding to the target area based on the acquired position information set of the obstacles in the target area within the target time period, wherein the moment when the number of obstacles in the target area is monitored to meet the preset condition is the second moment.
[0117] Optionally, when the end time of the target time period is the second time period and the initial time of the target time period is the first time period, the second processing module is further configured to:
[0118] The second convex envelope corresponding to the target area is generated according to the acquired position information set of obstacles in the target area within the second time period, and the target convex envelope is replaced with the second convex envelope to display the second convex envelope.
[0119] Optionally, when the end time of the target period is the second time and the initial time of the target period is the initial time of the first period, the second processing module is further used to:
[0120] updating the first convex envelope according to the acquired position information set of obstacles in the target area within the second time period, generating the second convex envelope corresponding to the target area, replacing the displayed target convex envelope with the second convex envelope, so as to display the second convex envelope;
[0121] The first convex envelope is generated based on a set of position information of obstacles in the target area in a first time period in the target time period.
[0122] Optionally, the intelligent traffic management system is communicatively connected with an intelligent roadside unit DRSU, each target area corresponds to at least one DRSU, and each DRSU is provided with at least one collection device that communicates with the DRSU; the device further includes:
[0123] The fourth acquisition module is used to obtain a set of position information of obstacles in the target area within a collection period based on the communication connection between the intelligent traffic management system and the DRSU, and the communication connection between the DRSU and the corresponding collection device; wherein the collection period is the first period or the target period.
[0124] Optionally, the acquisition device includes a camera and a radar; the device also includes:
[0125] a fifth acquisition module, configured to respectively acquire a first position information set of obstacles in the target area collected by the camera within the collection period and a second position information set of obstacles in the target area collected by the radar within the collection period; wherein the first position information set includes at least one position information not included in the second position information set, and the second position information set includes at least one position information not included in the first position information set;
[0126] A determination module is used to determine a location information set of obstacles in the target area during the collection period by combining the first location information set and the second location information set.
[0127] The present invention provides a device for determining a collection range, which can accurately determine the convex envelope corresponding to a target area at a first moment and display it, accurately determine the second convex envelope corresponding to the target area at a second moment and display it, and adjust the first convex envelope based on a preset strategy between the first moment and the second moment to obtain a dynamically changing target convex envelope and display it, thereby accurately determining the convex envelope corresponding to the collection range of the target area at different moments.
[0128] An embodiment of the present invention also provides an electronic device, including a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the various processes of the above-mentioned acquisition range determination method are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0129] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the various processes of the above-mentioned acquisition range determination method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0130] 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 one 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 can be accessed by a computer 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.
[0131] 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.
[0132] 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 the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0133] 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 method for determining a collection range, It is characterized in that Applied to an intelligent traffic management system, the method comprises: According to the acquired position information set of obstacles in the target area in the first time period, a first convex envelope corresponding to the target area is generated and displayed at a first moment, wherein the first moment is the end moment of the first time period; At the second moment when the preset trigger condition is detected, a second convex envelope corresponding to the target area is generated and displayed according to the acquired position information set of obstacles in the target area within the target period, and the end moment of the target period is the second moment, and the initial moment of the target period is the first moment or the initial moment of the first period; In a second time period, the first convex envelope is adjusted based on a preset strategy to generate a target convex envelope corresponding to the target area for display, the initial moment of the second time period is the first moment, and the end moment of the second time period is the second moment; Among them, the intelligent traffic management system corresponds to multiple target areas, the target area is the first area, or the target area is the overlapping area of the convex polygon corresponding to the convex envelope of the first area and the convex polygon corresponding to the convex envelope of the second area, and the second area is an adjacent area of the first area.
2. The method for determining the collection range according to claim 1, It is characterized in that When the target area is the first area, the method further includes: Acquire a third convex envelope corresponding to the second area at the first moment, and acquire a fourth convex envelope corresponding to the second area at the second moment; When a first overlapping area exists between the convex polygon corresponding to the first convex envelope and the convex polygon corresponding to the third convex envelope, a first overlapping position information set of obstacles in the first overlapping area is acquired; and a first overlapping convex envelope corresponding to the first overlapping area is generated and displayed at the first moment according to the first overlapping position information set; When a second overlapping area exists between the convex polygon corresponding to the second convex envelope and the convex polygon corresponding to the fourth convex envelope, a second overlapping position information set of obstacles in the second overlapping area is obtained; and based on the second overlapping position information set, a second overlapping convex envelope corresponding to the second overlapping area is generated and displayed at the second moment.
3. The method for determining the collection range according to claim 2, It is characterized in that The method further comprises: In the second period, the first overlapping convex envelope is adjusted based on the preset strategy to generate a target overlapping convex envelope for display.
4. The method for determining the collection range according to claim 1, It is characterized in that In the second time period, adjusting the first convex envelope based on a preset strategy to generate a target convex envelope corresponding to the target area includes: Determine the centroid position of the convex polygon corresponding to the first convex envelope; In the second period, each vertex on the convex polygon corresponding to the first convex envelope is controlled to move toward the centroid position, so that the convex polygon corresponding to the first convex envelope is proportionally reduced to generate the target convex envelope corresponding to the target area.
5. The method for determining the collection range according to claim 1, It is characterized in that At the second moment when the preset trigger condition is detected, generating and displaying a second convex envelope corresponding to the target area according to the acquired position information set of obstacles in the target area within the target time period, includes: When the current moment is a second moment whose time difference from the first moment is a preset time threshold, determining that the preset trigger condition is monitored, and generating and displaying a second convex envelope corresponding to the target area based on the acquired position information set of obstacles in the target area within the target time period; and / or After the first moment, when the number of obstacles in the target area that are re-monitored meets the preset condition, it is determined that the preset trigger condition is monitored, and based on the acquired position information set of the obstacles in the target area within the target time period, a second convex envelope corresponding to the target area is generated and displayed, wherein the moment when the number of obstacles in the target area is monitored to meet the preset condition is the second moment.
6. The method for determining the collection range according to claim 1, It is characterized in that When the end moment of the target period is the second moment and the initial moment of the target period is the first moment, generating and displaying a second convex envelope corresponding to the target area according to the acquired set of position information of obstacles in the target area during the target period, comprises: The second convex envelope corresponding to the target area is generated according to the acquired position information set of obstacles in the target area within the second time period, and the target convex envelope is replaced with the second convex envelope to display the second convex envelope.
7. The method for determining the collection range according to claim 1, It is characterized in that When the end moment of the target period is the second moment and the initial moment of the target period is the initial moment of the first period, generating a second convex envelope corresponding to the target area according to the acquired set of position information of obstacles in the target area during the target period includes: updating the first convex envelope according to the acquired position information set of obstacles in the target area within the second time period, generating the second convex envelope corresponding to the target area, and replacing the target convex envelope with the second convex envelope to display the second convex envelope; The first convex envelope is generated based on a set of position information of obstacles in the target area in a first time period in the target time period.
8. The method for determining the collection range according to claim 1, It is characterized in that The intelligent traffic management system is communicatively connected with the intelligent roadside unit DRSU, each target area corresponds to at least one DRSU, and each DRSU is provided with at least one collection device that communicates with the DRSU; The method further comprises: Based on the communication connection between the intelligent traffic management system and the DRSU, and the communication connection between the DRSU and the corresponding collection device, a set of position information of obstacles in the target area within a collection period is obtained; wherein the collection period is the first period or the target period.
9. The method for determining the collection range according to claim 8, It is characterized in that The acquisition equipment includes a camera and a radar; The method further comprises: Respectively acquiring a first position information set of obstacles in the target area collected by the camera during the collection period and a second position information set of obstacles in the target area collected by the radar during the collection period; wherein the first position information set includes at least one position information not included in the second position information set, and the second position information set includes at least one position information not included in the first position information set; The first location information set and the second location information set are combined to determine a location information set of obstacles in the target area during the collection period.
10. A device for determining a collection range, It is characterized in that Applied to intelligent traffic management system, the device comprises: A first processing module is used to generate and display a first convex envelope corresponding to the target area at a first moment according to a set of position information of obstacles in the target area in a first time period, wherein the first moment is the end moment of the first time period; wherein the intelligent traffic management system corresponds to a plurality of target areas, the target area is the first area, or the target area is an overlapping area of a convex polygon corresponding to the convex envelope of the first area and a convex polygon corresponding to the convex envelope of a second area, and the second area is an adjacent area of the first area; A second processing module is used to generate and display a second convex envelope corresponding to the target area according to the acquired position information set of obstacles in the target area within the target time period at a second moment when a preset trigger condition is detected, wherein the end moment of the target time period is the second moment, and the initial moment of the target time period is the first moment or the initial moment of the first time period; The third processing module is used to adjust the first convex envelope based on a preset strategy in a second time period to generate a target convex envelope corresponding to the target area for display, the initial moment of the second time period is the first moment, and the end moment of the second time period is the second moment.
11. An electronic device, It is characterized in that include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the steps of the acquisition range determination method according to any one of claims 1 to 9 are implemented.
12. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the acquisition range determination method according to any one of claims 1 to 9 are implemented.
