Target trajectory generation method and processing method, electronic equipment and readable storage medium

By acquiring and integrating the positioning trajectories of multi-source sensing data, generating fine target trajectories and performing logistic regression processing, it solves the problem of fragmented data processing and achieves fine and accurate processing and operation of targets.

CN118585597APending Publication Date: 2024-09-03ZHEJIANG DAHUA TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410595951.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-13
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

How to quickly and effectively utilize fragmented sensing data to achieve more precise and accurate target processing? It is difficult for existing technologies to effectively integrate and process multi-source sensing data.

Method used

By obtaining at least two positioning trajectories of the target, one positioning trajectory is based on the position information of the target's positionable device, and the other is based on the position information of the shooting device, the trajectory points are sorted and abnormally judged, and the abnormal trajectory points are deleted, and finally a fine Target trajectory, and use logistic regression method to process activity features for target processing.

Benefits of technology

It achieves fine and accurate processing of target trajectories, improves the integration and processing accuracy of sensory data, and enables more precise operations and judgments based on target trajectories.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118585597A
    Figure CN118585597A
Patent Text Reader

Abstract

The invention discloses a target track generation method, a processing method, electronic equipment and a readable storage medium. The method comprises the steps that at least two positioning tracks are obtained, the at least two positioning tracks comprise a first positioning track and a second positioning track, the first positioning track is obtained based on position information of positionable equipment corresponding to a target, and the second positioning track is obtained based on position information of shooting equipment shooting the target; each positioning track comprises at least one track point; sequencing all the track points in the at least two positioning tracks according to the acquisition time of the track points to obtain an undetermined positioning track; according to the sequence of the to-be-positioned tracks, carrying out target moving speed judgment on adjacent track points so as to delete abnormal track points; and obtaining a final target trajectory until no abnormal trajectory point exists in the to-be-positioned trajectory. By means of the mode, the target track can be obtained by efficiently utilizing the fragmented sensing data, and therefore fine and accurate target processing is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information processing, and in particular to a target trajectory generation method, a processing method, an electronic device, and a computer-readable storage medium. Background Art

[0002] With the development of the times and the progress of society, sensing devices are being used more and more widely. How to quickly and effectively use these fragmented sensing data to achieve more precise and accurate target processing has become a technical problem that technicians in this field need to solve urgently. Summary of the invention

[0003] The main purpose of this application is to provide a target trajectory generation method, a processing method, an electronic device and a computer-readable storage medium, which can efficiently utilize fragmented perception data to achieve fine target information processing.

[0004] In order to solve the above technical problems, the first technical solution adopted by the present application is: to provide a method for generating a target trajectory. The method includes obtaining at least two positioning trajectories, the at least two positioning trajectories include a first positioning trajectory and a second positioning trajectory, the first positioning trajectory is obtained based on the position information of the locatable device corresponding to the target, and the second positioning trajectory is obtained based on the position information of the shooting device that shoots the target, and each positioning trajectory includes at least one trajectory point; all the trajectory points in the at least two positioning trajectories are sorted according to the acquisition time of the trajectory points to obtain a pending positioning trajectory; according to the sorting of the pending positioning trajectory, the target moving speed is judged for adjacent trajectory points to delete abnormal trajectory points; until there are no abnormal trajectory points in the pending positioning trajectory, the final target trajectory is obtained.

[0005] In order to solve the above technical problems, the second technical solution adopted by the present application is to provide a target trajectory processing method. The method includes obtaining a target information database and a trajectory information database, the target information database includes at least one target information set, each target information set corresponds to a target, the trajectory information database includes at least two trajectory information sets, each trajectory information set corresponds to a positioning trajectory, and each trajectory information set contains matching information, and the matching information is used to correspond to the information in the target information set to achieve the correspondence between the trajectory information set and the target; based on the selected information set, at least two positioning trajectories of the selected target are selected from the trajectory information database, and the at least two positioning trajectories include a first positioning trajectory and a second positioning trajectory, the first positioning trajectory is obtained based on the position information of the positionable device corresponding to the selected target, and the second positioning trajectory is obtained based on the position information of the shooting device that shoots the selected target; using the target trajectory generation method based on the first technical solution to process at least two positioning trajectories to obtain the target trajectory corresponding to the selected target; extracting features from the target trajectory to obtain at least one activity feature; normalizing at least one activity feature to obtain an activity score; using a logistic regression method to process the activity score to obtain the activity of the selected target, so as to perform corresponding target processing based on the activity.

