Moving object-oriented evolution clustering method and system

Through the evolutionary clustering method for moving objects, using minimization group and grid index technology, efficient clustering calculation and parameter optimization are achieved, which solves the problems of unstable clustering quality and large time overhead in the existing technology. Suitable for real-time scenarios.

CN118568531AActive Publication Date: 2024-08-30ZHEJIANG UNIV
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411040058.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-08-30
Estimated Expiration
2044-07-31

AI Technical Summary

Technical Problem

Existing real-time moving object clustering methods ignore clustering quality while ensuring running time efficiency, resulting in unstable clustering results and inability to effectively eliminate fluctuations in clustering, especially in scenarios where moving objects change rapidly. Evolutionary clustering methods are too time-consuming and infeasible.

Method used

The evolutionary clustering method for moving objects is adopted to obtain motion status information online, divide minimization groups, perform smoothing based on seed points, and use grid index to accelerate density clustering to achieve clustering calculation with approximately linear time complexity. , and optimize the density clustering parameters based on the clustering results.

Benefits of technology

It improves the clustering quality, reduces the time complexity, is suitable for real-time scenarios, can efficiently perform clustering when moving objects change rapidly, and can calculate and optimize clustering parameters in real time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568531A
    Figure CN118568531A
Patent Text Reader

Abstract

The invention discloses a moving object-oriented evolution clustering method and system, and the method comprises the steps: obtaining the motion state information of a moving object online, each piece of information comprising the geographic position coordinate of the moving object and the current time point of the moving object; taking each time interval with a fixed size as a unit of primary clustering, and for the moving objects in the time interval, forming a minimum group for smoothing the positions of the moving objects by taking the geographic space distance as a measurement standard; after evolutionary clustering smoothing is carried out on the positions of the moving objects by using the minimum group, fast clustering calculation is carried out on the moving objects by using a grid index in combination with a density-based clustering method; after clustering is completed, algorithm parameters based on density clustering are optimized and iterated, so that clustering of high-quality moving objects is formed on line.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of spatiotemporal trajectory data mining, and in particular relates to an evolutionary clustering method and system for moving objects. Background Art

[0002] With the development of technology, it is not difficult for mobile objects, including people, vehicles, and ships, to transmit their positions to a central location in real time. This scenario provides the possibility of discovering hidden movement patterns in real time. As a typical movement pattern discovery method, clustering aims to group a group of moving objects according to their spatial-temporal similarities. The ability to continuously cluster moving objects is beneficial to a wide range of services and applications, such as ship collision risk assessment, path modeling, real-time road traffic management, and animal migration analysis.

[0003] Existing real-time clustering methods, such as [P. Kalnis, N. Mamoulis, and S. Bakiras, “Ondiscovering moving clusters in spatio-temporal data,” in SSTD. Springer, 2005, pp. 364–381], focus mainly on runtime efficiency and usually ignore clustering quality, which may lead to unstable clustering results; the positions of moving objects usually change continuously and gradually, so clusters should evolve smoothly over time. Fluctuations in clusters are not only undesirable, but may also have adverse effects on applications and services.

[0004] Existing real-time moving object clustering methods, such as [CS Jensen, D. Lin, and BC Ooi, “Continuous clustering of moving objects,” TKDE, vol. 19, no. 9, pp. 1161–1174, 2007], use the same clustering algorithm parameters to perform clustering on multiple time slices, while in real scenarios, the optimal clustering algorithm parameters corresponding to different moments may be different; in addition, this method cannot eliminate fluctuations in clustering. The key reason is that they perform clustering on the current timestamp without considering historical clustering; this problem can be solved by applying the concept of evolutionary clustering from the field of dynamic networks. By utilizing temporal smoothness, which can produce robustness to short-term variations, evolutionary clustering can achieve better clustering than traditional clustering techniques.

[0005] Existing evolutionary clustering studies, such as [DJ Fenn, MA Porter, M. McDonald, S.Williams, NF Johnson, and NS Jones, “Dynamic communities inmultichannel data: An application to the foreign exchange market during the2007–2008 credit crisis,” J Nonlinear Sci, vol. 19, no. 3, p. 033119, 2009], mainly target dynamic networks and are not suitable for moving objects. The time overhead of using evolutionary clustering algorithms on moving objects is too large for three main reasons: first, these solutions are designed specifically for dynamic networks, which are very different from spatiotemporal data; second, the movement speed of moving objects is usually much faster than the evolution speed of dynamic networks, which makes the temporal smoothness used in existing studies too strict for moving objects; third, existing studies usually perform clustering at each timestamp, which is computationally very expensive and infeasible for a large number of movements. Summary of the invention

