Trajectory data processing method, device, equipment, storage medium and program product

By building a knowledge graph and searching for trajectory feature information, the problem of existing technology being unable to automatically identify construction vehicle user equipment is solved, and automatic mining and data base provision are realized in the case of unknown vehicle types.

CN114625884BActive Publication Date: 2024-09-03BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210190779.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-28
Publication Date
2024-09-03
Estimated Expiration
2042-02-28

AI Technical Summary

Technical Problem

Existing technology cannot effectively automatically mine user equipment applied to construction vehicles from trajectory data, especially when the specific vehicle type is not known.

Method used

By building a knowledge graph, the trajectory feature information of user equipment is used to connect user vertices with data source vertices, search for user vertices that meet specific conditions and mark them as construction vehicles, and then determine the corresponding data source and user equipment information.

Benefits of technology

It realizes the automatic mining of user equipment applied to construction vehicles without knowing which vehicle the user equipment is specifically used for, providing a data basis for further mining of construction trajectories and applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114625884B
    Figure CN114625884B
Patent Text Reader

Abstract

The present disclosure provides a method, device, equipment, storage medium and program product for processing trajectory data, which relates to the field of artificial intelligence, especially to the field of big data, knowledge graph and intelligent transportation. The specific implementation scheme is: by acquiring the trajectory data of user devices from multiple different data sources, a knowledge graph is constructed according to the trajectory data of each user device; based on the knowledge graph, the first user vertex whose attribute information meets the first condition is searched, and the first user vertex is marked as applied to construction vehicles; based on the attribute information of the user vertex marked as applied to construction vehicles, the user device information applied to construction vehicles of each data source is determined, and the user device applied to construction vehicles can be automatically mined without knowing which vehicle the user device is specifically applied to. On this basis, the trajectory of the construction vehicle can be further mined, and it can be applied to a variety of different application scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the fields of big data, knowledge graphs, intelligent transportation, etc. in artificial intelligence, and in particular to a trajectory data processing method, device, equipment, storage medium and program product. Background Art

[0002] With the development of artificial intelligence technology, in the field of intelligent transportation, products with trajectory tracking and recording functions have emerged, such as online car-hailing platforms, intelligent delivery applications (such as food delivery platforms, logistics platforms, etc.), driving recorders, navigation maps, etc. The devices used to collect trajectory data in different types of products are called user devices, such as smartphones with online car-hailing platform client applications, smartphones with food delivery client applications, driving recorders, etc.

[0003] By aggregating the trajectory data of user devices from multiple different data sources in a certain area, we can understand the more complete trajectory data in the area, and obtain a lot of useful information by mining the trajectory data. In many scenarios of actual applications, it is necessary to mine the trajectory data of construction vehicles from the trajectory data. Based on the trajectory data of construction vehicles, we can mine which roads are construction roads and which roads are open to traffic, providing a data basis for applications such as map navigation and intelligent road opening. Without knowing which type of vehicle the user device is specifically used for, there is currently no technical solution that can mine which user devices are used for construction vehicles based on trajectory data. Summary of the invention

[0004] The present disclosure provides a trajectory data processing method, apparatus, device, storage medium and program product.

[0005] According to a first aspect of the present disclosure, a method for processing trajectory data is provided, comprising:

[0006] In response to a user equipment information mining request applied to a construction vehicle, obtaining trajectory data of user equipment from a plurality of different data sources;

[0007] According to the trajectory data of the user device, a knowledge graph is constructed, wherein the knowledge graph includes a user vertex corresponding to each of the user devices and a data source vertex corresponding to each of the data sources, wherein each of the user vertices is connected to a data source vertex corresponding to the data source to which the corresponding user device belongs through an edge, the attribute information of each of the user vertices includes the trajectory feature information of the corresponding user device, and the attribute information of each of the data source vertices is determined according to the attribute information of all the connected user vertices;

[0008] Searching the knowledge graph for a first user vertex whose attribute information satisfies a first condition, and marking the first user vertex as being applied to a construction vehicle;

[0009] According to the attribute information of the user vertices marked as being applied to the construction vehicle, the user device information applied to the construction vehicle of each data source is determined.

[0010] According to a second aspect of the present disclosure, a trajectory data processing device is provided, comprising:

[0011] A trajectory data acquisition module, for obtaining trajectory data of user devices from a plurality of different data sources in response to a user device information mining request applied to a construction vehicle;

[0012] A knowledge graph construction module, configured to construct a knowledge graph according to the trajectory data of the user device, wherein the knowledge graph includes a user vertex corresponding to each of the user devices and a data source vertex corresponding to each of the data sources, wherein each of the user vertices is connected to a data source vertex corresponding to the data source to which the corresponding user device belongs via an edge, the attribute information of each of the user vertices includes the trajectory feature information of the corresponding user device, and the attribute information of each of the data source vertices is determined according to the attribute information of all the connected user vertices;

[0013] A first mining processing module, configured to search the knowledge graph for a first user vertex whose attribute information satisfies a first condition, and mark the first user vertex as being applied to a construction vehicle;

[0014] The information determination module is used to determine the user device information applied to the construction vehicle of each data source according to the attribute information of the user vertex marked as applied to the construction vehicle.

[0015] According to a third aspect of the present disclosure, there is provided an electronic device, including:

[0016] at least one processor; and

[0017] a memory communicatively connected to the at least one processor; wherein,

[0018] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the first aspect.

[0019] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute the method described in the first aspect.

[0020] According to a fifth aspect of the present disclosure, a computer program product is provided, comprising: a computer program, wherein the computer program is stored in a readable storage medium, at least one processor of an electronic device can read the computer program from the readable storage medium, and the at least one processor executes the computer program so that the electronic device executes the method described in the first aspect.

[0021] According to the technology disclosed in the present invention, user devices applied to construction vehicles can be automatically mined based on the trajectory data of the user devices.

[0022] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0024] Figure 1 is a flow chart of a method for processing trajectory data according to the first embodiment of the present disclosure;

[0025] Figure 2 is a schematic diagram of a graph structure model of a knowledge graph according to an embodiment of the present disclosure;

[0026] Figure 3 is a schematic diagram of the mapping relationship between data source vertices and user vertices according to an embodiment of the present disclosure;

[0027] Figure 4 is a flow chart of a method for processing trajectory data of the second embodiment of the present disclosure;

[0028] Figure 5 is a schematic structural diagram of a trajectory data processing device according to a third embodiment of the present disclosure;

[0029] Figure 6 is a schematic structural diagram of a trajectory data processing device according to a fourth embodiment of the present disclosure;

[0030] Figure 7 The block diagram of an electronic device used to implement the trajectory data processing method of the embodiment of the present disclosure. DETAILED DESCRIPTION

[0031] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0032] The terms "first", "second", "third", etc. involved in the present disclosure are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. In the description of the following embodiments, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.

[0033] The present disclosure provides a trajectory data processing method, device, equipment, storage medium and program product, which are applied to the fields of big data, knowledge graph, intelligent transportation, etc. in artificial intelligence. Without knowing which vehicle the user device is specifically used for, it is possible to mine which user devices are used for construction vehicles based on the trajectory data of the user device, thereby providing a data basis for further mining construction trajectories and applications.