[0006] To solve the above technical problems, the third technical solution adopted by the present application is to provide an electronic device, which includes a memory and a processor, wherein the memory is used to store program data, and the program data can be executed by the processor to implement the method described in the first technical solution.

[0007] To solve the above technical problems, the third technical solution adopted by the present application is to provide a computer-readable storage medium. The computer-readable storage medium stores program data and can be executed by a processor to implement the method described in the first technical solution.

[0008] The beneficial effects of the present application are: obtaining at least two positioning trajectories of the target, one positioning trajectory is obtained based on the positioning device corresponding to the target, and the other positioning trajectory is obtained based on the shooting device that collects data, merging the at least two positioning trajectories, and reordering all the trajectory points in the positioning trajectory according to the acquisition time of the trajectory points to obtain a pending positioning trajectory. Then, according to the trajectory point order of the pending positioning trajectory, the adjacent trajectory points are judged as abnormal, and the abnormal trajectory points are screened out and deleted based on the target movement speed between the adjacent trajectory points, so as to finally obtain the target trajectory corresponding to the target. By integrating a large amount of perception data to obtain the target trajectory, it is possible to achieve more precise and accurate processing of the target based on the target trajectory. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0010] Figure 1 It is a flowchart of the first embodiment of the target trajectory generation method of the present application;

[0011] Figure 2 It is a flowchart of the second embodiment of the target trajectory generation method of the present application;

[0012] Figure 3 It is a flowchart of the first embodiment of the target trajectory processing method of the present application;

[0013] Figure 4 It is a flowchart of the second embodiment of the target trajectory processing method of the present application;

[0014] Figure 5 It is a flowchart of the third embodiment of the target trajectory processing method of the present application;

[0015] Figure 6 It is a flowchart of the fourth embodiment of the target trajectory processing method of the present application;

[0016] Figure 7 It is a flowchart of the fifth embodiment of the target trajectory processing method of the present application;

[0017] Figure 8 It is a structural schematic diagram of an embodiment of the electronic device of the present application;

[0018] Fig. 9 It is a structural diagram of an embodiment of a computer-readable storage medium of the present application. DETAILED DESCRIPTION

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

[0020] The terms "first", "second", etc. in this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0021] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0022] This application only provides technology. The data required for specific applications shall be based on actual conditions. However, users are reminded that when actually using this technology, the collection and processing of data should comply with laws and regulations related to data and information protection.

[0023] Before introducing the technical solution of the present application, a brief introduction to the related technologies is first given.

[0024] Perception devices include basic sensing devices, such as QR code tags and readers, RFID tags and readers, cameras, GPS, sensors, electronic fences, etc. When perception devices are widely used, a multidimensional perception database is constructed to store the acquired perception data. In the perception database, perception data with the same collection method and type of collected data can be considered to belong to the same dimension. Perception data with the same collection method and type of collected data and belonging to the same target can be classified into the same information set. For example, collected images belonging to the same target can be classified into the same information set, and positioning collection records belonging to the same positioning device identification code can also be classified into the same information set.

[0025] Reference Figure 1 , Figure 1 This is a flow chart of the first embodiment of the target trajectory generation method of the present application. It includes the following steps:

[0026] S11: Acquire at least two positioning trajectories of the target, wherein the at least two positioning trajectories include a first positioning trajectory and a second positioning trajectory, wherein the first positioning trajectory is obtained based on position information of a locatable device corresponding to the target, and the second positioning trajectory is obtained based on position information of a photographing device that photographs the target, and each positioning trajectory includes at least one trajectory point.