[0006] In view of the above, the present invention provides an evolutionary clustering method and system for moving objects, which can take into account the quality of clustering during the clustering process and introduce historical clustering results into clustering considerations, so that the evolutionary clustering algorithm can be executed on the moving object clustering problem with an approximately linear time complexity, and the density-based clustering algorithm can be optimized for parameters and the optimized values ​​of the parameters can be calculated in real time.

[0007] An evolutionary clustering method for moving objects comprises the following steps: (1) Obtain the motion state information of the moving object online. Each piece of motion state information includes the geographical location coordinates (latitude and longitude) and timestamp of the moving object; (2) Determine the moving objects within the current time segment and divide these moving objects into multiple minimized groups; (3) Based on minimizing the seed points of the group, the positions of non-seed points in the group are smoothed; (4) Cluster the moving objects in the current time segment according to the smoothed positions.

[0008] Furthermore, in the step (2), when any piece of motion state information is obtained online, if the difference between the timestamp of the motion state information and the timestamp of the first piece of motion state information obtained in the current time segment is less than the set time interval, the moving object corresponding to the motion state information is classified as a moving object in the current time segment.

[0009] Furthermore, in step (2), for any moving object in the current time segment p , the geographical location coordinates in its motion state information are transformed into two-dimensional plane coordinates through the Miller projection method ( x , y ), find the p Distance less than md_thres All moving objects, if the number of these moving objects exceeds mn_thres , then p Form a minimum group for the initial seed point and divide all the moving objects into this group (and they cannot be snatched away by other seed point groups). md_thres is the distance threshold, mn_thres is the quantity threshold.