[0034] The trajectory data processing method disclosed in the present invention can be specifically used in various application scenarios such as electronic maps and intelligent traffic control systems. It can obtain the trajectory data of user devices from a variety of different data sources, and build a knowledge graph based on the trajectory data of each user device; search for the first user vertex whose attribute information meets the first condition based on the knowledge graph, and mark the first user vertex as applied to construction vehicles; determine the user device information applied to construction vehicles of each data source based on the attribute information of the user vertex marked as applied to construction vehicles, thereby mining the user devices applied to construction vehicles, and on this basis, the trajectory of the construction vehicle can be further mined, and can be applied to a variety of different application scenarios.

[0035] Among them, the knowledge graph includes user vertices corresponding to each user device and data source vertices corresponding to each data source, wherein each user vertex is connected to the data source vertex corresponding to the data source to which the corresponding user device belongs through an edge, the attribute information of each user vertex includes the trajectory feature information of the corresponding user device, and the attribute information of each data source vertex is determined based on the attribute information of all connected user vertices.

[0036] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0037] Figure 1 1 is a flow chart of a method for processing trajectory data according to the first embodiment of the present disclosure. The method for processing trajectory data provided in this embodiment can be specifically applied to electronic devices, and the electronic devices can realize different functions according to different actual application scenarios, such as realizing electronic maps, intelligent traffic control and other functions.

[0038] like Figure 1 As shown, the specific steps of this method are as follows:

[0039] Step S101 : In response to a user equipment information mining request applied to a construction vehicle, trajectory data of user equipment from multiple different data sources are obtained.

[0040] In this embodiment, when it is necessary to mine user devices used in construction vehicles, a user device information mining request used in construction vehicles can be submitted to the electronic device. In response to the request, the electronic device obtains the trajectory data of the user devices from multiple different data sources.

[0041] In different application scenarios, according to the needs of the actual application scenarios, the time range and geographical range for data mining can also be specified, and the trajectory data within the specified time range and geographical range can be mined and processed to determine the user equipment applied to the construction vehicle.

[0042] Step S102: construct a knowledge graph based on the trajectory data of the user device, where the knowledge graph includes a user vertex corresponding to each user device and a data source vertex corresponding to each data source, wherein each user vertex is connected to the data source vertex corresponding to the data source to which the corresponding user device belongs through an edge, the attribute information of each user vertex includes the trajectory feature information of the corresponding user device, and the attribute information of each data source vertex is determined based on the attribute information of all connected user vertices.

[0043] After obtaining the trajectory data of user devices from a variety of different data sources, a knowledge graph is constructed based on the obtained trajectory data of all user devices.

[0044] For example, the graph structure of the knowledge graph is as follows: Figure 2 The model shown includes the following two types of vertices: user vertices and data source vertices. The user vertex is a vertex corresponding to a user device, and the data source vertex is a vertex corresponding to a data source. There is an edge between the user vertex of the user device and the data source vertex of the data source to which the user device belongs. The user vertex has attribute information, and the attribute information of the user vertex is the trajectory feature information of the user device. The data source vertex also has attribute information, and the attribute information of the data source vertex can be obtained by summarizing the attribute information of the user vertices connected to the data source vertex.

[0045] Among them, the edge between the data source vertex and the user vertex can be represented by a one-to-one key, and the data source vertex and the user vertex form a one-to-many mapping relationship through the edge.

[0046] For example, taking a data source with multiple user devices as an example, the mapping relationship between the data source vertex A corresponding to the data source and the user vertex B corresponding to multiple user devices is as follows: Figure 3 As shown in FIG. 1 , the circle filled with a grid in the middle represents a data source vertex A, and the unfilled circles around A connected to the data source vertex A through edges represent user vertices B, as shown in FIG. Figure 3 There are multiple user vertices B shown in .

[0047] After the knowledge graph is constructed based on the trajectory data of the user device, searches related to user vertices and data source vertices can be implemented based on the knowledge graph.

[0048] Step S103: Search the knowledge graph for a first user vertex whose attribute information satisfies a first condition, and mark the first user vertex as being applicable to construction vehicles.

[0049] The first condition is set based on the historical trajectory data with a large amount of data, by analyzing and extracting the unique features of the trajectory of the construction vehicle, and according to the features of the trajectory of the construction vehicle. For any user vertex, if the attribute information of the user vertex meets the first condition, it can be determined that the user vertex is a user vertex applied to the construction vehicle, that is, the user device corresponding to the user vertex is a user device applied to the construction vehicle, such as a driving recorder installed on the construction vehicle.

[0050] After constructing the knowledge graph, the first user vertex satisfying the first condition is determined by searching the knowledge graph for the first user vertex whose attribute information satisfies the first condition, the first user vertex is used as a user vertex applied to the construction vehicle, and the first user vertex is marked as applied to the construction vehicle.

[0051] Step S104: Determine user device information of each data source applied to the construction vehicle according to the attribute information of the user vertex marked as applied to the construction vehicle.

[0052] After marking the user vertices applied to construction vehicles in the knowledge graph, user device information applied to construction vehicles of each data source can be searched based on the attribute information of the user vertices marked as applied to construction vehicles.

[0053] Based on the user equipment information of each data source applied to the construction vehicle, the trajectory data of the construction vehicle can be further mined to provide a data basis for downstream tasks.

[0054] In this embodiment, trajectory data of user devices are obtained from a variety of different data sources, and a knowledge graph is constructed based on the trajectory data of each user device; the first user vertex whose attribute information satisfies a first condition is searched based on the knowledge graph, and the first user vertex is marked as being applied to construction vehicles; based on the attribute information of the user vertex marked as being applied to construction vehicles, the user device information of each data source applied to construction vehicles is determined, and the user devices applied to construction vehicles can be automatically mined without knowing which type of vehicle the user device is specifically applied to. On this basis, the trajectory of the construction vehicle can be further mined, and can be applied to a variety of different application scenarios.

[0055] Figure 4 This is a flow chart of the method for processing trajectory data of the second embodiment of the present disclosure. Based on the above first embodiment, in this embodiment,

[0056] like Figure 4 As shown, the specific steps of this method are as follows:

[0057] Step S401: In response to a user equipment information mining request applied to a construction vehicle, trajectory data of user equipment from multiple different data sources are obtained.

[0058] In this embodiment, when it is necessary to mine user devices used in construction vehicles, a user device information mining request used in construction vehicles can be submitted to the electronic device. In response to the request, the electronic device obtains the trajectory data of the user devices from multiple different data sources.

[0059] In different application scenarios, according to the needs of the actual application scenarios, the time range and geographical range for data mining can also be specified, and the trajectory data within the specified time range and geographical range can be mined and processed to determine the user equipment applied to the construction vehicle.

[0060] Step S402: construct a knowledge graph based on the trajectory data of the user device.

[0061] Among them, the knowledge graph includes user vertices corresponding to each user device and data source vertices corresponding to each data source, wherein each user vertex is connected to the data source vertex corresponding to the data source to which the corresponding user device belongs through an edge, the attribute information of each user vertex includes the trajectory feature information of the corresponding user device, and the attribute information of each data source vertex is determined based on the attribute information of all connected user vertices.