[0027] In this embodiment, a positioning trajectory is obtained based on the perception data of the same dimension, that is, the perception data of the same collection method and type. A positioning trajectory is obtained based on the perception data in the same trajectory information set. Different positioning trajectories based on different trajectory information sets can be determined whether they belong to the same target according to the matching information. The relevant steps can refer to the description of the target trajectory processing method below.

[0028] The first positioning trajectory is a positioning trajectory obtained based on the location information of the locatable device corresponding to the target, and the location information may be a mobile terminal IMSI code positioning signal or a GPS positioning signal, etc. The first positioning trajectory may be obtained based on the location information of the mobile terminal IMSI code collected by the electronic fence. When the electronic fence collects the positioning data of the mobile terminal IMSI code, the positioning data of the same IMSI code is classified into the same information set. The data in the information set may include the mobile terminal device number, the mobile terminal ISMI code, the collection time and the collection point. According to the points in the information set and the corresponding collection time, sequential trajectory points can be obtained to obtain the first positioning trajectory. When obtaining the collection points in the IMSI code information set, if there is a situation where the mobile terminal IMSI is repeatedly collected by multiple electronic fences, the collection data of the electronic fence with the fastest collection rate is retained. The collection of other positioning signals is similar to the above.

[0029] The second positioning track may be a positioning track obtained based on the position information of the shooting device that shoots the target. If the target object is imaged, after the shooting device captures the image, the image can be identified using visual recognition technology, and the captured images of the same target object can be classified into the same track information set. The data in the track information set may include relevant information of the target object (such as object identification information, etc.), the captured image, the capture point or capture area of ​​the shooting device that captures the image, and the capture time. According to the capture point and capture time in the track information set, or the capture area and capture time, the track points arranged in sequence can be obtained to obtain the second positioning track. When acquiring images, if there are a large number of captured images in a short time when the target object wanders in the area in an area with a large number of similar objects and a high density, the continuous captured images of the same shooting device in a short time are screened, and one image of all the captured images in each preset time period is selected as the captured image of the corresponding preset time period. For example, for the same shooting device, after the captured images of the same target object are sorted in ascending order of time, only one of all the captured images within five consecutive seconds of the capture time is retained as the captured image of the time period.

[0030] S12: Sort all the trajectory points in at least two positioning trajectories according to the acquisition time of the trajectory points to obtain a pending positioning trajectory.

[0031] S13: According to the order of the pending positioning trajectories, the target moving speed of adjacent trajectory points is judged to delete abnormal trajectory points.

[0032] S14: until there are no abnormal trajectory points in the pending positioning trajectory, the final target trajectory is obtained.

[0033] The acquired positioning trajectory is re-sorted according to the acquisition time of the trajectory points to obtain the pending positioning trajectory. Since the positioning data may be abnormal, it is necessary to remove the abnormal trajectory points. After the sorting is completed, according to the order of the trajectory points in the pending positioning trajectory, starting from the trajectory point with the earliest acquisition time, the target moving speed of the adjacent trajectory points is judged to determine the abnormal trajectory points and delete them.

[0034] After deletion, the target moving speed is continued to be determined for the trajectory points in the pending positioning trajectory until there are no abnormal trajectory points in the pending positioning trajectory, which is taken as the final target trajectory.

[0035] In this application, based on the trajectory information of real-time data such as the collected data and the collection device positioning information (mobile terminal ISMI, GPS, etc.), the real-time nature of the target object trajectory can be improved, and the subsequent related processing of the target object based on the trajectory information can be more accurate. The related processing may include performing corresponding operations after determining the movement law of the target object, performing corresponding operations after determining the activity area of ​​the target object, performing corresponding operations after determining the activity of the target object, and so on.

[0036] In this embodiment, at least two positioning trajectories of the target are obtained, one positioning trajectory is obtained based on the positioning device corresponding to the target, and the other positioning trajectory is obtained based on the shooting device that collects data. The at least two positioning trajectories are merged, and all the trajectory points in the positioning trajectory are reordered according to the acquisition time of the trajectory points to obtain a pending positioning trajectory. Then, the adjacent trajectory points are judged as abnormal according to the trajectory point order of the pending positioning trajectory, and the abnormal trajectory points are screened out and deleted based on the target movement speed between the adjacent trajectory points, so as to finally obtain the target trajectory corresponding to the target. By integrating a large amount of perception data to obtain the target trajectory, it is possible to achieve more precise and accurate processing of the target based on the target trajectory.

