WO2023098339A1 - Data processing method and apparatus, device, storage medium and program product - Google Patents

Data processing method and apparatus, device, storage medium and program product Download PDF

Info

Publication number
WO2023098339A1
WO2023098339A1 PCT/CN2022/127065 CN2022127065W WO2023098339A1 WO 2023098339 A1 WO2023098339 A1 WO 2023098339A1 CN 2022127065 W CN2022127065 W CN 2022127065W WO 2023098339 A1 WO2023098339 A1 WO 2023098339A1
Authority
WO
WIPO (PCT)
Prior art keywords
objects
track
time
overlapping
points
Prior art date
Application number
PCT/CN2022/127065
Other languages
French (fr)
Chinese (zh)
Inventor
张丹丹
赵海川
王长春
Original Assignee
上海商汤智能科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 上海商汤智能科技有限公司 filed Critical 上海商汤智能科技有限公司
Publication of WO2023098339A1 publication Critical patent/WO2023098339A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2465Query processing support for facilitating data mining operations in structured databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/38Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/387Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using geographical or spatial information, e.g. location
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries

Definitions

  • the present disclosure relates to but not limited to the technical field of computer vision, and in particular relates to a data processing method, device, equipment, storage medium and program product.
  • Spatio-temporal data has the characteristics of large scale, wide temporal and regional distribution, and can potentially contain trajectory information of a large number of objects.
  • the data analysis system in the related art cannot effectively mine the potential trajectory information in the massive spatio-temporal data, etc., so the value of these data cannot be fully utilized.
  • the embodiments of the present disclosure provide a data processing method, device, device, storage medium, and program product.
  • An embodiment of the present disclosure provides a data processing method, the method including:
  • An embodiment of the present disclosure provides a data processing device, and the device includes:
  • the acquiring part is configured to acquire a first trajectory point set of each of the first objects in at least two first objects; wherein, the at least two first objects have the same or related attributes, and each of the The first track point set includes at least one track point;
  • the collision part is configured to perform space-time collision on the track points in the first set of track points of the at least two first objects to obtain at least one space-time overlapping area;
  • the first determining part is configured to determine at least one second object other than the at least two first objects appearing in the at least one spatio-temporal overlapping area, and each of the second objects in the at least a second set of trajectory points within a spatio-temporal overlapping region;
  • the second determining part is configured to, for each of the second objects, determine that the second object is related to There is an association relationship between the at least two first objects.
  • An embodiment of the present disclosure provides a computer device, including a memory and a processor, the memory stores a computer program that can run on the processor, and the processor implements some or all of the steps in the above method when executing the program.
  • An embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, part or all of the steps in the above method are implemented.
  • An embodiment of the present disclosure provides a computer program, including computer readable codes, when the computer readable codes are run in a computer device, a processor in the computer device executes some or all of the steps for implementing the above method .
  • An embodiment of the present disclosure provides a computer program product.
  • the computer program product includes a non-transitory computer-readable storage medium storing a computer program.
  • the computer program is read and executed by a computer, a part or part of the above-mentioned method is implemented. All steps.
  • At least one space-time overlapping area is obtained, and the at least two first objects appearing in the at least one space-time overlapping area are analyzed.
  • Analyze the trajectory information of at least one second object other than the first object to obtain a second object that is associated with at least two first objects, thereby improving the ability to analyze trajectory information, and then making full use of the trajectory information.
  • it can make the resources invested in the acquisition of massive trajectory information be used more effectively.
  • FIG. 1 is a schematic diagram of the implementation flow of a data processing method provided by an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of the implementation flow of a data processing method provided by an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of an implementation flow of a data processing method provided by an embodiment of the present disclosure
  • FIG. 4 is a schematic diagram of an implementation flow of a data processing method provided by an embodiment of the present disclosure
  • FIG. 5 is a schematic diagram of an implementation flow of a data processing method provided by an embodiment of the present disclosure
  • FIG. 6A is a schematic diagram of an implementation flow of a data processing method provided by an embodiment of the present disclosure.
  • FIG. 6B is a schematic diagram of a trajectory analysis interface provided by an embodiment of the present disclosure.
  • FIG. 7 is a schematic diagram of the composition and structure of a data processing device provided by an embodiment of the present disclosure.
  • FIG. 8 is a schematic diagram of a hardware entity of a computer device provided by an embodiment of the present disclosure.
  • FIG. 1 is a schematic flow diagram of a data processing method provided by an embodiment of the present disclosure. As shown in Fig. 1, the method includes the following steps S101 to S104:
  • Step S101 obtaining a first trajectory point set of each of the first objects in at least two first objects; wherein, the at least two first objects have the same or related attributes, and each of the first trajectory points
  • the point set includes at least one trajectory point.
  • each of the at least two first objects may be any suitable movable object for which track information can be collected, such as a person, an animal, a vehicle, an object, etc., which is not limited here.
  • the at least two first objects may be at least two of the first object set preset by the user.
  • the first track point set of each first object may include at least one track point of the first object.
  • Each track point of an object may be recorded information of the object appearing at a specific space at a specific time.
  • the record information of each first object appearing in different spaces at different times can be collected by any suitable means such as image collection or positioning information collection, so as to obtain at least one trajectory point of each first object, and then obtain A first track point set for each first object.
  • the collected track points of each first object may be directly acquired to obtain the first set of track points of each first object.
  • the collected track points of each object can be stored first, and then the track of each first object in at least two first objects can be obtained by querying from the stored track point data of a large number of objects point collection.
  • the attributes of an object can include object types, such as people, cats, dogs, vehicles, objects, etc., and can also include object identity attributes, such as the identity of the object, the identity type of the object, and the identity label of the object. limited.
  • At least two first objects may have the same attributes, or may have different but related attributes.
  • Identical attributes may include, but are not limited to, identical object types, identical object identity attributes, and the like.
  • Related attributes can include related object types, such as people and vehicles, people and cats, dogs and vehicles, etc., and can also include related object identity attributes, such as the identity of the person and the identity of the person's pet cat, the person's
  • the identity mark and the identity mark of the person's vehicle may also include related identity types, such as a preset first identity type and a preset second identity type. During implementation, it may be determined whether there is correlation between different attributes according to actual conditions, which is not limited here.
  • Step S102 performing space-time collision on the track points in the first set of track points of the at least two first objects to obtain at least one space-time overlapping area.
  • the spatiotemporal overlapping area is an area where the trajectories of at least two first objects overlap in time and space.
  • Each spatio-temporal overlapping area may indicate that at least two first objects appear once in the same or similar space-time area, that is, the trajectories of at least two first objects intersect or are similar once in space-time.
  • Performing space-time collision on track points in track point sets of at least two first objects refers to colliding at least one track point in track point sets of at least two first objects with another track point in space-time At least one track point in the track point set of the first object is matched.
  • At least one space-time overlapping region between the two first objects can be obtained by performing space-time collision on track points in the set of track points of at least two first objects.
  • any suitable manner may be used to perform spatio-temporal collision on the track points in the track point sets of at least two first objects to obtain at least one spatio-temporal overlapping area, which is not limited in this embodiment of the present disclosure.
  • Step S103 determining at least one second object other than the at least two first objects appearing in the at least one spatio-temporal overlapping region, and each of the second objects in the at least one spatio-temporal overlapping region The second track point set of .
  • the second object may be any suitable movable object that appears in at least one spatio-temporal overlapping region except the first object and whose track information can be collected, which is not limited here.
  • the second object may be a person, an animal, a vehicle, an object, etc. that appear in at least one space-time overlapping region and walk with the first object.
  • those skilled in the art may determine at least one second object appearing in at least one space-time overlapping region and the second trajectory point of each second object in at least one space-time overlapping region in an appropriate manner according to the actual situation set, which is not limited in the embodiments of the present disclosure.
  • At least one overlapping track point in the at least one space-time overlapping area can be obtained, and the object to which each overlapping track point belongs is counted to obtain at least one object appearing in the at least one space-time overlapping area ; Determining an object other than the first object in the at least one object as a second object; adding the track point of each second object in the at least one overlapping track point to the second track point set of the second object.
  • At least one object appearing in the at least one spatio-temporal overlapping area may be acquired, and an object in the at least one object other than the first object is determined as a second object; by acquiring each second object in The at least one trajectory point in the at least one spatio-temporal overlapping area obtains a second trajectory point set of each second object.
  • Step S104 for each second object, when the number of track points in the second track point set of the second object exceeds a threshold number of track points, determine that the second object is related to the at least two The first object has an association relationship.
  • association relationship may be any suitable relationship that characterizes the association between the second object and at least two first objects, and may include but not limited to the behavioral association relationship between the second object and at least two first objects, in Relationships on attributes, etc.
  • the track point number threshold can be preset or default. During implementation, an appropriate threshold for the number of track points may be determined according to an actual association relationship, which is not limited here.
  • Each track point in the second set of track points of the second object can represent that the second object has appeared once in at least one spatio-temporal overlapping region, and the number of track points in the second set of track points can represent that the second object appears in at least one space-time overlapping region. The number of occurrences in a spatio-temporal overlapping region. In a case where the number of track points in the second set of track points of the second object exceeds the threshold number of track points, it may be determined that there is an association relationship between the second object and at least two first objects.
  • the association relationship between the second object and the at least two first objects may include a behavioral association relationship between the second object and the at least two first objects.
  • Behavioral associations may include behaviors such as meeting, traveling together, handing over objects, and feeding between the second object and the first object.
  • the association between the second object and at least two first objects may be between the second person and at least two first persons Perform meeting behavior, peer behavior or non-real-time object handover behavior, etc.; when the first object is the first person and the second object is a vehicle, the association relationship between the second object and at least two first objects can be at least Two first persons drive the vehicle; when the first object is the first person and the second object is a cat, the association relationship between the second object and at least two first objects can be that at least two first persons and Cat walks.
  • those skilled in the art may determine an appropriate behavioral relationship according to actual conditions, which is not limited here.
  • the association relationship between the second object and the at least two first objects may include an association relationship between the second object and the at least two first objects in terms of attributes.
  • the association relationship on attributes may include that the second object has potential associations on attributes with at least two first objects.
  • the second object may be an object potentially having the same or related object type, object identity attribute, etc. as any one of the at least two first objects.
  • the correlation on appropriate attributes may be determined according to actual conditions, which is not limited here.
  • At least one space-time overlapping area is obtained, and the at least two first objects appearing in the at least one space-time overlapping area are analyzed.
  • Analyze the trajectory information of at least one second object other than the first object to obtain a second object that is associated with at least two first objects, thereby improving the ability to analyze trajectory information, and then making full use of the trajectory information.
  • it can make the resources invested in the acquisition of massive trajectory information be used more effectively.
  • step S104 when the number of track points in the second set of track points of the second object in the above step S104 exceeds the threshold number of track points, it is determined that the second object and the at least two A first object has an association relationship, which may include the following steps S111 to S112:
  • Step S111 if the number of track points in the second track point set of the second object exceeds the threshold number of track points, determine a target space-time overlapping area matched by each track point in the second track point set.
  • each track point in the second set of track points of the second object can represent that the second object appears once in at least one space-time overlapping area, and the space-time overlapping area where each track point is located is the track point matching
  • the target spatio-temporal overlapping region may be determined by each track point in the second set of track points in an appropriate manner according to the actual situation, which is not limited here.
  • each trajectory point can correspond to a time region and a space region, and by determining the time region and space region of each trajectory point in the space-time overlapping region, the target space-time overlapping region matched by each trajectory point can be determined .
  • Step S112 when the number of target spatio-temporal overlapping areas matched by the track points in the second set of track points exceeds a first overlap quantity threshold, determine that the second object has an association relationship with the at least two first objects .
  • the first overlap quantity threshold may be preset or default.
  • an appropriate first overlapping quantity threshold may be determined according to an actual association relationship, which is not limited here.
  • the second object when the number of track points in the second track point set of the second object exceeds the threshold number of track points, determine the target spatio-temporal overlapping area matched by each track point in the second track point set, and When the number of target spatio-temporal overlapping areas matched by the track points in the second set of track points exceeds a first overlap quantity threshold, it is determined that the second object has an association relationship with at least two first objects.
  • the second object that appears in the spatio-temporal overlapping region that exceeds the first overlap quantity threshold can be determined as having an association relationship with at least two first objects, thereby improving the identification of the second object that has an association relationship with at least two first objects.
  • the accuracy of the two objects can further improve the analysis ability of trajectory information.
  • An embodiment of the present disclosure provides a data processing method, which can be executed by a processor of a computer device. As shown in Figure 2, the method includes the following steps S201 to S205:
  • Step S201 obtaining a first track point set of each of the at least two first objects; wherein, the at least two first objects have the same or related attributes, and each of the first track points
  • the point set includes at least one trajectory point.
  • Step S202 performing space-time collision on the track points in the first set of track points of the at least two first objects to obtain at least one space-time overlapping area.
  • steps S201 to S202 respectively correspond to the steps S101 to S102 in the foregoing embodiments, and for implementation, reference may be made to the implementation manners of the foregoing steps S101 to S102.
  • Step S203 when the number of the spatio-temporal overlapping regions exceeds a second overlapping number threshold, determine that there is a preset association behavior between the at least two first objects.
  • the second overlap quantity threshold may be preset or default.
  • an appropriate second overlapping quantity threshold may be determined according to an actual association relationship, which is not limited here.
  • Preset associated behaviors may include preset behaviors such as meeting, traveling together, object handover, feeding, etc. between two first objects, such as the preset meeting behavior between two people, the preset person driving the preset The behavior of the vehicle, the behavior of the preset person walking with the preset cat, the behavior of the preset vehicle carrying the preset item, the behavior of non-real-time object handover between the preset two people, etc.; it can also include Behaviors such as meeting, gathering, walking, and object handover between at least two types of first objects with different attributes among at least two first objects, such as having a preset first identity type and a preset second identity type The meeting behavior between two types of first objects, the walking behavior of two types of first objects, people and vehicles, the handover behavior between couriers and recipients or senders, and the feeding between people and cats or dogs behavior etc.
  • those skilled in the art may determine a suitable first object and a suitable preset association behavior according to actual conditions, which are not limited here.
  • Step S204 in the case that there is a preset association behavior between the at least two first objects, determine at least one first object other than the at least two first objects that appears in the at least one spatio-temporal overlapping region Two objects, and a set of second trajectory points of each second object in the at least one spatio-temporal overlapping region.
  • Step S205 for each second object, if the number of track points in the second set of track points of the second object exceeds a threshold number of track points, determine that the second object is related to the at least two The first object has an association relationship.
  • steps S204 to S205 respectively correspond to the steps S103 to S104 in the foregoing embodiments, and for implementation, reference may be made to the implementation manners of the foregoing steps S103 to S104.
  • the second object that has an association relationship with at least two first objects is identified, so that the accuracy of the identified second object that has an association relationship with at least two first objects can be improved, and then the Further improve the ability to analyze trajectory information.
  • the at least two first objects include at least one first sub-object with a first attribute and at least one second sub-object with a second attribute
  • the preset association behavior includes the first Object aggregation behavior between the child object and the second child object.
  • Step S211 when the number of the spatiotemporal overlapping regions exceeds a second overlapping quantity threshold, respectively determine the number of first sub-objects and the number of second sub-objects appearing in the at least one spatiotemporal overlapping region.
  • first attribute and the second attribute may be any suitable same or related attributes.
  • the second overlap quantity threshold may be preset or default. During implementation, an appropriate second overlapping quantity threshold may be determined according to actual conditions, which is not limited here.
  • the object aggregation behavior refers to the aggregation behavior between two types of first objects with the first attribute and the second attribute, that is, the aggregation behavior between the first sub-objects and the second sub-objects.
  • Step S212 when the number of the first sub-object is greater than the first object quantity threshold and the second sub-object is greater than the second object quantity threshold, it is determined that the first sub-object and the second sub-object exist Object aggregation behavior between two child objects.
  • both the first object quantity threshold and the second object quantity threshold can be preset or default.
  • the first object quantity threshold and the second object quantity threshold may be the same or different.
  • the appropriate first object quantity threshold and the second object quantity threshold may be determined according to actual conditions, which are not limited here.
  • the second object that has an association relationship with at least two first objects that have the object aggregation behavior can be identified, so that The ability to analyze trajectory information can be further improved.
  • An embodiment of the present disclosure provides a data processing method, which can be executed by a processor of a computer device. As shown in Figure 3, the method includes the following steps S301 to S305:
  • Step S301 obtaining a first track point set of each of the first objects in at least two first objects; wherein, the at least two first objects have the same or related attributes, and each of the first track points
  • the point set includes at least one track point; each track point has a time stamp.
  • each track point may correspond to a time point or a time range or the like.
  • each track point may have a time identifier representing the time point at which the object to which the track point belongs appears at the corresponding spatial position.
  • each track point may have a time identifier that characterizes the time range in which the object to which the track point belongs stays at the corresponding spatial position.
  • Step S302 spatially matching the trajectory points in the first trajectory point set of the at least two first objects to obtain at least one spatial overlapping region and at least two spatial overlapping regions in each spatial overlapping region track point.
  • each spatial overlapping region may indicate that at least two first objects appear once at the same or similar spatial positions, that is, the trajectories of at least two first objects intersect or are similar in space once, wherein , each spatial overlapping region may correspond to at least one trajectory point of each of the at least two first objects, and each trajectory point corresponding to each spatial overlapping region may be a spatially overlapping trajectory point within the spatial overlapping region.
  • each trajectory point in the first trajectory point set of one of the at least two first objects with each trajectory point in the first trajectory point set of the other first object, it is possible to The spatial overlapping area between the two first objects is obtained, and then at least one spatial overlapping area between the at least two first objects and at least two spatial overlapping track points in each spatial overlapping area can be obtained.
  • any suitable method may be used to spatially match the track points in the first set of track points of at least two first objects to obtain at least one spatial overlapping area and at least two in each spatial overlapping area.
  • the spatially overlapping track points are not limited in this embodiment of the present disclosure.
  • each first object in at least two first objects can have a spatial identifier, and each spatial identifier can represent a spatial position, and the first track point set of one first object in at least two first objects can be
  • Each trajectory point in is compared with each trajectory point in the first trajectory point set of another first object, and two trajectories are determined when the spatial identifiers of the two trajectory points correspond to the same or similar spatial positions
  • the points are matched in space, so that a spatial overlapping region corresponding to the two trajectory points can be obtained, and the two trajectory points are the spatially overlapping trajectory points in the spatial overlapping region.
  • Step S303 for each of the spatial overlapping areas, in the case that at least two spatial overlapping track points in the spatial overlapping area satisfy the preset time condition in time, based on the Time marking, determining a time overlapping area, and determining a spatio-temporal overlapping area based on the spatial overlapping area and the temporal overlapping area.
  • the spatial overlapping region indicates that two first objects appear at the same or similar spatial positions, and the two first objects may or may not appear simultaneously, that is, the spatial overlapping region
  • At least two spatially overlapping track points may or may not be correlated in time. Since the space-time overlapping area indicates that two first objects appeared in the same or similar space-time, therefore, at least two space-overlapping trajectory points in the space-time overlapping area satisfy the preset time condition in time , for the spatial overlapping area, determine a time overlapping area, and determine a space-time overlapping area based on the space overlapping area and the time overlapping area, wherein the at least two spatially overlapping trajectory points can be used as overlapping in the space-time overlapping area track point.
  • the preset time conditions may include, but are not limited to, that the time interval between two spatially overlapping trajectory points is less than a preset time interval threshold, and the duration of two spatially overlapping trajectory points staying together at the same or similar spatial position is longer than the preset time interval. duration threshold, etc.
  • each spatially overlapping track point can have a time mark representing the time point at which the object to which the track point belongs appears at the corresponding spatial position, and two spatially overlapping track points can be determined based on the time marks of the two spatially overlapping track points
  • time interval if the interval is smaller than a preset time interval threshold, it may be determined that at least two spatially overlapping track points in the spatially overlapping region satisfy a preset time condition in time.
  • each spatially overlapping trajectory point can have a time identifier that characterizes the time range of the object to which the spatially overlapping trajectory point belongs stays at the corresponding spatial position, and the time range corresponding to the time identifier of the two spatially overlapping trajectory points can be The intersection between determines the length of time that two spatially overlapping trajectory points stay together at the same or similar spatial position. If the length of time is greater than the preset duration threshold, at least two spatially overlapping The track point satisfies a preset time condition in time.
  • the temporal overlapping region corresponding to each spatial overlapping region may be determined based on the time identifier of each spatial overlapping trajectory point within the spatial overlapping region.
  • a time overlapping area may be determined based on the time identifier of each spatially overlapping track point in the space overlapping area in an appropriate manner according to the actual situation, which is not limited here.
  • the time zone and/or time point corresponding to the time identifier of each spatially overlapping track point can be combined to obtain the time overlap zone; the time zone and/or corresponding to the time marker of each spatially overlapping track point can also be determined
  • a minimum time value and a maximum time value in a time point, and a time region between the minimum time value and the maximum time value is determined as a time overlap region.
  • Step S304 determining at least one second object other than the at least two first objects appearing in the at least one spatio-temporal overlapping region, and each of the second objects in the at least one spatio-temporal overlapping region The second track point set of .
  • Step S305 for each second object, if the number of track points in the second set of track points of the second object exceeds a threshold number of track points, determine that the second object is related to the at least two The first object has an association relationship.
  • steps S304 to S305 respectively correspond to the steps S103 to S104 in the foregoing embodiments, and for implementation, reference may be made to the implementation manners of the foregoing steps S103 to S104.
  • a map including at least one spatial overlapping region may be displayed on the trajectory analysis interface, and at least one spatial overlapping trajectory point in the spatial overlapping region is displayed in each spatial overlapping region in the map, and each Each track point of a second object associated with the at least two first objects within the spatial overlapping area.
  • the trajectory points in the first trajectory point set of at least two first objects are spatially matched to obtain at least one spatial overlapping region and at least two spatially overlapping trajectories in each spatial overlapping region point, for each spatial overlapping area, when at least two spatially overlapping trajectory points in the spatial overlapping area meet the preset time condition in time, based on the time identifier of each spatially overlapping trajectory point, determine a time an overlapping area, and determine a spatio-temporal overlapping area based on the spatial overlapping area and the temporal overlapping area.
  • This enables fast and accurate determination of at least one spatio-temporal overlap region.
  • the at least two first objects include at least one first sub-object with a first attribute and at least one second sub-object with a second attribute, the first attribute being the same as the second attribute or Correlation, each track point has a spatial identifier.
  • the above step S302 may include the following steps S311 to S313:
  • Step S311 determining each track point in the set of track points of each first sub-object with the first attribute as a track point to be matched.
  • first attribute and the second attribute may be any suitable same or related attributes.
  • the spatial identifier of each track point corresponds to a spatial location, which may be a location point or a location area, which is not limited here.
  • Step S312 from the set of track points of each second sub-object with the second attribute, determine a target track point that matches the spatial identifier of at least one track point to be matched.
  • the situation that the spatial identifiers of two trajectory points match may include but not limited to that the spatial locations corresponding to the spatial identifiers of the two trajectory points are the same location point, the spatial locations corresponding to the spatial identifiers of the two trajectory points belong to the same location area, or two The distance between the spatial positions corresponding to the spatial identifiers of the trajectory points is less than one or more of the set distance thresholds and the like.
  • any suitable manner may be used to determine whether the spatial identifiers of two track points match according to actual conditions, which is not limited here.
  • Step S313 for each target track point, based on the spatial identification of the target track point and the spatial identification of at least one track point to be matched corresponding to the target track point, determine at least one spatial overlapping area, and combine the Both the target track point and the at least one to-be-matched track point are determined as spatially overlapping track points in the spatially overlapping area.
  • each target track point the target track point and the track point to be matched corresponding to the target track point may correspond to a spatial overlapping area.
  • each target track point and the spatial overlapping area corresponding to the track point to be matched corresponding to the target track point may be determined in any suitable manner according to the actual situation, which is not limited here.
  • the space region and/or space point corresponding to the space identification of the target track point can be used, and the space identification of each track point to be matched corresponds to The union of the spatial region and/or spatial point is determined as the spatial overlapping region; the spatial region and/or spatial point corresponding to the spatial identification of the target trajectory point, and the corresponding spatial identification of each trajectory point to be matched Intersections between spatial regions and/or spatial points are determined as spatial overlapping regions.
  • multiple spatio-temporal overlapping regions that are adjacent in time or space can be aggregated into a spatio-temporal overlapping region, or multiple spatio-temporal overlapping regions that are the same in time or space can be deduplicated to obtain a spatio-temporal overlapping region.
  • the time stamps, identifying a temporal overlap region may include:
  • Step S321 based on the time marks of at least two spatially overlapping trajectory points in the spatially overlapping region, determine the time interval between every two spatially overlapping trajectory points.
  • the time identifier of each spatially overlapping track point may correspond to a time point, and the time interval between two spatially overlapping track points may be the time point corresponding to the time markers of these two spatially overlapping track points difference.
  • the time identifier of each spatially overlapping track point may correspond to a time range, and the time interval between two spatially overlapping track points may be between the time ranges corresponding to the time markers of the two spatially overlapping track points interval.
  • those skilled in the art may determine the time interval between every two spatially overlapping trajectory points in each spatially overlapping area in an appropriate manner according to actual conditions, which is not limited here.
  • Step S322 in the case where the minimum time interval between spatially overlapping track points belonging to different objects in the spatially overlapping area is less than the overlapping time threshold, based on the time identifier of each of the spatially overlapping track points, determine a temporally overlapping area .
  • the time identifier of each spatially overlapping trajectory point in the spatial overlapping region can be determined, based on the time identifier of each spatially overlapping trajectory point, it can be determined
  • the minimum time interval is the minimum time interval between spatially overlapping trajectory points belonging to different objects. If the minimum time interval is less than the overlapping time threshold, it can be based on each The time stamps of the spatially overlapping trajectory points define a temporally overlapping region.
  • the overlap time threshold can be preset or default. During implementation, an appropriate overlapping time threshold may be determined according to actual conditions, which is not limited here.
  • an appropriate overlapping time threshold may be determined according to the preset association behavior between the at least two first objects. For example, for preset association behaviors that require real-time interaction (such as meeting, peering, real-time object handover behavior, real-time animal feeding behavior, etc.), a smaller overlapping time threshold can be set, such as two for preset association behaviors. In the case of a meeting behavior between preset objects, two objects need to appear at the same or similar spatial position at the same time, and a small overlapping time threshold can be set, such as 5 seconds, 10 seconds, 15 seconds, etc.
  • a larger overlapping time threshold can be set, such as two preset association behaviors.
  • two objects may appear at the same or similar spatial positions at the same time, or they may not appear at the same or similar spatial positions at the same time, and a larger overlap time can be set Threshold value, such as 12 hours, 1 day, 3 days, etc.
  • the time overlapping area between at least one spatially overlapping track point in each spatially overlapping area can be accurately determined, and then at least one first time point that appears at the same or similar spatial position at adjacent times can be accurately determined.
  • the spatio-temporal overlapping area between one object further improves the accuracy of identifying the association relationship between the second object and at least two first objects.
  • the spatial identification includes at least one of the following: the identification of the image acquisition device that collects the image data corresponding to the trajectory point, the acquisition trajectory The attribution area of the image acquisition device of the image data corresponding to the point; the time identifier includes at least one of the following: the acquisition date of the image data corresponding to the trajectory point, and the acquisition time of the image data corresponding to the trajectory point.
  • the image data may be image data including a part of the object captured by the image acquisition device, or may be image data including the entire object.
  • the image data can be a face image or a human body image collected by a camera; for a vehicle, the image data can be a license plate image or a vehicle image collected by a camera, etc.
  • the image acquisition device may include but not limited to one or more of a color camera, an infrared camera, a grayscale camera, a video camera, and the like. Each image acquisition device may have a unique identifier or correspond to an attribution area.
  • the trajectory points of at least two first objects and the second object can be determined based on a large amount of image data collected by image acquisition devices arranged at different spatial positions, so that the obtained trajectory points can be improved in terms of time and space.
  • the coverage rate can further improve the accuracy of identifying the association relationship between the second object and at least two first objects.
  • the spatial identification includes the attribution area of the positioning position corresponding to the track point; the time identification includes at least one of the following: track The collection date of the positioning data corresponding to the point, and the collection time of the positioning data corresponding to the track point.
  • the positioning data may include the positioning position of the object collected using any suitable positioning system.
  • the positioning system used may include but not limited to one or more of the Global Positioning System (Global Positioning System, GPS), Beidou satellite navigation system, Galileo satellite navigation system, and global navigation satellite system.
  • the snapshots or features of the object can be collected by image capture devices installed in different spatial regions, and the data structures of the snapshots and features can include point information corresponding to the identification of the image capture device.
  • the point information identified by the image acquisition device may include longitude and latitude information, area codes, etc. of the spatial position corresponding to the snapshot or the snapshot feature. In this way, based on the point information corresponding to the image acquisition device identification in the snapshot image of the object or the data structure of the snapshot feature, the positioning position of the object can be determined, so that the positioning of the object can be realized and the positioning data of the object can be obtained.
  • the trajectory points of at least two first objects and the second object can be determined based on a large amount of positioning data collected by the positioning system, so that the coverage rate of the obtained trajectory points in time and space can be further improved, and further can be further improved.
  • An embodiment of the present disclosure provides a data processing method, which can be executed by a processor of a computer device. As shown in Figure 4, the method includes the following steps S401 to S405:
  • Step S401 based on at least one attribute, determine the at least two first objects from a set of candidate objects; wherein each of the first objects has any attribute in the at least one attribute.
  • the set of candidate objects may be any suitable set containing at least two objects.
  • At least one attribute includes one attribute or two or more related attributes, which may be preset or defaulted by the system, which is not limited here.
  • At least two first objects determined from the candidate object set respectively have any attribute of the at least one attribute, that is, at least two first objects determined from the candidate object set have the same or related attributes.
  • those skilled in the art may determine at least two first objects from the candidate object set in an appropriate manner according to actual conditions, which is not limited here.
  • each object in the candidate object set can have an attribute identifier, and each attribute identifier can represent an attribute, and by comparing the attribute identifier of each object with each attribute in the at least one attribute, It is determined whether the object is a first object having any of the at least one attribute.
  • Step S402 based on the set space-time range, obtain the first track point set of each of the at least two first objects; wherein, in the first track point set of each of the first objects At least one trajectory point of the first object within the space-time range is included.
  • the spatio-temporal range may include a temporal range or a spatial range.
  • the time range may be a preset fixed range, or a range dynamically set by the system based on the current time, which is not limited here.
  • the pre-set time range may be from June 1, 2021 to June 3, 2021.
  • the set time range can be the time range of the last 3 days determined by the system based on the current time, that is, 10:30 on June 2, 2021 Minutes until 10:30 on June 5, 2021.
  • the value precision of the time range may be accurate to any one of month, day, hour, minute, second, etc. according to actual conditions.
  • the spatial range may be a preset fixed range, or a range dynamically set by the system based on the current spatial position, which is not limited here.
  • the preset spatial range may be one or more preset fixed spatial regions.
  • the set spatial range can be the spatial area where the positioning address is located, or a spatial range within a preset distance range near the positioning address, such as the positioning The spatial range within 500 meters, 3 kilometers or 5 kilometers near the address.
  • At least one trajectory point of each of the at least two first objects within the time-space range can be determined, so that a first set of trajectory points for each first object can be obtained.
  • at least one trajectory point of each of the at least two first objects within the space-time range can be obtained by querying the database or pulling data from the cloud or other services, and obtaining each A first track point set of the first object, which is not limited here.
  • Step S403 performing space-time collision on the track points in the first set of track points of the at least two first objects to obtain at least one space-time overlapping area.
  • Step S404 determining at least one second object other than the at least two first objects appearing in the at least one spatio-temporal overlapping area, and each of the second objects in the at least one spatio-temporal overlapping area The second track point set of .
  • Step S405 for each second object, if the number of track points in the second set of track points of the second object exceeds the threshold number of track points, determine the relationship between the second object and the at least two The first object has an association relationship.
  • step S403 to step S405 correspond to the above step S102 to step S104, and the implementation manner of the above step S102 to step S104 can be referred to for implementation.
  • At least two first objects are determined from the set of candidate objects, wherein each first object has any attribute in the at least one attribute; and based on the set space-time range , acquiring a set of track points of each of the at least two first objects; wherein, the set of track points of each first object includes at least one track point of the first object within the space-time range.
  • the trajectory information of at least two first objects with the same or related attributes within the set space-time range can be obtained simply and quickly, so that the distance between the at least two first objects within the space-time range can be identified.
  • the second object that has an association relationship.
  • the above step S402 may include:
  • each space-time slice may include a specific time interval and a specific spatial region.
  • the space-time range can be equally sliced in the time dimension and/or space dimension, for example, using a set time step to divide the space-time range into multiple space-time slices of equal duration in the time dimension, or The space-time range is divided into a plurality of space-time slices with equal space areas in the space dimension by using a set space step.
  • the spatio-temporal range can be unequally sliced to obtain multiple spatio-temporal slices with different time lengths and/or different spatial areas. During implementation, those skilled in the art may use an appropriate manner to segment the space-time range according to actual conditions, which is not limited here.
  • Step S412 in a distributed manner, obtain at least one trajectory point of each of the first objects in each of the at least two first objects in each of the space-time slices in parallel, and obtain A first set of track points of the object.
  • At least one trajectory point of each first object in each space-time slice of the at least two first objects may be obtained by executing multiple distributed tasks in parallel.
  • At least one distributed task for acquiring trajectory points can be determined in any suitable manner according to the actual situation. By executing each distributed task, it is possible to obtain at least two first objects in each At least one trajectory point in a space-time slice, and then a set of trajectory points of each first object in the at least two first objects can be obtained.
  • Each distributed task can be executed based on any suitable distributed data processing engine such as Spark or Flink.
  • Each distributed task can acquire at least one trajectory point of each first object in a space-time slice of at least two first objects, or can only acquire at least one trajectory point of a first object in a space-time slice, where Not limited.
  • the space-time range is segmented to obtain multiple space-time slices, and at least one trajectory of each first object in each space-time slice of at least two first objects is obtained in parallel in a distributed manner points to obtain a track point set of each of the at least two first objects.
  • the efficiency of obtaining the trajectory point set of each first object in the at least two first objects can be further improved, and the tracking of the first object that has an association relationship with the at least two first objects can be further improved.
  • An embodiment of the present disclosure provides a data processing method, which can be executed by a processor of a computer device. As shown in Figure 5, the method includes the following steps S501 to S506:
  • Step S501 obtaining a first track point set of each of the first objects in at least two first objects; the at least two first objects have the same or related attributes, and each of the first track point sets Include at least one track point;
  • Step S502 performing space-time collision on the track points in the first set of track points of the at least two first objects to obtain at least one space-time overlapping area;
  • Step S503 determining at least one second object other than the at least two first objects appearing in the at least one spatio-temporal overlapping area, and each of the second objects in the at least one spatio-temporal overlapping area The second track point set of ;
  • Step S504 for each second object, if the number of track points in the second set of track points of the second object exceeds a threshold number of track points, determine that the second object is related to the at least two The first object has an association relationship.
  • the above-mentioned steps S501 to S504 correspond to the above-mentioned steps S101 to S104 respectively, and for implementation, reference may be made to the implementation manners of the above-mentioned steps S101 to S104.
  • Step S505 for each second object, when it is determined that there is an association relationship between the second object and the at least two first objects, based on the second track point set of the second object
  • the number of track points determines the level of association between the second object and the at least two first objects.
  • the association level may be any suitable level information that characterizes the degree of association between the second object and at least two first objects.
  • the association level between the second object and at least two first objects may be determined in an appropriate manner according to actual conditions, which is not limited here.
  • the corresponding relationship between the number of appropriate track points and the association level can be determined in advance according to the actual application scenario, so that the number of track points in the second set of track points of the second object can be determined.
  • Step S506 generating and sending prompt information based on the association level between each of the second objects and the at least two first objects.
  • a piece of prompt information may be generated and sent.
  • the prompt information may include any suitable information for prompting the association relationship between the second object and at least two first objects, which is not limited here.
  • a piece of prompt information may be generated and sent.
  • the prompt information may include any suitable information for prompting the relationship between each second object and at least two first objects, which is not limited here.
  • the corresponding association level may be determined according to the number of track points in the second track point set of the second object, and based on The association level sends prompt information to remind the association relationship.
  • An embodiment of the present disclosure provides a data processing method, which can help analyze and compare the preset two types of first objects by counting the image data of the preset two types of first objects collected by cameras installed at different spatial locations within a preset time range.
  • the method is executed by a computer device. As shown in FIG. 6A, the method includes the following steps S601 to S604:
  • Step S601 performing space-time collision on track points in a first set of track points of at least two first objects to obtain at least one space-time overlapping area.
  • the preset two types of first objects may include preset first types of first objects and second types of first objects, wherein the first type and the second type may be configurable.
  • the at least two first objects may include at least one first object of the first type and at least one first object of the second type after identification. For the temporal-spatial matching of the trajectory points of the identified first type of first object and the second type of first object, at least one spatio-temporal overlap between at least one first object and at least one first object can be determined area.
  • each trajectory point of the at least two first objects within a preset time range may be acquired, so as to obtain a first set of trajectory points of the at least two first objects.
  • the preset time range may be configurable.
  • the preset time range may be a time period before the current time, and the default preset time range is within one month before the current time.
  • n seconds within n seconds, two first objects whose image data is captured by the same camera can be considered to appear at the same time, that is, there is a space-time overlapping region between the two first objects, where n is a set positive An integer, which may correspond to the overlap time threshold in the foregoing embodiments.
  • the overlap time threshold may be configurable, and the default overlap time threshold may be 10 seconds.
  • the first object of the first type includes object A, object B, and object C
  • the first object of the second type includes object D, object E, and object F
  • each track point of object A is used as a track point to be matched
  • the trajectory points to be matched and the target trajectory points can correspond to a space-time overlapping region; in addition, the total number of space-time overlapping regions can also be counted, and the total number of first objects corresponding to all the trajectory points to be matched and the target trajectory points that match each other; for example :
  • the trajectory point a1 of object A matches the trajectory point
  • multiple warning levels can be set in advance for the number of spatiotemporal overlapping regions, and if the number of collided spatiotemporal overlapping regions matches the target warning level, an early warning prompt corresponding to the target warning level is output.
  • the warning level can include primary warning, intermediate warning and advanced warning. Among them, the warning levels of primary warning, medium warning and advanced warning increase in turn.
  • Each warning level corresponds to a configurable quantity threshold. By default, the primary warning can be corresponding to Set the number threshold of 100, set the number threshold corresponding to the intermediate warning to 1000, and set the number threshold corresponding to the advanced warning to 5000.
  • the target warning level is advanced warning.
  • Step S602 when the number of spatio-temporal overlapping regions between the at least two first objects exceeds a second overlapping number threshold, determine that meeting behavior occurs between at least two first objects of two preset types of first objects.
  • Step S603 in the case that the at least two first objects meet, determine at least one second object other than the at least two first objects appearing in at least one spatio-temporal overlapping area, and each second object A second track point set of the object in the at least one spatio-temporal overlapping region.
  • Step S604 for each second object, if the number of track points in the second track point set of the second object exceeds the threshold number of track points, determine that the second object is associated with the at least two first objects relation.
  • the total number of space-time overlapping areas, the total number of overlapping trajectory points in each space-time overlapping area, and the first object to which each overlapping trajectory point belongs can be counted; based on the object identity of each first object, the deduplication The subsequent first object list and the number of first objects in the first object list; counting the number of overlapping trajectory points corresponding to each object in the first object list.
  • the total number of objects of the first type of first objects, the total number of objects of the second type of first objects, and the trajectory of each type of first objects within a preset time range can be displayed on the trajectory analysis interface
  • a map 610 including at least one spatio-temporal overlapping region 611 can be displayed on the trajectory analysis interface 600, and each spatio-temporal overlapping region 611 in the map can be displayed within the spatio-temporal overlapping region.
  • FIG. 7 is a schematic diagram of the composition and structure of a data processing device provided by an embodiment of the present disclosure.
  • the data processing device 700 includes: an acquisition part 710 , a collision part 720 , a first determination part 730 and a second determination part 740 ,in:
  • the obtaining part 710 is configured to obtain a first trajectory point set of each of the first objects in at least two first objects; wherein, the at least two first objects have the same or related attributes, and each of the first objects
  • the first track point set includes at least one track point
  • the collision part 720 is configured to perform space-time collision on the track points in the first set of track points of the at least two first objects to obtain at least one space-time overlapping area;
  • the first determining part 730 is configured to determine at least one second object other than the at least two first objects appearing in the at least one spatio-temporal overlapping area, and each of the second objects in the a second set of trajectory points within at least one spatio-temporal overlapping region;
  • the second determining part 740 is configured to, for each of the second objects, determine the second object when the number of track points in the second set of track points of the second object exceeds the threshold of the number of track points There is an association relationship with the at least two first objects.
  • the second determining part is further configured to: determine the second track point when the number of track points in the second set of track points of the second object exceeds a threshold number of track points The target spatio-temporal overlapping area matched by each track point in the set; when the number of the target space-time overlapping area matched by the track point in the second set of track points exceeds the first overlap quantity threshold, determine that the second object and the set There is an association relationship between the at least two first objects.
  • the apparatus further includes: a third determining part configured to determine that there is an existence between the at least two first objects when the number of the spatio-temporal overlapping regions exceeds a second overlapping number threshold Preset association behavior; the first determining part is further configured to: in the case that there is a preset association behavior between the at least two first objects, determine all but at least one second object other than the at least two first objects, and a second trajectory point set of each second object within the at least one space-time overlapping region.
  • the at least two first objects include at least one first sub-object with a first attribute and at least one second sub-object with a second attribute
  • the preset association behavior includes the first The object aggregation behavior between the sub-object and the second sub-object
  • the third determining part is further configured to: when the number of the spatio-temporal overlapping regions exceeds a second overlapping number threshold, respectively determine the The number of first sub-objects and the number of second sub-objects appearing in at least one spatio-temporal overlapping region; the number of the first sub-objects is greater than the first object number threshold, and the number of the second sub-objects is greater than the second
  • the object number threshold it is determined that there is an object aggregation behavior between the first sub-object and the second sub-object.
  • each of the trajectory points has a time stamp; the collision part is further configured to: spatially perform Matching, obtaining at least one spatial overlapping region and at least two spatial overlapping trajectory points in each of the spatial overlapping regions; for each of the spatial overlapping regions, at least two spatial overlapping trajectory points in the spatial overlapping region In the case that the preset time condition is satisfied in time, based on the time mark of each of the spatially overlapping trajectory points, a temporal overlapping region is determined, and a temporal-spatial overlapping region is determined based on the spatial overlapping region and the temporal overlapping region .
  • the at least two first objects include at least one first sub-object with a first attribute and at least one second sub-object with a second attribute, the first attribute being the same as the second attribute or Correlation, each of the track points has a spatial identifier; the collision part is further configured to: determine each track point in the set of track points of each of the first sub-objects with the first attribute to be matched track point; from the track point set of each second sub-object with the second attribute, determine a target track point that matches the spatial identifier of at least one track point to be matched; for each target track point , based on the spatial identification of the target track point and the spatial identification of at least one track point to be matched corresponding to the target track point, determine at least one spatial overlapping area, and combine the target track point and the at least one track point to be matched
  • the trajectory points are all determined as spatially overlapping trajectory points within the spatially overlapping region.
  • the collision part is further configured to: determine the time interval between every two spatially overlapping trajectory points based on the time identification of at least two spatially overlapping trajectory points in the spatially overlapping region; If the minimum time interval between spatially overlapping trajectory points belonging to different objects in the spatially overlapping region is less than an overlapping time threshold, a temporally overlapping region is determined based on the time identifier of each spatially overlapping trajectory point.
  • the spatial identification includes at least one of the following: the identification of the image acquisition device that collects the image data corresponding to the trajectory point, the acquisition trajectory The attribution area of the image acquisition device of the image data corresponding to the point; the time identifier includes at least one of the following: the acquisition date of the image data corresponding to the trajectory point, and the acquisition time of the image data corresponding to the trajectory point.
  • the spatial identification includes the attribution area of the positioning position corresponding to the track point;
  • the time identification includes at least one of the following: track The collection date of the positioning data corresponding to the point, and the collection time of the positioning data corresponding to the track point.
  • the acquisition part is further configured to: determine the at least two first objects from the set of candidate objects based on at least one attribute; wherein each of the first objects has the at least one any one of the attributes; based on the set space-time range, obtain the first set of trajectory points of each of the first objects in the at least two first objects; wherein, the first track point set of each of the first objects A track point set includes at least one track point of the first object within the space-time range.
  • the apparatus further includes: a fourth determining part configured to, for each of the second objects, determine that there is an association relationship between the second object and the at least two first objects In the case of , based on the number of track points in the second track point set of the second object, determine the association level between the second object and the at least two first objects; the sending part is configured to be based on For each level of association between the second object and the at least two first objects, prompt information is generated and sent.
  • a "part" may be a part of a circuit, a part of a processor, a part of a program or software, etc., of course, it may also be a unit, and it may also be a module or a non-module of.
  • the above-mentioned data processing method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
  • a software product which is stored in a storage medium and includes several instructions to make a
  • a computer device which may be a personal computer, a server, or a network device, etc.
  • the aforementioned storage medium includes: various media that can store program codes such as U disk, mobile hard disk, read-only memory (Read Only Memory, ROM), magnetic disk or optical disk.
  • embodiments of the present disclosure are not limited to any specific combination of hardware and software.
  • An embodiment of the present disclosure provides a computer device, including a memory and a processor, the memory stores a computer program that can run on the processor, and the processor implements the steps in the above method when executing the program.
  • An embodiment of the present disclosure provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the above method are implemented.
  • the computer readable storage medium may be transitory or non-transitory.
  • An embodiment of the present disclosure provides a computer program, including computer readable codes, when the computer readable codes are run in a computer device, a processor in the computer device executes some or all of the steps for implementing the above method .
  • An embodiment of the present disclosure provides a computer program product.
  • the computer program product includes a non-transitory computer-readable storage medium storing a computer program. When the computer program is read and executed by a computer, a part or part of the above-mentioned method is implemented. All steps.
  • the computer program product can be realized by hardware, software or a combination thereof.
  • the computer program product is embodied as a computer storage medium, and in other embodiments, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK) and the like.
  • FIG. 8 is a schematic diagram of a hardware entity of a computer device in an embodiment of the present disclosure.
  • the hardware entity of the computer device 800 includes: a processor 801, a communication interface 802, and a memory 803, wherein:
  • the processor 801 usually controls the overall operation of the computer device 800;
  • the communication interface 802 can enable the computer device to communicate with other terminals or servers through the network;
  • the memory 803 is configured to store instructions and applications executable by the processor 801, and can also cache 801 and the data to be processed or processed by each module in the computer device 800 (for example, image data, audio data, voice communication data and video communication data), can be passed through flash memory (FLASH) or random access memory (Random Access Memory, RAM) accomplish.
  • Data transmission may be performed between the processor 801 , the communication interface 802 and the memory 803 through the bus 804 .
  • the disclosed devices and methods may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division.
  • the coupling, or direct coupling, or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be electrical, mechanical or other forms of.
  • each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may be used as a single unit, or two or more units may be integrated into one unit; the above-mentioned integration
  • the unit can be realized in the form of hardware or in the form of hardware plus software functional unit.
  • the above-mentioned integrated units of the present disclosure are realized in the form of software function modules and sold or used as independent products, they may also be stored in a computer-readable storage medium.
  • the computer software product is stored in a storage medium and includes several instructions to make a A computer device (which may be a personal computer, a server, or a network device, etc.) executes all or part of the methods described in various embodiments of the present disclosure.
  • the aforementioned storage medium includes various media capable of storing program codes such as removable storage devices, ROMs, magnetic disks or optical disks.
  • the embodiment of the present disclosure discloses a data processing method, device, device, storage medium, and program product, wherein the method includes: obtaining a first track point set of each first object in at least two first objects; at least two The first objects have the same or related attributes, and each first track point set includes at least one track point; the track points in the first track point set of at least two first objects are subjected to space-time collision to obtain at least one Spatio-temporal overlapping regions; determining at least one second object other than at least two first objects appearing in at least one spatio-temporal overlapping region, and a second trajectory point set of each second object in at least one spatio-temporal overlapping region; For each second object, if the number of track points in the second set of track points of the second object exceeds the threshold number of track points, it is determined that the second object has an association relationship with at least two first objects.
  • the second object that has an association relationship with at least two first objects that have the same or related attributes, so that the ability to analyze the trajectory information can be improved, and the value in the trajectory information can be more fully utilized. , and can make more effective use of the resources invested in the acquisition of massive trajectory information.