[0062] After obtaining the trajectory data of user devices from a variety of different data sources, a knowledge graph is constructed based on the obtained trajectory data of all user devices.

[0063] For example, the graph structure of the knowledge graph is as follows: Figure 2The model shown includes the following two types of vertices: user vertices and data source vertices. The user vertex is a vertex corresponding to a user device, and the data source vertex is a vertex corresponding to a data source. There is an edge between the user vertex of the user device and the data source vertex of the data source to which the user device belongs. The user vertex has attribute information, and the attribute information of the user vertex is the trajectory feature information of the user device. The data source vertex also has attribute information, and the attribute information of the data source vertex can be obtained by summarizing the attribute information of the user vertices connected to the data source vertex.

[0064] Among them, the edge between the data source vertex and the user vertex can be represented by a one-to-one key, and the data source vertex and the user vertex form a one-to-many mapping relationship through the edge.

[0065] Optionally, the edge between the data source vertex and the user vertex may be a directed edge, which points from the data source vertex to the user vertex (e.g. Figure 2 As shown in ), the starting vertex of the directed edge is the data source vertex, and the ending vertex of the directed edge is the user vertex.

[0066] Optionally, the edge between the data source vertex and the user vertex may be an undirected edge, indicating that the user vertex is associated with the data source vertex, and the user vertex and the data source vertex may be distinguished through the attributes of the vertex.

[0067] For example, taking a data source with multiple user devices as an example, the mapping relationship between the data source vertex A corresponding to the data source and the user vertex B corresponding to multiple user devices is as follows: Figure 3 As shown in the figure, the dot in the middle represents a data source vertex A, and there are multiple user vertices B connected to the data source vertex A through edges. Assuming that there are 100 user devices of the data source, then the 100 user vertices B corresponding to these 100 user devices are connected to the data source vertex A corresponding to the data source through an edge respectively. In this way, the trajectory feature information of each user device can be injected into the attribute information of the user vertex in the knowledge graph, and then the attribute information of the data source vertex can be determined through graph reasoning, which can improve the computing efficiency.

[0068] After the knowledge graph is constructed based on the trajectory data of the user device, searches related to user vertices and data source vertices can be implemented based on the knowledge graph.

[0069] Optionally, the trajectory feature information of the user equipment includes at least one of the following:

[0070] Data source identification, data source name, location information, average mileage of the trajectory, average mileage between adjacent trajectory points, average duration of the trajectory, average duration between adjacent trajectory points, total mileage of all trajectories of all user devices belonging to the data source, total duration of all trajectories of all user devices belonging to the data source, average confidence of the trajectory, average vehicle travel probability of the trajectory point, average emission probability of the trajectory point, average projection distance of the trajectory point, average speed of the trajectory point, and maximum speed of the trajectory point.

[0071] Each track data of a user device includes track information such as total mileage, total duration, track confidence, and information of the user device to which it belongs.

[0072] The data source identifier refers to the identification information of the data source to which the user device corresponding to the user vertex belongs.

[0073] The data source name is the name of the data source to which the user device corresponding to the user vertex belongs.

[0074] The location information is the region information where the trajectory data of the user device corresponding to the user vertex is located, such as the province, city, country, etc.

[0075] The average mileage of a trajectory refers to the average value of the total mileage of different trajectory data corresponding to the user device of the user vertex.

[0076] The average interval mileage between adjacent trajectory points refers to the average value of the interval time between adjacent trajectory points in all trajectory data corresponding to the user device of the user vertex.

[0077] The average duration of a trajectory refers to the average duration of different trajectory data corresponding to the user device of the user vertex.

[0078] The average interval mileage between adjacent trajectory points refers to the average value of the interval mileage between adjacent trajectory points in all trajectory data corresponding to the user device of the user vertex.

[0079] The total mileage of all trajectories of all user devices of the data source to which the user vertex corresponds refers to the sum of the total mileage of all trajectory data of all user devices of the data source to which the user device belongs.

[0080] The total duration of all trajectories of all user devices of the data source to which the user vertex corresponds refers to the sum of the total duration of all trajectory data of all user devices of the data source to which the user device corresponds.

[0081] The average confidence of a trajectory refers to the average value of the trajectory confidence of different trajectory data of the user device corresponding to the user vertex.

[0082] The average vehicle travel probability of a trajectory point refers to the average value of the probability that the trajectory point belongs to the vehicle travel trajectory in all trajectory data corresponding to the user vertex of the user device.

[0083] The average emission probability of a trajectory point refers to the average value of the emission probability of the trajectory point in all trajectory data corresponding to the user device of the user vertex.

[0084] The average projection distance of the trajectory point refers to: the average value of the projection distances of the trajectory points in all trajectory data corresponding to the user vertex of the user device.

[0085] The average speed of a trajectory point refers to the average speed of the trajectory point in all trajectory data corresponding to the user device of the user vertex.

[0086] The maximum speed of a trajectory point refers to the maximum value of the speed of the trajectory point in all trajectory data corresponding to the user device of the user vertex.

[0087] Whether it is applied to construction vehicles refers to whether the user device corresponding to the user vertex is applied to construction vehicles.

[0088] In practical applications, when constructing a knowledge graph, the attribute information of the user device corresponding to the user vertex may include multiple trajectory feature information in the trajectory feature information of the user device, wherein each trajectory feature information is an attribute information. The richer the attribute information contained in the user vertex, the more it can improve the accuracy of the user device applied to the construction vehicle determined based on the knowledge graph mining.

[0089] By extracting rich trajectory feature information of user devices and using it as the attribute information of corresponding user vertices, a knowledge graph is constructed so that the knowledge graph contains rich trajectory feature information of each user device, providing a data basis for accurately mining user devices used for construction vehicles.

[0090] Optionally, the attribute information of the user vertex may further include the following two items: whether it is applied to a construction vehicle and the confidence level of being applied to a construction vehicle, as label information of whether the user vertex is applied to a construction vehicle, so as to realize the marking of the user vertex applied to a construction vehicle.

[0091] The confidence level applied to the construction vehicle refers to the confidence level that the user device corresponding to the user vertex is applied to the construction vehicle.

[0092] Whether it is applied to construction vehicles and the confidence level of being applied to construction vehicles are attribute information that needs to be determined through data mining in subsequent steps.

[0093] Optionally, the attribute information of the data source vertex in the knowledge graph can be set corresponding to the attribute information of the user vertex.

[0094] Exemplarily, user vertices in the knowledge graph may include the following attribute information: data source identification, data source name, location information, average mileage of trajectories, average mileage between adjacent trajectory points, average duration of trajectories, average duration between adjacent trajectory points, total mileage of all trajectories of all user devices belonging to the data source, total duration of all trajectories of all user devices belonging to the data source, average confidence of trajectories, average vehicle travel probability of trajectory points, average emission probability of trajectory points, average projection distance of trajectory points, average speed of trajectory points, maximum speed of trajectory points, whether it is applied to construction vehicles, and confidence in application to construction vehicles.