[0037] Reference Figure 2 , Figure 2 This is a flow chart of the second embodiment of the target trajectory generation method of the present application. The method is a further extension of step S13, and includes the following steps:

[0038] S21: In response to the moving speed between adjacent trajectory points being greater than a preset speed, determining that a latter trajectory point among the adjacent trajectory points is an abnormal trajectory point.

[0039] Calculate the time difference and distance between adjacent trajectory points, and use the distance divided by the time difference to obtain the moving speed of the target between the adjacent trajectory points. If the moving speed is greater than the preset speed, the latter trajectory point among the adjacent trajectory points, that is, the trajectory point with a later acquisition time is determined to be an abnormal trajectory point. If it is less than or equal to the preset speed, the adjacent trajectory point is considered normal and there is no abnormal trajectory point. Continue to judge the next adjacent trajectory point. Specifically, if the pending positioning trajectory is sorted from early to late according to the acquisition time as trajectory point 1, trajectory point 2, and trajectory point 3. After the target moving speed of trajectory point 1 and trajectory point 2 is judged to be normal and there is no abnormal trajectory point, continue to judge the adjacent trajectory point 2 and trajectory point 3.

[0040] S22: The subsequent trajectory point of the abnormal trajectory point and the previous trajectory point in the adjacent trajectory points are combined into a new adjacent trajectory point, and the abnormal trajectory point is deleted.

[0041] If the next track point in the adjacent track points is determined to be abnormal, the next track point of the abnormal track point and the previous track point in the adjacent track points are selected to form a new adjacent track point, and the abnormal track point is deleted. The target moving speed is continued to be determined for the obtained new adjacent track points.

[0042] S23: Determine the target moving speed of the new adjacent track points until the moving speed between the new adjacent track points is less than or equal to the preset speed, and then start determining the next adjacent track point.

[0043] Until the new adjacent trajectory point obtained meets the requirements of the target moving speed, the judgment of the next adjacent trajectory point begins. Specifically, if the pending positioning trajectory is sorted from early to late according to the acquisition time as trajectory point 1, trajectory point 2, trajectory point 3, and trajectory point 4. Then the target moving speed judgment at trajectory point 1 and trajectory point 2 is abnormal, and trajectory point 2 is determined to be an abnormal trajectory point. After deleting trajectory point 2, the target moving speed judgment of adjacent trajectory point 1 and trajectory point 3 continues. If there is no abnormal trajectory point in trajectory point 1 and trajectory point 3, the next adjacent trajectory point 3 and trajectory point 4 will continue to be judged.

[0044] Reference Figure 3 , Figure 3 This is a flow chart of the first embodiment of the target trajectory processing method of this application. It includes the following steps:

[0045] S31: Acquire a target information database and a trajectory information database, wherein the target information database includes at least one target information set corresponding to at least one target, and each target information set corresponds to one target. The trajectory information database includes at least two trajectory information sets, and each trajectory information set corresponds to a positioning trajectory. Each trajectory information set includes matching information, and the matching information is used to correspond to the information in the target information set to achieve the correspondence between the trajectory information set and the target.

[0046] The target information database is used to store information sets corresponding to target objects. For example, assuming that the target information database is a database for managing target objects, the information in the target information set corresponding to each target object may include target object identification information, the device number of the positioning device corresponding to the target object, the region to which the target object belongs, the object set to which the target object belongs, and the like.