Abstract

Disclosed in embodiments of the present disclosure are a data processing method and apparatus, a device, a storage medium and a program product. The method comprises: obtaining a first track point set of each first object in at least two first objects, wherein the at least two first objects have the same or related attributes, and each first track point set comprises at least one track point; performing space-time collision on track points in the first track point set of the at least two first objects to obtain at least one space-time overlapping area; determining at least one second object other than the at least two first objects appearing in the at least one space-time overlapping area, and a second track point set of each second object in the at least one space-time overlapping area; and for each second object, under the condition that the number of the track points in the second track point set of the second object exceeds a track point number threshold, determining that the second object has an association relationship with the at least two first objects.

Description

数据处理方法、装置、设备、存储介质及程序产品Data processing method, device, device, storage medium and program product
相关申请的交叉引用Cross References to Related Applications
本公开基于申请号为202111467662.6、申请日为2021年12月03日、申请名称为“数据处理方法、装置、设备、存储介质及程序产品”的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本公开作为参考。This disclosure is based on the Chinese patent application with the application number 202111467662.6, the application date is December 03, 2021, and the application name is "data processing method, device, equipment, storage medium and program product", and requires the priority of the Chinese patent application Right, the entire content of this Chinese patent application is hereby incorporated into this disclosure as a reference.
技术领域technical field
本公开涉及但不限于计算机视觉技术领域,尤其涉及一种数据处理方法、装置、设备、存储介质及程序产品。The present disclosure relates to but not limited to the technical field of computer vision, and in particular relates to a data processing method, device, equipment, storage medium and program product.
背景技术Background technique
时空数据具有规模大、时间和区域分布广等特点,可以潜在包含大量对象的轨迹信息。然而,相关技术中的数据分析系统无法有效地挖掘海量时空数据等中潜在的轨迹信息,从而未能充分利用这些数据的价值。Spatio-temporal data has the characteristics of large scale, wide temporal and regional distribution, and can potentially contain trajectory information of a large number of objects. However, the data analysis system in the related art cannot effectively mine the potential trajectory information in the massive spatio-temporal data, etc., so the value of these data cannot be fully utilized.
发明内容Contents of the invention
有鉴于此,本公开实施例提供一种数据处理方法、装置、设备、存储介质及程序产品。In view of this, the embodiments of the present disclosure provide a data processing method, device, device, storage medium, and program product.
本公开实施例的技术方案是这样实现的:The technical scheme of the embodiment of the present disclosure is realized in this way:
本公开实施例提供一种数据处理方法,所述方法包括:An embodiment of the present disclosure provides a data processing method, the method including:
获取至少两个第一对象中每一所述第一对象的第一轨迹点集合;其中,所述至少两个第一对象具有相同的或者相关的属性,每一所述第一轨迹点集合中包括至少一个轨迹点;Obtain a first track point set of each of the first objects in at least two first objects; wherein, the at least two first objects have the same or related attributes, and each of the first track point sets including at least one track point;
对所述至少两个第一对象的第一轨迹点集合中的轨迹点进行时空碰撞,得到至少一个时空重叠区域;performing space-time collision on track points in the first set of track points of the at least two first objects to obtain at least one space-time overlapping area;
确定在所述至少一个时空重叠区域内出现的除所述至少两个第一对象之外的至少一个第二对象,以及每一所述第二对象在所述至少一个时空重叠区域内的第二轨迹点集合;determining at least one second object other than the at least two first objects occurring within the at least one spatio-temporal overlapping region, and the second object of each of the second objects within the at least one spatio-temporal overlapping region set of track points;
针对每一所述第二对象,在所述第二对象的第二轨迹点集合中轨迹点的数量超过轨迹点数量阈值的情况下,确定所述第二对象与所述至少两个第一对象存在关联关系。For each of the second objects, when the number of trajectory points in the second trajectory point set of the second object exceeds the threshold of the number of trajectory points, determine that the second object and the at least two first objects There is an association.
本公开实施例提供一种数据处理装置,所述装置包括:An embodiment of the present disclosure provides a data processing device, and the device includes:
获取部分,被配置为获取至少两个第一对象中每一所述第一对象的第一轨迹点集合;其中,所述至少两个第一对象具有相同的或者相关的属性,每一所述第一轨迹点集合中包括至少一个轨迹点;The acquiring part is configured to acquire a first trajectory point set of each of the first objects in at least two first objects; wherein, the at least two first objects have the same or related attributes, and each of the The first track point set includes at least one track point;
碰撞部分,被配置为对所述至少两个第一对象的第一轨迹点集合中的轨迹点进行时空碰撞,得到至少一个时空重叠区域;The collision part is configured to perform space-time collision on the track points in the first set of track points of the at least two first objects to obtain at least one space-time overlapping area;
第一确定部分,被配置为确定在所述至少一个时空重叠区域内出现的除所述至少两个第一对象之外的至少一个第二对象,以及每一所述第二对象在所述至少一个时空重叠区域内的第二轨迹点集合;The first determining part is configured to determine at least one second object other than the at least two first objects appearing in the at least one spatio-temporal overlapping area, and each of the second objects in the at least a second set of trajectory points within a spatio-temporal overlapping region;
第二确定部分,被配置为针对每一所述第二对象,在所述第二对象的第二轨迹点集合中轨迹点的数量超过轨迹点数量阈值的情况下,确定所述第二对象与所述至少两个第一对象存在关联关系。The second determining part is configured to, for each of the second objects, determine that the second object is related to There is an association relationship between the at least two first objects.
本公开实施例提供一种计算机设备,包括存储器和处理器,所述存储器存储有可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上述方法中的部分或全部 步骤。An embodiment of the present disclosure provides a computer device, including a memory and a processor, the memory stores a computer program that can run on the processor, and the processor implements some or all of the steps in the above method when executing the program.
本公开实施例提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述方法中的部分或全部步骤。An embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, part or all of the steps in the above method are implemented.
本公开实施例提供一种计算机程序,包括计算机可读代码,当所述计算机可读代码在计算机设备中运行时,所述计算机设备中的处理器执行用于实现上述方法中的部分或全部步骤。An embodiment of the present disclosure provides a computer program, including computer readable codes, when the computer readable codes are run in a computer device, a processor in the computer device executes some or all of the steps for implementing the above method .
本公开实施例提供一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序被计算机读取并执行时,实现上述方法中的部分或全部步骤。An embodiment of the present disclosure provides a computer program product. The computer program product includes a non-transitory computer-readable storage medium storing a computer program. When the computer program is read and executed by a computer, a part or part of the above-mentioned method is implemented. All steps.
本公开实施例中,通过对具有相同的或者相关的属性的至少两个第一对象的轨迹信息进行分析,得到至少一个时空重叠区域,并对至少一个时空重叠区域内出现的除至少两个第一对象之外的至少一个第二对象的轨迹信息进行分析,得到与至少两个第一对象存在关联关系的第二对象,从而可以提高对轨迹信息的分析能力,进而能够更加充分地利用轨迹信息中的价值,并能使得对于海量轨迹信息的获取所投入的资源得到更加有效地利用。In the embodiment of the present disclosure, by analyzing the trajectory information of at least two first objects with the same or related attributes, at least one space-time overlapping area is obtained, and the at least two first objects appearing in the at least one space-time overlapping area are analyzed. Analyze the trajectory information of at least one second object other than the first object to obtain a second object that is associated with at least two first objects, thereby improving the ability to analyze trajectory information, and then making full use of the trajectory information In addition, it can make the resources invested in the acquisition of massive trajectory information be used more effectively.
附图说明Description of drawings
图1为本公开实施例提供的一种数据处理方法的实现流程示意图;FIG. 1 is a schematic diagram of the implementation flow of a data processing method provided by an embodiment of the present disclosure;
图2为本公开实施例提供的一种数据处理方法的实现流程示意图;FIG. 2 is a schematic diagram of the implementation flow of a data processing method provided by an embodiment of the present disclosure;
图3为本公开实施例提供的一种数据处理方法的实现流程示意图;FIG. 3 is a schematic diagram of an implementation flow of a data processing method provided by an embodiment of the present disclosure;
图4为本公开实施例提供的一种数据处理方法的实现流程示意图;FIG. 4 is a schematic diagram of an implementation flow of a data processing method provided by an embodiment of the present disclosure;
图5为本公开实施例提供的一种数据处理方法的实现流程示意图;FIG. 5 is a schematic diagram of an implementation flow of a data processing method provided by an embodiment of the present disclosure;
图6A为本公开实施例提供的一种数据处理方法的实现流程示意图;FIG. 6A is a schematic diagram of an implementation flow of a data processing method provided by an embodiment of the present disclosure;
图6B为本公开实施例提供的一种轨迹分析界面的示意图;FIG. 6B is a schematic diagram of a trajectory analysis interface provided by an embodiment of the present disclosure;
图7为本公开实施例提供的一种数据处理装置的组成结构示意图;FIG. 7 is a schematic diagram of the composition and structure of a data processing device provided by an embodiment of the present disclosure;
图8为本公开实施例提供的一种计算机设备的硬件实体示意图。FIG. 8 is a schematic diagram of a hardware entity of a computer device provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
为了使本公开的目的、技术方案和优点更加清楚,下面结合附图和实施例对本公开的技术方案进一步详细阐述,所描述的实施例不应视为对本公开的限制,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本公开保护的范围。在以下的描述中,涉及到“一些实施例”,其描述了所有可能实施例的子集,但是可以理解,“一些实施例”可以是所有可能实施例的相同子集或不同子集,并且可以在不冲突的情况下相互结合。在以下描述中所涉及的术语“第一/第二/第三”仅仅是区别类似的对象,不代表针对对象的特定排序,可以理解地,“第一/第二/第三”在允许的情况下可以互换特定的顺序或先后次序,以使这里描述的本公开实施例能够以除了在这里图示或描述的以外的顺序实施。除非另有定义,本文所使用的所有的技术和科学术语与属于本公开的技术领域的技术人员通常理解的含义相同。本文中所使用的术语只是为了描述本公开的目的,不是旨在限制本公开。In order to make the purpose, technical solutions and advantages of the present disclosure clearer, the technical solutions of the present disclosure will be further elaborated below in conjunction with the accompanying drawings and embodiments, and the described embodiments should not be regarded as limiting the present disclosure. All other embodiments obtained under the premise of no creative work belong to the protection scope of the present disclosure. In the following description, references to "some embodiments" describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or a different subset of all possible embodiments, and Can be combined with each other without conflict. The term "first/second/third" involved in the following description is only to distinguish similar objects, and does not represent a specific order for objects. It is understandable that "first/second/third" is allowed The specific order or sequence of events may be interchanged such that the embodiments of the disclosure described herein can be practiced in sequences other than those illustrated or described herein. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. The terms used herein are for the purpose of describing the present disclosure only, and are not intended to limit the present disclosure.
本公开实施例提供一种数据处理方法,该方法可以由计算机设备的处理器执行。其中,计算机设备指的可以是服务器、笔记本电脑、平板电脑、台式计算机、智能电视、机顶盒、移动设备(例如移动电话、便携式视频播放器、个人数字助理、专用消息设备、便携式游戏设备)等具备数据处理能力的设备。图1为本公开实施例提供的一种数据处理方法的实现流程示意图,如图1所示,该方法包括如下步骤S101至步骤S104:An embodiment of the present disclosure provides a data processing method, which can be executed by a processor of a computer device. Among them, computer equipment refers to servers, notebook computers, tablet computers, desktop computers, smart TVs, set-top boxes, mobile devices (such as mobile phones, portable video players, personal digital assistants, dedicated messaging devices, portable game devices), etc. Devices with data processing capabilities. Fig. 1 is a schematic flow diagram of a data processing method provided by an embodiment of the present disclosure. As shown in Fig. 1, the method includes the following steps S101 to S104:
步骤S101,获取至少两个第一对象中每一所述第一对象的第一轨迹点集合;其中, 所述至少两个第一对象具有相同的或者相关的属性,每一所述第一轨迹点集合中包括至少一个轨迹点。Step S101, obtaining a first trajectory point set of each of the first objects in at least two first objects; wherein, the at least two first objects have the same or related attributes, and each of the first trajectory points The point set includes at least one trajectory point.
这里,至少两个第一对象中的每一第一对象均可以是任意合适的可移动且能采集到轨迹信息的对象,例如人员、动物、车辆、物件等,这里并不限定。在一些实施方式中,至少两个第一对象可以是用户预先设定的第一对象集合中的至少两个。Here, each of the at least two first objects may be any suitable movable object for which track information can be collected, such as a person, an animal, a vehicle, an object, etc., which is not limited here. In some implementations, the at least two first objects may be at least two of the first object set preset by the user.
每一第一对象的第一轨迹点集合中可以包括该第一对象的至少一个轨迹点。对象的每一轨迹点可以是对该对象在特定的时间出现在特定的空间处的记录信息。在实施时,可以通过图像采集或定位信息采集等任意合适的方式采集每一第一对象在不同时间出现在不同的空间处的记录信息,得到每一第一对象的至少一个轨迹点,进而得到每一第一对象的第一轨迹点集合。在一些实施方式中,可以直接获取采集的每一第一对象的轨迹点得到每一第一对象的第一轨迹点集合。在另一些实施方式中,可以先将采集的每一对象的轨迹点进行存储,再通过从存储的大量的对象的轨迹点数据中查询得到至少两个第一对象中每一第一对象的轨迹点集合。The first track point set of each first object may include at least one track point of the first object. Each track point of an object may be recorded information of the object appearing at a specific space at a specific time. During implementation, the record information of each first object appearing in different spaces at different times can be collected by any suitable means such as image collection or positioning information collection, so as to obtain at least one trajectory point of each first object, and then obtain A first track point set for each first object. In some implementations, the collected track points of each first object may be directly acquired to obtain the first set of track points of each first object. In other embodiments, the collected track points of each object can be stored first, and then the track of each first object in at least two first objects can be obtained by querying from the stored track point data of a large number of objects point collection.
对象具有的属性可以包括对象类型,如人员、猫、狗、车辆、物件等,也可以包括对象身份属性,如对象的身份标识、对象所属的身份类型、对象具有的身份标签等,这里并不限定。The attributes of an object can include object types, such as people, cats, dogs, vehicles, objects, etc., and can also include object identity attributes, such as the identity of the object, the identity type of the object, and the identity label of the object. limited.
至少两个第一对象之间可以具有相同的属性,也可以具有不同但相关的属性。相同的属性可以包括但不限于相同的对象类型、相同的对象身份属性等。相关的属性可以包括相关的对象类型,如人员与车辆、人员与猫、狗与车辆等,也可以包括相关的对象身份属性,如人员的身份标识与该人员的宠物猫的身份标识、人员的身份标识与该人员的车辆的身份标识等,还可以包括相关的身份类型,如预设的第一身份类型与预设的第二身份类型。在实施时,可以根据实际情况确定不同的属性之间是否具有相关性,这里并不限定。At least two first objects may have the same attributes, or may have different but related attributes. Identical attributes may include, but are not limited to, identical object types, identical object identity attributes, and the like. Related attributes can include related object types, such as people and vehicles, people and cats, dogs and vehicles, etc., and can also include related object identity attributes, such as the identity of the person and the identity of the person's pet cat, the person's The identity mark and the identity mark of the person's vehicle may also include related identity types, such as a preset first identity type and a preset second identity type. During implementation, it may be determined whether there is correlation between different attributes according to actual conditions, which is not limited here.
步骤S102,对所述至少两个第一对象的第一轨迹点集合中的轨迹点进行时空碰撞,得到至少一个时空重叠区域。Step S102, performing space-time collision on the track points in the first set of track points of the at least two first objects to obtain at least one space-time overlapping area.
这里,时空重叠区域为至少两个第一对象的轨迹在时空上出现重叠的区域。每一时空重叠区域可以表示至少两个第一对象在相同或相近的时空区域上出现了一次,也即至少两个第一对象的轨迹在时空上出现了一次相交或相近的情况。对至少两个第一对象的轨迹点集合中的轨迹点进行时空碰撞,指的是在时空上对至少两个第一对象中一个第一对象的轨迹点集合中的至少一个轨迹点与另一个第一对象的轨迹点集合中的至少一个轨迹点进行匹配。通过对至少两个第一对象的轨迹点集合中的轨迹点进行时空碰撞,可以得到这两个第一对象之间的至少一个时空重叠区域。在实施时,可以采用任意合适的方式对至少两个第一对象的轨迹点集合中的轨迹点进行时空碰撞,得到至少一个时空重叠区域,本公开实施例对此并不限定。Here, the spatiotemporal overlapping area is an area where the trajectories of at least two first objects overlap in time and space. Each spatio-temporal overlapping area may indicate that at least two first objects appear once in the same or similar space-time area, that is, the trajectories of at least two first objects intersect or are similar once in space-time. Performing space-time collision on track points in track point sets of at least two first objects refers to colliding at least one track point in track point sets of at least two first objects with another track point in space-time At least one track point in the track point set of the first object is matched. At least one space-time overlapping region between the two first objects can be obtained by performing space-time collision on track points in the set of track points of at least two first objects. During implementation, any suitable manner may be used to perform spatio-temporal collision on the track points in the track point sets of at least two first objects to obtain at least one spatio-temporal overlapping area, which is not limited in this embodiment of the present disclosure.
步骤S103,确定在所述至少一个时空重叠区域内出现的除所述至少两个第一对象之外的至少一个第二对象,以及每一所述第二对象在所述至少一个时空重叠区域内的第二轨迹点集合。Step S103, determining at least one second object other than the at least two first objects appearing in the at least one spatio-temporal overlapping region, and each of the second objects in the at least one spatio-temporal overlapping region The second track point set of .
这里,第二对象可以是在至少一个时空重叠区域内出现的除第一对象之外的任意合适的可移动且能采集到轨迹信息的对象,这里并不限定。例如,第二对象可以是在至少一个时空重叠区域出现的与第一对象同行的人员、动物、车辆、物件等。在实施时,本领域技术人员可以根据实际情况采用合适的方式确定在至少一个时空重叠区域内出现的至少一个第二对象,以及每一第二对象在至少一个时空重叠区域内的第二轨迹点集合,本公开实施例对此并不限定。Here, the second object may be any suitable movable object that appears in at least one spatio-temporal overlapping region except the first object and whose track information can be collected, which is not limited here. For example, the second object may be a person, an animal, a vehicle, an object, etc. that appear in at least one space-time overlapping region and walk with the first object. During implementation, those skilled in the art may determine at least one second object appearing in at least one space-time overlapping region and the second trajectory point of each second object in at least one space-time overlapping region in an appropriate manner according to the actual situation set, which is not limited in the embodiments of the present disclosure.
在一些实施方式中,可以获取在该至少一个时空重叠区域内的至少一个重叠轨迹点, 并对每一重叠轨迹点所属的对象进行统计,得到在该至少一个时空重叠区域内出现的至少一个对象;将该至少一个对象中除第一对象之外的对象确定为第二对象;将至少一个重叠轨迹点中每一第二对象的轨迹点加入该第二对象的第二轨迹点集合。In some implementations, at least one overlapping track point in the at least one space-time overlapping area can be obtained, and the object to which each overlapping track point belongs is counted to obtain at least one object appearing in the at least one space-time overlapping area ; Determining an object other than the first object in the at least one object as a second object; adding the track point of each second object in the at least one overlapping track point to the second track point set of the second object.
在一些实施方式中,可以获取在该至少一个时空重叠区域内出现的至少一个对象,将该至少一个对象中除第一对象之外的对象确定为第二对象;通过获取每一第二对象在该至少一个时空重叠区域内的至少一个轨迹点,得到每一第二对象的第二轨迹点集合。In some implementations, at least one object appearing in the at least one spatio-temporal overlapping area may be acquired, and an object in the at least one object other than the first object is determined as a second object; by acquiring each second object in The at least one trajectory point in the at least one spatio-temporal overlapping area obtains a second trajectory point set of each second object.
步骤S104,针对每一所述第二对象,在所述第二对象的第二轨迹点集合中轨迹点的数量超过轨迹点数量阈值的情况下,确定所述第二对象与所述至少两个第一对象存在关联关系。Step S104, for each second object, when the number of track points in the second track point set of the second object exceeds a threshold number of track points, determine that the second object is related to the at least two The first object has an association relationship.
这里,关联关系可以是表征第二对象与至少两个第一对象之间具有关联的任意合适的关系,可以包含但不限于第二对象与至少两个第一对象在行为上的关联关系、在属性上的关联关系等。Here, the association relationship may be any suitable relationship that characterizes the association between the second object and at least two first objects, and may include but not limited to the behavioral association relationship between the second object and at least two first objects, in Relationships on attributes, etc.
轨迹点数量阈值可以是预先设定的,也可以是默认的。在实施时,可以根据实际的关联关系确定合适的轨迹点数量阈值,这里并不限定。第二对象的第二轨迹点集合中的每一轨迹点可以表征该第二对象在至少一个时空重叠区域内出现了一次,第二轨迹点集合中轨迹点的数量可以表示该第二对象在至少一个时空重叠区域内出现的次数。在第二对象的第二轨迹点集合中轨迹点的数量超过轨迹点数量阈值的情况下,可以确定第二对象与至少两个第一对象之间存在关联关系。The track point number threshold can be preset or default. During implementation, an appropriate threshold for the number of track points may be determined according to an actual association relationship, which is not limited here. Each track point in the second set of track points of the second object can represent that the second object has appeared once in at least one spatio-temporal overlapping region, and the number of track points in the second set of track points can represent that the second object appears in at least one space-time overlapping region. The number of occurrences in a spatio-temporal overlapping region. In a case where the number of track points in the second set of track points of the second object exceeds the threshold number of track points, it may be determined that there is an association relationship between the second object and at least two first objects.
在一些实施例中,第二对象与至少两个第一对象存在的关联关系可以包括第二对象与至少两个第一对象在行为上的关联关系。在行为上的关联关系可以包括第二对象与第一对象之间进行会面、同行、物件交接、投喂等行为。例如,在第一对象为第一人员,第二对象为第二人员的情况下,第二对象与至少两个第一对象存在的关联关系可以是第二人员与至少两个第一人员之间进行会面行为、同行行为或非实时的物件交接行为等;在第一对象为第一人员,第二对象为车辆的情况下,第二对象与至少两个第一对象存在的关联关系可以是至少两个第一人员驾驶该车辆;在第一对象为第一人员,第二对象为猫的情况下,第二对象与至少两个第一对象存在的关联关系可以是至少两个第一人员与猫同行。在实施时,本领域技术人员可以根据实际情况确定合适的行为上的关联关系,这里并不限定。In some embodiments, the association relationship between the second object and the at least two first objects may include a behavioral association relationship between the second object and the at least two first objects. Behavioral associations may include behaviors such as meeting, traveling together, handing over objects, and feeding between the second object and the first object. For example, in the case where the first object is a first person and the second object is a second person, the association between the second object and at least two first objects may be between the second person and at least two first persons Perform meeting behavior, peer behavior or non-real-time object handover behavior, etc.; when the first object is the first person and the second object is a vehicle, the association relationship between the second object and at least two first objects can be at least Two first persons drive the vehicle; when the first object is the first person and the second object is a cat, the association relationship between the second object and at least two first objects can be that at least two first persons and Cat walks. During implementation, those skilled in the art may determine an appropriate behavioral relationship according to actual conditions, which is not limited here.
在一些实施例中,第二对象与至少两个第一对象存在的关联关系可以包括第二对象与至少两个第一对象在属性上的关联关系。在属性上的关联关系可以包括第二对象与至少两个第一对象在属性上具有潜在的关联。例如,第二对象可以是潜在的与至少两个第一对象中任一对象具有相同或相关的对象类型、对象身份属性等的对象。在实施时,可以根据实际情况确定合适的属性上的相关性,这里并不限定。In some embodiments, the association relationship between the second object and the at least two first objects may include an association relationship between the second object and the at least two first objects in terms of attributes. The association relationship on attributes may include that the second object has potential associations on attributes with at least two first objects. For example, the second object may be an object potentially having the same or related object type, object identity attribute, etc. as any one of the at least two first objects. During implementation, the correlation on appropriate attributes may be determined according to actual conditions, which is not limited here.
本公开实施例中,通过对具有相同的或者相关的属性的至少两个第一对象的轨迹信息进行分析,得到至少一个时空重叠区域,并对至少一个时空重叠区域内出现的除至少两个第一对象之外的至少一个第二对象的轨迹信息进行分析,得到与至少两个第一对象存在关联关系的第二对象,从而可以提高对轨迹信息的分析能力,进而能够更加充分地利用轨迹信息中的价值,并能使得对于海量轨迹信息的获取所投入的资源得到更加有效地利用。In the embodiment of the present disclosure, by analyzing the trajectory information of at least two first objects with the same or related attributes, at least one space-time overlapping area is obtained, and the at least two first objects appearing in the at least one space-time overlapping area are analyzed. Analyze the trajectory information of at least one second object other than the first object to obtain a second object that is associated with at least two first objects, thereby improving the ability to analyze trajectory information, and then making full use of the trajectory information In addition, it can make the resources invested in the acquisition of massive trajectory information be used more effectively.
在一些实施例中,上述步骤S104中所述的在所述第二对象的第二轨迹点集合中轨迹点的数量超过轨迹点数量阈值的情况下,确定所述第二对象与所述至少两个第一对象存在关联关系,可以包括如下步骤S111至步骤S112:In some embodiments, when the number of track points in the second set of track points of the second object in the above step S104 exceeds the threshold number of track points, it is determined that the second object and the at least two A first object has an association relationship, which may include the following steps S111 to S112:
步骤S111,在所述第二对象的第二轨迹点集合中轨迹点的数量超过轨迹点数量阈值的情况下,确定所述第二轨迹点集合中每一轨迹点匹配的目标时空重叠区域。Step S111 , if the number of track points in the second track point set of the second object exceeds the threshold number of track points, determine a target space-time overlapping area matched by each track point in the second track point set.
这里,第二对象的第二轨迹点集合中的每一轨迹点可以表征该第二对象在至少一个时空重叠区域内出现了一次,每一轨迹点所处的时空重叠区域即为该轨迹点匹配的目标时空重叠区域。在实施时,本领域技术人员可以根据实际情况采用合适的方式确定第二轨迹点集合中每一轨迹点匹配的目标时空重叠区域,这里并不限定。Here, each track point in the second set of track points of the second object can represent that the second object appears once in at least one space-time overlapping area, and the space-time overlapping area where each track point is located is the track point matching The target spatio-temporal overlapping region. During implementation, those skilled in the art may determine the target spatio-temporal overlapping region matched by each track point in the second set of track points in an appropriate manner according to the actual situation, which is not limited here.
在一些实施方式中,每一轨迹点可以对应一个时间区域和一个空间区域,通过确定每一轨迹点的时间区域和空间区域所在的时空重叠区域,可以确定每一轨迹点匹配的目标时空重叠区域。In some implementations, each trajectory point can correspond to a time region and a space region, and by determining the time region and space region of each trajectory point in the space-time overlapping region, the target space-time overlapping region matched by each trajectory point can be determined .
步骤S112,在所述第二轨迹点集合中轨迹点匹配的目标时空重叠区域的数量超过第一重叠数量阈值的情况下,确定所述第二对象与所述至少两个第一对象存在关联关系。Step S112, when the number of target spatio-temporal overlapping areas matched by the track points in the second set of track points exceeds a first overlap quantity threshold, determine that the second object has an association relationship with the at least two first objects .
这里,第一重叠数量阈值可以是预先设定的,也可以是默认的。在实施时,可以根据实际的关联关系确定合适的第一重叠数量阈值,这里并不限定。Here, the first overlap quantity threshold may be preset or default. During implementation, an appropriate first overlapping quantity threshold may be determined according to an actual association relationship, which is not limited here.
在上述实施例中,在第二对象的第二轨迹点集合中轨迹点的数量超过轨迹点数量阈值的情况下,确定第二轨迹点集合中每一轨迹点匹配的目标时空重叠区域,并在第二轨迹点集合中轨迹点匹配的目标时空重叠区域的数量超过第一重叠数量阈值的情况下,确定第二对象与至少两个第一对象存在关联关系。这样,可以将在超过第一重叠数量阈值的时空重叠区域中出现的第二对象确定为与至少两个第一对象存在关联关系,从而可以提高识别与至少两个第一对象存在关联关系的第二对象的准确性,进而可以进一步提高对轨迹信息的分析能力。In the above embodiment, when the number of track points in the second track point set of the second object exceeds the threshold number of track points, determine the target spatio-temporal overlapping area matched by each track point in the second track point set, and When the number of target spatio-temporal overlapping areas matched by the track points in the second set of track points exceeds a first overlap quantity threshold, it is determined that the second object has an association relationship with at least two first objects. In this way, the second object that appears in the spatio-temporal overlapping region that exceeds the first overlap quantity threshold can be determined as having an association relationship with at least two first objects, thereby improving the identification of the second object that has an association relationship with at least two first objects. The accuracy of the two objects can further improve the analysis ability of trajectory information.
本公开实施例提供一种数据处理方法,该方法可以由计算机设备的处理器执行。如图2所示,该方法包括如下步骤S201至步骤S205:An embodiment of the present disclosure provides a data processing method, which can be executed by a processor of a computer device. As shown in Figure 2, the method includes the following steps S201 to S205:
步骤S201,获取至少两个第一对象中每一所述第一对象的第一轨迹点集合;其中,所述至少两个第一对象具有相同的或者相关的属性,每一所述第一轨迹点集合中包括至少一个轨迹点。Step S201, obtaining a first track point set of each of the at least two first objects; wherein, the at least two first objects have the same or related attributes, and each of the first track points The point set includes at least one trajectory point.
步骤S202,对所述至少两个第一对象的第一轨迹点集合中的轨迹点进行时空碰撞,得到至少一个时空重叠区域。Step S202, performing space-time collision on the track points in the first set of track points of the at least two first objects to obtain at least one space-time overlapping area.
这里,上述步骤S201至步骤S202分别对应于前述实施例中的步骤S101至步骤S102,在实施时,可以参照前述步骤S101至步骤S102的实施方式。Here, the above steps S201 to S202 respectively correspond to the steps S101 to S102 in the foregoing embodiments, and for implementation, reference may be made to the implementation manners of the foregoing steps S101 to S102.
步骤S203,在所述时空重叠区域的数量超过第二重叠数量阈值的情况下,确定所述至少两个第一对象之间存在预设关联行为。Step S203, when the number of the spatio-temporal overlapping regions exceeds a second overlapping number threshold, determine that there is a preset association behavior between the at least two first objects.
这里,第二重叠数量阈值可以是预先设定的,也可以是默认的。在实施时,可以根据实际的关联关系确定合适的第二重叠数量阈值,这里并不限定。Here, the second overlap quantity threshold may be preset or default. During implementation, an appropriate second overlapping quantity threshold may be determined according to an actual association relationship, which is not limited here.
预设关联行为可以包括预设的两个第一对象之间的会面、同行、物件交接、投喂等行为,如预设的两个人员之间的会面行为、预设的人员驾驶预设的车辆的行为、预设的人员与预设的猫同行的行为、预设的车辆运载预设的物品的行为、预设的两个人员之间进行非实时的物件交接的行为等;也可以包括至少两个第一对象中具有不同属性的至少两类第一对象之间的会面、聚集、同行、物件交接等行为,如分别具有预设的第一身份类型与预设的第二身份类型的两类第一对象之间的会面行为、人员与车辆两类第一对象的同行行为、快递员与收件人或寄件人之间的物件交接行为、人员与猫或狗之间的投喂行为等。在实施时,本领域技术人员可以根据实际情况确定合适的第一对象以及合适的预设关联行为,这里并不限定。Preset associated behaviors may include preset behaviors such as meeting, traveling together, object handover, feeding, etc. between two first objects, such as the preset meeting behavior between two people, the preset person driving the preset The behavior of the vehicle, the behavior of the preset person walking with the preset cat, the behavior of the preset vehicle carrying the preset item, the behavior of non-real-time object handover between the preset two people, etc.; it can also include Behaviors such as meeting, gathering, walking, and object handover between at least two types of first objects with different attributes among at least two first objects, such as having a preset first identity type and a preset second identity type The meeting behavior between two types of first objects, the walking behavior of two types of first objects, people and vehicles, the handover behavior between couriers and recipients or senders, and the feeding between people and cats or dogs behavior etc. During implementation, those skilled in the art may determine a suitable first object and a suitable preset association behavior according to actual conditions, which are not limited here.
步骤S204,在所述至少两个第一对象之间存在预设关联行为的情况下,确定在所述至少一个时空重叠区域内出现的除所述至少两个第一对象之外的至少一个第二对象,以及每一所述第二对象在所述至少一个时空重叠区域内的第二轨迹点集合。Step S204, in the case that there is a preset association behavior between the at least two first objects, determine at least one first object other than the at least two first objects that appears in the at least one spatio-temporal overlapping region Two objects, and a set of second trajectory points of each second object in the at least one spatio-temporal overlapping region.
步骤S205,针对每一所述第二对象,在所述第二对象的第二轨迹点集合中轨迹点 的数量超过轨迹点数量阈值的情况下,确定所述第二对象与所述至少两个第一对象存在关联关系。Step S205, for each second object, if the number of track points in the second set of track points of the second object exceeds a threshold number of track points, determine that the second object is related to the at least two The first object has an association relationship.
这里,上述步骤S204至步骤S205分别对应于前述实施例中的步骤S103至步骤S104,在实施时,可以参照前述步骤S103至步骤S104的实施方式。Here, the above steps S204 to S205 respectively correspond to the steps S103 to S104 in the foregoing embodiments, and for implementation, reference may be made to the implementation manners of the foregoing steps S103 to S104.
本公开实施例中,在时空重叠区域的数量超过第二重叠数量阈值的情况下,确定至少两个第一对象之间存在预设关联行为,并在至少两个第一对象之间存在预设关联行为的情况下,对与至少两个第一对象存在关联关系的第二对象进行识别,从而可以提高识别到的与至少两个第一对象存在关联关系的第二对象的准确性,进而可以进一步提高对轨迹信息的分析能力。In the embodiment of the present disclosure, when the number of spatio-temporal overlapping regions exceeds the second overlapping number threshold, it is determined that there is a preset association behavior between at least two first objects, and there is a preset association behavior between at least two first objects. In the case of an association behavior, the second object that has an association relationship with at least two first objects is identified, so that the accuracy of the identified second object that has an association relationship with at least two first objects can be improved, and then the Further improve the ability to analyze trajectory information.
在一些实施例中,所述至少两个第一对象包括至少一个具有第一属性的第一子对象和至少一个具有第二属性的第二子对象,所述预设关联行为包括所述第一子对象与所述第二子对象之间的对象聚集行为。上述步骤S203可以包括:In some embodiments, the at least two first objects include at least one first sub-object with a first attribute and at least one second sub-object with a second attribute, and the preset association behavior includes the first Object aggregation behavior between the child object and the second child object. The above step S203 may include:
步骤S211,在所述时空重叠区域的数量超过第二重叠数量阈值的情况下,分别确定在所述至少一个时空重叠区域内出现的第一子对象的数量和第二子对象的数量。Step S211, when the number of the spatiotemporal overlapping regions exceeds a second overlapping quantity threshold, respectively determine the number of first sub-objects and the number of second sub-objects appearing in the at least one spatiotemporal overlapping region.
这里,第一属性和第二属性可以是任意合适的相同或相关的属性。Here, the first attribute and the second attribute may be any suitable same or related attributes.
第二重叠数量阈值可以是预先设定的,也可以是默认的。在实施时,可以根据实际情况确定合适的第二重叠数量阈值,这里并不限定。The second overlap quantity threshold may be preset or default. During implementation, an appropriate second overlapping quantity threshold may be determined according to actual conditions, which is not limited here.
对象聚集行为指的是具有第一属性和具有第二属性的两类第一对象之间的聚集行为,也即第一子对象和第二子对象这两类第一对象之间的聚集行为。The object aggregation behavior refers to the aggregation behavior between two types of first objects with the first attribute and the second attribute, that is, the aggregation behavior between the first sub-objects and the second sub-objects.
步骤S212,在所述第一子对象的数量大于第一对象数量阈值,且所述第二子对象的数量大于第二对象数量阈值的情况下,确定存在所述第一子对象与所述第二子对象之间的对象聚集行为。Step S212, when the number of the first sub-object is greater than the first object quantity threshold and the second sub-object is greater than the second object quantity threshold, it is determined that the first sub-object and the second sub-object exist Object aggregation behavior between two child objects.
这里,第一对象数量阈值和第二对象数量阈值均可以是预先设定的,也可以是默认的。第一对象数量阈值与第二对象数量阈值可以相同,也可以不同。在实施时,可以根据实际情况确定合适的第一对象数量阈值和第二对象数量阈值,这里并不限定。Here, both the first object quantity threshold and the second object quantity threshold can be preset or default. The first object quantity threshold and the second object quantity threshold may be the same or different. During implementation, the appropriate first object quantity threshold and the second object quantity threshold may be determined according to actual conditions, which are not limited here.
在上述实施例中,在第一子对象与第二子对象之间存在对象聚集行为的情况下,可以识别出与存在对象聚集行为的至少两个第一对象存在关联关系的第二对象,从而可以进一步提高对轨迹信息的分析能力。In the above embodiment, when there is an object aggregation behavior between the first sub-object and the second sub-object, the second object that has an association relationship with at least two first objects that have the object aggregation behavior can be identified, so that The ability to analyze trajectory information can be further improved.
本公开实施例提供一种数据处理方法,该方法可以由计算机设备的处理器执行。如图3所示,该方法包括如下步骤S301至步骤S305:An embodiment of the present disclosure provides a data processing method, which can be executed by a processor of a computer device. As shown in Figure 3, the method includes the following steps S301 to S305:
步骤S301,获取至少两个第一对象中每一所述第一对象的第一轨迹点集合;其中,所述至少两个第一对象具有相同的或者相关的属性,每一所述第一轨迹点集合中包括至少一个轨迹点;每一所述轨迹点均具有时间标识。Step S301, obtaining a first track point set of each of the first objects in at least two first objects; wherein, the at least two first objects have the same or related attributes, and each of the first track points The point set includes at least one track point; each track point has a time stamp.
这里,每一轨迹点的时间标识可以对应一个时间点或一个时间范围等。在实施时,本领域技术人员可以根据实际情况选择合适的时间标识,这里并不限定。例如,每一轨迹点都可以具有一个表征该轨迹点所属对象出现在相应的空间位置处的时间点的时间标识。又如,每一轨迹点都可以具有一个表征该轨迹点所属对象在相应的空间位置处停留的时间范围的时间标识。Here, the time identifier of each track point may correspond to a time point or a time range or the like. During implementation, those skilled in the art may select an appropriate time identifier according to actual conditions, which is not limited here. For example, each track point may have a time identifier representing the time point at which the object to which the track point belongs appears at the corresponding spatial position. For another example, each track point may have a time identifier that characterizes the time range in which the object to which the track point belongs stays at the corresponding spatial position.
步骤S302,对所述至少两个第一对象的第一轨迹点集合中的轨迹点,在空间上进行匹配,得到至少一个空间重叠区域以及每一所述空间重叠区域内的至少两个空间重叠轨迹点。Step S302, spatially matching the trajectory points in the first trajectory point set of the at least two first objects to obtain at least one spatial overlapping region and at least two spatial overlapping regions in each spatial overlapping region track point.
这里,每一个空间重叠区域可以表示至少两个第一对象在相同或相近的空间位置上出现了一次,也即至少两个第一对象的轨迹在空间上出现了一次相交或相近的情况,其中,每一空间重叠区域可以对应至少两个第一对象中每一个第一对象的至少一个轨迹点, 每一空间重叠区域对应的每一轨迹点可以是该空间重叠区域内的空间重叠轨迹点。通过在空间上对至少两个第一对象中一个第一对象的第一轨迹点集合中的每一轨迹点与另一个第一对象的第一轨迹点集合中的每一轨迹点进行匹配,可以得到这两个第一对象之间的空间重叠区域,进而可以得到至少两个第一对象之间的至少一个空间重叠区域以及每一空间重叠区域内的至少两个空间重叠轨迹点。Here, each spatial overlapping region may indicate that at least two first objects appear once at the same or similar spatial positions, that is, the trajectories of at least two first objects intersect or are similar in space once, wherein , each spatial overlapping region may correspond to at least one trajectory point of each of the at least two first objects, and each trajectory point corresponding to each spatial overlapping region may be a spatially overlapping trajectory point within the spatial overlapping region. By spatially matching each trajectory point in the first trajectory point set of one of the at least two first objects with each trajectory point in the first trajectory point set of the other first object, it is possible to The spatial overlapping area between the two first objects is obtained, and then at least one spatial overlapping area between the at least two first objects and at least two spatial overlapping track points in each spatial overlapping area can be obtained.
在实施时,可以采用任意合适的方式对至少两个第一对象的第一轨迹点集合中的轨迹点在空间上进行匹配,得到至少一个空间重叠区域以及每一空间重叠区域内的至少两个空间重叠轨迹点,本公开实施例对此并不限定。例如,至少两个第一对象中每一第一对象都可以具有一个空间标识,每一空间标识可以表示一个空间位置,可以对至少两个第一对象中一个第一对象的第一轨迹点集合中的每一轨迹点与另一个第一对象的第一轨迹点集合中的每一轨迹点进行比较,在两个轨迹点的空间标识对应相同或相近的空间位置的情况下,确定两个轨迹点在空间上匹配,从而可以得到一个对应于这两个轨迹点的空间重叠区域,这两个轨迹点即为该空间重叠区域内的空间重叠轨迹点。During implementation, any suitable method may be used to spatially match the track points in the first set of track points of at least two first objects to obtain at least one spatial overlapping area and at least two in each spatial overlapping area. The spatially overlapping track points are not limited in this embodiment of the present disclosure. For example, each first object in at least two first objects can have a spatial identifier, and each spatial identifier can represent a spatial position, and the first track point set of one first object in at least two first objects can be Each trajectory point in is compared with each trajectory point in the first trajectory point set of another first object, and two trajectories are determined when the spatial identifiers of the two trajectory points correspond to the same or similar spatial positions The points are matched in space, so that a spatial overlapping region corresponding to the two trajectory points can be obtained, and the two trajectory points are the spatially overlapping trajectory points in the spatial overlapping region.
步骤S303,针对每一所述空间重叠区域,在所述空间重叠区域内的至少两个空间重叠轨迹点在时间上满足预设的时间条件的情况下,基于每一所述空间重叠轨迹点的时间标识,确定一时间重叠区域,并基于所述空间重叠区域和所述时间重叠区域确定一时空重叠区域。Step S303, for each of the spatial overlapping areas, in the case that at least two spatial overlapping track points in the spatial overlapping area satisfy the preset time condition in time, based on the Time marking, determining a time overlapping area, and determining a spatio-temporal overlapping area based on the spatial overlapping area and the temporal overlapping area.
这里,空间重叠区域表示的是两个第一对象在相同或相近的空间位置上出现了,这两个第一对象可以是同时出现的,也可以不是同时出现的,也即空间重叠区域内的至少两个空间重叠轨迹点在时间上可能存在关联性也可能不存在关联性。由于时空重叠区域表示的是两个第一对象在相同或相近的时空上出现了,因此,可以在空间重叠区域内的至少两个空间重叠轨迹点在时间上满足预设的时间条件的情况下,针对该空间重叠区域,确定一时间重叠区域,并基于该空间重叠区域和该时间重叠区域确定一个时空重叠区域,其中,在该至少两个空间重叠轨迹点可以作为该时空重叠区域内的重叠轨迹点。Here, the spatial overlapping region indicates that two first objects appear at the same or similar spatial positions, and the two first objects may or may not appear simultaneously, that is, the spatial overlapping region At least two spatially overlapping track points may or may not be correlated in time. Since the space-time overlapping area indicates that two first objects appeared in the same or similar space-time, therefore, at least two space-overlapping trajectory points in the space-time overlapping area satisfy the preset time condition in time , for the spatial overlapping area, determine a time overlapping area, and determine a space-time overlapping area based on the space overlapping area and the time overlapping area, wherein the at least two spatially overlapping trajectory points can be used as overlapping in the space-time overlapping area track point.
预设的时间条件可以包括但不限于两个空间重叠轨迹点在时间上的间隔小于预设的时间间隔阈值、两个空间重叠轨迹点在相同或相近空间位置处共同停留的时长大于预设的时长阈值等。例如,每一空间重叠轨迹点都可以具有一个表征该轨迹点所属对象出现在相应的空间位置处的时间点的时间标识,基于两个空间重叠轨迹点的时间标识可以确定两个空间重叠轨迹点在时间上的间隔,在该间隔小于预设的时间间隔阈值的情况下,可以确定在该空间重叠区域内的至少两个空间重叠轨迹点在时间上满足预设的时间条件。又如,每一空间重叠轨迹点都可以具有一个表征该空间重叠轨迹点所属对象在相应的空间位置处停留的时间范围的时间标识,可以通过两个空间重叠轨迹点的时间标识对应的时间范围之间的交集确定两个空间重叠轨迹点在相同或相近空间位置处共同停留的时长,在该时长大于预设的时长阈值的情况下,可以确定在该空间重叠区域内的至少两个空间重叠轨迹点在时间上满足预设的时间条件。The preset time conditions may include, but are not limited to, that the time interval between two spatially overlapping trajectory points is less than a preset time interval threshold, and the duration of two spatially overlapping trajectory points staying together at the same or similar spatial position is longer than the preset time interval. duration threshold, etc. For example, each spatially overlapping track point can have a time mark representing the time point at which the object to which the track point belongs appears at the corresponding spatial position, and two spatially overlapping track points can be determined based on the time marks of the two spatially overlapping track points In terms of time interval, if the interval is smaller than a preset time interval threshold, it may be determined that at least two spatially overlapping track points in the spatially overlapping region satisfy a preset time condition in time. As another example, each spatially overlapping trajectory point can have a time identifier that characterizes the time range of the object to which the spatially overlapping trajectory point belongs stays at the corresponding spatial position, and the time range corresponding to the time identifier of the two spatially overlapping trajectory points can be The intersection between determines the length of time that two spatially overlapping trajectory points stay together at the same or similar spatial position. If the length of time is greater than the preset duration threshold, at least two spatially overlapping The track point satisfies a preset time condition in time.
每一空间重叠区域对应的时间重叠区域可以是基于该空间重叠区域内的每一空间重叠轨迹点的时间标识确定的。在实施时,可以根据实际情况采用合适的方式基于空间重叠区域内的每一空间重叠轨迹点的时间标识,确定一时间重叠区域,这里并不限定。例如,可以将每一空间重叠轨迹点的时间标识对应的时间区域和/或时间点取并集,得到时间重叠区域;也可以确定每一空间重叠轨迹点的时间标识对应的时间区域和/或时间点中的最小时间值和最大时间值,将该最小时间值与该最大时间值之间的时间区域确定为时间重叠区域。The temporal overlapping region corresponding to each spatial overlapping region may be determined based on the time identifier of each spatial overlapping trajectory point within the spatial overlapping region. During implementation, a time overlapping area may be determined based on the time identifier of each spatially overlapping track point in the space overlapping area in an appropriate manner according to the actual situation, which is not limited here. For example, the time zone and/or time point corresponding to the time identifier of each spatially overlapping track point can be combined to obtain the time overlap zone; the time zone and/or corresponding to the time marker of each spatially overlapping track point can also be determined A minimum time value and a maximum time value in a time point, and a time region between the minimum time value and the maximum time value is determined as a time overlap region.
步骤S304,确定在所述至少一个时空重叠区域内出现的除所述至少两个第一对象之外的至少一个第二对象,以及每一所述第二对象在所述至少一个时空重叠区域内的第 二轨迹点集合。Step S304, determining at least one second object other than the at least two first objects appearing in the at least one spatio-temporal overlapping region, and each of the second objects in the at least one spatio-temporal overlapping region The second track point set of .
步骤S305,针对每一所述第二对象,在所述第二对象的第二轨迹点集合中轨迹点的数量超过轨迹点数量阈值的情况下,确定所述第二对象与所述至少两个第一对象存在关联关系。Step S305, for each second object, if the number of track points in the second set of track points of the second object exceeds a threshold number of track points, determine that the second object is related to the at least two The first object has an association relationship.
这里,上述步骤S304至步骤S305分别对应于前述实施例中的步骤S103至步骤S104,在实施时,可以参照前述步骤S103至步骤S104的实施方式。Here, the above steps S304 to S305 respectively correspond to the steps S103 to S104 in the foregoing embodiments, and for implementation, reference may be made to the implementation manners of the foregoing steps S103 to S104.
在一些实施例中,可以在轨迹分析界面显示一个包括至少一个空间重叠区域的地图,并在该地图中的每一空间重叠区域内显示该空间重叠区域内的至少一个空间重叠轨迹点,以及每一与该至少两个第一对象存在关联关系的第二对象在该空间重叠区域内的每一轨迹点。In some embodiments, a map including at least one spatial overlapping region may be displayed on the trajectory analysis interface, and at least one spatial overlapping trajectory point in the spatial overlapping region is displayed in each spatial overlapping region in the map, and each Each track point of a second object associated with the at least two first objects within the spatial overlapping area.
本公开实施例中,对至少两个第一对象的第一轨迹点集合中的轨迹点,在空间上进行匹配,得到至少一个空间重叠区域以及每一空间重叠区域内的至少两个空间重叠轨迹点,针对每一空间重叠区域,在该空间重叠区域内的至少两个空间重叠轨迹点在时间上满足预设的时间条件的情况下,基于每一空间重叠轨迹点的时间标识,确定一时间重叠区域,并基于该空间重叠区域和该时间重叠区域确定一时空重叠区域。这样可以快速准确地确定至少一个时空重叠区域。In the embodiment of the present disclosure, the trajectory points in the first trajectory point set of at least two first objects are spatially matched to obtain at least one spatial overlapping region and at least two spatially overlapping trajectories in each spatial overlapping region point, for each spatial overlapping area, when at least two spatially overlapping trajectory points in the spatial overlapping area meet the preset time condition in time, based on the time identifier of each spatially overlapping trajectory point, determine a time an overlapping area, and determine a spatio-temporal overlapping area based on the spatial overlapping area and the temporal overlapping area. This enables fast and accurate determination of at least one spatio-temporal overlap region.
在一些实施例中,所述至少两个第一对象包括至少一个具有第一属性的第一子对象和至少一个具有第二属性的第二子对象,所述第一属性与第二属性相同或相关,每一所述轨迹点均具有空间标识。上述步骤S302可以包括如下步骤S311至步骤S313:In some embodiments, the at least two first objects include at least one first sub-object with a first attribute and at least one second sub-object with a second attribute, the first attribute being the same as the second attribute or Correlation, each track point has a spatial identifier. The above step S302 may include the following steps S311 to S313:
步骤S311,将每一所述具有第一属性的第一子对象的轨迹点集合中的每一轨迹点确定为待匹配轨迹点。Step S311, determining each track point in the set of track points of each first sub-object with the first attribute as a track point to be matched.
这里,第一属性和第二属性可以是任意合适的相同或相关的属性。Here, the first attribute and the second attribute may be any suitable same or related attributes.
每一轨迹点的空间标识对应一个空间位置,可以是一个位置点,也可以是一个位置区域,这里并不限定。The spatial identifier of each track point corresponds to a spatial location, which may be a location point or a location area, which is not limited here.
步骤S312,从每一所述具有第二属性的第二子对象的轨迹点集合中,确定与至少一个所述待匹配轨迹点的空间标识匹配的目标轨迹点。Step S312, from the set of track points of each second sub-object with the second attribute, determine a target track point that matches the spatial identifier of at least one track point to be matched.
这里,两个轨迹点的空间标识匹配的情况可以包括但不限于两个轨迹点的空间标识对应的空间位置为同一位置点、两个轨迹点的空间标识对应的空间位置属于同一位置区域或者两个轨迹点的空间标识对应的空间位置之间的距离小于设定的距离阈值等中的一种或多种。在实施时,可以根据实际情况采用任意合适的方式确定两个轨迹点的空间标识是否匹配,这里并不限定。Here, the situation that the spatial identifiers of two trajectory points match may include but not limited to that the spatial locations corresponding to the spatial identifiers of the two trajectory points are the same location point, the spatial locations corresponding to the spatial identifiers of the two trajectory points belong to the same location area, or two The distance between the spatial positions corresponding to the spatial identifiers of the trajectory points is less than one or more of the set distance thresholds and the like. During implementation, any suitable manner may be used to determine whether the spatial identifiers of two track points match according to actual conditions, which is not limited here.
步骤S313,针对每一所述目标轨迹点,基于所述目标轨迹点的空间标识以及与所述目标轨迹点对应的至少一个待匹配轨迹点的空间标识,确定至少一个空间重叠区域,并将所述目标轨迹点和所述至少一个待匹配轨迹点均确定为所述空间重叠区域内的空间重叠轨迹点。Step S313, for each target track point, based on the spatial identification of the target track point and the spatial identification of at least one track point to be matched corresponding to the target track point, determine at least one spatial overlapping area, and combine the Both the target track point and the at least one to-be-matched track point are determined as spatially overlapping track points in the spatially overlapping area.
这里,对于每一目标轨迹点,该目标轨迹点以及与该目标轨迹点对应的待匹配轨迹点可以对应一个空间重叠区域。在实施时,可以根据实际情况采用任意合适的方式确定每一目标轨迹点以及与该目标轨迹点对应的待匹配轨迹点对应的空间重叠区域,这里并不限定。例如,对于一组空间标识匹配的目标轨迹点与至少一个待匹配轨迹点,可以将该目标轨迹点的空间标识对应的空间区域和/或空间点,以及每一待匹配轨迹点的空间标识对应的空间区域和/或空间点的并集,确定为空间重叠区域;也可以将该目标轨迹点的空间标识对应的空间区域和/或空间点,以及每一待匹配轨迹点的空间标识对应的空间区域和/或空间点之间的交集,确定为空间重叠区域。Here, for each target track point, the target track point and the track point to be matched corresponding to the target track point may correspond to a spatial overlapping area. During implementation, each target track point and the spatial overlapping area corresponding to the track point to be matched corresponding to the target track point may be determined in any suitable manner according to the actual situation, which is not limited here. For example, for a group of target track points matched by space identification and at least one track point to be matched, the space region and/or space point corresponding to the space identification of the target track point can be used, and the space identification of each track point to be matched corresponds to The union of the spatial region and/or spatial point is determined as the spatial overlapping region; the spatial region and/or spatial point corresponding to the spatial identification of the target trajectory point, and the corresponding spatial identification of each trajectory point to be matched Intersections between spatial regions and/or spatial points are determined as spatial overlapping regions.
在一些实施例中,还可以对确定的至少一个时空重叠区域进行去重或聚合,得到最 终的至少一个时空重叠区域。例如,可以将时间或空间上相邻的多个时空重叠区域聚合为一个时空重叠区域,也可以对时间或空间上相同的多个时空重叠区域进行去重,得到一个时空重叠区域。In some embodiments, it is also possible to deduplicate or aggregate the determined at least one spatio-temporal overlapping region to obtain the final at least one spatio-temporal overlapping region. For example, multiple spatio-temporal overlapping regions that are adjacent in time or space can be aggregated into a spatio-temporal overlapping region, or multiple spatio-temporal overlapping regions that are the same in time or space can be deduplicated to obtain a spatio-temporal overlapping region.
在一些实施例中,上述步骤S303中所述的在所述空间重叠区域内的至少两个空间重叠轨迹点在时间上满足预设的时间条件的情况下,基于每一所述空间重叠轨迹点的时间标识,确定一时间重叠区域,可以包括:In some embodiments, when at least two spatially overlapping trajectory points in the spatially overlapping area described in the above step S303 meet the preset time condition in time, based on each of the spatially overlapping trajectory points The time stamps, identifying a temporal overlap region, may include:
步骤S321,基于所述空间重叠区域内的至少两个空间重叠轨迹点的时间标识,确定每两个空间重叠轨迹点之间的时间间隔.Step S321, based on the time marks of at least two spatially overlapping trajectory points in the spatially overlapping region, determine the time interval between every two spatially overlapping trajectory points.
这里,在一些实施方式中,每一空间重叠轨迹点的时间标识可以对应一个时间点,两个空间重叠轨迹点之间的时间间隔可以是这两个空间重叠轨迹点的时间标识对应的时间点的差值。在一些实施方式中,每一空间重叠轨迹点的时间标识可以对应一个时间范围,两个空间重叠轨迹点之间的时间间隔可以是这两个空间重叠轨迹点的时间标识对应的时间范围之间的间隔。在实施时,本领域技术人员可以根据实际情况采用合适的方式确定每一空间重叠区域内每两个空间重叠轨迹点之间的时间间隔,这里并不限定。Here, in some implementations, the time identifier of each spatially overlapping track point may correspond to a time point, and the time interval between two spatially overlapping track points may be the time point corresponding to the time markers of these two spatially overlapping track points difference. In some implementations, the time identifier of each spatially overlapping track point may correspond to a time range, and the time interval between two spatially overlapping track points may be between the time ranges corresponding to the time markers of the two spatially overlapping track points interval. During implementation, those skilled in the art may determine the time interval between every two spatially overlapping trajectory points in each spatially overlapping area in an appropriate manner according to actual conditions, which is not limited here.
步骤S322,在所述空间重叠区域内属于不同对象的空间重叠轨迹点之间的最小时间间隔小于重叠时间阈值的情况下,基于每一所述空间重叠轨迹点的时间标识,确定一时间重叠区域。Step S322, in the case where the minimum time interval between spatially overlapping track points belonging to different objects in the spatially overlapping area is less than the overlapping time threshold, based on the time identifier of each of the spatially overlapping track points, determine a temporally overlapping area .
这里,对于每一空间重叠区域,可以确定该空间重叠区域内每一空间重叠轨迹点的时间标识,基于每一空间重叠轨迹点的时间标识可以确定属于不同对象的每两个空间重叠轨迹点之间的时间间隔,其中最小的时间间隔即为属于不同对象的空间重叠轨迹点之间的最小时间间隔,在该最小时间间隔小于重叠时间阈值的情况下,可以基于该空间重叠区域内的每一空间重叠轨迹点的时间标识确定一时间重叠区域。Here, for each spatial overlapping region, the time identifier of each spatially overlapping trajectory point in the spatial overlapping region can be determined, based on the time identifier of each spatially overlapping trajectory point, it can be determined The minimum time interval is the minimum time interval between spatially overlapping trajectory points belonging to different objects. If the minimum time interval is less than the overlapping time threshold, it can be based on each The time stamps of the spatially overlapping trajectory points define a temporally overlapping region.
重叠时间阈值可以是预先设定的,也可以是默认的。在实施时,可以根据实际情况确定合适的重叠时间阈值,这里并不限定。The overlap time threshold can be preset or default. During implementation, an appropriate overlapping time threshold may be determined according to actual conditions, which is not limited here.
在一些实施例中,在至少两个第一对象之间存在预设关联行为的情况下,可以根据至少两个第一对象之间的预设关联行为确定合适的重叠时间阈值。例如,对于需要进行实时交互的预设关联行为(如会面、同行、实时的物件交接行为、实时的动物投喂行为等),可以设置较小的重叠时间阈值,如对于预设关联行为为两个预设对象之间的会面行为的情况,需要两个对象同时出现在相同或相近的空间位置处,可以设置一个较小的重叠时间阈值,如5秒、10秒、15秒等。又如,对于无需进行实时交互的预设关联行为(如非实时的物件交接行为、非实时的动物投喂行为等),可以设置较大的重叠时间阈值,如对于预设关联行为为两个对象之间的非实时的物件交接行为的情况,两个对象可以同时出现在相同或相近的空间位置处,也可以不是同时出现在相同或相近的空间位置处,可以设置一个较大的重叠时间阈值,如12小时、1天、3天等。In some embodiments, if there is a preset association behavior between at least two first objects, an appropriate overlapping time threshold may be determined according to the preset association behavior between the at least two first objects. For example, for preset association behaviors that require real-time interaction (such as meeting, peering, real-time object handover behavior, real-time animal feeding behavior, etc.), a smaller overlapping time threshold can be set, such as two for preset association behaviors. In the case of a meeting behavior between preset objects, two objects need to appear at the same or similar spatial position at the same time, and a small overlapping time threshold can be set, such as 5 seconds, 10 seconds, 15 seconds, etc. As another example, for preset association behaviors that do not require real-time interaction (such as non-real-time object handover behavior, non-real-time animal feeding behavior, etc.), a larger overlapping time threshold can be set, such as two preset association behaviors. In the case of non-real-time object handover behavior between objects, two objects may appear at the same or similar spatial positions at the same time, or they may not appear at the same or similar spatial positions at the same time, and a larger overlap time can be set Threshold value, such as 12 hours, 1 day, 3 days, etc.
在上述实施例中,可以准确地确定每一空间重叠区域内至少一个空间重叠轨迹点之间的时间重叠区域,进而可以准确地确定在相邻时间出现在相同或相近空间位置处的至少一个第一对象之间的时空重叠区域,进而进一步提高对第二对象与至少两个第一对象之间的关联关系进行识别的准确率。In the above-mentioned embodiments, the time overlapping area between at least one spatially overlapping track point in each spatially overlapping area can be accurately determined, and then at least one first time point that appears at the same or similar spatial position at adjacent times can be accurately determined. The spatio-temporal overlapping area between one object further improves the accuracy of identifying the association relationship between the second object and at least two first objects.
在一些实施例中,在每一所述轨迹点是基于采集的图像数据确定的情况下,所述空间标识包括以下至少之一:采集轨迹点对应的图像数据的图像采集设备的标识、采集轨迹点对应的图像数据的图像采集设备的归属区域;所述时间标识包括以下至少之一:轨迹点对应的图像数据的采集日期、轨迹点对应的图像数据的采集时刻。这里,图像数据可以是图像采集设备采集的包括对象的局部的图像数据,也可以是包括对象的整体的图像数据。例如,对于人员,图像数据可以是摄像头采集的人脸图像或人体图像等;对于 车辆,图像数据可以是摄像头采集的车牌图像或车辆图像等。图像采集设备可以包括但不限于彩色摄像头、红外摄像头、灰度摄像头、摄像机等中的一种或多种。每一图像采集设备可以具有一个唯一的标识或者对应一个归属区域。In some embodiments, when each trajectory point is determined based on the collected image data, the spatial identification includes at least one of the following: the identification of the image acquisition device that collects the image data corresponding to the trajectory point, the acquisition trajectory The attribution area of the image acquisition device of the image data corresponding to the point; the time identifier includes at least one of the following: the acquisition date of the image data corresponding to the trajectory point, and the acquisition time of the image data corresponding to the trajectory point. Here, the image data may be image data including a part of the object captured by the image acquisition device, or may be image data including the entire object. For example, for a person, the image data can be a face image or a human body image collected by a camera; for a vehicle, the image data can be a license plate image or a vehicle image collected by a camera, etc. The image acquisition device may include but not limited to one or more of a color camera, an infrared camera, a grayscale camera, a video camera, and the like. Each image acquisition device may have a unique identifier or correspond to an attribution area.
在上述实施例中,可以基于设置于不同空间位置处的图像采集设备采集的大量的图像数据,确定至少两个第一对象以及第二对象的轨迹点,从而可以提高获得的轨迹点在时空上的覆盖率,进而可以进一步提高对第二对象与至少两个第一对象之间的关联关系进行识别的准确率。In the above-mentioned embodiment, the trajectory points of at least two first objects and the second object can be determined based on a large amount of image data collected by image acquisition devices arranged at different spatial positions, so that the obtained trajectory points can be improved in terms of time and space. The coverage rate can further improve the accuracy of identifying the association relationship between the second object and at least two first objects.
在一些实施例中,在每一所述轨迹点是基于采集的定位数据确定的情况下,所述空间标识包括轨迹点对应的定位位置的归属区域;所述时间标识包括以下至少之一:轨迹点对应的定位数据的采集日期、轨迹点对应的定位数据的采集时刻。这里,在一些实施方式中,定位数据可以包括采用任意合适的定位系统采集的对象的定位位置。在实施时,采用的定位系统可以包括但不限于全球定位系统(Global Positioning System,GPS)、北斗卫星导航系统、伽利略卫星导航系统、全球导航卫星系统等中的一种或多种。在一些实施方式中,可以通过设置在不同空间区域的图像采集设备采集对象的抓拍图或抓拍特征,抓拍图和抓拍特征的数据结构中都可以包括对应图像采集设备标识的点位信息。图像采集设备标识的点位信息可以包括抓拍图或抓拍特征对应的空间位置的经纬度信息、区域代码等。这样,基于对象的抓拍图或抓拍特征的数据结构中对应图像采集设备标识的点位信息,可以确定对象的定位位置,从而可以实现对象的定位,获得对象的定位数据。In some embodiments, in the case where each track point is determined based on the collected positioning data, the spatial identification includes the attribution area of the positioning position corresponding to the track point; the time identification includes at least one of the following: track The collection date of the positioning data corresponding to the point, and the collection time of the positioning data corresponding to the track point. Here, in some implementations, the positioning data may include the positioning position of the object collected using any suitable positioning system. During implementation, the positioning system used may include but not limited to one or more of the Global Positioning System (Global Positioning System, GPS), Beidou satellite navigation system, Galileo satellite navigation system, and global navigation satellite system. In some implementations, the snapshots or features of the object can be collected by image capture devices installed in different spatial regions, and the data structures of the snapshots and features can include point information corresponding to the identification of the image capture device. The point information identified by the image acquisition device may include longitude and latitude information, area codes, etc. of the spatial position corresponding to the snapshot or the snapshot feature. In this way, based on the point information corresponding to the image acquisition device identification in the snapshot image of the object or the data structure of the snapshot feature, the positioning position of the object can be determined, so that the positioning of the object can be realized and the positioning data of the object can be obtained.
在上述实施例中,可以基于定位系统采集的大量的定位数据确定至少两个第一对象以及第二对象的轨迹点,从而可以进一步提高获得的轨迹点在时空上的覆盖率,进而可以进一步提高对第二对象与至少两个第一对象之间的关联关系进行识别的准确率。In the above-mentioned embodiment, the trajectory points of at least two first objects and the second object can be determined based on a large amount of positioning data collected by the positioning system, so that the coverage rate of the obtained trajectory points in time and space can be further improved, and further can be further improved. The accuracy rate of identifying the association relationship between the second object and at least two first objects.
本公开实施例提供一种数据处理方法,该方法可以由计算机设备的处理器执行。如图4所示,该方法包括如下步骤S401至步骤S405:An embodiment of the present disclosure provides a data processing method, which can be executed by a processor of a computer device. As shown in Figure 4, the method includes the following steps S401 to S405:
步骤S401,基于至少一种属性,从候选对象集合中确定所述至少两个第一对象;其中,每一所述第一对象具有所述至少一种属性中的任一属性。Step S401, based on at least one attribute, determine the at least two first objects from a set of candidate objects; wherein each of the first objects has any attribute in the at least one attribute.
这里,候选对象集合可以是任意合适的包含至少两个对象的集合。至少一种属性包括一种属性或两种以上相关的属性,可以是预设的,也可以是系统默认的,这里并不限定。从候选对象集合中确定的至少两个第一对象分别具有该至少一种属性中的任一属性,也即从候选对象集合中确定的至少两个第一对象具有相同或相关的属性。在实施时,本领域技术人员可以根据实际情况采用合适的方式从候选对象集合中确定至少两个第一对象,这里并不限定。例如,候选对象集合中的每一对象都可以具有一个属性标识,每一属性标识可以表示一种属性,可以通过对每一对象的属性标识与该至少一种属性中的每一属性进行比较,确定该对象是否为具有该至少一种属性中的任一属性的第一对象。Here, the set of candidate objects may be any suitable set containing at least two objects. At least one attribute includes one attribute or two or more related attributes, which may be preset or defaulted by the system, which is not limited here. At least two first objects determined from the candidate object set respectively have any attribute of the at least one attribute, that is, at least two first objects determined from the candidate object set have the same or related attributes. During implementation, those skilled in the art may determine at least two first objects from the candidate object set in an appropriate manner according to actual conditions, which is not limited here. For example, each object in the candidate object set can have an attribute identifier, and each attribute identifier can represent an attribute, and by comparing the attribute identifier of each object with each attribute in the at least one attribute, It is determined whether the object is a first object having any of the at least one attribute.
步骤S402,基于设定的时空范围,获取所述至少两个第一对象中每一所述第一对象的第一轨迹点集合;其中,每一所述第一对象的第一轨迹点集合中包括所述第一对象在所述时空范围内的至少一个轨迹点。Step S402, based on the set space-time range, obtain the first track point set of each of the at least two first objects; wherein, in the first track point set of each of the first objects At least one trajectory point of the first object within the space-time range is included.
这里,时空范围可以包括时间范围可空间范围。时间范围可以是预先设定的固定的范围,也可以是系统基于当前时间动态设定的范围,这里并不限定。例如,预先设定的时间范围可以是2021年6月1日至2021年6月3日。又如,假设当前时间为2021年6月5日10点30分,设定的时间范围可以是系统基于该当前时间确定的最近3天的时间范围,也即2021年6月2日10点30分至2021年6月5日10点30分。在实施时,时间范围的取值精度可以根据实际情况精确到月、日、时、分、秒等中的任意一种。空间范围可以是预先设定的固定的范围,也可以是系统基于当前空间位置动态设定的范围, 这里并不限定。例如,预先设定的空间范围可以是预设的一个或多个固定的空间区域。又如,假设当前空间位置为系统当前的定位地址,设定的空间范围可以是该定位地址所在的空间区域,也可以是该定位地址附近预设的距离范围之内的空间范围,如该定位地址附近500米、3千米或5千米之内的空间范围。Here, the spatio-temporal range may include a temporal range or a spatial range. The time range may be a preset fixed range, or a range dynamically set by the system based on the current time, which is not limited here. For example, the pre-set time range may be from June 1, 2021 to June 3, 2021. As another example, assuming that the current time is 10:30 on June 5, 2021, the set time range can be the time range of the last 3 days determined by the system based on the current time, that is, 10:30 on June 2, 2021 Minutes until 10:30 on June 5, 2021. During implementation, the value precision of the time range may be accurate to any one of month, day, hour, minute, second, etc. according to actual conditions. The spatial range may be a preset fixed range, or a range dynamically set by the system based on the current spatial position, which is not limited here. For example, the preset spatial range may be one or more preset fixed spatial regions. As another example, assuming that the current spatial position is the current positioning address of the system, the set spatial range can be the spatial area where the positioning address is located, or a spatial range within a preset distance range near the positioning address, such as the positioning The spatial range within 500 meters, 3 kilometers or 5 kilometers near the address.
基于设定的时间范围和空间范围,可以确定至少两个第一对象中每一对象在该时空范围内的至少一个轨迹点,从而可以得到每一第一对象的第一轨迹点集合。在实施时,可以通过查询数据库或从云端、其他服务中拉取数据等任意合适的方式,获取至少两个第一对象中每一第一对象在该时空范围内的至少一个轨迹点,得到每一第一对象的第一轨迹点集合,这里并不限定。Based on the set time range and space range, at least one trajectory point of each of the at least two first objects within the time-space range can be determined, so that a first set of trajectory points for each first object can be obtained. During implementation, at least one trajectory point of each of the at least two first objects within the space-time range can be obtained by querying the database or pulling data from the cloud or other services, and obtaining each A first track point set of the first object, which is not limited here.
步骤S403,对所述至少两个第一对象的第一轨迹点集合中的轨迹点进行时空碰撞,得到至少一个时空重叠区域。Step S403, performing space-time collision on the track points in the first set of track points of the at least two first objects to obtain at least one space-time overlapping area.
步骤S404,确定在所述至少一个时空重叠区域内出现的除所述至少两个第一对象之外的至少一个第二对象,以及每一所述第二对象在所述至少一个时空重叠区域内的第二轨迹点集合。Step S404, determining at least one second object other than the at least two first objects appearing in the at least one spatio-temporal overlapping area, and each of the second objects in the at least one spatio-temporal overlapping area The second track point set of .
步骤S405,针对每一所述第二对象,在所述第二对象的第二轨迹点集合中轨迹点的数量超过轨迹点数量阈值的情况下,确定所述第二对象与所述至少两个第一对象存在关联关系。Step S405, for each second object, if the number of track points in the second set of track points of the second object exceeds the threshold number of track points, determine the relationship between the second object and the at least two The first object has an association relationship.
这里,上述步骤S403至步骤S405对应于前述步骤S102至步骤S104,在实施时可以参照前述步骤S102至步骤S104的实施方式。Here, the above step S403 to step S405 correspond to the above step S102 to step S104, and the implementation manner of the above step S102 to step S104 can be referred to for implementation.
本公开实施例中,基于至少一种属性,从候选对象集合中确定至少两个第一对象,其中,每一第一对象具有至少一种属性中的任一属性;并基于设定的时空范围,获取至少两个第一对象中每一第一对象的轨迹点集合;其中,每一第一对象的轨迹点集合中包括第一对象在该时空范围内的至少一个轨迹点。这样,可以简单快速地获取具有相同的或者相关的属性的至少两个第一对象在设定的时空范围内的轨迹信息,从而可以识别出在该时空范围内与至少两个第一对象之间存在关联关系的第二对象。In the embodiment of the present disclosure, based on at least one attribute, at least two first objects are determined from the set of candidate objects, wherein each first object has any attribute in the at least one attribute; and based on the set space-time range , acquiring a set of track points of each of the at least two first objects; wherein, the set of track points of each first object includes at least one track point of the first object within the space-time range. In this way, the trajectory information of at least two first objects with the same or related attributes within the set space-time range can be obtained simply and quickly, so that the distance between the at least two first objects within the space-time range can be identified. The second object that has an association relationship.
在一些实施例中,上述步骤S402可以包括:In some embodiments, the above step S402 may include:
步骤S411,对所述时空范围进行分片,得到多个时空片;Step S411, slice the space-time range to obtain multiple space-time slices;
这里,每一时空片可以包括一个特定的时间区间和一个特定的空间区域。在一些实施方式中,可以在时间维度和/或空间维度对时空范围进行均等分片,例如采用设定的时间步长在时间维度上将该时空范围划分成多个时长相等的时空片,或采用设定的空间步长在空间维度上将该时空范围划分为多个空间面积相等的时空片。在一些实施方式中,可以对时空范围进行非均等分片,得到多个时长不等和/或空间面积不等的时空片。在实施时,本领域技术人员可以根据实际情况采用合适的方式对时空范围进行分片,这里并不限定。Here, each space-time slice may include a specific time interval and a specific spatial region. In some implementations, the space-time range can be equally sliced in the time dimension and/or space dimension, for example, using a set time step to divide the space-time range into multiple space-time slices of equal duration in the time dimension, or The space-time range is divided into a plurality of space-time slices with equal space areas in the space dimension by using a set space step. In some implementations, the spatio-temporal range can be unequally sliced to obtain multiple spatio-temporal slices with different time lengths and/or different spatial areas. During implementation, those skilled in the art may use an appropriate manner to segment the space-time range according to actual conditions, which is not limited here.
步骤S412,采用分布式的方式,并行获取所述至少两个第一对象中每一所述第一对象在每一所述时空片内的至少一个轨迹点,得到所述至少两个对象中每一所述对象的第一轨迹点集合。Step S412, in a distributed manner, obtain at least one trajectory point of each of the first objects in each of the at least two first objects in each of the space-time slices in parallel, and obtain A first set of track points of the object.
这里,可以通过并行执行多个分布式任务的方式,获取至少两个第一对象中每一第一对象在每一时空片内的至少一个轨迹点。Here, at least one trajectory point of each first object in each space-time slice of the at least two first objects may be obtained by executing multiple distributed tasks in parallel.
在实施时,可以根据实际情况采用任意合适的方式确定至少一个用于获取轨迹点的分布式任务,通过执行每一分布式任务,可以得到至少两个第一对象中每一第一对象在每一时空片内的至少一个轨迹点,进而可以得到至少两个第一对象中每一第一对象的轨迹点集合。每一分布式任务可以是基于Spark、Flink等任意合适的分布式数据处理引擎执行的。每一个分布式任务可以获取至少两个第一对象中每一第一对象在一个时空片内 的至少一个轨迹点,也可以仅获取一个第一对象在一个时空片内的至少一个轨迹点,这里并不限定。During implementation, at least one distributed task for acquiring trajectory points can be determined in any suitable manner according to the actual situation. By executing each distributed task, it is possible to obtain at least two first objects in each At least one trajectory point in a space-time slice, and then a set of trajectory points of each first object in the at least two first objects can be obtained. Each distributed task can be executed based on any suitable distributed data processing engine such as Spark or Flink. Each distributed task can acquire at least one trajectory point of each first object in a space-time slice of at least two first objects, or can only acquire at least one trajectory point of a first object in a space-time slice, where Not limited.
在上述实施例中,对时空范围进行分片,得到多个时空片,并采用分布式的方式,并行获取至少两个第一对象中每一第一对象在每一时空片内的至少一个轨迹点,得到至少两个第一对象中每一第一对象的轨迹点集合。这样,通过分布式的方式,可以进一步提高获取至少两个第一对象中每一第一对象的轨迹点集合的效率,进而可以进一步提高对与至少两个第一对象之间存在关联关系的第二对象进行识别的效率。In the above embodiment, the space-time range is segmented to obtain multiple space-time slices, and at least one trajectory of each first object in each space-time slice of at least two first objects is obtained in parallel in a distributed manner points to obtain a track point set of each of the at least two first objects. In this way, in a distributed manner, the efficiency of obtaining the trajectory point set of each first object in the at least two first objects can be further improved, and the tracking of the first object that has an association relationship with the at least two first objects can be further improved. The efficiency of two-object recognition.
本公开实施例提供一种数据处理方法,该方法可以由计算机设备的处理器执行。如图5所示,该方法包括如下步骤S501至步骤S506:An embodiment of the present disclosure provides a data processing method, which can be executed by a processor of a computer device. As shown in Figure 5, the method includes the following steps S501 to S506:
步骤S501,获取至少两个第一对象中每一所述第一对象的第一轨迹点集合;所述至少两个第一对象具有相同的或者相关的属性,每一所述第一轨迹点集合中包括至少一个轨迹点;Step S501, obtaining a first track point set of each of the first objects in at least two first objects; the at least two first objects have the same or related attributes, and each of the first track point sets Include at least one track point;
步骤S502,对所述至少两个第一对象的第一轨迹点集合中的轨迹点进行时空碰撞,得到至少一个时空重叠区域;Step S502, performing space-time collision on the track points in the first set of track points of the at least two first objects to obtain at least one space-time overlapping area;
步骤S503,确定在所述至少一个时空重叠区域内出现的除所述至少两个第一对象之外的至少一个第二对象,以及每一所述第二对象在所述至少一个时空重叠区域内的第二轨迹点集合;Step S503, determining at least one second object other than the at least two first objects appearing in the at least one spatio-temporal overlapping area, and each of the second objects in the at least one spatio-temporal overlapping area The second track point set of ;
步骤S504,针对每一所述第二对象,在所述第二对象的第二轨迹点集合中轨迹点的数量超过轨迹点数量阈值的情况下,确定所述第二对象与所述至少两个第一对象存在关联关系。Step S504, for each second object, if the number of track points in the second set of track points of the second object exceeds a threshold number of track points, determine that the second object is related to the at least two The first object has an association relationship.
这里,上述步骤S501至步骤S504分别对应于前述步骤S101至步骤S104,在实施时可以参照前述步骤S101至步骤S104的实施方式。Here, the above-mentioned steps S501 to S504 correspond to the above-mentioned steps S101 to S104 respectively, and for implementation, reference may be made to the implementation manners of the above-mentioned steps S101 to S104.
步骤S505,针对每一所述第二对象,在确定所述第二对象与所述至少两个第一对象之间存在关联关系的情况下,基于所述第二对象的第二轨迹点集合中轨迹点的数量,确定所述第二对象与所述至少两个第一对象之间的关联级别。Step S505, for each second object, when it is determined that there is an association relationship between the second object and the at least two first objects, based on the second track point set of the second object The number of track points determines the level of association between the second object and the at least two first objects.
这里,关联级别可以是任意合适的对第二对象与至少两个第一对象之间的关联程度进行表征的级别信息。在实施时,可以根据实际情况采用合适的方式确定第二对象与至少两个第一对象之间的关联级别,这里并不限定。Here, the association level may be any suitable level information that characterizes the degree of association between the second object and at least two first objects. During implementation, the association level between the second object and at least two first objects may be determined in an appropriate manner according to actual conditions, which is not limited here.
在一些实施方式中,可以预先根据实际应用场景确定合适的轨迹点的数量与关联级别之间的对应关系,从而可以基于第二对象的第二轨迹点集合中轨迹点的数量,确定与该数量对应的第二对象与至少两个第一对象之间的关联级别。In some implementations, the corresponding relationship between the number of appropriate track points and the association level can be determined in advance according to the actual application scenario, so that the number of track points in the second set of track points of the second object can be determined. The level of association between the corresponding second object and at least two first objects.
步骤S506,基于每一所述第二对象与所述至少两个第一对象之间的关联级别,生成并发送提示信息。Step S506, generating and sending prompt information based on the association level between each of the second objects and the at least two first objects.
这里,在一些实施方式中,可以针对每一第二对象,基于该第二对象与至少两个第一对象之间的关联级别,生成并发送一条提示信息。其中,该提示信息可以包括用于对该第二对象与至少两个第一对象之间的关联关系进行提示的任意合适的信息,这里并不限定。Here, in some implementation manners, for each second object, based on the level of association between the second object and at least two first objects, a piece of prompt information may be generated and sent. Wherein, the prompt information may include any suitable information for prompting the association relationship between the second object and at least two first objects, which is not limited here.
在一些实施方式中,可以基于每一第二对象与至少两个第一对象之间的关联级别,生成并发送一条提示信息。其中,该提示信息可以包括用于对每一第二对象与至少两个第一对象之间的关联关系进行提示的任意合适的信息,这里并不限定。In some implementations, based on the association level between each second object and at least two first objects, a piece of prompt information may be generated and sent. Wherein, the prompt information may include any suitable information for prompting the relationship between each second object and at least two first objects, which is not limited here.
本公开实施例中,可以在第二对象与至少两个对象之间存在关联关系的情况下,根据该第二对象的第二轨迹点集合中轨迹点的数量,确定相应的关联级别,并基于该关联级别发送提示信息,以对该关联关系进行提示。In the embodiment of the present disclosure, in the case that there is an association relationship between the second object and at least two objects, the corresponding association level may be determined according to the number of track points in the second track point set of the second object, and based on The association level sends prompt information to remind the association relationship.
下面说明本公开实施例提供的数据处理方法在实际场景中的应用,以基于轨迹信息 对与预设的两类第一对象之间存在关联关系的第二对象进行识别的场景为例进行说明。The following describes the application of the data processing method provided by the embodiments of the present disclosure in actual scenarios, taking the scenario of identifying a second object that has an association relationship with two preset types of first objects based on trajectory information as an example.
本公开实施例提供一种数据处理方法,通过统计不同空间位置处设置的摄像头在预设时间范围内采集的预设的两类第一对象的图像数据,可以帮助分析与预设的两类第一对象之间存在关联关系的第二对象。该方法由计算机设备执行,如图6A所示,该方法包括如下步骤S601至步骤S604:An embodiment of the present disclosure provides a data processing method, which can help analyze and compare the preset two types of first objects by counting the image data of the preset two types of first objects collected by cameras installed at different spatial locations within a preset time range. A second object that has an association relationship between one object. The method is executed by a computer device. As shown in FIG. 6A, the method includes the following steps S601 to S604:
步骤S601,对至少两个第一对象的第一轨迹点集合中的轨迹点进行时空碰撞,得到至少一个时空重叠区域。Step S601, performing space-time collision on track points in a first set of track points of at least two first objects to obtain at least one space-time overlapping area.
这里,预设的两类第一对象可以包括预设的第一类型的第一对象和第二类型的第一对象,其中,第一类型和第二类型可以是可配置的。至少两个第一对象可以包括进行身份标示后的至少一个第一类型的第一对象和至少一个第二类型的第一对象。对于进行身份标示后的第一类型的第一对象和第二类型的第一对象的轨迹点在时空上进行匹配,可以确定至少一个第一对象与至少一个第一对象之间的至少一个时空重叠区域。Here, the preset two types of first objects may include preset first types of first objects and second types of first objects, wherein the first type and the second type may be configurable. The at least two first objects may include at least one first object of the first type and at least one first object of the second type after identification. For the temporal-spatial matching of the trajectory points of the identified first type of first object and the second type of first object, at least one spatio-temporal overlap between at least one first object and at least one first object can be determined area.
在一些实施方式中,可以获取在预设的时间范围内至少两个第一对象的每一轨迹点,从而得到至少两个第一对象的第一轨迹点集合。预设的时间范围可以是可配置的。例如,预设的时间范围可以是当前时间之前的一个时间段,默认预设的时间范围为当前时间之前的一个月内。In some implementations, each trajectory point of the at least two first objects within a preset time range may be acquired, so as to obtain a first set of trajectory points of the at least two first objects. The preset time range may be configurable. For example, the preset time range may be a time period before the current time, and the default preset time range is within one month before the current time.
在一些实施方式中,在n秒内,被同一摄像头抓拍到图像数据的两个第一对象可以认为同时出现,即两个第一对象之间存在时空重叠区域,其中,n为设定的正整数,可以对应于前述实施例中的重叠时间阈值。重叠时间阈值可以是可配置的,默认重叠时间阈值可以为10秒。In some implementations, within n seconds, two first objects whose image data is captured by the same camera can be considered to appear at the same time, that is, there is a space-time overlapping region between the two first objects, where n is a set positive An integer, which may correspond to the overlap time threshold in the foregoing embodiments. The overlap time threshold may be configurable, and the default overlap time threshold may be 10 seconds.
例如,第一类型的第一对象包括对象A、对象B、对象C,第二类型的第一对象包括对象D、对象E、对象F,将对象A的每一个轨迹点作为待匹配轨迹点,将每一待匹配轨迹点与对象D、对象E、对象F的每一个轨迹点进行比对,找出与对象A的每一个轨迹点对应的抓拍设备ID相同且抓拍时间间隔在重叠时间阈值内的目标轨迹点,以及每一目标轨迹点所属的第一对象,以此类推,找出与对象B、对象C中的至少一个待匹配轨迹点分别匹配的目标轨迹点,其中,每一组匹配的待匹配轨迹点和目标轨迹点可以对应一个时空重叠区域;此外,还可以统计时空重叠区域的总数,以及互相匹配的全部的待匹配轨迹点与目标轨迹点对应的第一对象的总数;比如:对象A的轨迹点a1与对象D的轨迹点d3匹配,对象A的轨迹点a2与对象E的轨迹点e5匹配,对象B的轨迹点b3与对象E的轨迹点e3匹配,对象C的轨迹点c4与对象F的轨迹点f6匹配,从而基于轨迹点a1与轨迹点d3、轨迹点a2与轨迹点e5、轨迹点b3与轨迹点e3、轨迹点c4与轨迹点f6可以分别确定一个时空重叠区域,且时空重叠区域的总数为4,互相匹配的全部的待匹配轨迹点与目标轨迹点对应的第一对象包括对象A、对象D、对象E、对象B、对象C、对象F,即对应的第一对象的总数为6。For example, the first object of the first type includes object A, object B, and object C, the first object of the second type includes object D, object E, and object F, and each track point of object A is used as a track point to be matched, Compare each track point to be matched with each track point of object D, object E, and object F, and find out that the capture device ID corresponding to each track point of object A is the same and the capture time interval is within the overlapping time threshold target track points, and the first object to which each target track point belongs, and so on, to find target track points that match at least one track point to be matched in object B and object C respectively, wherein each group of matching The trajectory points to be matched and the target trajectory points can correspond to a space-time overlapping region; in addition, the total number of space-time overlapping regions can also be counted, and the total number of first objects corresponding to all the trajectory points to be matched and the target trajectory points that match each other; for example : The trajectory point a1 of object A matches the trajectory point d3 of object D, the trajectory point a2 of object A matches the trajectory point e5 of object E, the trajectory point b3 of object B matches the trajectory point e3 of object E, and the trajectory point of object C The point c4 matches the trajectory point f6 of the object F, so that a space-time overlap can be determined based on the trajectory point a1 and the trajectory point d3, the trajectory point a2 and the trajectory point e5, the trajectory point b3 and the trajectory point e3, and the trajectory point c4 and the trajectory point f6 area, and the total number of spatio-temporal overlapping areas is 4, and the first object corresponding to all the track points to be matched and the target track point includes object A, object D, object E, object B, object C, and object F, that is, the corresponding The total number of first objects is 6.
在一些实施方式中,可以对预先针对时空重叠区域的数量制定多个预警级别,在碰撞出的时空重叠区域的数量匹配目标预警级别的情况下,输出与该目标预警级别相应的预警提示。例如,预警级别可以包括初级预警、中级预警和高级预警,其中,初级预警、中级预警、高级预警的预警级别依次增高,每个预警级别分别对应一个可配置的数量阈值,默认可以将初级预警对应的数量阈值设置为100,将中级预警对应的数量阈值设置为1000,将高级预警对应的数量阈值设置为5000,在碰撞出的时空重叠区域的数量大于或等于100且小于1000的情况下,可以确定目标预警级别为初级预警;在碰撞出的时空重叠区域的数量大于或等于1000且小于5000的情况下,可以确定目标预警级别为中级预警;在碰撞出的时空重叠区域的数量大于或等于5000的情况下,可以确定目标预警级别为高级预警。In some implementations, multiple warning levels can be set in advance for the number of spatiotemporal overlapping regions, and if the number of collided spatiotemporal overlapping regions matches the target warning level, an early warning prompt corresponding to the target warning level is output. For example, the warning level can include primary warning, intermediate warning and advanced warning. Among them, the warning levels of primary warning, medium warning and advanced warning increase in turn. Each warning level corresponds to a configurable quantity threshold. By default, the primary warning can be corresponding to Set the number threshold of 100, set the number threshold corresponding to the intermediate warning to 1000, and set the number threshold corresponding to the advanced warning to 5000. When the number of space-time overlapping areas in the collision is greater than or equal to 100 and less than 1000, you can Determine the early warning level of the target as primary warning; if the number of space-time overlapping areas produced by the collision is greater than or equal to 1000 and less than 5000, the early warning level of the target can be determined as intermediate warning; when the number of space-time overlapping areas produced by the collision is greater than or equal to 5000 In the case of , it can be determined that the target warning level is advanced warning.
步骤S602,在至少两个第一对象之间的时空重叠区域的数量超过第二重叠数量阈值的情况下,确定预设的两类第一对象之间至少两个第一对象发生会面行为。Step S602, when the number of spatio-temporal overlapping regions between the at least two first objects exceeds a second overlapping number threshold, determine that meeting behavior occurs between at least two first objects of two preset types of first objects.
步骤S603,在该至少两个第一对象发生会面行为的情况下,确定在至少一个时空重叠区域内出现的除该至少两个第一对象之外的至少一个第二对象,以及每一第二对象在该至少一个时空重叠区域内的第二轨迹点集合。Step S603, in the case that the at least two first objects meet, determine at least one second object other than the at least two first objects appearing in at least one spatio-temporal overlapping area, and each second object A second track point set of the object in the at least one spatio-temporal overlapping region.
步骤S604,针对每一第二对象,在该第二对象的第二轨迹点集合中轨迹点的数量超过轨迹点数量阈值的情况下,确定该第二对象与该至少两个第一对象存在关联关系。Step S604, for each second object, if the number of track points in the second track point set of the second object exceeds the threshold number of track points, determine that the second object is associated with the at least two first objects relation.
在一些实施例中,可以统计时空重叠区域的总数、各时空重叠区域内的重叠轨迹点的总数以及各重叠轨迹点所属的第一对象;基于每一第一对象的对象身份标识,得到去重后的第一对象列表以及第一对象列表中第一对象的数量;统计第一对象列表中每一对象对应的重叠轨迹点的数量。In some embodiments, the total number of space-time overlapping areas, the total number of overlapping trajectory points in each space-time overlapping area, and the first object to which each overlapping trajectory point belongs can be counted; based on the object identity of each first object, the deduplication The subsequent first object list and the number of first objects in the first object list; counting the number of overlapping trajectory points corresponding to each object in the first object list.
在一些实施例中,可以在轨迹分析界面显示第一类型的第一对象的对象总数、第二类型的第一对象的对象总数、每一类型的第一对象在预设的时间范围内的轨迹点的数量、在至少一个时空重叠区域内出现的第一对象的数量、在至少一个时空重叠区域内的重叠轨迹点的数量、以及每一重叠轨迹点。In some embodiments, the total number of objects of the first type of first objects, the total number of objects of the second type of first objects, and the trajectory of each type of first objects within a preset time range can be displayed on the trajectory analysis interface The number of points, the number of first objects appearing within the at least one spatiotemporal overlapping region, the number of overlapping trajectory points within the at least one spatiotemporal overlapping region, and each overlapping trajectory point.
在一些实施例中,如图6B所示,可以在轨迹分析界面600显示一个包括至少一个时空重叠区域611的地图610,并在该地图中的每一时空重叠区域611内显示该时空重叠区域内的至少一个重叠轨迹点621,以及每一与至少两个第一对象存在关联关系的第二对象在该空间重叠区域内的每一轨迹点622。In some embodiments, as shown in FIG. 6B , a map 610 including at least one spatio-temporal overlapping region 611 can be displayed on the trajectory analysis interface 600, and each spatio-temporal overlapping region 611 in the map can be displayed within the spatio-temporal overlapping region. At least one overlapping trajectory point 621 of , and each trajectory point 622 of each second object associated with at least two first objects within the spatial overlapping area.
在本公开实施例中,通过统计不同空间位置处设置的摄像头在预设时间范围内采集的预设的两类第一对象的图像数据,可以帮助分析与预设的两类第一对象之间存在关联关系的第二对象,从而能够支持对轨迹信息的有效利用。In the embodiment of the present disclosure, by counting the image data of the preset two types of first objects collected by the cameras set at different spatial positions within the preset time range, it can help to analyze the relationship between the preset two types of first objects. There is a second object with an association relationship, so as to support the effective use of trajectory information.
图7为本公开实施例提供的一种数据处理装置的组成结构示意图,如图7所示,数据处理装置700包括:获取部分710、碰撞部分720、第一确定部分730和第二确定部分740,其中:FIG. 7 is a schematic diagram of the composition and structure of a data processing device provided by an embodiment of the present disclosure. As shown in FIG. 7 , the data processing device 700 includes: an acquisition part 710 , a collision part 720 , a first determination part 730 and a second determination part 740 ,in:
获取部分710,被配置为获取至少两个第一对象中每一所述第一对象的第一轨迹点集合;其中,所述至少两个第一对象具有相同的或者相关的属性,每一所述第一轨迹点集合中包括至少一个轨迹点;The obtaining part 710 is configured to obtain a first trajectory point set of each of the first objects in at least two first objects; wherein, the at least two first objects have the same or related attributes, and each of the first objects The first track point set includes at least one track point;
碰撞部分720,被配置为对所述至少两个第一对象的第一轨迹点集合中的轨迹点进行时空碰撞,得到至少一个时空重叠区域;The collision part 720 is configured to perform space-time collision on the track points in the first set of track points of the at least two first objects to obtain at least one space-time overlapping area;
第一确定部分730,被配置为确定在所述至少一个时空重叠区域内出现的除所述至少两个第一对象之外的至少一个第二对象,以及每一所述第二对象在所述至少一个时空重叠区域内的第二轨迹点集合;The first determining part 730 is configured to determine at least one second object other than the at least two first objects appearing in the at least one spatio-temporal overlapping area, and each of the second objects in the a second set of trajectory points within at least one spatio-temporal overlapping region;
第二确定部分740,被配置为针对每一所述第二对象,在所述第二对象的第二轨迹点集合中轨迹点的数量超过轨迹点数量阈值的情况下,确定所述第二对象与所述至少两个第一对象存在关联关系。The second determining part 740 is configured to, for each of the second objects, determine the second object when the number of track points in the second set of track points of the second object exceeds the threshold of the number of track points There is an association relationship with the at least two first objects.
在一些实施例中,所述第二确定部分还被配置为:在所述第二对象的第二轨迹点集合中轨迹点的数量超过轨迹点数量阈值的情况下,确定所述第二轨迹点集合中每一轨迹点匹配的目标时空重叠区域;在所述第二轨迹点集合中轨迹点匹配的目标时空重叠区域的数量超过第一重叠数量阈值的情况下,确定所述第二对象与所述至少两个第一对象存在关联关系。In some embodiments, the second determining part is further configured to: determine the second track point when the number of track points in the second set of track points of the second object exceeds a threshold number of track points The target spatio-temporal overlapping area matched by each track point in the set; when the number of the target space-time overlapping area matched by the track point in the second set of track points exceeds the first overlap quantity threshold, determine that the second object and the set There is an association relationship between the at least two first objects.
在一些实施例中,所述装置还包括:第三确定部分,被配置为在所述时空重叠区域的数量超过第二重叠数量阈值的情况下,确定所述至少两个第一对象之间存在预设关联行为;所述第一确定部分还被配置为:在所述至少两个第一对象之间存在预设关联行为 的情况下,确定在所述至少一个时空重叠区域内出现的除所述至少两个第一对象之外的至少一个第二对象,以及每一所述第二对象在所述至少一个时空重叠区域内的第二轨迹点集合。In some embodiments, the apparatus further includes: a third determining part configured to determine that there is an existence between the at least two first objects when the number of the spatio-temporal overlapping regions exceeds a second overlapping number threshold Preset association behavior; the first determining part is further configured to: in the case that there is a preset association behavior between the at least two first objects, determine all but at least one second object other than the at least two first objects, and a second trajectory point set of each second object within the at least one space-time overlapping region.
在一些实施例中,所述至少两个第一对象包括至少一个具有第一属性的第一子对象和至少一个具有第二属性的第二子对象,所述预设关联行为包括所述第一子对象与所述第二子对象之间的对象聚集行为;所述第三确定部分还被配置为:在所述时空重叠区域的数量超过第二重叠数量阈值的情况下,分别确定在所述至少一个时空重叠区域内出现的第一子对象的数量和第二子对象的数量;在所述第一子对象的数量大于第一对象数量阈值,且所述第二子对象的数量大于第二对象数量阈值的情况下,确定存在所述第一子对象与所述第二子对象之间的对象聚集行为。In some embodiments, the at least two first objects include at least one first sub-object with a first attribute and at least one second sub-object with a second attribute, and the preset association behavior includes the first The object aggregation behavior between the sub-object and the second sub-object; the third determining part is further configured to: when the number of the spatio-temporal overlapping regions exceeds a second overlapping number threshold, respectively determine the The number of first sub-objects and the number of second sub-objects appearing in at least one spatio-temporal overlapping region; the number of the first sub-objects is greater than the first object number threshold, and the number of the second sub-objects is greater than the second In the case of the object number threshold, it is determined that there is an object aggregation behavior between the first sub-object and the second sub-object.
在一些实施例中,每一所述轨迹点均具有时间标识;所述碰撞部分还被配置为:对所述至少两个第一对象的第一轨迹点集合中的轨迹点,在空间上进行匹配,得到至少一个空间重叠区域以及每一所述空间重叠区域内的至少两个空间重叠轨迹点;针对每一所述空间重叠区域,在所述空间重叠区域内的至少两个空间重叠轨迹点在时间上满足预设的时间条件的情况下,基于每一所述空间重叠轨迹点的时间标识,确定一时间重叠区域,并基于所述空间重叠区域和所述时间重叠区域确定一时空重叠区域。In some embodiments, each of the trajectory points has a time stamp; the collision part is further configured to: spatially perform Matching, obtaining at least one spatial overlapping region and at least two spatial overlapping trajectory points in each of the spatial overlapping regions; for each of the spatial overlapping regions, at least two spatial overlapping trajectory points in the spatial overlapping region In the case that the preset time condition is satisfied in time, based on the time mark of each of the spatially overlapping trajectory points, a temporal overlapping region is determined, and a temporal-spatial overlapping region is determined based on the spatial overlapping region and the temporal overlapping region .
在一些实施例中,所述至少两个第一对象包括至少一个具有第一属性的第一子对象和至少一个具有第二属性的第二子对象,所述第一属性与第二属性相同或相关,每一所述轨迹点均具有空间标识;所述碰撞部分还被配置为:将每一所述具有第一属性的第一子对象的轨迹点集合中的每一轨迹点确定为待匹配轨迹点;从每一所述具有第二属性的第二子对象的轨迹点集合中,确定与至少一个所述待匹配轨迹点的空间标识匹配的目标轨迹点;针对每一所述目标轨迹点,基于所述目标轨迹点的空间标识以及与所述目标轨迹点对应的至少一个待匹配轨迹点的空间标识,确定至少一个空间重叠区域,并将所述目标轨迹点和所述至少一个待匹配轨迹点均确定为所述空间重叠区域内的空间重叠轨迹点。In some embodiments, the at least two first objects include at least one first sub-object with a first attribute and at least one second sub-object with a second attribute, the first attribute being the same as the second attribute or Correlation, each of the track points has a spatial identifier; the collision part is further configured to: determine each track point in the set of track points of each of the first sub-objects with the first attribute to be matched track point; from the track point set of each second sub-object with the second attribute, determine a target track point that matches the spatial identifier of at least one track point to be matched; for each target track point , based on the spatial identification of the target track point and the spatial identification of at least one track point to be matched corresponding to the target track point, determine at least one spatial overlapping area, and combine the target track point and the at least one track point to be matched The trajectory points are all determined as spatially overlapping trajectory points within the spatially overlapping region.
在一些实施例中,所述碰撞部分还被配置为:基于所述空间重叠区域内的至少两个空间重叠轨迹点的时间标识,确定每两个空间重叠轨迹点之间的时间间隔;在所述空间重叠区域内属于不同对象的空间重叠轨迹点之间的最小时间间隔小于重叠时间阈值的情况下,基于每一所述空间重叠轨迹点的时间标识,确定一时间重叠区域。In some embodiments, the collision part is further configured to: determine the time interval between every two spatially overlapping trajectory points based on the time identification of at least two spatially overlapping trajectory points in the spatially overlapping region; If the minimum time interval between spatially overlapping trajectory points belonging to different objects in the spatially overlapping region is less than an overlapping time threshold, a temporally overlapping region is determined based on the time identifier of each spatially overlapping trajectory point.
在一些实施例中,在每一所述轨迹点是基于采集的图像数据确定的情况下,所述空间标识包括以下至少之一:采集轨迹点对应的图像数据的图像采集设备的标识、采集轨迹点对应的图像数据的图像采集设备的归属区域;所述时间标识包括以下至少之一:轨迹点对应的图像数据的采集日期、轨迹点对应的图像数据的采集时刻。In some embodiments, when each trajectory point is determined based on the collected image data, the spatial identification includes at least one of the following: the identification of the image acquisition device that collects the image data corresponding to the trajectory point, the acquisition trajectory The attribution area of the image acquisition device of the image data corresponding to the point; the time identifier includes at least one of the following: the acquisition date of the image data corresponding to the trajectory point, and the acquisition time of the image data corresponding to the trajectory point.
在一些实施例中,在每一所述轨迹点是基于采集的定位数据确定的情况下,所述空间标识包括轨迹点对应的定位位置的归属区域;所述时间标识包括以下至少之一:轨迹点对应的定位数据的采集日期、轨迹点对应的定位数据的采集时刻。In some embodiments, in the case where each track point is determined based on the collected positioning data, the spatial identification includes the attribution area of the positioning position corresponding to the track point; the time identification includes at least one of the following: track The collection date of the positioning data corresponding to the point, and the collection time of the positioning data corresponding to the track point.
在一些实施例中,所述获取部分还被配置为:基于至少一种属性,从候选对象集合中确定所述至少两个第一对象;其中,每一所述第一对象具有所述至少一种属性中的任一属性;基于设定的时空范围,获取所述至少两个第一对象中每一所述第一对象的第一轨迹点集合;其中,每一所述第一对象的第一轨迹点集合中包括所述第一对象在所述时空范围内的至少一个轨迹点。In some embodiments, the acquisition part is further configured to: determine the at least two first objects from the set of candidate objects based on at least one attribute; wherein each of the first objects has the at least one any one of the attributes; based on the set space-time range, obtain the first set of trajectory points of each of the first objects in the at least two first objects; wherein, the first track point set of each of the first objects A track point set includes at least one track point of the first object within the space-time range.
在一些实施例中,所述装置还包括:第四确定部分,被配置为针对每一所述第二对象,在确定所述第二对象与所述至少两个第一对象之间存在关联关系的情况下,基于所述第二对象的第二轨迹点集合中轨迹点的数量,确定所述第二对象与所述至少两个第一 对象之间的关联级别;发送部分,被配置为基于每一所述第二对象与所述至少两个第一对象之间的关联级别,生成并发送提示信息。In some embodiments, the apparatus further includes: a fourth determining part configured to, for each of the second objects, determine that there is an association relationship between the second object and the at least two first objects In the case of , based on the number of track points in the second track point set of the second object, determine the association level between the second object and the at least two first objects; the sending part is configured to be based on For each level of association between the second object and the at least two first objects, prompt information is generated and sent.
以上装置实施例的描述,与上述方法实施例的描述是类似的,具有同方法实施例相似的有益效果。对于本公开装置实施例中未披露的技术细节,请参照本公开方法实施例的描述而理解。The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiments of the present disclosure, please refer to the description of the method embodiments of the present disclosure for understanding.
需要说明的是,在本公开实施例以及其他的实施例中,“部分”可以是部分电路、部分处理器、部分程序或软件等等,当然也可以是单元,还可以是模块也可以是非模块化的。It should be noted that, in the embodiments of the present disclosure and other embodiments, a "part" may be a part of a circuit, a part of a processor, a part of a program or software, etc., of course, it may also be a unit, and it may also be a module or a non-module of.
本公开实施例中,如果以软件功能模块的形式实现上述的数据处理方法,并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开实施例的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本公开各个实施例所述方法的全部或部分。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read Only Memory,ROM)、磁碟或者光盘等各种可以存储程序代码的介质。这样,本公开实施例不限制于任何特定的硬件和软件结合。In the embodiment of the present disclosure, if the above-mentioned data processing method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the embodiments of the present disclosure or the part that contributes to the related technology can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions to make a A computer device (which may be a personal computer, a server, or a network device, etc.) executes all or part of the methods described in various embodiments of the present disclosure. The aforementioned storage medium includes: various media that can store program codes such as U disk, mobile hard disk, read-only memory (Read Only Memory, ROM), magnetic disk or optical disk. As such, embodiments of the present disclosure are not limited to any specific combination of hardware and software.
本公开实施例提供一种计算机设备,包括存储器和处理器,所述存储器存储有可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上述方法中的步骤。An embodiment of the present disclosure provides a computer device, including a memory and a processor, the memory stores a computer program that can run on the processor, and the processor implements the steps in the above method when executing the program.
本公开实施例提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述方法中的步骤。所述计算机可读存储介质可以是瞬时性的,也可以是非瞬时性的。An embodiment of the present disclosure provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the above method are implemented. The computer readable storage medium may be transitory or non-transitory.
本公开实施例提供一种计算机程序,包括计算机可读代码,当所述计算机可读代码在计算机设备中运行时,所述计算机设备中的处理器执行用于实现上述方法中的部分或全部步骤。An embodiment of the present disclosure provides a computer program, including computer readable codes, when the computer readable codes are run in a computer device, a processor in the computer device executes some or all of the steps for implementing the above method .
本公开实施例提供一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序被计算机读取并执行时,实现上述方法中的部分或全部步骤。该计算机程序产品可以通过硬件、软件或其结合的方式实现。在一些实施例中,所述计算机程序产品体现为计算机存储介质,在另一些实施例中,计算机程序产品体现为软件产品,例如软件开发包(Software Development Kit,SDK)等等。An embodiment of the present disclosure provides a computer program product. The computer program product includes a non-transitory computer-readable storage medium storing a computer program. When the computer program is read and executed by a computer, a part or part of the above-mentioned method is implemented. All steps. The computer program product can be realized by hardware, software or a combination thereof. In some embodiments, the computer program product is embodied as a computer storage medium, and in other embodiments, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK) and the like.
这里需要指出的是:以上存储介质、计算机程序产品和设备实施例的描述,与上述方法实施例的描述是类似的,具有同方法实施例相似的有益效果。对于本公开存储介质、计算机程序产品和设备实施例中未披露的技术细节,请参照本公开方法实施例的描述而理解。It should be pointed out here that: the above descriptions of the storage medium, computer program product, and device embodiments are similar to the descriptions of the above method embodiments, and have similar beneficial effects to those of the method embodiments. For technical details not disclosed in the storage medium, computer program product, and device embodiments of the present disclosure, please refer to the description of the method embodiments of the present disclosure for understanding.
需要说明的是,图8为本公开实施例中计算机设备的一种硬件实体示意图,如图8所示,该计算机设备800的硬件实体包括:处理器801、通信接口802和存储器803,其中:处理器801通常控制计算机设备800的总体操作;通信接口802可以使计算机设备通过网络与其他终端或服务器通信;存储器803配置为存储由处理器801可执行的指令和应用,还可以缓存待处理器801以及计算机设备800中各模块待处理或已经处理的数据(例如,图像数据、音频数据、语音通信数据和视频通信数据),可以通过闪存(FLASH)或随机访问存储器(Random Access Memory,RAM)实现。处理器801、通信接口802和存储器803之间可以通过总线804进行数据传输。It should be noted that FIG. 8 is a schematic diagram of a hardware entity of a computer device in an embodiment of the present disclosure. As shown in FIG. 8, the hardware entity of the computer device 800 includes: a processor 801, a communication interface 802, and a memory 803, wherein: The processor 801 usually controls the overall operation of the computer device 800; the communication interface 802 can enable the computer device to communicate with other terminals or servers through the network; the memory 803 is configured to store instructions and applications executable by the processor 801, and can also cache 801 and the data to be processed or processed by each module in the computer device 800 (for example, image data, audio data, voice communication data and video communication data), can be passed through flash memory (FLASH) or random access memory (Random Access Memory, RAM) accomplish. Data transmission may be performed between the processor 801 , the communication interface 802 and the memory 803 through the bus 804 .
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本公开的至少一个实施例中。因此,在整个说明书各处 出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。应理解,在本公开的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本公开实施例的实施过程构成任何限定。上述本公开实施例序号仅仅为了描述,不代表实施例的优劣。It should be understood that reference throughout the specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic related to the embodiment is included in at least one embodiment of the present disclosure. Thus, appearances of "in one embodiment" or "in an embodiment" in various places throughout the specification are not necessarily referring to the same embodiment. Furthermore, the particular features, structures or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that in various embodiments of the present disclosure, the sequence numbers of the above-mentioned processes do not mean the order of execution, and the execution order of the processes should be determined by their functions and internal logic, rather than by the embodiments of the present disclosure. The implementation process constitutes any limitation. The serial numbers of the above-mentioned embodiments of the present disclosure are for description only, and do not represent the advantages and disadvantages of the embodiments.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
在本公开所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided in the present disclosure, it should be understood that the disclosed devices and methods may be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods, such as: multiple units or components can be combined, or May be integrated into another system, or some features may be ignored, or not implemented. In addition, the coupling, or direct coupling, or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be electrical, mechanical or other forms of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元;既可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。另外,在本公开各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed to multiple network units; Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may be used as a single unit, or two or more units may be integrated into one unit; the above-mentioned integration The unit can be realized in the form of hardware or in the form of hardware plus software functional unit.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(Read Only Memory,ROM)、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps to realize the above method embodiments can be completed by hardware related to program instructions, and the aforementioned programs can be stored in computer-readable storage media. When the program is executed, the execution includes: The steps of the foregoing method embodiments; and the foregoing storage media include: removable storage devices, read-only memory (Read Only Memory, ROM), magnetic disks or optical disks and other media that can store program codes.
或者,本公开上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本公开各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, if the above-mentioned integrated units of the present disclosure are realized in the form of software function modules and sold or used as independent products, they may also be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present disclosure or the part that contributes to the related technology can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions to make a A computer device (which may be a personal computer, a server, or a network device, etc.) executes all or part of the methods described in various embodiments of the present disclosure. The aforementioned storage medium includes various media capable of storing program codes such as removable storage devices, ROMs, magnetic disks or optical disks.
以上所述,仅为本公开的实施方式,但本公开的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本公开的保护范围之内。The above is only the embodiment of the present disclosure, but the scope of protection of the present disclosure is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope of the present disclosure, and should within the protection scope of the present disclosure.
工业实用性Industrial Applicability
本公开实施例公开了一种数据处理方法、装置、设备、存储介质及程序产品,其中,该方法包括:获取至少两个第一对象中每一第一对象的第一轨迹点集合;至少两个第一对象具有相同的或者相关的属性,每一第一轨迹点集合中包括至少一个轨迹点;对至少两个第一对象的第一轨迹点集合中的轨迹点进行时空碰撞,得到至少一个时空重叠区域;确定在至少一个时空重叠区域内出现的除至少两个第一对象之外的至少一个第二对象,以及每一第二对象在至少一个时空重叠区域内的第二轨迹点集合;针对每一第二对象,在第二对象的第二轨迹点集合中轨迹点的数量超过轨迹点数量阈值的情况下,确定第二 对象与至少两个第一对象存在关联关系。根据本公开实施例,可以确定与至少两个具有相同或者相关属性的第一对象存在关联关系的第二对象,从而可以提高对轨迹信息的分析能力,进而能够更加充分地利用轨迹信息中的价值,并能使得对于海量轨迹信息的获取所投入的资源得到更加有效地利用。The embodiment of the present disclosure discloses a data processing method, device, device, storage medium, and program product, wherein the method includes: obtaining a first track point set of each first object in at least two first objects; at least two The first objects have the same or related attributes, and each first track point set includes at least one track point; the track points in the first track point set of at least two first objects are subjected to space-time collision to obtain at least one Spatio-temporal overlapping regions; determining at least one second object other than at least two first objects appearing in at least one spatio-temporal overlapping region, and a second trajectory point set of each second object in at least one spatio-temporal overlapping region; For each second object, if the number of track points in the second set of track points of the second object exceeds the threshold number of track points, it is determined that the second object has an association relationship with at least two first objects. According to the embodiment of the present disclosure, it is possible to determine the second object that has an association relationship with at least two first objects that have the same or related attributes, so that the ability to analyze the trajectory information can be improved, and the value in the trajectory information can be more fully utilized. , and can make more effective use of the resources invested in the acquisition of massive trajectory information.