[0095] Accordingly, the data source vertex in the knowledge graph may include the following attribute information: data source identification, data source name, location information, average mileage of the track, average interval mileage between adjacent track points, average duration of the track, average interval duration between adjacent track points, total mileage of all tracks of all user devices, total duration of all tracks of all user devices, average confidence of the track, average vehicle travel probability of the track point, average emission probability of the track point, average projection distance of the track point, average speed of the track point, maximum speed of the track point, whether it is applied to construction vehicles, and confidence in being applied to construction vehicles. Among them, the two attribute information of whether the data source vertex is applied to construction vehicles and the confidence in being applied to construction vehicles are used as label information of whether the data source vertex is applied to construction vehicles, so as to realize the marking of the data source vertex applied to construction vehicles.

[0096] Each item of numerical attribute information of a data source vertex can be determined by synthesizing the values ​​of the same attribute information of all user vertices connected to the data source vertex.

[0097] For example, the average mileage of the trajectory of the data source vertex is equal to the average of the average mileage of the trajectories of all connected user vertices. The total mileage of all trajectories of all user devices of the data source vertex is equal to the total mileage of all trajectories of all user devices of the data source to which any connected user vertex belongs. The maximum speed of the trajectory point of the data source vertex is equal to the maximum value of the maximum speeds of the trajectory points of all connected user vertices. Other attribute information of the data source vertex can be determined by similar methods and will not be listed here one by one.

[0098] Specifically, this step can be implemented in the following ways:

[0099] According to the trajectory data of each user device, the trajectory feature information of each user device is extracted; according to the trajectory feature information of each user device, a knowledge graph is constructed, the attribute information of each user vertex in the knowledge graph includes the trajectory feature information of the corresponding user device, and the attribute information of each data source vertex is initialized to a preset attribute value; according to the attribute information of all user vertices connected to each data source vertex, the attribute information of the data source vertex is determined, and the attribute information of each data source vertex in the knowledge graph is updated.

[0100] The preset attribute value may be determined according to possible values ​​of the trajectory feature information of the user equipment, and the preset attribute value is not among the possible values ​​of all the trajectory feature information. For example, the preset attribute value may be a negative number, such as -1.

[0101] In this way, by injecting the trajectory feature information of each user device into the attribute information of the user vertex in the knowledge graph, the attribute information of the data source vertex can be determined through graph reasoning, which can improve the computing efficiency. The constructed knowledge graph contains rich trajectory feature information of each user device and the overall trajectory feature information of each data source, providing a data basis for mining user devices and data sources used in construction vehicles.

[0102] Step S403: Search the knowledge graph for a first user vertex whose attribute information satisfies a first condition, and mark the first user vertex as being applicable to construction vehicles.

[0103] The first condition is set based on the historical trajectory data with a large amount of data, by analyzing and extracting the unique features of the trajectory of the construction vehicle, and according to the features of the trajectory of the construction vehicle. For any user vertex, if the attribute information of the user vertex meets the first condition, it can be determined that the user vertex is a user vertex applied to the construction vehicle, that is, the user device corresponding to the user vertex is a user device applied to the construction vehicle, such as a driving recorder installed on the construction vehicle.

[0104] In actual application scenarios, based on the analysis of a large amount of historical trajectory data, it can be determined that if a user device is used for a construction vehicle, then the user device usually has the following characteristics:

[0105] There are long sections of tracks that appear on normal roads. Whether the construction vehicle is a crane, a crane or a road roller, it is necessary to drive on normal roads. A certain proportion of tracks appear in construction areas. Such construction areas may be areas where the road network is missing or areas where the road network is gray (i.e., a road network has been built but not yet released to the public).

[0106] Combining these two characteristics, the trajectory data of user equipment used for construction vehicles usually has the following characteristic information:

[0107] 1) The trajectory data of the user device should have sufficient mileage and not be too short.

[0108] 2) The average mileage of each trajectory data should reach a certain level.

[0109] 3) The average confidence of the trajectory should be in a certain range (neither the best nor the worst). The average confidence of the trajectory is an evaluation of the quality of the trajectory.

[0110] 4) The probability of a vehicle moving at a trajectory point should be within a certain range.

[0111] 5) The emission probability of a trajectory point should be within a certain range.

[0112] 6) The average projection distance of the trajectory points should be within a certain range.

[0113] 7) The total number of trajectory points should reach a certain scale.

[0114] 8) The number of matching failure points should reach a certain level, where matching failure points refer to trajectory points that are not matched to the road network (link).

[0115] 9) The number of far points, midpoints, and near points determined by matching should reach a certain level. Among them, far points refer to trajectory points whose shortest distance to the link is greater than the first distance threshold. Midpoints refer to trajectory points whose shortest distance to the link is less than or equal to the first distance threshold, and whose shortest distance to the link is greater than the second distance threshold. Near points refer to trajectory points whose shortest distance to the link is less than or equal to the second distance threshold. The first distance threshold and the second distance threshold can be set and adjusted according to the actual application scenario.

[0116] The user devices used for construction vehicles can be mined based on the above characteristic information. According to the attribute information of the user vertex corresponding to the user device, it can be determined whether the trajectory data of the user device has the above characteristic information.

[0117] By summarizing and analyzing the characteristic information of 1) to 9) above, the first condition for determining whether the user equipment is applied to a construction vehicle can be determined.

[0118] Exemplarily, the first condition may be that the trajectory data of the user device satisfies the following conditions at the same time:

[0119] (1) The sum of the number of matching failure points and the number of far points is greater than or equal to the first condition threshold, and the proportion of the sum of the number of matching failure points and the number of far points is greater than the second condition threshold.

[0120] (2) The sum of the number of successfully matched points and the number of close points is greater than or equal to the third condition threshold. The successfully matched point refers to a trajectory point that is successfully matched to a link.

[0121] (3) The total mileage of all trajectories is greater than or equal to the fourth condition threshold, the average mileage of different trajectories is greater than or equal to the fifth condition threshold, and the total number of trajectory points of all trajectories is greater than or equal to the sixth condition threshold.

[0122] (4) The average confidence of the trajectory is within the first value interval, the vehicle movement probability of the trajectory is within the second value interval, and the emission probability of the trajectory is within the third value interval.

[0123] The first condition threshold, the second condition threshold, the third condition threshold, the fourth condition threshold, the fifth condition threshold, the sixth condition threshold, the first value interval, the second value interval, and the third value interval in the above conditions can all be analyzed and determined based on a large amount of historical data of actual application scenarios, and are not specifically limited here.

[0124] Optionally, in addition to simultaneously satisfying the above conditions (1)-(4), the first condition may also be superimposed with other conditions, which may be determined by summarizing and analyzing the characteristic information of the above 1)-9). The specific content of the first condition is not specifically limited here.

[0125] After constructing the knowledge graph, the first user vertex satisfying the first condition is determined by searching the knowledge graph for the first user vertex whose attribute information satisfies the first condition, the first user vertex is used as a user vertex applied to the construction vehicle, and the first user vertex is marked as applied to the construction vehicle.