[0047] The trajectory information database is constructed based on the perception database. Perception data belonging to the same target, with the same collection method and the same data type collected are classified into the same trajectory information set. The perception data in each trajectory information set can obtain a positioning trajectory through the collection time and collection point. The acquisition of the positioning trajectory in the trajectory information set can refer to the description in the above embodiment. Each trajectory information set includes matching information, which is used to match with the information in the target information set to achieve the correspondence between the trajectory information set and the target. For example, the first positioning trajectory is the trajectory information obtained based on the collection of the IMSI code of the mobile terminal, then the first positioning trajectory corresponds to the device number information of the mobile terminal, and the matching based on the device number information of the mobile terminal and the device number information of the mobile terminal in the target information set can determine whether it corresponds to the same target object. The device number information of the mobile terminal is the matching information in the trajectory information set corresponding to the first positioning trajectory. The second positioning trajectory is the trajectory information obtained based on the shooting device for collecting the target object, then the second positioning trajectory corresponds to the relevant information of the target object, such as object identification information. The corresponding target object can be determined by matching the identification information with the identification information in the target information set. The object identification information and the like are the matching information in the track information set of the second positioning track.

[0048] S32: Select at least two positioning trajectories corresponding to the selected target from the trajectory information database based on the selected target information set.

[0049] Matching is performed based on the matching information in the selected target information set and the trajectory information set, and at least two trajectory information sets corresponding to the selected target are selected to obtain at least two positioning trajectories.

[0050] S33: Process at least two positioning trajectories to obtain a target trajectory corresponding to the selected target.

[0051] The target trajectory is obtained by processing at least two positioning trajectories according to the target trajectory generation method described above.

[0052] S34: Extract features from the target trajectory to obtain at least one activity feature.

[0053] S35: Normalize at least one activity feature to obtain an activity score.

[0054] S36: Using a logistic regression method to process the activity score to obtain the activity status of the selected target, so as to perform corresponding processing measures based on the activity status.

[0055] The target trajectory is feature extracted, and the feature value is converted into an activity score. Finally, the activity status of the selected target is determined according to the activity score using the logistic regression method to realize the activity judgment of the target and facilitate the corresponding processing of the target according to the activity status.

[0056] In this embodiment, after obtaining the target information database and the trajectory information database, at least two positioning trajectories corresponding to the target are obtained according to the matching information in the target information set and the trajectory information set, and then the target trajectory corresponding to the target is obtained based on the at least two positioning trajectories. The target trajectory is used to perform feature extraction, normalization calculation and logistic regression processing to obtain the activity status corresponding to the target, thereby enabling more accurate and precise processing of the target based on the activity status of the target.

[0057] In one embodiment, the activity feature includes at least one of a first activity feature, a second activity feature and a third activity feature, the first activity feature is obtained based on the time difference between the latest acquisition time of the trajectory point in the target trajectory and the current time, the second activity feature is obtained based on the number of preset sub-time periods in which the trajectory point appears within a first preset time period from the current time in the target trajectory, and the third activity feature is obtained based on the number of trajectory points in which the acquisition time is within a second preset time period from the current time in the target trajectory.

[0058] The first activity feature is obtained based on the time difference between the acquisition time of the latest track point in the target track and the current time. The first activity feature can be determined according to the time difference. The larger the time difference, the less active the corresponding first activity feature is, and the smaller the time difference, the more active the corresponding first activity feature is. For example, the first activity feature can be obtained based on the number of days between the latest acquisition time of the track point in the target track and the current time. The smaller the number of days, the more active the corresponding feature represents.

[0059] The second activity feature is obtained based on the number of preset sub-time periods in which the trajectory point appears within the first preset time period from the current time in the acquisition time of the target trajectory. The second activity feature is determined according to the number of preset sub-time periods in which the trajectory point appears. The more the number, the more active the corresponding second activity representation. For example, the second activity is obtained based on the number of days in which the trajectory point appears within three days from the current time. The more days the trajectory point appears, the more active the corresponding feature representation target is.

[0060] The third activity feature is obtained based on the number of trajectory points in the target trajectory whose acquisition time is within the second preset time period from the current time. The third activity feature is determined according to the number of trajectory points in the second preset time period. The more the number, the more active the corresponding third activity representation. For example, the more the third activity is based on the number of trajectory points within three days from the current time, the more active the corresponding feature representation target is.

[0061] The first preset time period and the second preset time period may be time periods of the same length, or may be time periods of different lengths.