Claims (14)

  1. 一种数据处理方法,所述方法包括:A data processing method, the method comprising:
    获取至少两个第一对象中每一所述第一对象的第一轨迹点集合;其中,所述至少两个第一对象具有相同的或者相关的属性,每一所述第一轨迹点集合中包括至少一个轨迹点;Obtain a first track point set of each of the first objects in at least two first objects; wherein, the at least two first objects have the same or related attributes, and each of the first track point sets including at least one track point;
    对所述至少两个第一对象的第一轨迹点集合中的轨迹点进行时空碰撞,得到至少一个时空重叠区域;performing space-time collision on track points in the first set of track points of the at least two first objects to obtain at least one space-time overlapping area;
    确定在所述至少一个时空重叠区域内出现的除所述至少两个第一对象之外的至少一个第二对象,以及每一所述第二对象在所述至少一个时空重叠区域内的第二轨迹点集合;determining at least one second object other than the at least two first objects occurring within the at least one spatio-temporal overlapping region, and the second object of each of the second objects within the at least one spatio-temporal overlapping region set of track points;
    针对每一所述第二对象,在所述第二对象的第二轨迹点集合中轨迹点的数量超过轨迹点数量阈值的情况下,确定所述第二对象与所述至少两个第一对象存在关联关系。For each of the second objects, when the number of trajectory points in the second trajectory point set of the second object exceeds the threshold of the number of trajectory points, determine that the second object and the at least two first objects There is an association.
  2. 根据权利要求1所述的方法,其中,所述在所述第二对象的第二轨迹点集合中轨迹点的数量超过轨迹点数量阈值的情况下,确定所述第二对象与所述至少两个第一对象存在关联关系,包括:The method according to claim 1, wherein when the number of track points in the second set of track points of the second object exceeds a threshold number of track points, it is determined that the second object and the at least two There is an associated relationship with the first object, including:
    在所述第二对象的第二轨迹点集合中轨迹点的数量超过轨迹点数量阈值的情况下,确定所述第二轨迹点集合中每一轨迹点匹配的目标时空重叠区域;When the number of track points in the second set of track points of the second object exceeds a threshold number of track points, determine a target space-time overlapping area matched by each track point in the second set of track points;
    在所述第二轨迹点集合中轨迹点匹配的目标时空重叠区域的数量超过第一重叠数量阈值的情况下,确定所述第二对象与所述至少两个第一对象存在关联关系。In a case where the number of target spatio-temporal overlapping regions matched by track points in the second set of track points exceeds a first overlap quantity threshold, it is determined that the second object has an association relationship with the at least two first objects.
  3. 根据权利要求1或2所述的方法,所述方法还包括:The method according to claim 1 or 2, said method further comprising:
    在所述时空重叠区域的数量超过第二重叠数量阈值的情况下,确定所述至少两个第一对象之间存在预设关联行为;When the number of the spatio-temporal overlapping regions exceeds a second overlapping number threshold, it is determined that there is a preset association behavior between the at least two first objects;
    所述确定在所述至少一个时空重叠区域内出现的除所述至少两个第一对象之外的至少一个第二对象,以及每一所述第二对象在所述至少一个时空重叠区域内的第二轨迹点集合,包括:The determining of at least one second object other than the at least two first objects occurring within the at least one spatio-temporal overlapping region, and each of the second objects within the at least one spatio-temporal overlapping region The second trajectory point set includes:
    在所述至少两个第一对象之间存在预设关联行为的情况下,确定在所述至少一个时空重叠区域内出现的除所述至少两个第一对象之外的至少一个第二对象,以及每一所述第二对象在所述至少一个时空重叠区域内的第二轨迹点集合。In the case that there is a preset association behavior between the at least two first objects, determining at least one second object other than the at least two first objects appearing in the at least one spatio-temporal overlapping area, and a set of second trajectory points of each second object within the at least one spatio-temporal overlapping region.
  4. 根据权利要求3所述的方法,其中,所述至少两个第一对象包括至少一个具有第一属性的第一子对象和至少一个具有第二属性的第二子对象,所述预设关联行为包括所述第一子对象与所述第二子对象之间的对象聚集行为;The method according to claim 3, wherein the at least two first objects include at least one first sub-object with a first attribute and at least one second sub-object with a second attribute, and the preset association behavior including an object aggregation behavior between the first sub-object and the second sub-object;
    所述在所述时空重叠区域的数量超过第二重叠数量阈值的情况下,确定所述至少两个第一对象之间存在预设关联行为,包括:The determining that there is a preset association behavior between the at least two first objects when the number of the spatio-temporal overlapping regions exceeds a second overlapping number threshold includes:
    在所述时空重叠区域的数量超过第二重叠数量阈值的情况下,分别确定在所述至少一个时空重叠区域内出现的第一子对象的数量和第二子对象的数量;When the number of the spatiotemporal overlapping regions exceeds a second overlapping quantity threshold, determining the number of first sub-objects and the number of second sub-objects appearing in the at least one spatiotemporal overlapping region;
    在所述第一子对象的数量大于第一对象数量阈值,且所述第二子对象的数量大于第二对象数量阈值的情况下,确定存在所述第一子对象与所述第二子对象之间的对象聚集行为。In a case where the number of the first sub-object is greater than a first object number threshold and the number of the second sub-object is greater than a second object number threshold, determining that the first sub-object and the second sub-object exist Object aggregation behavior between.
  5. 根据权利要求1至4中任一项所述的方法,其中,每一所述轨迹点均具有时间标识;The method according to any one of claims 1 to 4, wherein each said trajectory point has a time stamp;
    所述对所述至少两个第一对象的第一轨迹点集合中的轨迹点进行时空碰撞,得到至少一个时空重叠区域,包括:The performing space-time collision on the trajectory points in the first trajectory point set of the at least two first objects to obtain at least one space-time overlapping area includes:
    对所述至少两个第一对象的第一轨迹点集合中的轨迹点,在空间上进行匹配,得 到至少一个空间重叠区域以及每一所述空间重叠区域内的至少两个空间重叠轨迹点;spatially matching the trajectory points in the first trajectory point set of the at least two first objects to obtain at least one spatially overlapping region and at least two spatially overlapping trajectory points in each of the spatially overlapping regions;
    针对每一所述空间重叠区域,在所述空间重叠区域内的至少两个空间重叠轨迹点在时间上满足预设的时间条件的情况下,基于每一所述空间重叠轨迹点的时间标识,确定一时间重叠区域,并基于所述空间重叠区域和所述时间重叠区域确定一时空重叠区域。For each of the spatially overlapping areas, when at least two spatially overlapping trajectory points in the spatially overlapping area satisfy a preset time condition in time, based on the time identifier of each of the spatially overlapping trajectory points, A temporal overlapping area is determined, and a spatio-temporal overlapping area is determined based on the spatial overlapping area and the temporal overlapping area.
  6. 根据权利要求5所述的方法,其中,所述至少两个第一对象包括至少一个具有第一属性的第一子对象和至少一个具有第二属性的第二子对象,所述第一属性与第二属性相同或相关,每一所述轨迹点均具有空间标识;The method according to claim 5, wherein said at least two first objects comprise at least one first sub-object having a first attribute and at least one second sub-object having a second attribute, said first attribute being identical to The second attributes are the same or related, and each of the track points has a spatial identifier;
    所述对所述至少两个第一对象的第一轨迹点集合中的轨迹点,在空间上进行匹配,得到至少一个空间重叠区域以及每一所述空间重叠区域内的至少两个空间重叠轨迹点,包括:The trajectory points in the first trajectory point set of the at least two first objects are spatially matched to obtain at least one spatial overlapping area and at least two spatially overlapping trajectories in each of the spatial overlapping areas points, including:
    将每一所述具有第一属性的第一子对象的轨迹点集合中的每一轨迹点确定为待匹配轨迹点;determining each track point in the set of track points of each first sub-object with the first attribute as a track point to be matched;
    从每一所述具有第二属性的第二子对象的轨迹点集合中,确定与至少一个所述待匹配轨迹点的空间标识匹配的目标轨迹点;From the set of track points of each second sub-object with the second attribute, determine a target track point that matches the spatial identifier of at least one track point to be matched;
    针对每一所述目标轨迹点,基于所述目标轨迹点的空间标识以及与所述目标轨迹点对应的至少一个待匹配轨迹点的空间标识,确定至少一个空间重叠区域,并将所述目标轨迹点和所述至少一个待匹配轨迹点均确定为所述空间重叠区域内的空间重叠轨迹点。For each target track point, based on the spatial identification of the target track point and the spatial identification of at least one track point to be matched corresponding to the target track point, determine at least one spatial overlapping area, and set the target track point Both the point and the at least one track point to be matched are determined as spatially overlapping track points in the spatially overlapping area.
  7. 根据权利要求6所述的方法,其中,所述在所述空间重叠区域内的至少两个空间重叠轨迹点在时间上满足预设的时间条件的情况下,基于每一所述空间重叠轨迹点的时间标识,确定一时间重叠区域,包括:The method according to claim 6, wherein, when the at least two spatially overlapping trajectory points in the spatially overlapping area satisfy a preset time condition in time, based on each of the spatially overlapping trajectory points The time stamp, determine a time overlap area, including:
    基于所述空间重叠区域内的至少两个空间重叠轨迹点的时间标识,确定每两个空间重叠轨迹点之间的时间间隔;Determining a time interval between every two spatially overlapping trajectory points based on the time stamps of at least two spatially overlapping trajectory points within the spatially overlapping region;
    在所述空间重叠区域内属于不同对象的空间重叠轨迹点之间的最小时间间隔小于重叠时间阈值的情况下,基于每一所述空间重叠轨迹点的时间标识,确定一时间重叠区域。In a case where the minimum time interval between spatially overlapping track points belonging to different objects within the spatially overlapping area is less than an overlapping time threshold, a temporally overlapping area is determined based on the time stamp of each of the spatially overlapping track points.
  8. 根据权利要求7所述的方法,其中,The method according to claim 7, wherein,
    在每一所述轨迹点是基于采集的图像数据确定的情况下,所述空间标识包括以下至少之一:采集轨迹点对应的图像数据的图像采集设备的标识、采集轨迹点对应的图像数据的图像采集设备的归属区域;所述时间标识包括以下至少之一:轨迹点对应的图像数据的采集日期、轨迹点对应的图像数据的采集时刻;In the case where each track point is determined based on the collected image data, the spatial identification includes at least one of the following: the identification of the image acquisition device that collects the image data corresponding to the track point, the image data corresponding to the collected track point The belonging area of the image acquisition device; the time identifier includes at least one of the following: the acquisition date of the image data corresponding to the trajectory point, and the acquisition time of the image data corresponding to the trajectory point;
    在每一所述轨迹点是基于采集的定位数据确定的情况下,所述空间标识包括轨迹点对应的定位位置的归属区域;所述时间标识包括以下至少之一:轨迹点对应的定位数据的采集日期、轨迹点对应的定位数据的采集时刻。In the case where each track point is determined based on the collected positioning data, the spatial identification includes the attribution area of the positioning position corresponding to the track point; the time identification includes at least one of the following: the positioning data corresponding to the track point The collection date and the collection time of the positioning data corresponding to the track point.
  9. 根据权利要求1至8中任一项所述的方法,其中,所述获取至少两个第一对象中每一所述第一对象的第一轨迹点集合,包括:The method according to any one of claims 1 to 8, wherein said acquiring the first track point set of each of the at least two first objects comprises:
    基于至少一种属性,从候选对象集合中确定所述至少两个第一对象;其中,每一所述第一对象具有所述至少一种属性中的任一属性;Determining the at least two first objects from a set of candidate objects based on at least one attribute; wherein each of the first objects has any one of the at least one attribute;
    基于设定的时空范围,获取所述至少两个第一对象中每一所述第一对象的第一轨迹点集合;其中,每一所述第一对象的第一轨迹点集合中包括所述第一对象在所述时空范围内的至少一个轨迹点。Based on the set space-time range, obtain the first track point set of each of the at least two first objects; wherein, the first track point set of each of the first objects includes the At least one trajectory point of the first object within the space-time range.
  10. 根据权利要求1至9中任一项所述的方法,所述方法还包括:The method according to any one of claims 1 to 9, further comprising:
    针对每一所述第二对象,在确定所述第二对象与所述至少两个第一对象之间存在关联关系的情况下,基于所述第二对象的第二轨迹点集合中轨迹点的数量,确定所述第 二对象与所述至少两个第一对象之间的关联级别;For each of the second objects, when it is determined that there is an association relationship between the second object and the at least two first objects, based on the track points in the second track point set of the second object quantity, determining a level of association between the second object and the at least two first objects;
    基于每一所述第二对象与所述至少两个第一对象之间的关联级别,生成并发送提示信息。Based on the association level between each of the second objects and the at least two first objects, prompt information is generated and sent.
  11. 一种数据处理装置,包括:A data processing device, comprising:
    获取部分,被配置为获取至少两个第一对象中每一所述第一对象的第一轨迹点集合;其中,所述至少两个第一对象具有相同的或者相关的属性,每一所述第一轨迹点集合中包括至少一个轨迹点;The acquiring part is configured to acquire a first trajectory point set of each of the first objects in at least two first objects; wherein, the at least two first objects have the same or related attributes, and each of the The first track point set includes at least one track point;
    碰撞部分,被配置为对所述至少两个第一对象的第一轨迹点集合中的轨迹点进行时空碰撞,得到至少一个时空重叠区域;The collision part is configured to perform space-time collision on the track points in the first set of track points of the at least two first objects to obtain at least one space-time overlapping area;
    第一确定部分,被配置为确定在所述至少一个时空重叠区域内出现的除所述至少两个第一对象之外的至少一个第二对象,以及每一所述第二对象在所述至少一个时空重叠区域内的第二轨迹点集合;The first determining part is configured to determine at least one second object other than the at least two first objects appearing in the at least one spatio-temporal overlapping area, and each of the second objects in the at least a second set of trajectory points within a spatio-temporal overlapping region;
    第二确定部分,被配置为针对每一所述第二对象,在所述第二对象的第二轨迹点集合中轨迹点的数量超过轨迹点数量阈值的情况下,确定所述第二对象与所述至少两个第一对象存在关联关系。The second determining part is configured to, for each of the second objects, determine that the second object is related to There is an association relationship between the at least two first objects.
  12. 一种计算机设备,包括存储器和处理器,所述存储器存储有可在处理器上运行的计算机程序,所述处理器执行所述程序时实现权利要求1至10任一项所述方法中的步骤。A computer device, comprising a memory and a processor, the memory stores a computer program that can run on the processor, and the processor implements the steps in the method of any one of claims 1 to 10 when executing the program .
  13. 一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现权利要求1至10任一项所述方法中的步骤。A computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the method of any one of claims 1 to 10 are implemented.
  14. 一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序被计算机读取并执行时,实现权利要求1至10中任一项所述方法中的步骤。A computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and when the computer program is read and executed by a computer, it realizes any one of claims 1 to 10 steps in the method.