[0126] Optionally, after searching the knowledge graph for the first user vertex whose attribute information satisfies the first condition, the confidence that the user device corresponding to the first user vertex is applied to construction vehicles can be determined based on the attribute information of the first user vertex; based on the confidence that the user device corresponding to the first user vertex is applied to construction vehicles, the attribute information of the confidence of the first user vertex applied to construction vehicles is updated.

[0127] In this way, not only the first user vertex applied to the construction vehicle can be mined, but also the confidence that the first user vertex is applied to the construction vehicle can be given, which can reflect the reliability of the mining result.

[0128] In addition, the first user vertices are screened based on the confidence that the first user vertices are applied to construction vehicles, and user vertices with low confidence that they are applied to construction vehicles are filtered out. Only the first user vertices whose confidence that they are applied to construction vehicles reaches the confidence threshold are marked as user vertices applied to construction vehicles, so as to improve the accuracy of the mining results.

[0129] In an optional implementation, after marking the first user vertex as applied to construction vehicles in this step, step S406 can be directly executed to determine the user device information of each data source applied to the construction vehicle based on the attribute information of the user vertex marked as applied to the construction vehicle, and perform subsequent application.

[0130] In practical applications, if a large proportion of user devices in a data source are used for construction vehicles, then other user devices in the same data source are also likely to be used for construction vehicles.

[0131] In an optional implementation, after marking the first user vertex as applied to construction vehicles, step S406 can be directly executed to determine the user device information of each data source applied to the construction vehicle based on the attribute information of the user vertex marked as applied to construction vehicles, and perform subsequent application.

[0132] In another optional implementation, after marking the first user vertex as applied to construction vehicles, for a data source in which the proportion of user devices applied to construction vehicles is relatively small, the few user devices applied to construction vehicles in the data source can be considered as error data, and the attributes of the user vertices marked as applied to construction vehicles in the data source are updated, and the attribute of whether the user vertex is applied to construction vehicles is updated to No. For example, the value of the attribute of whether these user vertices are applied to construction vehicles is set to 0, 0 means No, and 1 means Yes.

[0133] In another optional implementation, after marking the first user vertex as applied to construction vehicles, a second mining can be performed on the data source in which user devices applied to construction vehicles account for a relatively large proportion through steps S404-S405, and more user devices applied to construction vehicles can be mined from the data source, thereby improving the recall rate of construction trajectories based on the mined user devices applied to construction vehicles.

[0134] Step S404: determine the first data source vertex to be mined for the second time.

[0135] After the first user vertex applied to the construction vehicle is determined by the first mining in step S403, the first data source vertex that needs to be mined for the second time can be determined according to the first proportion value of the first user vertex in the user vertices connected to the data source vertex.

[0136] Specifically, this step can be implemented in the following ways:

[0137] According to the attribute information of the first user vertices marked as applied to construction vehicles in the knowledge graph, the number of first user vertices connected to each data source vertex is determined; according to the number of first user vertices connected to each data source vertex, the first proportion value corresponding to each data source vertex is determined, and the first proportion value is the proportion of the first user vertices in all user nodes connected to the data source vertex; the first data source vertices whose corresponding first proportion values ​​are greater than the first threshold are determined, and the first data source vertices to be mined for the second time are obtained.

[0138] The first threshold value may be set and adjusted according to actual application scenarios and experience values, and is not specifically limited here.

[0139] Step S405: Search for a second user vertex whose attribute information satisfies the second condition and does not satisfy the first condition among all user vertices connected to the first data source vertex in the knowledge graph, and mark the second user vertex as being applied to construction vehicles.

[0140] The second condition is looser than the first condition. The attributes of the user vertices that meet the first condition must meet the second condition, but the attribute information of the user vertices that meet the second condition does not necessarily meet the first condition. Based on the second condition, more user vertices that meet the conditions can be mined, thereby mining more user vertices applied to construction vehicles, so as to improve the recall rate of the mining results in practical applications.

[0141] After determining the first data source vertex to be mined for the second time, in this step, the second mining is performed based on a second condition which is relatively looser than the first condition, and the second user vertices whose attribute information meets the second condition and does not meet the first condition are searched in the knowledge graph to mine more second user vertices applied to construction vehicles connected to the first data source vertex, and the second user vertices are marked as applied to construction vehicles.

[0142] Optionally, after searching for the second user vertex whose attribute information satisfies the second condition and does not satisfy the first condition among all user vertices connected to the first data source vertex in the knowledge graph, the confidence that the user device corresponding to the second user vertex is applied to the construction vehicle can be determined based on the attribute information of the second user vertex; based on the confidence that the user device corresponding to the second user vertex is applied to the construction vehicle, the attribute information of the confidence that the second user vertex is applied to the construction vehicle is updated. In this way, not only the second user vertex applied to the construction vehicle can be mined, but also the confidence that the second user vertex is applied to the construction vehicle can be given, which can reflect the reliability of the mining results.

[0143] Optionally, before updating the attribute information of the confidence of the second user vertex applied to construction vehicles, the confidence of the user device corresponding to the second user vertex applied to construction vehicles can be multiplied by a preset coefficient, where the preset coefficient is greater than 0 and the preset coefficient is less than 1, thereby reducing the confidence of the second user vertex applied to construction vehicles obtained by the second mining, making the confidence of the user vertex more reasonable and accurate.

[0144] Among them, the preset coefficient can be set and adjusted according to the actual application scenario, and is not specifically limited here.

[0145] Step S406: Determine user device information of each data source applied to the construction vehicle according to the attribute information of the user vertex marked as applied to the construction vehicle.

[0146] After mining out all user vertices applied to construction vehicles in the knowledge graph and marking the user vertices as applied to construction vehicles, user device information applied to construction vehicles of each data source can be easily queried based on the knowledge graph.

[0147] Optionally, in this step, at least one of the following information of any data source may be determined and outputted based on the attribute information of the user vertex marked as being applied to the construction vehicle:

[0148] The number of user devices used in construction vehicles in the data source;

[0149] The proportion of user devices in the data source that are used for construction vehicles;

[0150] Identification information of the user device in the data source applied to the construction vehicle.

[0151] In response to the user's query request, by querying the knowledge graph, it is easy to obtain the number, proportion, user device identification information, etc. of user devices applied to construction vehicles in any data source, thereby providing a data basis for subsequent mining of construction vehicle trajectories, etc., which can be applied to a variety of application scenarios.

[0152] Optionally, the information of the user equipment of each data source applied to the construction vehicle may be formed into a report, and the report may be output for easy viewing.

[0153] In one possible application scenario, for a construction road that has not been repaired yet, there are many tracks of construction vehicles on the construction road. If the construction tracks and other tracks are not distinguished, the construction road will be automatically judged to be opened in advance, resulting in the erroneous opening of the construction road.

[0154] Optionally, after determining the user device information of each data source applied to the construction vehicle according to the attribute information of the user vertex marked as applied to the construction vehicle, the automatic opening function of the construction road can also be implemented based on the user device information applied to the construction vehicle. Specifically, the following method can be used to implement it:

[0155] According to the user equipment information applied to the construction vehicle of each data source, the construction trajectory data is eliminated from the trajectory data on the preset construction road, where the construction trajectory data is the trajectory data of the user equipment applied to the construction vehicle; based on the remaining trajectory data on the preset construction road after eliminating the construction trajectory data, it is determined whether the preset construction road meets the opening conditions.