[0062] The above-mentioned activity characteristics may all be quantified characteristic values.

[0063] Reference Figure 4 , Figure 4 This is a flow chart of the second embodiment of the target trajectory processing method of the present application. This method is a further extension of the above embodiment, and includes the following steps:

[0064] S41: Obtain the number of trajectory points in each preset sub-time period within the preset time period.

[0065] S42: Multiply the number of trajectory points in each preset sub-time period by the time weight of the corresponding preset sub-time period to obtain a corresponding weighted result, wherein the closer the time of the preset sub-time period is to the current time, the greater the time weight.

[0066] S43: Sum all weighted results to obtain a second activity feature.

[0067] Since the second activity feature represents the accumulated action information in the past period of time, in order to make the activity feature more accurate, the trajectory points whose acquisition time is closer to the current time will have a greater impact on the activity.

[0068] First, divide the preset time period from the current time to obtain at least two preset sub-time periods. If the number of trajectory points within three days from the current time is obtained, the three days are first divided, which can be divided into 24 hours a day to obtain three sub-time periods. The data of each sub-time period is multiplied by the corresponding weight to obtain a weighted result, and then the sum is obtained to obtain the second activity feature.

[0069] This weight may be a function that decays as the time from now increases. In one embodiment, the second active feature may be obtained by the following formula:

[0070]

[0071] Among them, t(d) represents the attenuation function, value d Indicates the number of trajectory points in this sub-time period.

[0072] Reference Figure 5 , Figure 5 This is a flow chart of the third embodiment of the target trajectory processing method of the present application. The method is a further extension of step S35, and includes the following steps:

[0073] S51: Process at least one activity feature using a logarithmic function to obtain at least one first result.

[0074] In order to increase the discrimination of data and avoid the long tail effect of data, the extracted activity features are first processed by a logarithmic function. The first result obtained is log(value), where value is the activity feature.

[0075] S52: Performing arctangent normalization processing on at least one first result to obtain at least one second result.

[0076] The first result is normalized by inverse tangent to unify the data of different dimensions into the same dimension, which is convenient for the subsequent calculation of activity score. The calculation formula of the second result is as follows:

[0077]

[0078] Among them, value′ is the second result.

[0079] S53: Perform weighted calculation on the at least one second result to obtain an activity score corresponding to the selected target.

[0080] A weight is assigned to the score of each second result, and the sum is calculated to obtain the final activity score of the selected target.

[0081] score=∑w i *score i ,∑w i =1

[0082] Among them, w i is the weight, which can be obtained through labeled data training or given manually.

[0083] Reference Figure 6 , Figure 6 This is a flow chart of the fourth embodiment of the target trajectory processing method of the present application. The method is a further extension of step S36, and includes the following steps:

[0084] S61: Obtain a preset activity probability threshold and process the activity score using a logistic regression method to obtain the activity probability of the selected target.

[0085] S62: In response to the activity probability being greater than a preset activity probability threshold, determining the selected target as an active target; in response to the activity probability being less than or equal to the preset activity probability threshold, determining the selected target as a deregistered target.

[0086] The activity probability can be obtained by processing the activity score using the logistic regression method. The formula is as follows:

[0087]

[0088] Wherein, P(y=1|score) represents the probability of being active, and Score represents the active score.

[0089] The activity probability is compared with the preset activity probability threshold to determine the target activity status.

[0090] When the active probability is greater than the threshold, the selected target is determined to be active. When the active probability is less than the threshold, the selected target is determined to be inactive and is determined to be a deregistered target. If it is determined to be a deregistered target, it can be further combined with relevant information to determine whether the target has left the area where the corresponding positioning track is located, so as to achieve fine processing.

[0091] Reference Figure 7 , Figure 7 This is a flowchart of the fifth embodiment of the target trajectory processing method of the present application. This method is a further extension of the above embodiment, and includes the following steps:

[0092] S71: providing a display interface, wherein the display interface provides a target query area.

[0093] S72: In response to receiving the target query instruction, the target trajectory, activity status and information in the target information set corresponding to the target to be queried are acquired and displayed in the display interface.