[0010] Furthermore, the specific implementation of step (3) is as follows: (3.1) Any moving object in the group is used as a seed point, and the other moving objects are non-seed points. The seed points and non-seed points are speed-limited separately. Specifically: For the seed point, by adjusting s _ loc Make d ( s _ loc,s _ loc ') / ( s _ t - s _ t ')< maxSpeed ,in s _ loc and s _ loc 'represents the position of the seed point in the current time segment and in the previous time segment, respectively. s _ t and s _ t 'Respectively s _ loc and s _ loc 'The corresponding timestamp, d ( s _ loc,s _ loc ')express s _loc and s _ loc 'The distance between maxSpeed is the maximum speed limit; For any non-seed point o , then by adjusting o_loc So that it satisfies the following relationship: ; d ( sp,o _ loc ') / ( o _ t - o _ t ')< maxSpeed in: o _ loc and o _ loc 'represent non-seed points o Position within the current time segment and within the previous time segment, o _ t and o _ t 'Respectively o _ loc and o _ loc 'The corresponding timestamp, sp is the position variable, d ( sp,s _ loc )express sp and s _ loc The distance between d ( o _ loc,s _ loc )express o _ loc and s _ loc The distance between d ( sp,o _ loc ')express sp and o _ loc 'The distance between; (3.2) Calculate the loss function of the seed point based on the evolutionary clustering smoothing operation L : ; in: md_thres is the distance threshold, d ( o_loc,s_loc )express o_locand s_loc The distance between β is a fixed parameter, a is a variable and a The value range includes φ And interval A positive integer within φ = d ( o_loc,s_ loc ) / md_thres ; (3.3) With loss function L Minimize to determine the variables a , and then a Substitute into the loss function L Get the loss function value corresponding to the seed point; (3.4) Make each moving object in the group a seed point, and obtain the loss function value corresponding to each seed point according to steps (3.2) to (3.3). Take the seed point with the smallest loss function value as the optimal seed point of the group, and then determine its loss function. L Variables in a , and calculate the smoothed position of non-seed points in the group through the following expression; o '( x )= a ( o ( x )- s ( x )) / φ + s ( x ) o '( y )= a ( o ( y )- s ( y )) / φ + s ( y ) in: o ( x )and o ( y ) are non-seed points o The horizontal and vertical coordinates of the position before smoothing, o '( x )and o '( y ) are non-seed points o The horizontal and vertical coordinates of the smoothed position, s ( x )and s ( y) are the horizontal and vertical coordinates of the optimal seed point position.

[0011] Furthermore, the specific implementation of step (4) is as follows: for any moving object within the current time segment p , according to the two-dimensional plane coordinates of the smoothed position, find the p Distance less than dd_thres (Generally greater than md_ thres ) of all moving objects, if the number of these moving objects exceeds dn_thres (Generally greater than mn_thres ), then p As the core points of clustering, the moving objects in the current time segment are clustered based on density. dd_thres is the distance threshold, dn_thres is the quantity threshold.

[0012] Preferably, for any moving object in the current time segment p , according to its two-dimensional plane coordinates ( x , y )Establish p The grid index ,in x min and y min They are p The lower bound of the horizontal and vertical coordinates of the plane, dd_ thres is the distance threshold; during the search process, only the grid index is searched moving objects, calculate the relationship between these moving objects and p The distance i = -1, 0 or 1, j = -1, 0 or 1; can speed up the construction of minimal groups and density-based clustering.

[0013] Preferably, in step (4), after completing a clustering, the modularity is calculated according to the clustering result. The greater the modularity, the higher the quality of the clustering. dd_thres After fine-tuning, cluster again. If the modularity of the clustering result is improved, the adjusted distance threshold dd_thres Used for clustering moving objects in the next time segment.

[0014] An evolutionary clustering system for moving objects, comprising: An acquisition module is used to acquire the motion state information of the moving object online, each piece of motion state information includes the geographical location coordinates and timestamp of the moving object, and determine the moving object in the current time segment; A construction module is used to convert the geographic location coordinates of the moving object into two-dimensional plane coordinates based on the distance threshold dd_ thres As the hypotenuse length of the grid, the grid index of the moving object is constructed; A group module, used to divide the moving objects in the current time segment into multiple minimized groups; A smoothing module smoothes the positions of non-seed points in the group based on minimizing the seed points of the group; A clustering module is used to cluster moving objects in the current time segment according to the smoothed positions; Optimization module, used to optimize the distance threshold according to the modularity of the clustering results dd_thres .

[0015] A computer device includes a memory and a processor, wherein the memory stores a computer program, and the processor is used to execute the computer program to implement the above-mentioned evolutionary clustering method for moving objects.

[0016] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned evolutionary clustering method for moving objects is implemented.

[0017] The present invention uses a minimized group structure to construct an evolutionary clustering method that is efficiently executed for moving objects; uses grid index technology to achieve a fast search for moving objects around the moving object, accelerates the generation of minimized groups and the operation of density-based clustering algorithms; uses an evolutionary clustering smoothing algorithm and an evolutionary clustering loss function to achieve an optimal smoothing position that can calculate non-seed points in a group in approximately linear time, so that the algorithm can be executed efficiently and is suitable for real-time scenarios. In addition, the present invention uses an incremental density-based clustering algorithm to quickly calculate the corresponding clustering results under different density clustering parameters, thereby optimizing clustering parameters in real-time scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 It is a schematic diagram of the flow of the evolutionary clustering method for moving objects of the present invention.

[0019] Figure 2 for Figure 1 Detailed expansion flow chart of step S14 in FIG.

[0020] Figure 3 Schematic diagram of the smoothing algorithm based on evolutionary clustering.

[0021] Figure 4 Schematic diagram of density-based clustering.

[0022] Figure 5 forFigure 1 Detailed expansion flow chart of step S15 in FIG.

[0023] Figure 6 This is a structural block diagram of the evolutionary clustering system for moving objects of the present invention.

[0024] Figure 7 The present invention is a schematic diagram of the structure of an electronic device implemented according to the method of the present invention. DETAILED DESCRIPTION

[0025] In order to describe the present invention more specifically, the technical solution of the present invention is described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0026] like Figure 1 As shown, the evolutionary clustering method for moving objects of the present invention comprises the following steps: Step S11: acquiring the motion state information of the moving object online, each piece of information including the geographic location coordinates of the moving object and the current time point of the moving object.

[0027] There are a large number of moving objects in the display scene, and the sensors in the moving objects will record the geographical location of the moving objects at a certain moment and the time corresponding to this geographical location. A two-tuple (position, time) can be used to represent the motion state information of a moving object. Since we generally use longitude and latitude to represent the specific position of a moving object, in more common cases, this embodiment uses a three-tuple (longitude, latitude, time) to represent the motion state information of a moving object.

[0028] Step S12: Process the motion state information of the moving object online, perform Miller projection transformation and construct a grid index.

[0029] We transform the longitude and latitude in the motion state information of the moving object into a two-dimensional plane coordinate ( x , y ), according to the plane position of the moving object, determine the lower bound of the plane horizontal and vertical coordinates ( x min , y min ), and then based on the distance threshold of density clustering dd_thres , construct the grid index of this moving object in the current plane as .

[0030] Step S13: constructing a minimum group for the moving objects in a time slice according to the set parameters and the grid index, specifically: For a moving object p , located at coordinates ( x , y), assuming that the distance threshold of the group is minimized md_thres < dd_ thres , then we only need to search for the grid index of moving objects, i = -1, 0 or 1, j =-1, 0 or 1; if the moving object p There are more than mn_thres The spatial distance p Less than md_thres moving object, then the moving object p A minimization group can be formed and become the seed point of this minimization group, and those spatial distances are p Less than md_thres The moving objects are divided into this minimized group.

[0031] Step S14: Based on the seed points in each minimization group, the non-seed points in the minimization group are subjected to a smoothing method based on evolutionary clustering. The specific process is as follows: Figure 2 As shown: S41: Traverse the moving objects in a minimization group and assume that the moving object is used as the seed point of the minimization group for smoothing. Specifically, because the seed point selection method is random, for a minimization group, the current seed point is not necessarily the optimal seed point for smoothing calculation for this minimization group. Therefore, the moving objects in the minimization group are traversed, and the value of the smoothing loss function corresponding to each moving object as a seed point is calculated to select the optimal seed point. At the same time, in order to meet the speed limit constraint, the speed of the moving object currently selected as the seed point needs to be processed so that its speed meets d ( s _ loc,s _ loc ') / ( s _ t - s _ t ')< maxSpeed ,in s _ loc and s _ loc 'represents the position of the seed point in the current time segment and in the previous time segment, respectively. s _ t and s _ t 'Respectively s _ loc and s _ loc 'The corresponding timestamp, d ( s _loc,s _ loc ')express s _ loc and s _ loc 'The distance between maxSpeed is the maximum speed limit.