[0156] In this way, after the trajectory data of construction vehicles on the construction road are eliminated based on the user equipment information applied to the construction vehicles based on each data source, the remaining trajectory data of the construction road are the trajectory data of other non-construction vehicles. Judging whether the construction road meets the opening conditions based on the trajectory data of other non-construction vehicles is closer to the actual situation and can more accurately judge whether the construction road can be opened, avoiding the situation where the construction road is mistakenly opened when the construction road cannot be started because the construction road is covered by the trajectory of the construction vehicle.

[0157] Optionally, the construction track of the user equipment applied to the construction vehicle can be determined according to the mined information of the user equipment applied to the construction vehicle; if the construction road is covered by the construction track, it is determined that the construction road cannot be opened temporarily. If the construction road is not covered by the construction track in the recent time period, it is determined that the construction road can be opened.

[0158] Optionally, based on the mined information of user devices applied to construction vehicles, the construction track belonging to the user devices applied to construction vehicles is determined, and the roads covered by the construction track can be determined as construction roads, and special treatment can be performed on unopened construction roads during map matching and map navigation.

[0159] In this embodiment, the user devices used for construction vehicles obtained by mining through the trajectory data processing method have the following two applications. On the one hand, they are transmitted to the real-time task flow, and tags are added to the user devices used for construction vehicles, providing a data basis for subsequent task flows. On the other hand, they are provided to the offline mining end, where the user devices used for construction vehicles can be eliminated, and the corresponding scenarios are processed based on the trajectory data of other user devices. This embodiment does not limit the specific application scenarios here.

[0160] In an optional implementation, an open source graph database can be used to build a graph database service to implement functions such as knowledge graph construction and search. The functions of data calculation and importing knowledge graphs are implemented locally by writing requests. For example, the open source graph database can be hugegraph, etc.

[0161] When applied, the electronic device responds to the user device information mining request applied to the construction vehicle, obtains the trajectory data of the user devices from multiple different data sources, and extracts the trajectory feature information of each user device based on the trajectory data of each user device; then submits a request to the database service, so that the database service constructs a knowledge graph based on the trajectory feature information of each user device, and the attribute information of each user vertex in the knowledge graph includes the trajectory feature information of the corresponding user device, and the attribute information of each data source vertex is initialized to a preset attribute value. Then, based on graph reasoning, the attribute information of the data source vertex is determined based on the attribute information of all user vertices connected to each data source vertex, and the attribute information of each data source vertex in the knowledge graph is updated.

[0162] Subsequent updates to the knowledge graph and functions such as search and query based on the knowledge graph are all performed by the database service, and the result data is fed back to the electronic device.

[0163] For example, when it is necessary to obtain user device information of construction vehicles during application, the electronic device submits a request to the database service. The database service queries the attribute information of the user vertices connected to the data source vertices corresponding to each data source and marked as applied to construction vehicles in the knowledge graph based on the data source information, and counts the number, proportion and identification information of the user vertices applied to construction vehicles in each data source; and feeds back the query results to the electronic device. The electronic device generates a report based on the query results and displays the report.

[0164] Optionally, a visual display of the knowledge graph can be achieved. The overall structure of the knowledge graph can be displayed through the front-end page. It also supports substructures related to any data source and supports the query and display of information from any data source and any user device.

[0165] For example, the overall structure of the knowledge graph can be displayed on the front-end page. When a user clicks on a data source vertex, the mapping relationship between the data source vertex and the user vertex is expanded to display the substructure related to the data source. In addition, for any vertex in the displayed graph structure, the attribute information of the vertex can also be displayed based on the user's request.

[0166] In this embodiment, after marking the first user vertex as applied to construction vehicles, a second mining is performed on the data source in which user devices applied to construction vehicles account for a relatively large proportion, and more user devices applied to construction vehicles are mined from the data source. This can improve the recall rate of construction trajectories based on the mined user devices applied to construction vehicles.

[0167] Figure 5 is a schematic diagram of the structure of a trajectory data processing device according to the third embodiment of the present disclosure. The trajectory data processing device provided in the embodiment of the present disclosure can execute the processing flow provided in the trajectory data processing method embodiment. Figure 5 As shown, the trajectory data processing device 50 includes: a trajectory data acquisition module 51, a knowledge graph construction module 52, a first mining processing module 53 and an information determination module 54.

[0168] Specifically, the trajectory data acquisition module 51 is used to respond to a user equipment information mining request applied to a construction vehicle and acquire the trajectory data of the user equipment from a variety of different data sources.

[0169] The knowledge graph construction module 52 is used to construct a knowledge graph based on the trajectory data of the user device. The knowledge graph includes a user vertex corresponding to each user device and a data source vertex corresponding to each data source, wherein each user vertex is connected to the data source vertex corresponding to the data source to which the corresponding user device belongs through an edge, and the attribute information of each user vertex includes the trajectory feature information of the corresponding user device. The attribute information of each data source vertex is determined based on the attribute information of all connected user vertices.

[0170] The first mining processing module 53 is used to search the knowledge graph for a first user vertex whose attribute information satisfies a first condition, and mark the first user vertex as being applied to a construction vehicle.

[0171] The information determination module 54 is used to determine the user device information applied to the construction vehicle of each data source according to the attribute information of the user vertex marked as applied to the construction vehicle.

[0172] The device provided in the embodiment of the present disclosure can be specifically used to execute the method embodiment provided in the first embodiment above, and the specific functions and technical effects achieved are not described in detail here.

[0173] Figure 6 is a schematic diagram of the structure of a trajectory data processing device according to the fourth embodiment of the present disclosure. The trajectory data processing device provided in the embodiment of the present disclosure can execute the processing flow provided in the trajectory data processing method embodiment. Figure 6As shown, the trajectory data processing device 60 includes: a trajectory data acquisition module 61, a knowledge graph construction module 62, a first mining processing module 63 and an information determination module 64.

[0174] Specifically, the trajectory data acquisition module 61 is used to obtain the trajectory data of the user equipment from a variety of different data sources in response to the user equipment information mining request applied to the construction vehicle.

[0175] The knowledge graph construction module 62 is used to construct a knowledge graph based on the trajectory data of the user device, wherein the knowledge graph includes a user vertex corresponding to each user device and a data source vertex corresponding to each data source, wherein each user vertex is connected to the data source vertex corresponding to the data source to which the corresponding user device belongs through an edge, the attribute information of each user vertex includes the trajectory feature information of the corresponding user device, and the attribute information of each data source vertex is determined based on the attribute information of all connected user vertices.

[0176] The first mining processing module 63 is used to search the knowledge graph for a first user vertex whose attribute information satisfies a first condition, and mark the first user vertex as being applied to a construction vehicle.

[0177] The information determination module 64 is used to determine the user device information applied to the construction vehicle of each data source according to the attribute information of the user vertex marked as applied to the construction vehicle.

[0178] Alternatively, if Figure 6 As shown, the knowledge graph construction module 62 includes:

[0179] The trajectory feature extraction unit 621 is used to extract trajectory feature information of each user equipment according to the trajectory data of each user equipment.