[0094] The target query area is used to input query information related to the target. The input query information is the information included in the target information set of the target information database. According to the input information, the corresponding information set can be queried, and further the corresponding target can be obtained to obtain the corresponding target trajectory and the target activity status.

[0095] All the queried information can be displayed in the display interface for easy viewing, so as to timely grasp the target's action information, perform refined processing, and improve the accuracy and efficiency of the processing work.

[0096] like Figure 8 As shown, Figure 8 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present application.

[0097] The electronic device includes a processor 110 and a memory 120 .

[0098] The processor 110 controls the operation of the electronic device, and the processor 110 may also be referred to as a CPU (Central Processing Unit). The processor 110 may be an integrated circuit chip having the ability to process a signal sequence. The processor 110 may also be a general-purpose processor, a digital signal sequence processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0099] The memory 120 stores instructions and program data required for the processor 110 to operate.

[0100] The processor 110 is used to execute instructions to implement the method provided by any embodiment and possible combination of the aforementioned target trajectory generating method or target trajectory processing method of the present application.

[0101] like Fig. 9 As shown, Fig. 9 This is a schematic diagram of the structure of an embodiment of a computer-readable storage medium of the present application.

[0102] An embodiment of a readable storage medium of the present application includes a memory 210, and the memory 210 stores program data. When the program data is executed, the method provided by any embodiment and possible combination of the target trajectory generation method or the target trajectory processing method of the present application is implemented.

[0103] The memory 210 may include a medium that can store program instructions, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or it may be a server that stores the program instructions. The server may send the stored program instructions to other devices for execution, or it may execute the stored program instructions itself.

[0104] In summary, the present application obtains at least two positioning trajectories of the target, one positioning trajectory is obtained based on the positioning device corresponding to the target, and the other positioning trajectory is obtained based on the shooting device that collects data, and the at least two positioning trajectories are merged, and all the trajectory points in the positioning trajectory are reordered according to the acquisition time of the trajectory points to obtain a pending positioning trajectory. Then, the adjacent trajectory points are judged as abnormal according to the trajectory point order of the pending positioning trajectory, and the abnormal trajectory points are screened out and deleted based on the target movement speed between the adjacent trajectory points, so as to finally obtain the target trajectory corresponding to the target. The target trajectory is obtained by integrating a large amount of perception data, so that more precise and accurate processing of the target can be achieved based on the target trajectory.

[0105] Furthermore, after acquiring the target information database and the trajectory information database, the present application obtains at least two positioning trajectories corresponding to the target according to the matching information in the target information set and the trajectory information set, and then obtains the target trajectory corresponding to the target based on the at least two positioning trajectories, and uses the target trajectory to perform feature extraction, normalization calculation and logistic regression processing to obtain the activity status corresponding to the target, thereby being able to achieve more accurate and precise processing of the target based on the activity status of the target.

[0106] In the several embodiments provided in this application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device implementation described above is only illustrative, for example, the division of the modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0107] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0108] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0109] If the integrated units in the above other embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), disk or optical disk and other media that can store program codes.

[0110] The above descriptions are merely embodiments of the present application and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A target trajectory generation method, characterized in that: The method comprises: Acquire at least two positioning tracks of the target, wherein the at least two positioning tracks include a first positioning track and a second positioning track, wherein the first positioning track is obtained based on the position information of the locatable device corresponding to the target, and the second positioning track is obtained based on the position information of the shooting device that shoots the target, and each of the positioning tracks includes at least one track point; Sorting all the trajectory points in the at least two positioning trajectories according to the acquisition time of the trajectory points to obtain a pending positioning trajectory; According to the order of the pending positioning trajectories, the target moving speed of adjacent trajectory points is judged to delete abnormal trajectory points; Until the abnormal trajectory point does not exist in the pending positioning trajectory, the final target trajectory is obtained.