[0032] S42: For a given seed point, other moving objects in the minimization group are first subjected to velocity preprocessing to satisfy the velocity constraint. Specifically, for moving objects that are not seed points in the minimization group, we need to perform velocity preprocessing on them before aligning and smoothing. When performing velocity preprocessing, it is necessary to ensure that the change in the distribution of the original data itself caused by velocity preprocessing is small enough and that the influence of velocity preprocessing on the smoothing calculation of the moving object is small. Therefore, when processing moving objects that are not seed points, the following relationship is used: ; d ( sp,o _ loc ') / ( o _ t - o _ t ')< maxSpeed in: o _ loc and o _ loc 'represents the position of the non-seed point in the current time segment and in the previous time segment, respectively. o _ t and o _ t 'Respectively o _ loc and o _ loc 'The corresponding timestamp, sp is the position variable; S43: According to the loss function of the smoothing method of evolutionary clustering, the optimal smoothing position of the non-seed point is calculated. Specifically: for a non-seed point o And a given seed point s , the non-seed points can be calculated by the following loss function o The optimal smoothing position adj(o): ; in: β is a fixed parameter, a is a variable and a The value range includes φ And interval A positive integer withinφ = d ( o_loc,s_loc ) / md_thres ; Since the variable of the loss function a There are only a finite number of discrete values, and the loss function has a quadratic form, so for each non-seed point o and a given seed point s , adj(o) can be calculated with O(1) time complexity. Figure 3 As shown, o 2 After speed preprocessing, its position is adjusted to o 2. loc_sp , and then through the seed point o 1 is smoothed to adj( o 2).

[0033] S44: For a minimization group, select a moving object with the smallest loss function value when acting as a seed point, and set this moving object as the optimal seed point of this minimization group. Use this optimal seed point to smooth other moving objects in the minimization group until all minimization groups have completed smoothing calculations.