PCT/CN2022/127065 2021-12-03 2022-10-24 Data processing method and apparatus, device, storage medium and program product WO2023098339A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111467662.6A CN114185964A (en) 2021-12-03 2021-12-03 Data processing method, device, equipment, storage medium and program product
CN202111467662.6 2021-12-03

Publications (1)

Publication Number Publication Date
WO2023098339A1 true WO2023098339A1 (en) 2023-06-08

Family

ID=80603353

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/127065 WO2023098339A1 (en) 2021-12-03 2022-10-24 Data processing method and apparatus, device, storage medium and program product

Country Status (2)

Country Link
CN (1) CN114185964A (en)
WO (1) WO2023098339A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114185964A (en) * 2021-12-03 2022-03-15 深圳市商汤科技有限公司 Data processing method, device, equipment, storage medium and program product

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110443828A (en) * 2019-07-31 2019-11-12 腾讯科技(深圳)有限公司 Method for tracing object and device, storage medium and electronic device
US20200327678A1 (en) * 2018-06-01 2020-10-15 Shenzhen Sensetime Technology Co., Ltd. Target Object Tracking Method and Apparatus, and Storage Medium
CN111814629A (en) * 2020-06-29 2020-10-23 深圳市商汤科技有限公司 Person detection method and device, electronic device and storage medium
CN112818173A (en) * 2021-01-21 2021-05-18 浙江大华技术股份有限公司 Method and device for identifying associated object and computer readable storage medium
CN113343060A (en) * 2021-06-23 2021-09-03 北京市商汤科技开发有限公司 Object detection method and device, electronic equipment and storage medium
CN113468284A (en) * 2021-06-29 2021-10-01 北京市商汤科技开发有限公司 Object detection method and device, electronic equipment and storage medium
CN113468283A (en) * 2021-06-29 2021-10-01 北京市商汤科技开发有限公司 Data processing method, device, equipment and storage medium
CN114185964A (en) * 2021-12-03 2022-03-15 深圳市商汤科技有限公司 Data processing method, device, equipment, storage medium and program product

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200327678A1 (en) * 2018-06-01 2020-10-15 Shenzhen Sensetime Technology Co., Ltd. Target Object Tracking Method and Apparatus, and Storage Medium
CN110443828A (en) * 2019-07-31 2019-11-12 腾讯科技(深圳)有限公司 Method for tracing object and device, storage medium and electronic device
CN111814629A (en) * 2020-06-29 2020-10-23 深圳市商汤科技有限公司 Person detection method and device, electronic device and storage medium
CN112818173A (en) * 2021-01-21 2021-05-18 浙江大华技术股份有限公司 Method and device for identifying associated object and computer readable storage medium
CN113343060A (en) * 2021-06-23 2021-09-03 北京市商汤科技开发有限公司 Object detection method and device, electronic equipment and storage medium
CN113468284A (en) * 2021-06-29 2021-10-01 北京市商汤科技开发有限公司 Object detection method and device, electronic equipment and storage medium
CN113468283A (en) * 2021-06-29 2021-10-01 北京市商汤科技开发有限公司 Data processing method, device, equipment and storage medium
CN114185964A (en) * 2021-12-03 2022-03-15 深圳市商汤科技有限公司 Data processing method, device, equipment, storage medium and program product