[0180] The knowledge graph construction unit 622 is used to construct a knowledge graph based on the trajectory feature information of each user device. The attribute information of each user vertex in the knowledge graph includes the trajectory feature information of the corresponding user device, and the attribute information of each data source vertex is initialized to a preset attribute value.

[0181] The attribute updating unit 623 is used to determine the attribute information of the data source vertex according to the attribute information of all user vertices connected to each data source vertex, and update the attribute information of each data source vertex in the knowledge graph.

[0182] Optionally, the first mining processing module is further used for:

[0183] According to the attribute information of the first user vertex, the confidence that the user device corresponding to the first user vertex is applied to the construction vehicle is determined; according to the confidence that the user device corresponding to the first user vertex is applied to the construction vehicle, the attribute information of the confidence that the first user vertex is applied to the construction vehicle is updated.

[0184] Alternatively, if Figure 6 As shown, the trajectory data processing device 60 also includes:

[0185] The second mining processing module 65 is used to:

[0186] According to the attribute information of the first user vertices marked as applied to construction vehicles in the knowledge graph, determine the number of first user vertices connected to each data source vertex; according to the number of first user vertices connected to each data source vertex, determine the first proportion value corresponding to each data source vertex, the first proportion value being the proportion of the first user vertices in all user nodes connected to the data source vertex; determine the first data source vertex whose corresponding first proportion value is greater than a first threshold; among all user vertices connected to the first data source vertex in the knowledge graph, search for the second user vertex whose attribute information meets the second condition and does not meet the first condition; mark the second user vertex as applied to construction vehicles.

[0187] Optionally, the second mining processing module is further used for:

[0188] According to the attribute information of the second user vertex, the confidence that the user device corresponding to the second user vertex is applied to the construction vehicle is determined; according to the confidence that the user device corresponding to the second user vertex is applied to the construction vehicle, the attribute information of the confidence that the second user vertex is applied to the construction vehicle is updated.

[0189] Optionally, the second mining processing module is further used for:

[0190] According to the confidence that the user device corresponding to the second user vertex is applied to the construction vehicle, before updating the attribute information of the confidence that the second user vertex is applied to the construction vehicle, the confidence that the user device corresponding to the second user vertex is applied to the construction vehicle is multiplied by a preset coefficient, where the preset coefficient is greater than 0 and the preset coefficient is less than 1.

[0191] Optionally, the information determination module is further used to:

[0192] Based on the attribute information of the user vertex marked as being applied to the construction vehicle, at least one of the following information of any data source is determined and output:

[0193] The number of user devices used in construction vehicles in the data source;

[0194] The proportion of user devices in the data source that are used for construction vehicles;

[0195] Identification information of the user device in the data source applied to the construction vehicle.

[0196] Alternatively, if Figure 6 As shown, the trajectory data processing device 60 also includes:

[0197] The road opening processing module 66 is used to:

[0198] According to the user equipment information applied to the construction vehicle of each data source, the construction trajectory data is eliminated from the trajectory data on the preset construction road, where the construction trajectory data is the trajectory data of the user equipment applied to the construction vehicle; based on the remaining trajectory data on the preset construction road after eliminating the construction trajectory data, it is determined whether the preset construction road meets the opening conditions.

[0199] The device provided in the embodiment of the present disclosure can be specifically used to execute the method embodiment provided in the above-mentioned second embodiment, and the specific functions and technical effects achieved are not repeated here.

[0200] It should be noted that the trajectory data of the user device in this embodiment is not trajectory data for a specific user and cannot reflect the personal information of a specific user.

[0201] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0202] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0203] According to an embodiment of the present disclosure, the present disclosure also provides a computer program product, which includes: a computer program, the computer program is stored in a readable storage medium, at least one processor of an electronic device can read the computer program from the readable storage medium, and at least one processor executes the computer program so that the electronic device executes the solution provided by any of the above embodiments.

[0204] Figure 7A schematic block diagram of an example electronic device 700 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0205] like Figure 7 As shown, the device 700 includes a computing unit 701, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 702 or a computer program loaded from a storage unit 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the device 700 can also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0206] A number of components in the device 700 are connected to the I / O interface 705, including: an input unit 706, such as a keyboard, a mouse, etc.; an output unit 707, such as various types of displays, speakers, etc.; a storage unit 708, such as a disk, an optical disk, etc.; and a communication unit 709, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 709 allows the device 700 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0207] The computing unit 701 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 701 performs the various methods and processes described above, such as a processing method for trajectory data. For example, in some embodiments, the processing method for trajectory data may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 708. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 700 via the ROM 702 and / or the communication unit 709. When the computer program is loaded into the RAM 703 and executed by the computing unit 701, one or more steps of the processing method for trajectory data described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to perform the processing method for trajectory data in any other appropriate manner (e.g., by means of firmware).

[0208] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0209] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0210] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0211] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0212] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0213] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.

[0214] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0215] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method for processing trajectory data, comprising: In response to a user equipment information mining request applied to a construction vehicle, obtaining trajectory data of user equipment from a plurality of different data sources; According to the trajectory data of the user device, a knowledge graph is constructed, wherein the knowledge graph includes a user vertex corresponding to each of the user devices and a data source vertex corresponding to each of the data sources, wherein each of the user vertices is connected to a data source vertex corresponding to the data source to which the corresponding user device belongs through an edge, the attribute information of each of the user vertices includes the trajectory feature information of the corresponding user device, and the attribute information of each of the data source vertices is determined according to the attribute information of all the connected user vertices; Searching the knowledge graph for a first user vertex whose attribute information satisfies a first condition, and marking the first user vertex as being applied to a construction vehicle; According to the attribute information of the user vertices marked as being applied to the construction vehicle, the user device information of each data source being applied to the construction vehicle is determined, and the user device information is used to determine whether the construction road is opened.

2. The method according to claim 1, wherein: The constructing a knowledge graph according to the trajectory data of the user device includes: Extracting trajectory feature information of each user device according to the trajectory data of each user device; According to the trajectory feature information of each of the user devices, a knowledge graph is constructed, wherein the attribute information of each of the user vertices in the knowledge graph includes the trajectory feature information of the corresponding user device, and the attribute information of each of the data source vertices is initialized to a preset attribute value; According to the attribute information of all user vertices connected to each of the data source vertices, the attribute information of the data source vertex is determined, and the attribute information of each of the data source vertices in the knowledge graph is updated.

3. The method according to claim 1, wherein: After searching the knowledge graph for the first user vertex whose attribute information satisfies the first condition, the method further includes: Determining, according to the attribute information of the first user vertex, a confidence level that the user device corresponding to the first user vertex is applied to the construction vehicle; According to the confidence that the user equipment corresponding to the first user vertex is applied to the construction vehicle, attribute information of the confidence that the first user vertex is applied to the construction vehicle is updated.