[0034] Specifically, for each minimization group, the moving object with the smallest loss function value after traversal is selected as the optimal seed point of the minimization group, and the optimal seed point is used to smooth other moving objects in the minimization group. The smoothing calculations between each minimization group are independent of each other and there is no interference. This is because for a moving object that is not a seed point, the loss of smoothing this moving object only depends on the position of the moving object itself. o _ loc and the position of the seed point of this minimization group s _ loc , because different minimization groups have completely different seed points, the loss calculations between different minimization groups are independent of each other. By minimizing the loss function value within each minimization group, a minimum loss function value can be obtained globally, thereby obtaining the global optimal smooth position of all moving objects. The specific smoothing formula is as follows: o '( x )= a ( o ( x )- s ( x )) / φ + s ( x ) o '( y )= a (o ( y )- s ( y )) / φ + s ( y ) in: o ( x )and o ( y ) are non-seed points o The horizontal and vertical coordinates of the position before smoothing, o '( x )and o '( y ) are non-seed points o The horizontal and vertical coordinates of the smoothed position, s ( x )and s ( y ) are the horizontal and vertical coordinates of the optimal seed point position.

[0035] Step S15: Using a grid index combined with a density-based clustering method, the moving objects in a time slice are quickly clustered according to a set density-based clustering distance threshold and a minimum number of neighbors of a core point based on density clustering.

[0036] Based on density clustering, the moving object is searched for the surrounding area that is less than dd_thres Is the number of moving objects greater than dn_thres , to determine whether a moving object can become a core point in density-based clustering. The distance around a core point is less than dd_thres The moving object will be in the same cluster as the core point; if the surrounding range of a core point is less than dd_thres If there are other core points in the moving objects, then these two core points and all the moving objects in their clusters will be merged into one cluster. The density-based clustering continuously absorbs and merges the core points to eventually form a cluster. The specific process is as follows Figure 5 As shown: S51: Use grid index combined with density-based clustering method for moving objects within a time slice, according to the set distance threshold based on density clustering and the minimum number of neighbors of core points based on density clustering. Specifically: Using the constructed minimized group and grid index, we can reduce the search range of objects around a moving object, thereby greatly reducing the amount of calculation and quickly selecting core points from all moving objects.

[0037] S52: Using the core points calculated in S51, with the assistance of two data structures, hash table and queue, quickly cluster the moving objects within a time slice. Specifically: use the queue data structure to store the moving objects judged as core points, insert a core point into the queue each time it is processed, then take the core point out from the head of the queue, mark the core point as processed in the hash table, and cluster the moving objects around the core point that are less than the distance to the queue. dd_thres The unmarked core points in the hash table are pushed into the queue until the queue is empty and a cluster is formed. Then an unprocessed core point is taken out from the hash table and pushed into the queue. The previous steps are repeated to continuously generate new clusters until all seed points in the hash table are marked, and the clustering algorithm ends.

[0038] like Figure 4 As shown, there are 9 different moving objects o 1… o 9. Assumption dn_thres =5, according to the diagram we can get o 1. o 3. o 7 is the core point. o 1. o 7 and o The distance between 3 is less than dd_thres ,therefore Figure 4 All moving objects in the cluster are in one cluster.

[0039] Step S16: Calculate the optimization direction of the distance threshold based on density clustering through an incremental density clustering algorithm to improve the quality of clustering. Specifically: Calculate the modularity based on the clustering results mody ,by dd_thres +Δ dd and dd_ thres -Δ dd Perform incremental density-based clustering to calculate the corresponding mody _ up and mody _ down ,Compare mody , mody _ up and mody _ down , take out the maximum value, which corresponds to the optimized time slice that should be used in the next time slice dd_thres .

[0040] Corresponding to the aforementioned embodiment of the evolutionary clustering method for moving objects, the present invention also provides an embodiment of an evolutionary clustering system for moving objects.