2. The method according to claim 1, characterized in that The step of determining the target moving speed of adjacent trajectory points to delete abnormal trajectory points includes: In response to a moving speed between adjacent trajectory points being greater than a preset speed, determining that a latter trajectory point among the adjacent trajectory points is an abnormal trajectory point; The subsequent trajectory point of the abnormal trajectory point and the previous trajectory point among the adjacent trajectory points form a new adjacent trajectory point, and the abnormal trajectory point is deleted; The target moving speed is determined for the new adjacent track points until the moving speed between the new adjacent track points is less than or equal to the preset speed, and the determination of the next adjacent track point is started.

3. A target trajectory processing method, characterized in that: The method comprises: Acquire a target information database and a trajectory information database, wherein the target information database includes at least one target information set, each of which corresponds to a target, and the trajectory information database includes at least two trajectory information sets, each of which corresponds to a positioning trajectory, and each of which contains matching information, and the matching information is used to correspond to the information in the target information set to achieve the correspondence between the trajectory information set and the target; Selecting at least two positioning tracks corresponding to the selected target from the track information database based on the selected target information set, the at least two positioning tracks comprising a first positioning track and a second positioning track, the first positioning track being obtained based on the position information of the locatable device corresponding to the selected target, and the second positioning track being obtained based on the position information of the shooting device that shoots the selected target; Processing the at least two positioning trajectories to obtain a target trajectory corresponding to the selected target, wherein the target trajectory is obtained based on the target trajectory generation method according to any one of claims 1 to 2; Performing feature extraction on the target trajectory to obtain at least one activity feature; Normalizing the at least one activity feature to obtain an activity score; The activity score is processed using a logistic regression method to obtain the activity status of the selected target, so as to perform corresponding target processing based on the activity status.

4. The method according to claim 3, characterized in that The activity feature includes at least one of a first activity feature, a second activity feature and a third activity feature, the first activity feature being obtained based on a time difference between the latest acquisition time of the trajectory point in the target trajectory and the current time, the second activity feature being obtained based on the number of preset sub-time periods in which the trajectory point appears in the target trajectory whose acquisition time is within a first preset time period from the current time, and the third activity feature being obtained based on the number of the trajectory points in the target trajectory whose acquisition time is within a second preset time period from the current time.

5. The method according to claim 4, characterized in that In response to the activity feature including the second activity feature, extracting the second activity feature includes: Obtaining the number of trajectory points in each preset sub-time period within the preset time period; The number of trajectory points in each of the preset sub-time periods is multiplied by the time weight corresponding to the preset sub-time period to obtain a corresponding weighted result, wherein the closer the time of the preset sub-time period is to the current time, the greater the time weight; The second activity feature is obtained by summing up all the weighted results.

6. The method according to claim 3, characterized in that The normalizing the at least one activity feature to obtain an activity score includes: Processing the at least one activity feature using a logarithmic function to obtain at least one first result; Performing arctangent normalization processing on the at least one first result to obtain at least one second result; The at least one second result is weightedly calculated to obtain the activity score corresponding to the selected target.

7. The method according to claim 3, characterized in that The step of processing the activity score by using a logistic regression method to obtain the activity status of the selected target includes: Obtaining a preset activity probability threshold and processing the activity score using the logistic regression method to obtain the activity probability of the selected target; In response to the activity probability being greater than the preset activity probability threshold, determining the selected target as an active target; In response to the activity probability being less than or equal to the preset activity probability threshold, determining the selected target as a deregistration target.

8. The method according to claim 3, characterized in that The method further comprises: Providing a display interface, wherein the display interface provides a target query area; In response to receiving a target query instruction, a target trajectory, an activity status of a target to be queried, and information in a target information set corresponding to the target to be queried are obtained and displayed in the display interface.

9. An electronic device, characterized in that: The invention comprises a memory and a processor, wherein the memory is used to store program data, and the program data can be executed by the processor to implement the method according to any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that: Program data is stored and can be executed by a processor to implement the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Environment monitoring processing method and device and storage medium

    CN110572617A

  • Personnel abnormality judgment method and device, electronic equipment and storage medium

    CN111241149A

  • Business processing method, electronic equipment and storage medium

    CN115914548A

  • Track construction method

    CN117876980A