4. The method according to any one of claims 1 to 3, wherein: After searching the knowledge graph for a first user vertex whose attribute information satisfies a first condition and marking the first user vertex as being applied to a construction vehicle, the method further includes: Determine the number of first user vertices connected to each of the data source vertices according to the attribute information of the first user vertices marked as applied to construction vehicles in the knowledge graph; Determine a first proportion value corresponding to each of the data source vertices according to the number of first user vertices connected to each of the data source vertices, where the first proportion value is the proportion of the first user vertices in all the user nodes connected to the data source vertex; Determine a first data source vertex corresponding to which the first ratio value is greater than a first threshold; Searching for a second user vertex whose attribute information satisfies the second condition and does not satisfy the first condition among all user vertices connected to the first data source vertex in the knowledge graph; The second user vertex is marked as being applied to a construction vehicle, wherein the attributes of the user vertex satisfying the first condition must satisfy the second condition, but the attribute information of the user vertex satisfying the second condition does not necessarily satisfy the first condition.

5. The method according to claim 4, wherein: After searching for a second user vertex whose attribute information satisfies the second condition and does not satisfy the first condition among all user vertices connected to the first data source vertex in the knowledge graph, the method further includes: Determining, according to the attribute information of the second user vertex, a confidence level that the user device corresponding to the second user vertex is applied to the construction vehicle; According to the confidence that the user equipment corresponding to the second user vertex is applied to the construction vehicle, attribute information of the confidence that the second user vertex is applied to the construction vehicle is updated.

6. The method according to claim 5, wherein: Before updating the attribute information of the confidence level of the second user vertex applied to the construction vehicle according to the confidence level of the user equipment corresponding to the second user vertex applied to the construction vehicle, the method further includes: The confidence that the second user vertex corresponds to the user device applied to the construction vehicle is multiplied by a preset coefficient, where the preset coefficient is greater than 0 and the preset coefficient is less than 1.

7. The method according to claim 5 or 6, wherein: The step of determining user device information of each data source applied to the construction vehicle according to the attribute information of the user vertex marked as applied to the construction vehicle comprises: Based on the attribute information of the user vertex marked as being applied to the construction vehicle, at least one of the following information of any data source is determined and output: the number of user devices in the data source applied to the construction vehicle; The proportion of user devices in the data source that are applied to construction vehicles; The data source includes identification information of a user device applied to a construction vehicle.

8. The method according to claim 5 or 6, wherein: After determining the user device information of each data source applied to the construction vehicle according to the attribute information of the user vertex marked as applied to the construction vehicle, the method further includes: According to the user equipment information applied to the construction vehicle of each data source, the construction trajectory data is removed from the trajectory data on the preset construction road, wherein the construction trajectory data is the trajectory data of the user equipment applied to the construction vehicle; According to the remaining trajectory data on the preset construction road after the construction trajectory data is removed, it is judged whether the preset construction road meets the opening conditions.

9. A trajectory data processing device, comprising: A trajectory data acquisition module, for obtaining trajectory data of user devices from a plurality of different data sources in response to a user device information mining request applied to a construction vehicle; A knowledge graph construction module, configured to construct a knowledge graph according to the trajectory data of the user device, wherein the knowledge graph includes a user vertex corresponding to each of the user devices and a data source vertex corresponding to each of the data sources, wherein each of the user vertices is connected to a data source vertex corresponding to the data source to which the corresponding user device belongs through an edge, the attribute information of each of the user vertices includes the trajectory feature information of the corresponding user device, and the attribute information of each of the data source vertices is determined according to the attribute information of all the connected user vertices; A first mining processing module, configured to search the knowledge graph for a first user vertex whose attribute information satisfies a first condition, and mark the first user vertex as being applied to a construction vehicle; The information determination module is used to determine the user device information of each data source applied to the construction vehicle according to the attribute information of the user vertex marked as applied to the construction vehicle, wherein the user device information is used to determine whether the construction road is opened.

10. The device according to claim 9, wherein: The knowledge graph construction module includes: A trajectory feature extraction unit, configured to extract trajectory feature information of each user device according to the trajectory data of each user device; A knowledge graph construction unit, configured to construct a knowledge graph according to the trajectory feature information of each user device, wherein the attribute information of each user vertex in the knowledge graph includes the trajectory feature information of the corresponding user device, and the attribute information of each data source vertex is initialized to a preset attribute value; An attribute updating unit is used to determine the attribute information of the data source vertex according to the attribute information of all user vertices connected to each of the data source vertices, and to update the attribute information of each of the data source vertices in the knowledge graph.

11. The device according to claim 9, wherein: The first mining processing module is also used for: Determining, according to the attribute information of the first user vertex, a confidence level that the user device corresponding to the first user vertex is applied to the construction vehicle; According to the confidence that the user equipment corresponding to the first user vertex is applied to the construction vehicle, attribute information of the confidence that the first user vertex is applied to the construction vehicle is updated.

12. The apparatus according to any one of claims 9 to 11, further comprising: The second mining processing module is used to: Determine the number of first user vertices connected to each of the data source vertices according to the attribute information of the first user vertices marked as applied to construction vehicles in the knowledge graph; Determine a first proportion value corresponding to each of the data source vertices according to the number of first user vertices connected to each of the data source vertices, where the first proportion value is the proportion of the first user vertices in all the user nodes connected to the data source vertex; Determine a first data source vertex corresponding to which the first ratio value is greater than a first threshold; Searching for a second user vertex whose attribute information satisfies the second condition and does not satisfy the first condition among all user vertices connected to the first data source vertex in the knowledge graph; The second user vertex is marked as being applied to a construction vehicle, wherein the attributes of the user vertex satisfying the first condition must satisfy the second condition, but the attribute information of the user vertex satisfying the second condition does not necessarily satisfy the first condition.

13. The apparatus according to claim 12, wherein the second mining processing module is further configured to: Determining, according to the attribute information of the second user vertex, a confidence level that the user device corresponding to the second user vertex is applied to the construction vehicle; According to the confidence that the user equipment corresponding to the second user vertex is applied to the construction vehicle, attribute information of the confidence that the second user vertex is applied to the construction vehicle is updated.

14. The apparatus according to claim 13, wherein the second mining processing module is further configured to: According to the confidence that the user device corresponding to the second user vertex is applied to construction vehicles, before updating the attribute information of the confidence that the second user vertex is applied to construction vehicles, the confidence that the user device corresponding to the second user vertex is applied to construction vehicles is multiplied by a preset coefficient, wherein the preset coefficient is greater than 0 and the preset coefficient is less than 1.

15. The device according to claim 13 or 14, wherein: The information determination module is also used for: Based on the attribute information of the user vertex marked as being applied to the construction vehicle, at least one of the following information of any data source is determined and output: the number of user devices in the data source applied to the construction vehicle; The proportion of user devices in the data source that are applied to construction vehicles; The data source includes identification information of a user device applied to a construction vehicle.

16. The device according to claim 13 or 14, further comprising: Road opening processing module, used to: According to the user equipment information applied to the construction vehicle of each data source, the construction trajectory data is removed from the trajectory data on the preset construction road, wherein the construction trajectory data is the trajectory data of the user equipment applied to the construction vehicle; According to the remaining trajectory data on the preset construction road after the construction trajectory data is removed, it is judged whether the preset construction road meets the opening conditions.

17. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 8.

18. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-8.

19. A computer program product, comprising a computer program, which implements the steps of the method according to any one of claims 1 to 8 when executed by a processor.