[0041] like Figure 6As shown, the evolutionary clustering system for moving objects in this embodiment includes: The acquisition module 21 acquires the motion state information of the moving object online, each piece of information includes the geographic location coordinates of the moving object and the current time point of the moving object, and divides the information into time slices; The construction module 22 is used to convert the longitude and latitude coordinates into plane coordinates. According to the geographic location coordinates in the motion state information of the moving object within a time slice, the distance threshold based on density clustering is used. dd_thres As the hypotenuse length of the grid, construct the grid index; The group module 23 is used to generate a minimization group and a seed point according to set parameters for a moving object within a time slice; A smoothing module 24 is used to perform smoothing calculation on the generated minimization group to calculate the optimal smoothing position of each moving object in the minimization group; A clustering module 25, for performing density-based clustering calculation on moving objects within a time slice by minimizing groups and grid index-assisted acceleration; The optimization module 26 is used to calculate the parameter optimization value based on density clustering by using an incremental density-based clustering algorithm according to the clustering result of the moving objects in a time slice.

[0042] Regarding the system in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0043] Accordingly, the present invention also provides an electronic device, including a processor and a memory, wherein the memory is used to store a computer program, and the processor is used to execute the computer program to implement the above-mentioned evolutionary clustering method for moving objects. Figure 7 The figure shows a hardware structure of any electronic device with data processing capability in which the evolutionary clustering system for moving objects provided by the embodiment of the present invention is located. Figure 7 In addition to the processor, memory and network interface shown, the electronic device with data processing capability in which the system in the embodiment is located may also include other hardware according to the actual function of the electronic device, which will not be described in detail.

[0044] Accordingly, the present invention also provides a computer-readable storage medium on which computer instructions are stored, and when the instructions are executed by a processor, the above-mentioned evolutionary clustering method for moving objects is implemented. The computer-readable storage medium can be an internal storage unit of the aforementioned electronic device with data processing capability, such as a hard disk or memory, or other external storage devices, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), an SD card, a flash card (Flash Card), etc. equipped on the device. The computer-readable storage medium can also include both an internal storage unit of an electronic device with data processing capability and an external storage device, which is used to store the computer program and other programs and data required by the electronic device with data processing capability, and can also be used to temporarily store data that has been output or is to be output.

[0045] The above description of the embodiments is to facilitate the understanding and application of the present invention by those skilled in the art. It is obvious that those skilled in the art can easily make various modifications to the above embodiments and apply the general principles described herein to other embodiments without creative work. Therefore, the present invention is not limited to the above embodiments. Improvements and modifications made by those skilled in the art to the present invention based on the disclosure of the present invention should be within the protection scope of the present invention.

Claims

1. An evolutionary clustering method for moving objects, comprising the following steps: (1) Obtaining the motion state information of the moving object online. Each piece of motion state information includes the geographic location coordinates and timestamp of the moving object; (2) Determine the moving objects within the current time segment and divide these moving objects into multiple minimized groups; (3) Based on minimizing the seed points of the group, the positions of non-seed points in the group are smoothed; (4) Cluster the moving objects in the current time segment according to the smoothed positions.

2. The evolutionary clustering method for moving objects according to claim 1, characterized in that: In the step (2), when any piece of motion state information is obtained online, if the difference between the timestamp of the motion state information and the timestamp of the first piece of motion state information obtained in the current time segment is less than the set time interval, the moving object corresponding to the motion state information is classified as a moving object in the current time segment.

3. The evolutionary clustering method for moving objects according to claim 1, characterized in that: In step (2), for any moving object in the current time segment p , the geographical location coordinates in its motion state information are transformed into two-dimensional plane coordinates through the Miller projection method ( x , y ), find the p Distance less than md_thres All moving objects, if the number of these moving objects exceeds mn_thres , then p Form a minimum group for the initial seed point and divide all the moving objects into this group. md_thres is the distance threshold, mn_thres is the quantity threshold.