Also Published As

Publication number Publication date
CN114185964A (en) 2022-03-15

Similar Documents

Publication Publication Date Title
US20210191979A1 (en) Distributed video storage and search with edge computing
Zhang et al. Risksens: A multi-view learning approach to identifying risky traffic locations in intelligent transportation systems using social and remote sensing
US9491616B2 (en) Device location history anonymization based on stop detection
Wang et al. Extracting trips from multi-sourced data for mobility pattern analysis: An app-based data example
CN113468283A (en) Data processing method, device, equipment and storage medium
AU2017399729A1 (en) Trajectory analysis with mode of transport analysis
CN104902438B (en) A kind of statistical method and its system based on mobile communication terminal analysis passenger flow characteristic information
CN112770265B (en) Pedestrian identity information acquisition method, system, server and storage medium
WO2023098339A1 (en) Data processing method and apparatus, device, storage medium and program product
KR20220098030A (en) Method for constructing target motion trajectory, device and computer storage medium
Wind et al. Inferring stop-locations from wifi
Kalantar et al. Smart counting–oil palm tree inventory with UAV
US20180260401A1 (en) Distributed video search with edge computing
Li et al. Enhancing driving safety: Discovering individualized hazardous driving scenes using GIS and mobile sensing
CN114511825A (en) Method, device and equipment for detecting area occupation and storage medium
CN113609317A (en) Image library construction method and device and electronic equipment
Dhananjaya et al. Enhancing the POI data for trip purpose inference using machine learning techniques
Maiouak et al. A dynamic map-based framework for real-time mapping of vehicles and their surroundings
CN112333182A (en) File processing method, device, server and storage medium
CN113468439A (en) Data processing method, device, equipment, storage medium and program product
CN114238437A (en) Data processing method, device, equipment, storage medium and program product
US11551322B2 (en) Methods and devices for searching for a missing person
CN116469254B (en) Information processing method and device
US20180232647A1 (en) Detecting convergence of entities for event prediction
CN117453942B (en) File aggregation method, device, computer equipment and medium for driving path

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22900144

Country of ref document: EP

Kind code of ref document: A1