Methods, devices, and equipment for determining behavioral trajectories
By acquiring the vehicle's location and time of positioning, the location for mineral collection, processing, and storage is automatically determined, solving the problem of low efficiency in behavior trajectory determination in existing technologies and achieving efficient and accurate trajectory determination.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-21
- Publication Date
- 2026-03-10
AI Technical Summary
Current technologies for determining behavioral trajectories are inefficient, requiring verification of the locations of sand mining and sand-using sites one by one, resulting in low efficiency.
By acquiring the location times and positions of multiple preset vehicles, the locations for mineral collection, processing, and storage can be determined, and behavioral trajectories can be determined based on these locations, avoiding manual investigation one by one.
It improves the efficiency of determining behavioral trajectories, reduces the consumption of human and material resources, and enhances the accuracy and efficiency of trajectories.
Smart Images

Figure CN116067372B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the fields of geographic information processing, computers, and more particularly to a method, apparatus, and device for determining behavioral trajectories. Background Technology
[0002] River sand mining is crucial to the stability of the river course and the safety of infrastructure such as flood control, water supply, and navigation. Inappropriate sand mining practices may affect the stability of the river course and the safety of infrastructure.
[0003] In related technologies, it is usually necessary for relevant personnel to check the location of each sand mining site to determine the location of the target sand mining site, and then check the location of each sand-using site to determine the location of the target sand-using site. This results in a behavioral trajectory that includes the location of the target sand mining site and the location of the target sand-using site. The behavioral trajectory is used to prevent inappropriate sand mining activities.
[0004] In the aforementioned related technologies, relevant personnel check the location of each sand mining site one by one to obtain the behavioral trajectory including the location of the target sand mining site and the location of the target sand use site, which makes the efficiency of obtaining the above behavioral trajectory relatively low. Summary of the Invention
[0005] This invention provides a method, apparatus, and device for determining behavioral trajectories, which addresses the shortcomings of low efficiency in obtaining behavioral trajectories in the prior art and improves the efficiency of determining behavioral trajectories.
[0006] In a first aspect, the present invention provides a method for determining a behavioral trajectory, comprising:
[0007] Multiple preset vehicles are acquired, each with multiple positioning times and multiple locations; wherein, the preset vehicles are used to transport the collected minerals, and the multiple locations include the location of the corresponding vehicle at each positioning time;
[0008] Based on the multiple positioning times and multiple locations of the multiple preset vehicles, multiple first stopping locations are determined;
[0009] Among the plurality of first stopping positions, a mineral collection position, a mineral processing position, or a mineral storage position is determined;
[0010] The behavioral trajectory is determined based on at least two of the following locations: the mineral collection location, the mineral processing location, or the mineral storage location.
[0011] According to a method for determining a behavior trajectory provided by the present invention, determining multiple first stopping positions based on multiple positioning times and multiple positions of the multiple preset vehicles includes:
[0012] Perform the following operations for each preset vehicle:
[0013] Based on multiple positioning times and multiple locations of the preset vehicle, a continuous time period is determined; wherein, the continuous time period includes at least two consecutive positioning times, and the preset vehicle is in the same location during the continuous time period;
[0014] If the continuous time period is greater than or equal to the preset duration, the position of the preset vehicle during the continuous time period is determined as the first stopping position of the preset vehicle.
[0015] The plurality of first stopping positions includes the first stopping position of each preset vehicle.
[0016] According to a method for determining a behavioral trajectory provided by the present invention, among the plurality of first dwelling locations, determining the mineral collection location, the mineral processing location, and the mineral storage location includes:
[0017] N hotspot locations are determined from the plurality of first dwell locations; wherein, the N hotspot locations are the top N first dwell locations with the highest frequency of occurrence among the plurality of first dwell locations, and N is greater than or equal to 1;
[0018] Delete the hotspot locations that are the same as the preset locations from the N hotspot locations to obtain the remaining hotspot locations;
[0019] The hot spots located in the preset area from the remaining hot spots are determined as the mineral collection locations;
[0020] The mineral processing location is determined based on the mineral collection location and the multiple locations of each of the multiple preset vehicles;
[0021] The mineral storage location is determined based on the mineral processing location, the preset parking locations of the plurality of preset vehicles, and the plurality of locations of the plurality of preset vehicles.
[0022] According to a method for determining a behavior trajectory provided by the present invention, determining the mineral processing location based on the mineral collection location and multiple locations of each of the plurality of preset vehicles includes:
[0023] Perform the following operations for each preset vehicle:
[0024] If the mineral collection location is included among the multiple locations of the preset vehicle, at least one second stopping location is determined among the multiple locations of the preset vehicle based on the mineral collection location; wherein the second stopping location is located after the mineral collection location, is a non-preset location, and the duration of the preset vehicle's stay at the second stopping location is greater than or equal to a preset duration;
[0025] The first second stop position located after the mineral collection position among the at least one second stop positions is determined as the mineral processing position.
[0026] According to a method for determining a behavior trajectory provided by the present invention, determining the mineral storage location based on the mineral processing location, the preset parking locations of the plurality of preset vehicles, and the plurality of locations of the plurality of preset vehicles includes:
[0027] Perform the following operations for each preset vehicle:
[0028] When the mineral processing location is included among the multiple locations of the preset vehicle, a third stopping location is determined among the multiple locations of the preset vehicle based on the mineral processing location and the preset parking location of the preset vehicle; the third stopping location is located between the mineral processing location and the preset parking location, is a non-preset location, and the duration of the preset vehicle's stay at the third stopping location is greater than or equal to a preset duration;
[0029] If the third dwelling position is similar to a preset suspected position, the third dwelling position is determined as the mineral storage position.
[0030] According to a method for determining behavioral trajectories provided by the present invention, the number of mineral collection locations, mineral processing locations, and mineral storage locations are all multiple;
[0031] Based on multiple mineral extraction locations, multiple mineral processing locations, and multiple mineral storage locations, behavioral trajectories are determined, including:
[0032] Determine multiple first trajectories between the plurality of mineral collection locations and the plurality of mineral processing locations;
[0033] Determine multiple second trajectories between the plurality of mineral processing locations and the plurality of mineral storage locations;
[0034] For each first trajectory, a first total number of preset vehicles traveling along the first trajectory is determined based on the multiple positions of each of the multiple preset vehicles.
[0035] For each second trajectory, a second total number of preset vehicles traveling along the second trajectory is determined based on the multiple positions of each of the multiple preset vehicles.
[0036] The behavioral trajectory is determined based on the plurality of first trajectories, the plurality of second trajectories, the first total number, and the second total number.
[0037] According to a method for determining a behavioral trajectory provided by the present invention, the step of determining the behavioral trajectory based on the plurality of first trajectories, the plurality of second trajectories, the first total quantity, and the second total quantity includes:
[0038] The multiple first trajectories are sorted in descending order of the first total quantity to obtain a first trajectory sequence;
[0039] The multiple second trajectories are sorted in descending order of the second total quantity to obtain a second trajectory sequence;
[0040] The first trajectory sequence and the second trajectory sequence are determined as the behavior trajectory.
[0041] Secondly, the present invention also provides a device for determining a behavior trajectory, comprising:
[0042] The acquisition module is used to acquire multiple positioning times and multiple locations for each of multiple preset vehicles; wherein, the preset vehicles are used to transport the collected minerals, and the multiple locations include the position of the corresponding vehicle at each positioning time;
[0043] The determination module is used to determine multiple first stopping positions based on multiple positioning times and multiple positions of each of the multiple preset vehicles;
[0044] The determining module is used to determine the mineral collection location, mineral processing location, or mineral storage location among the plurality of first dwelling locations;
[0045] The determining module is used to determine the behavioral trajectory based on at least two of the following locations: the mineral collection location, the mineral processing location, or the mineral storage location.
[0046] According to the present invention, a device for determining behavioral trajectories is provided, wherein the determining module is specifically used for:
[0047] Perform the following operations for each preset vehicle:
[0048] Based on multiple positioning times and multiple locations of the preset vehicle, a continuous time period is determined; wherein, the continuous time period includes at least two consecutive positioning times, and the preset vehicle is in the same location during the continuous time period;
[0049] If the continuous time period is greater than or equal to the preset duration, the position of the preset vehicle during the continuous time period is determined as the first stopping position of the preset vehicle.
[0050] The plurality of first stopping positions includes the first stopping position of each preset vehicle.
[0051] According to the present invention, a device for determining behavioral trajectories is provided, wherein the determining module is specifically used for:
[0052] N hotspot locations are determined from the plurality of first dwell locations; wherein, the N hotspot locations are the top N first dwell locations with the highest frequency of occurrence among the plurality of first dwell locations, and N is greater than or equal to 1;
[0053] Delete the hotspot locations that are the same as the preset locations from the N hotspot locations to obtain the remaining hotspot locations;
[0054] The hot spots located in the preset area from the remaining hot spots are determined as the mineral collection locations;
[0055] The mineral processing location is determined based on the mineral collection location and the multiple locations of each of the multiple preset vehicles;
[0056] The mineral storage location is determined based on the mineral processing location, the preset parking locations of the plurality of preset vehicles, and the plurality of locations of the plurality of preset vehicles.
[0057] According to the present invention, a device for determining behavioral trajectories is provided, wherein the determining module is specifically used for:
[0058] Perform the following operations for each preset vehicle:
[0059] If the mineral collection location is included among the multiple locations of the preset vehicle, at least one second stopping location is determined among the multiple locations of the preset vehicle based on the mineral collection location; wherein the second stopping location is located after the mineral collection location, is a non-preset location, and the duration of the preset vehicle's stay at the second stopping location is greater than or equal to a preset duration;
[0060] The first second stop position located after the mineral collection position among the at least one second stop positions is determined as the mineral processing position.
[0061] According to the present invention, a device for determining behavioral trajectories is provided, wherein the determining module is specifically used for:
[0062] Perform the following operations for each preset vehicle:
[0063] When the mineral processing location is included among the multiple locations of the preset vehicle, a third stopping location is determined among the multiple locations of the preset vehicle based on the mineral processing location and the preset parking location of the preset vehicle; the third stopping location is located between the mineral processing location and the preset parking location, is a non-preset location, and the duration of the preset vehicle's stay at the third stopping location is greater than or equal to a preset duration;
[0064] If the third dwelling position is similar to a preset suspected position, the third dwelling position is determined as the mineral storage position.
[0065] According to the present invention, a device for determining behavioral trajectories is provided, wherein the number of mineral collection locations, mineral processing locations, and mineral storage locations are each multiple; (not deleted)
[0066] The determining module is specifically used for:
[0067] Determine multiple first trajectories between the plurality of mineral collection locations and the plurality of mineral processing locations;
[0068] Determine multiple second trajectories between the plurality of mineral processing locations and the plurality of mineral storage locations;
[0069] For each first trajectory, a first total number of preset vehicles traveling along the first trajectory is determined based on the multiple positions of each of the multiple preset vehicles.
[0070] For each second trajectory, a second total number of preset vehicles traveling along the second trajectory is determined based on the multiple positions of each of the multiple preset vehicles.
[0071] The behavioral trajectory is determined based on the plurality of first trajectories, the plurality of second trajectories, the first total number, and the second total number.
[0072] According to the present invention, a device for determining behavioral trajectories is provided, wherein the determining module is specifically used for:
[0073] The multiple first trajectories are sorted in descending order of the first total quantity to obtain a first trajectory sequence;
[0074] The multiple second trajectories are sorted in descending order of the second total quantity to obtain a second trajectory sequence;
[0075] The first trajectory sequence and the second trajectory sequence are determined as the behavior trajectory.
[0076] Thirdly, the present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method for determining the behavior trajectory as described above.
[0077] Fourthly, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for determining the behavioral trajectory as described above.
[0078] Fifthly, the present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the method for determining the behavior trajectory as described above.
[0079] The present invention provides a method, apparatus, and device for determining behavioral trajectories. By determining a mineral collection location, a mineral processing location, or a mineral storage location among multiple first dwelling locations, and determining a behavioral trajectory based on at least two of the mineral collection location, mineral processing location, or mineral storage location, the method improves the efficiency of determining behavioral trajectories by eliminating the need to consume a large amount of manpower and resources to check each location one by one. Attached Figure Description
[0080] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0081] Figure 1 This is one of the flowcharts illustrating the method for determining behavioral trajectories provided by the present invention;
[0082] Figure 2 This is the second flowchart illustrating the method for determining behavioral trajectories provided by the present invention;
[0083] Figure 3 This is a schematic diagram of the process of obtaining behavioral trajectories provided by the present invention;
[0084] Figure 4 This is a schematic diagram of the structure of the device for determining behavioral trajectories provided by the present invention;
[0085] Figure 5 This is a schematic diagram of the physical structure of the electronic device provided by the present invention. Detailed Implementation
[0086] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0087] In existing technologies, relevant personnel check the locations of relevant sand mining sites and relevant sand usage sites one by one to obtain behavioral trajectories that include the locations of target sand mining sites and target sand usage sites, which makes obtaining the above behavioral trajectories inefficient.
[0088] In this invention, to improve the efficiency of obtaining the aforementioned behavioral trajectory, the inventors determine the mineral collection location, mineral processing location, or mineral storage location by acquiring multiple positioning times and multiple locations of multiple preset vehicles. Based on at least two of these locations, the behavioral trajectory is determined, eliminating the need for manual investigation of each location to determine the behavioral trajectory and thus improving the efficiency of determining the behavioral trajectory.
[0089] The following describes a method for determining behavioral trajectories provided by the present invention with reference to specific embodiments:
[0090] Figure 1 This is one of the flowcharts illustrating the method for determining behavioral trajectories provided by this invention. For example... Figure 1 As shown, the method for determining behavioral trajectories provided in this embodiment includes:
[0091] S101. Obtain multiple positioning times and multiple locations for each of the multiple preset vehicles; wherein, the preset vehicles are used to transport the collected minerals, and the multiple locations include the location of the corresponding vehicle at each positioning time.
[0092] Optionally, the method for determining behavioral trajectories provided by the present invention can be executed by an electronic device or by a behavioral trajectory determination device installed in an electronic device. The behavioral trajectory determination device can be implemented through a combination of software and / or hardware. The method for determining behavioral trajectories provided by the present invention will be described below with the behavioral trajectory determination device as the executing entity.
[0093] Optionally, the electronic device includes a preset storage area for storing electronic waybill data, which includes vehicle information, multiple location times, and multiple locations for each of the preset vehicles.
[0094] Optionally, the preset vehicle can be a vehicle with a preset load, such as a load greater than or equal to 12 tons.
[0095] Optionally, vehicle information may include at least one of the following: vehicle license plate number, affiliated unit, and full load capacity.
[0096] For each preset vehicle, multiple positioning times and multiple locations of the preset vehicle can be obtained by collecting the location of the preset vehicle through the Global Navigation Satellite System (GNSS) installed in the preset vehicle.
[0097] Alternatively, the global satellite navigation system can be the BeiDou Navigation Satellite System (BDS), the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), etc.
[0098] Optionally, the location can be latitude and longitude coordinates.
[0099] The minerals used in this invention can be, for example, gold, pyrite, potash, sand, or mica.
[0100] S102. Based on the multiple positioning times and multiple locations of multiple preset vehicles, determine multiple first stopping positions.
[0101] Alternatively, multiple first stopping positions can be determined in the following three ways (method 11, method 12 and method 13).
[0102] Method 11, perform the following operations for each preset vehicle:
[0103] In multiple positioning times for each of the preset vehicles, determine whether there are consecutive first preset number of target positioning times where the corresponding positions are all the same;
[0104] If it exists, the position corresponding to the first preset number of target positioning times is determined as the first stopping position of the preset vehicle;
[0105] The multiple first stopping positions in S102 include the first stopping position of each preset vehicle.
[0106] Optionally, the first preset quantity can be 2,000 or 20,000, etc.
[0107] For example, if the first preset quantity is 2,000, and there are 2,000 consecutive target positioning times corresponding to the same location in the multiple positioning times of each preset vehicle, then the location corresponding to the 2,000 target positioning times is determined as the first stopping position of the preset vehicle.
[0108] Method 12, perform the following operations for each preset vehicle:
[0109] Based on multiple positioning times and multiple locations of a preset vehicle, a continuous time period is determined; wherein, the continuous time period includes at least two consecutive positioning times, and the preset vehicle is in the same location during the continuous time period; if the continuous time period is greater than or equal to a preset duration, the location of the preset vehicle during the continuous time period is determined as the first stopping position of the preset vehicle; the multiple first stopping positions in S102 include the first stopping position of each preset vehicle.
[0110] Optionally, based on multiple positioning times and multiple locations of a preset vehicle, a continuous time period is determined, including: for any two consecutive positioning times among the multiple positioning times of the preset vehicle, determining whether the positions of the preset vehicle at the at least two positioning times are the same; if they are the same, then the difference between the start time and the end time among the at least two positioning times is determined as a continuous time period.
[0111] Optionally, the preset duration can be 15 minutes, 20 minutes, or 30 minutes, etc.
[0112] For example, if the preset duration is 15 minutes, and the determined continuous time period is greater than or equal to 15 minutes, then the position of the preset vehicle during the continuous time period is determined as the first stopping position of the preset vehicle.
[0113] Method 13, perform the following operations for each preset vehicle:
[0114] Based on multiple locations of a preset vehicle, multiple first target locations located in a preset area are determined; the multiple locations of the preset vehicle other than the multiple first target locations are determined as multiple second target locations; based on the multiple first target locations and the multiple positioning times corresponding to the multiple first target locations, the first target stopping location of the preset vehicle is determined; based on the multiple second target locations and the multiple positioning times corresponding to the multiple second target locations, the second target stopping location of the preset vehicle is determined; the multiple first stopping locations in S102 include the first target stopping location and the second target stopping location of each preset vehicle.
[0115] It should be noted that the methods for determining the first target stopping position of the preset vehicle and the second target stopping position of the preset vehicle are the same. Specifically, the method for determining the first target stopping position of the preset vehicle can be found in method 11 or method 12 above.
[0116] For example, if the mineral is sand, the preset area can be a sand mining area.
[0117] In method 13, determining the first target dwell position and the second target dwell position within the preset area can prevent the determined mineral collection position from being outside the preset area, thereby improving the accuracy of determining the behavior trajectory.
[0118] Optionally, the preset area can be obtained by marking an electronic map in a geographic information system (GIS), which is set in an electronic device.
[0119] Optionally, the electronic map can be a two-dimensional map or a three-dimensional map, etc.
[0120] Alternatively, the preset area can be obtained through the following methods 21 and 22.
[0121] Method 21: Receive the user's area calibration instruction for the electronic map. The area calibration instruction includes the boundary of the preset area. Determine the preset area based on the boundary in the area calibration instruction.
[0122] Method 22: Receive multiple coordinates input by the user, and determine a preset area on the electronic map based on the multiple coordinates. The boundary of the preset area includes the aforementioned multiple coordinates.
[0123] S103. Among multiple first stopping positions, determine the mineral collection location, mineral processing location, or mineral storage location.
[0124] For example, if the mineral is sand, the mineral collection location is the sand mining location, the mineral processing location is the sand processing location, and the mineral storage location is the sand storage location.
[0125] The mineral collection location, mineral processing location, and mineral storage location are locations other than the preset location among multiple first dwelling locations.
[0126] Optionally, the preset location may include parking locations, refueling locations, repair locations, or traffic congestion locations. The preset location is the location marked on the aforementioned electronic map.
[0127] It should be noted that among the multiple first stopping locations, at least one of the following can be identified: mineral collection location, mineral processing location, and mineral storage location.
[0128] For a detailed explanation of S103, please refer to Figure 2 Examples are not described here.
[0129] S104. Determine the behavioral trajectory based on at least two of the following locations: mineral collection location, mineral processing location, or mineral storage location.
[0130] Optionally, the number of at least two of the following locations may be one or more: mineral extraction location, mineral processing location, or mineral storage location.
[0131] For example, if there is only one mineral collection location and one mineral processing location, the trajectory between the mineral collection location and the mineral processing location can be defined as a behavioral trajectory.
[0132] For example, if there is only one mineral processing location and one mineral collection location, the trajectory between the mineral collection location and the mineral processing location is determined as the behavioral trajectory.
[0133] For example, if there is only one mineral collection location, one mineral processing location, and one mineral storage location, the trajectory between these three locations is defined as the behavioral trajectory.
[0134] In the method for determining a behavior trajectory provided in this invention, a mineral collection location, a mineral processing location, or a mineral storage location is determined among multiple first dwelling locations, and a behavior trajectory is determined based on at least two of the mineral collection location, mineral processing location, or mineral storage location. This eliminates the need to consume a large amount of manpower and resources to check each location one by one to determine the behavior trajectory, thereby improving the efficiency of determining the behavior trajectory.
[0135] Based on the above embodiments, the following is combined with Figure 2 The method for determining behavioral trajectories provided by this invention will be described in further detail below. For specific details, please refer to [link to relevant documentation]. Figure 2 Example.
[0136] Figure 2 This is the second flowchart illustrating the method for determining behavioral trajectories provided by this invention. For example... Figure 2 As shown, the method for determining behavioral trajectories provided in this embodiment includes:
[0137] S201. Obtain multiple positioning times and multiple locations for each of the multiple preset vehicles; wherein, the preset vehicles are used to transport the collected minerals, and the multiple locations include the location of the corresponding vehicle at each positioning time.
[0138] S202. Based on multiple preset vehicle positioning times and multiple locations, determine multiple first stopping positions.
[0139] Specifically, the execution methods of S201 to S202 are the same as those of S101 to S102, and the execution process of S201 to S202 will not be described again here.
[0140] S203. Determine N hotspot locations among multiple first stop locations; where the N hotspot locations are the top N first stop locations with the highest frequency of occurrence among the multiple first stop locations, and N is greater than or equal to 1.
[0141] Optionally, multiple different first stopping positions can be determined among multiple first stopping positions;
[0142] Analyze the frequency of occurrence of different first stop locations across multiple first stop locations;
[0143] Sort the different first stop positions according to their frequency of occurrence from highest to lowest;
[0144] The top N first-stop positions among the sorted different first-stop positions are identified as N hot spots.
[0145] Optionally, N can be 3, 10, or 100, etc.
[0146] In this invention, when multiple first dwelling positions are obtained through method 13, it can be ensured that the N hot spots include the first dwelling positions within the preset area, thereby avoiding the determined mineral collection position being located outside the preset area, and thus improving the accuracy of determining the behavior trajectory.
[0147] S204. Delete the hotspot locations that are the same as the preset locations from the N hotspot locations to obtain the remaining hotspot locations.
[0148] Optionally, for each hotspot location, it is determined whether the hotspot location is similar to a preset location; if they are similar, the hotspot location is deleted to obtain the remaining hotspot locations.
[0149] In this invention, similarity includes, for example, the sameness, or the distance between two locations being within a preset range.
[0150] S205. Determine the hot spots located in the preset area from the remaining hot spots as mineral collection locations.
[0151] S206. Determine the mineral processing location based on the mineral collection location and the multiple locations of multiple preset vehicles.
[0152] Perform the following operations for each preset vehicle:
[0153] When a mineral collection location is included among the multiple locations of a preset vehicle, at least one second stopping location is determined among the multiple locations of the preset vehicle based on the mineral collection location; wherein the second stopping location is located after the mineral collection location, is a non-preset location, and the duration of the preset vehicle's stay at the second stopping location is greater than or equal to a preset duration; the first second stopping location located after the mineral collection location among the at least one second stopping location is determined as the mineral processing location.
[0154] Unlike existing technologies, current methods based on personnel verification require manual investigation of all possible processing locations to determine the exact mineral processing location. This consumes significant manpower and resources, resulting in low efficiency in determining the processing location and consequently, low efficiency in obtaining the behavioral trajectory. In this application, however, Figure 2The method provided in the embodiment includes: determining the mineral collection location, mineral processing location, or mineral storage location among multiple first dwelling locations, avoiding the need for manual investigation of possible mineral processing locations one by one, saving a lot of manpower and material resources, improving the efficiency of determining the mineral processing location, and thus improving the efficiency of obtaining the behavior trajectory.
[0155] Furthermore, in existing technologies, manually checking each possible sand mining and processing location one by one to determine the location may lead to inaccurate matching between the two locations, thus reducing the accuracy of the behavioral trajectory between them. For example, if the sand mining location is A and its matching processing location should be B, the accurate behavioral trajectory should be between A and B. However, by checking each location one by one, the processing location may be C, thus making the behavioral trajectory between A and C. In this application, Figure 2 The method provided in the embodiment includes: determining the mineral processing location based on the mineral collection location and multiple preset vehicle locations, avoiding the possibility that manual inspection may lead to inaccurate matching between the sand collection location and the processing location, improving the accuracy of matching between the sand collection location and the processing location, and thus improving the accuracy of the behavioral trajectory between the sand collection location and the processing location.
[0156] S207. Determine the mineral storage location based on the mineral processing location, the preset parking locations of multiple preset vehicles, and the multiple locations of multiple preset vehicles.
[0157] Perform the following operations for each preset vehicle:
[0158] In the case where multiple locations of a preset vehicle include a mineral processing location, a third stopping location is determined among the multiple locations of the preset vehicle based on the mineral processing location and the preset parking location of the preset vehicle; the third stopping location is located between the mineral processing location and the preset parking location, is a non-preset location, and the duration of the preset vehicle's stay at the third stopping location is greater than or equal to the preset duration;
[0159] If the third dwelling location is similar to the preset suspected location, the third dwelling location will be determined as the mineral storage location.
[0160] Optionally, the preset parking location for the vehicle may be, for example, the parking lot corresponding to the vehicle.
[0161] Optionally, the preset suspected locations may include construction sites or warehouses.
[0162] Alternatively, the preset suspected location can be obtained by marking a map in a geographic information system set in an electronic device.
[0163] Unlike existing methods, which require manual investigation of each pre-set suspected location to determine the mineral storage location, this method is different. In existing methods, it is necessary to manually investigate each of the pre-set suspected locations in order to determine the mineral storage location. The number of pre-set suspected locations is usually large, making manual investigation difficult and inefficient.
[0164] The method for determining the mineral storage location provided in this invention eliminates the need for manual identification of the mineral storage location, thereby improving efficiency.
[0165] Unlike existing methods, where it is difficult for humans to accurately link mineral storage locations with mineral processing locations to form a complete behavioral trajectory.
[0166] The method for determining the mineral storage location provided in this invention can accurately correlate the mineral storage location with the mineral processing location, providing an accurate basis for determining the behavior trajectory.
[0167] There are multiple mineral extraction locations, mineral processing locations, and mineral storage locations.
[0168] S208. Determine the behavioral trajectory based on at least two of the following locations: mineral collection location, mineral processing location, or mineral storage location.
[0169] In some embodiments, the number of mineral extraction locations, mineral processing locations, and mineral storage locations are each multiple.
[0170] Based on at least two of the following locations—mineral extraction location, mineral processing location, or mineral storage location—a behavioral trajectory is determined, including: determining multiple first trajectories between multiple mineral extraction locations and multiple mineral processing locations; determining multiple second trajectories between multiple mineral processing locations and multiple mineral storage locations; for each first trajectory, determining a first total number of preset vehicles traveling along the first trajectory based on the multiple locations of each preset vehicle; for each second trajectory, determining a second total number of preset vehicles traveling along the second trajectory based on the multiple locations of each preset vehicle; and determining the behavioral trajectory based on the multiple first trajectories, the multiple second trajectories, the first total number, and the second total number.
[0171] Optionally, multiple first trajectories between multiple mineral collection locations and multiple mineral processing locations are determined, including: arranging and combining multiple mineral collection locations and multiple mineral processing locations to obtain multiple location combinations, with each location combination being different; for each location combination, the passable road from the mineral collection location to the mineral processing location in the electronic map is determined as the first trajectory.
[0172] Specifically, the method for determining multiple second trajectories is the same as the method for determining multiple first trajectories, and the specific process for determining multiple second trajectories will not be elaborated here.
[0173] For example, in the following Figure 3 In the embodiments, multiple position combinations include (A1, B1), (A2, B1), and (A3, B1).
[0174] Optionally, the behavioral trajectory can be determined based on multiple first trajectories, multiple second trajectories, a first total quantity, and a second total quantity using methods 31 and 32.
[0175] Method 31 involves concatenating the first trajectory corresponding to the largest total quantity among multiple first trajectories and the second trajectory corresponding to the largest total quantity among multiple second trajectories to obtain the behavior trajectory.
[0176] Method 32: Sort multiple first trajectories in descending order of the first total quantity to obtain a first trajectory sequence; sort multiple second trajectories in descending order of the second total quantity to obtain a second trajectory sequence; determine the first trajectory sequence and the second trajectory sequence as the behavior trajectory.
[0177] The following is combined Figure 3 The process of obtaining the behavioral trajectory is explained.
[0178] Figure 3 This is a schematic diagram illustrating the process of obtaining behavioral trajectories provided by the present invention. For example... Figure 3 As shown, for example, multiple mineral collection locations include A1, A2 and A3, multiple mineral processing locations include B1, multiple mineral storage locations include C1 and C2, multiple first trajectories include L11, L12 and L13, and multiple second trajectories include L21 and L22.
[0179] For example, if the first trajectory corresponding to the first maximum total quantity is L11 and the second trajectory corresponding to the second maximum total quantity is L21, then based on method 31, L11 and L21 are concatenated to obtain the behavior trajectory.
[0180] For example, if the first trajectory sequence is [L12, L11, L13] and the second trajectory sequence is [L21, L22], then based on the above method 32, the behavioral trajectory includes: the first trajectory sequence [L12, L11, L13] and the second trajectory sequence [L21, L22].
[0181] In this invention, after obtaining the behavioral trajectory, the trajectory can be sent to other devices. These other devices could be specific electronic devices (e.g., servers, desktop computers) within relevant departments.
[0182] The device for determining behavior trajectory provided by the present invention will be described below. The device for determining behavior trajectory described below can be referred to in correspondence with the method for determining behavior trajectory described above.
[0183] Figure 4 This is a schematic diagram of the structure of the device for determining behavioral trajectories provided by the present invention. Figure 4 As shown, the device for determining the behavior trajectory includes:
[0184] The acquisition module 410 is used to acquire multiple positioning times and multiple locations for each of multiple preset vehicles; wherein, the preset vehicles are used to transport the collected minerals, and the multiple locations include the location of the corresponding vehicle at each positioning time;
[0185] The determining module 420 is used to determine multiple first stopping positions based on multiple positioning times and multiple positions of each of the multiple preset vehicles;
[0186] The determining module 420 is used to determine the mineral collection location, mineral processing location, or mineral storage location among the plurality of first dwelling locations;
[0187] The determining module 420 is used to determine the behavioral trajectory based on at least two of the following locations: the mineral collection location, the mineral processing location, or the mineral storage location.
[0188] According to the present invention, a device for determining behavioral trajectories is provided, wherein the determining module 420 is specifically used for:
[0189] Perform the following operations for each preset vehicle:
[0190] Based on multiple positioning times and multiple locations of the preset vehicle, a continuous time period is determined; wherein, the continuous time period includes at least two consecutive positioning times, and the preset vehicle is in the same location during the continuous time period;
[0191] If the continuous time period is greater than or equal to the preset duration, the position of the preset vehicle during the continuous time period is determined as the first stopping position of the preset vehicle.
[0192] The plurality of first stopping positions includes the first stopping position of each preset vehicle.
[0193] According to the present invention, a device for determining behavioral trajectories is provided, wherein the determining module 420 is specifically used for:
[0194] N hotspot locations are determined from the plurality of first dwell locations; wherein, the N hotspot locations are the top N first dwell locations with the highest frequency of occurrence among the plurality of first dwell locations, and N is greater than or equal to 1;
[0195] Delete the hotspot locations that are the same as the preset locations from the N hotspot locations to obtain the remaining hotspot locations;
[0196] The hot spots located in the preset area from the remaining hot spots are determined as the mineral collection locations;
[0197] The mineral processing location is determined based on the mineral collection location and the multiple locations of each of the multiple preset vehicles;
[0198] The mineral storage location is determined based on the mineral processing location, the preset parking locations of the plurality of preset vehicles, and the plurality of locations of the plurality of preset vehicles.
[0199] According to the present invention, a device for determining behavioral trajectories is provided, wherein the determining module 420 is specifically used for:
[0200] Perform the following operations for each preset vehicle:
[0201] If the mineral collection location is included among the multiple locations of the preset vehicle, at least one second stopping location is determined among the multiple locations of the preset vehicle based on the mineral collection location; wherein the second stopping location is located after the mineral collection location, is a non-preset location, and the duration of the preset vehicle's stay at the second stopping location is greater than or equal to a preset duration;
[0202] The first second stop position located after the mineral collection position among the at least one second stop positions is determined as the mineral processing position.
[0203] According to the present invention, a device for determining behavioral trajectories is provided, wherein the determining module 420 is specifically used for:
[0204] Perform the following operations for each preset vehicle:
[0205] When the mineral processing location is included among the multiple locations of the preset vehicle, a third stopping location is determined among the multiple locations of the preset vehicle based on the mineral processing location and the preset parking location of the preset vehicle; the third stopping location is located between the mineral processing location and the preset parking location, is a non-preset location, and the duration of the preset vehicle's stay at the third stopping location is greater than or equal to a preset duration;
[0206] If the third dwelling position is similar to a preset suspected position, the third dwelling position is determined as the mineral storage position.
[0207] According to the present invention, a device for determining behavioral trajectories is provided, wherein the number of mineral collection locations, mineral processing locations, and mineral storage locations are all multiple;
[0208] The determining module 420 is specifically used for:
[0209] Determine multiple first trajectories between the plurality of mineral collection locations and the plurality of mineral processing locations;
[0210] Determine multiple second trajectories between the plurality of mineral processing locations and the plurality of mineral storage locations;
[0211] For each first trajectory, a first total number of preset vehicles traveling along the first trajectory is determined based on the multiple positions of each of the multiple preset vehicles.
[0212] For each second trajectory, a second total number of preset vehicles traveling along the second trajectory is determined based on the multiple positions of each of the multiple preset vehicles.
[0213] The behavioral trajectory is determined based on the plurality of first trajectories, the plurality of second trajectories, the first total number, and the second total number.
[0214] According to the present invention, a device for determining behavioral trajectories is provided, wherein the determining module 420 is specifically used for:
[0215] The multiple first trajectories are sorted in descending order of the first total quantity to obtain a first trajectory sequence;
[0216] The multiple second trajectories are sorted in descending order of the second total quantity to obtain a second trajectory sequence;
[0217] The first trajectory sequence and the second trajectory sequence are determined as the behavior trajectory.
[0218] Figure 5 This is a schematic diagram of the physical structure of the electronic device provided by the present invention. For example... Figure 5 As shown, the electronic device may include a processor 510, a communication interface 520, a memory 530, and a communication bus 540, wherein the processor 510, the communication interface 520, and the memory 530 communicate with each other via the communication bus 540. The processor 510 can call logical instructions in the memory 530 to execute a method for determining a behavioral trajectory. This method includes: acquiring multiple positioning times and multiple locations for each of multiple preset vehicles; wherein the preset vehicles are used to transport collected minerals, and the multiple locations include the position of the corresponding vehicle at each positioning time; determining multiple first stopping positions based on the multiple positioning times and multiple locations of the multiple preset vehicles; determining a mineral collection position, a mineral processing position, or a mineral storage position among the multiple first stopping positions; and determining the behavioral trajectory based on at least two of the mineral collection position, the mineral processing position, or the mineral storage position.
[0219] Furthermore, the logical instructions in the aforementioned memory 530 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0220] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the method for determining the behavior trajectory provided by the above methods. The method includes: acquiring multiple positioning times and multiple locations for each of multiple preset vehicles; wherein the preset vehicles are used to transport collected minerals, and the multiple locations include the location of the corresponding vehicle at each positioning time; determining multiple first stopping positions based on the multiple positioning times and multiple locations of each of the multiple preset vehicles; determining a mineral collection position, a mineral processing position, or a mineral storage position among the multiple first stopping positions; and determining the behavior trajectory based on at least two of the mineral collection position, the mineral processing position, or the mineral storage position.
[0221] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements a method for determining a behavioral trajectory provided by the methods described above. This method includes: acquiring multiple positioning times and multiple locations for each of multiple preset vehicles; wherein the preset vehicles are used to transport collected minerals, and the multiple locations include the positions of the corresponding vehicles at each positioning time; determining multiple first stopping positions based on the multiple positioning times and multiple locations of each of the multiple preset vehicles; determining a mineral collection position, a mineral processing position, or a mineral storage position among the multiple first stopping positions; and determining the behavioral trajectory based on at least two of the mineral collection position, the mineral processing position, or the mineral storage position.
[0222] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0223] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0224] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method of determining a behavior trajectory, characterized in that, The method comprises: obtaining a plurality of positioning time points and a plurality of positions of a plurality of preset vehicles respectively; wherein the preset vehicles are used for transporting collected minerals, and the plurality of positions include positions of the corresponding vehicles at each positioning time point; determining a plurality of first stay positions based on the plurality of positioning time points and the plurality of positions of the plurality of preset vehicles respectively; determining a mineral collection position, a mineral processing position, or a mineral storage position in the plurality of first stay positions; determining the behavior trajectory based on at least two of the mineral collection position, the mineral processing position, or the mineral storage position; the determining the mineral collection position, the mineral processing position, and the mineral storage position in the plurality of first stay positions comprises: determining N hotspot positions in the plurality of first stay positions; wherein the N hotspot positions are the first N first stay positions with the maximum frequency in the plurality of first stay positions, and N is greater than or equal to 1; deleting the hotspot positions that are the same as the preset positions in the N hotspot positions to obtain remaining hotspot positions; determining the hotspot positions located in a preset area in the remaining hotspot positions as the mineral collection position; determining the mineral processing position based on the mineral collection position and the plurality of positions of the plurality of preset vehicles respectively; determining the mineral storage position based on the mineral processing position, a preset parking position of each of the plurality of preset vehicles, and the plurality of positions of the plurality of preset vehicles respectively; the determining the mineral processing position based on the mineral collection position and the plurality of positions of the plurality of preset vehicles respectively comprises: performing the following operations for each preset vehicle: in a case where the plurality of positions of the preset vehicle include the mineral collection position, determining at least one second stay position in the plurality of positions of the preset vehicle based on the mineral collection position; wherein the second stay position is located after the mineral collection position, is a non-preset position, and a stay duration of the preset vehicle at the second stay position is greater than or equal to a preset duration; determining a first second stay position after the mineral collection position in the at least one second stay position as the mineral processing position; the determining the mineral storage position based on the mineral processing position, the preset parking position of each of the plurality of preset vehicles, and the plurality of positions of the plurality of preset vehicles respectively comprises: performing the following operations for each preset vehicle: in a case where the plurality of positions of the preset vehicle include the mineral processing position, determining a third stay position in the plurality of positions of the preset vehicle based on the mineral processing position and the preset parking position of the preset vehicle; the third stay position is located between the mineral processing position and the preset parking position, is a non-preset position, and a stay duration of the preset vehicle at the third stay position is greater than or equal to a preset duration; in a case where the third stay position is similar to a preset suspected position, determining the third stay position as the mineral storage position.
2. The behavior trajectory determination method according to claim 1, characterized in that, the determining the plurality of first stay positions based on the plurality of positioning time points and the plurality of positions of the plurality of preset vehicles respectively comprises: The following operations are performed for each preset vehicle: Based on a plurality of positioning time instants and a plurality of positions of the preset vehicle, a continuous time period is determined; wherein the continuous time period includes at least two continuous positioning time instants, and the position of the preset vehicle in the continuous time period is the same; In the case where the continuous time period is greater than or equal to a preset time length, the position of the preset vehicle in the continuous time period is determined as a first stay position of the preset vehicle; The plurality of first stay positions includes the first stay position of each preset vehicle.
3. The behavior trajectory determination method according to claim 1 or 2, characterized in that, The number of the mineral collection positions, the mineral processing positions and the mineral storage positions is respectively a plurality; Based on a plurality of mineral collection positions, a plurality of mineral processing positions and a plurality of mineral storage positions, a behavior trajectory is determined, including: A plurality of first trajectories between the plurality of mineral collection positions and the plurality of mineral processing positions are determined; A plurality of second trajectories between the plurality of mineral processing positions and the plurality of mineral storage positions are determined; For each first trajectory, a first total number of preset vehicles traveling along the first trajectory is determined according to the plurality of positions of the plurality of preset vehicles respectively; For each second trajectory, a second total number of preset vehicles traveling along the second trajectory is determined according to the plurality of positions of the plurality of preset vehicles respectively; The behavior trajectory is determined according to the plurality of first trajectories, the plurality of second trajectories, the first total number and the second total number.
4. The behavior trajectory determination method according to claim 3, characterized in that, The behavior trajectory is determined according to the plurality of first trajectories, the plurality of second trajectories, the first total number and the second total number, including: The plurality of first trajectories are sorted in descending order of the first total number to obtain a first trajectory sequence; The plurality of second trajectories are sorted in descending order of the second total number to obtain a second trajectory sequence; The first trajectory sequence and the second trajectory sequence are determined as the behavior trajectory.
5. An apparatus for determining a behavior trajectory, characterized in that Including: An acquisition module is configured to acquire a plurality of positioning time instants and a plurality of positions of a plurality of preset vehicles respectively; wherein the preset vehicles are used to transport collected minerals, and the plurality of positions include positions of the corresponding vehicles at each positioning time instant; A determination module is configured to determine a plurality of first stay positions based on the plurality of positioning time instants and the plurality of positions of the plurality of preset vehicles respectively; The determination module is configured to determine, among the plurality of first stay positions, a mineral collection position, a mineral processing position or a mineral storage position; The determination module is configured to determine the behavior trajectory based on at least two of the mineral collection position, the mineral processing position or the mineral storage position; The determination module is configured to determine, among the plurality of first stay positions, a mineral collection position, a mineral processing position and a mineral storage position, including: N hot spot positions are determined among the plurality of first stay positions; wherein the N hot spot positions are the first N first stay positions with the largest frequency among the plurality of first stay positions, and N is greater than or equal to 1; The N hot spot positions that are the same as a preset position are deleted to obtain remaining hot spot positions; determining, as the mineral collection position, a hot spot position in the remaining hot spot positions and located in the preset area; determining, as the mineral processing position, a position in the plurality of positions of each of the plurality of preset vehicles based on the mineral collection position and the plurality of positions of each of the plurality of preset vehicles; determining, as the mineral storage position, a position in the plurality of positions of each of the plurality of preset vehicles based on the mineral processing position, the preset parking position of each of the plurality of preset vehicles, and the plurality of positions of each of the plurality of preset vehicles; the determining, as the mineral processing position, a position in the plurality of positions of each of the plurality of preset vehicles based on the mineral collection position, includes: for each preset vehicle, performing the following operations: in a case where the plurality of positions of the preset vehicle includes the mineral collection position, determining, as a second stay position in the plurality of positions of the preset vehicle, a position based on the mineral collection position, wherein the second stay position is located after the mineral collection position, is a non-preset position, and a stay duration of the preset vehicle at the second stay position is greater than or equal to a preset duration; determining, as the mineral processing position, a first second stay position in the at least one second stay position and located after the mineral collection position; the determining, as the mineral storage position, a position in the plurality of positions of each of the plurality of preset vehicles based on the mineral processing position, the preset parking position of each of the plurality of preset vehicles, and the plurality of positions of each of the plurality of preset vehicles, includes: for each preset vehicle, performing the following operations: in a case where the plurality of positions of the preset vehicle includes the mineral processing position, determining, as a third stay position in the plurality of positions of the preset vehicle, a position based on the mineral processing position and the preset parking position of the preset vehicle, wherein the third stay position is located between the mineral processing position and the preset parking position, is a non-preset position, and a stay duration of the preset vehicle at the third stay position is greater than or equal to a preset duration; in a case where the third stay position is similar to a preset suspected position, determining the third stay position as the mineral storage position.
6. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor executes the program to implement the behavior track determination method of any one of claims 1 to 4.
7. A non-transitory computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the behavior track determination method of any one of claims 1 to 4.
8. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the behavior track determination method of any one of claims 1 to 4.
Citation Information
Patent Citations
Abnormal track identification method and device, electronic equipment and storage medium
CN114331476A
Approach for consolidating observed vehicle trajectories into a single representative trajectory
US8825265B1