4. The evolutionary clustering method for moving objects according to claim 1, characterized in that: The specific implementation of step (3) is as follows: (3.1) Any moving object in the group is taken as a seed point, and the other moving objects are non-seed points. The seed points and non-seed points are speed-limited separately. Specifically: For the seed point, by adjusting s _ loc Make d ( s _ loc,s _ loc ') / ( s _ t - s _ t ')< maxSpeed ,in s _ loc and s _ loc 'represents the position of the seed point in the current time segment and in the previous time segment, respectively. s _ t and s _ t 'Respectively s _ loc and s _ loc 'The corresponding timestamp, d ( s _ loc,s _ loc ')express s _ loc and s _ loc 'The distance between maxSpeed is the maximum speed limit; For any non-seed point o , then by adjusting o_loc So that it satisfies the following relationship: ; d ( sp,o _ loc ') / ( o _ t - o _ t ')< maxSpeed in: o _ loc and o _ loc 'represent non-seed points respectively o Position within the current time segment and within the previous time segment, o _ t and o _ t 'Respectively o _ loc and o _ loc 'The corresponding timestamp, sp is the position variable, d ( sp,s _ loc )express sp and s _ loc The distance between d ( o _ loc,s _ loc )express o _ loc and s _ loc The distance between d ( sp,o _ loc ')express sp and o _ loc 'The distance between; (3.2) Calculate the loss function of the seed point based on the evolutionary clustering smoothing operation L : ; in: md_thres is the distance threshold, d ( o_loc,s_loc )express o_loc and s_loc The distance between β is a fixed parameter, a is a variable and a The value range includes φ And interval A positive integer within φ=d ( o_loc,s_loc ) / md_thres ; (3.3) With loss function L Minimize to determine the variables a , and then a Substitute into the loss function L Get the loss function value corresponding to the seed point; (3.4) Make each moving object in the group a seed point, and obtain the loss function value corresponding to each seed point according to steps (3.2) to (3.3). Take the seed point with the smallest loss function value as the optimal seed point of the group, and then determine its loss function. L Variables in a , and calculate the smoothed position of non-seed points in the group through the following expression; o '( x )= a ( o ( x )- s ( x )) / φ + s ( x ) o '( y )= a ( o ( y )- s ( y )) / φ + s ( y ) in: o ( x )and o ( y ) are non-seed points o The horizontal and vertical coordinates of the position before smoothing, o '( x )and o '( y ) are non-seed points o The horizontal and vertical coordinates of the smoothed position, s ( x )and s ( y ) are the horizontal and vertical coordinates of the optimal seed point position.

5. The evolutionary clustering method for moving objects according to claim 1, characterized in that: The specific implementation method of step (4) is: for any moving object in the current time segment p , according to the two-dimensional plane coordinates of the smoothed position, find the p Distance less than dd_thres All moving objects, if the number of these moving objects exceeds dn_thres , then p As the core points of clustering, the moving objects in the current time segment are clustered based on density. dd_thres is the distance threshold, dn_thres is the quantity threshold.

6. The evolutionary clustering method for moving objects according to claim 3 or 5, characterized in that: For any moving object in the current time segment p , according to its two-dimensional plane coordinates ( x , y )Establish p The grid index ,in x min and y min They are p The lower bound of the horizontal and vertical coordinates of the plane, dd_thres is the distance threshold; during the search process, only the grid index is searched moving objects, calculate the relationship between these moving objects and p The distance i = -1, 0 or 1, j =-1, 0, or 1.

7. The method for evolutionary clustering of moving objects according to claim 5, characterized in that: In step (4), after completing a clustering, the modularity is calculated according to the clustering result. The larger the modularity, the higher the quality of clustering. dd_thres After fine-tuning, cluster again. If the modularity of the clustering result is improved, the adjusted distance threshold dd_thres Used for clustering moving objects in the next time segment.

8. An evolutionary clustering system for moving objects, characterized in that: include: An acquisition module is used to acquire the motion state information of the moving object online, each piece of motion state information includes the geographical location coordinates and timestamp of the moving object, and determine the moving object in the current time segment; A construction module is used to convert the geographic location coordinates of the moving object into two-dimensional plane coordinates based on the distance threshold dd_ thres As the hypotenuse length of the grid, the grid index of the moving object is constructed; A group module, used to divide the moving objects in the current time segment into multiple minimized groups; A smoothing module smoothes the positions of non-seed points in the group based on minimizing the seed points of the group; A clustering module is used to cluster moving objects in the current time segment according to the smoothed positions; Optimization module, used to optimize the distance threshold according to the modularity of the clustering results dd_thres .

9. A computer device comprising a memory and a processor, characterized in that: The memory stores a computer program, and the processor is used to execute the computer program to implement an evolutionary clustering method for moving objects as described in any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, it implements an evolutionary clustering method for moving objects as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • High-dynamic target clustering detection method based on airborne event camera

    CN118334391A