An asset segmentation method based on spatiotemporal coding
Through the asset segmentation method based on spatiotemporal coding, asset objects are divided into grids according to spatial location and time to form spatiotemporal coding, which solves the problem of low efficiency of asset data organization and retrieval in traditional methods, and achieves efficient integration of asset data. and sharing, suitable for large-scale data computing.
Patent Information
- Application Number
- CN202410412567.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-08
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-04-08
AI Technical Summary
The traditional spatial expression of asset objects based on geographical information is difficult to read and construct database spatial indexes, resulting in inconsistent data organization frameworks and limited indexing mechanism efficiency, making it difficult to achieve efficient integration and rapid retrieval of asset data.
The asset segmentation method based on spatio-temporal coding is used to grid-divide asset objects according to spatial locations, and the time dimension is introduced. The spatio-temporal coding of asset data is formed through Beidou position codes and Beidou segmentation time codes to achieve unified organization of asset data. and share.
It improves the readability and computing efficiency of asset data, enables effective sharing of asset data between different organizations, and has good scalability, making it suitable for large-scale data calculations.
Smart Images

Figure CN118093952B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of asset data segmentation, and in particular to an asset segmentation method based on spatiotemporal coding. Background Art
[0002] The spatial expression of asset objects based on traditional geographic information is expressed in the form of point, line, and surface geometric shapes. More complex spatial information is also composed of the above three basic shapes. Its data format is a pair of arrays consisting of longitude and latitude floating point numbers or a set of coordinates consisting of longitude and latitude. In a vast space, asset objects formally express their spatial position in this way, and time usually appears in the attribute information of asset objects.
[0003] It is obvious that the spatial segmentation and expression of asset objects composed of a set of two-dimensional coordinate geometries is difficult to read and difficult to construct database spatial indexes, resulting in many problems such as inconsistent data organization framework, limited indexing mechanism efficiency, and inconsistent object models, which restrict the efficient integration, rapid retrieval and convenient sharing of asset data.
[0004] Dividing asset objects according to time and space is an important way to organize time, space and objects. How to divide asset data with spatial and temporal information is an important challenge. The traditional spatial division method based on the two-dimensional coordinate system of points, lines and surfaces of geographical locations has a complex structure, which is not conducive to intuitively expressing the location information of asset objects. In addition, the subsequent calculation of data association and calculation involves a large number of multidimensional data conversion operations, which is inefficient. Therefore, a new method is needed to meet the spatial division requirements of massive asset data. Summary of the invention
[0005] An asset segmentation method based on spatiotemporal coding aims to construct a grid segmentation model based on spatiotemporal segmentation theory. This method divides asset objects into spatial grids according to spatial positions, introduces the time dimension on the basis of the object spatial grid, and records the changes of the spatial grid of the asset object over time. The present invention unifies the diversified data by gridding asset objects to solve the problems of subsequent spatial association and spatial calculation of asset data objects; and can also realize the effective sharing of asset data between different organizations.
[0006] An asset segmentation method based on spatiotemporal coding comprises the following steps:
[0007] Step 1: Generate asset object data, specifically:
[0008] Configure unified coordinate location information for asset objects;
[0009] An object identifier that identifies an asset object;
[0010] Record the attribute information of asset objects;
[0011] Generate spatial representations of asset data;
[0012] Step 2: Use the Beidou location code segmentation method to segment the asset object according to the grid position to form a segmented space-object mapping relationship;
[0013] Step 3: Divide the asset object grid by time according to the Beidou time code division method, and record the time change characteristics of the grid;
[0014] Step 4: Use a set of spatial location + temporal location codes to express asset data, which can be shared among different organizations.
[0015] The specific application steps of the asset division method are:
[0016] Draw the geometric shape information of the asset object. The asset geometry information is stored in the format of a surface, which is a collection of two-dimensional longitude and latitude coordinate points, and then define its time attribute;
[0017] The asset object is segmented by the Beidou location segmentation code to obtain an asset code consisting of a set of grid code sets;
[0018] The time is encoded as a 64-bit binary number according to the Beidou time code;
[0019] Grid division and time division are assigned to asset objects as new attributes to complete the asset segmentation process according to time and space coding.
[0020] The method for sharing the asset data formed by the asset segmentation method among different organizations comprises the following steps:
[0021] Constructing protocols for sharing asset data between data generating organizations and data using organizations;
[0022] The data generation organization constructs a shared identity belonging to the asset object based on the sharing agreement;
[0023] The data generation organization first defines the attribute information belonging to the asset object based on the sharing agreement, and then constructs the storage format of the attribute information belonging to the asset object;
[0024] The data generation organization constructs the search parameters and search identifiers belonging to the asset object and the grid code based on the sharing protocol, and generates a search identifier set belonging to the asset object accordingly;
[0025] Matching and storing the retrieval identification set of the asset object with the storage number;
[0026] The steps for data-using organizations to share asset data based on the sharing agreement are as follows:
[0027] The data using organization obtains the object identifier of the asset object from the asset data formed by the asset segmentation method;
[0028] The data-using organization calculates the shared identifier belonging to the asset object based on the sharing agreement;
[0029] The data use organization calculates the search parameters and search identifiers belonging to the asset object based on the sharing agreement;
[0030] The data use organization searches for the search identifier in the search identifier set, and if the search identifier is in the search identifier set, outputs the storage number that matches the search identifier set;
[0031] The data-using organization obtains the attribute information belonging to the asset object based on the sharing agreement; at this point, the data-using organization completes the sharing of the asset data.
[0032] Compared with the prior art, the present invention has the following beneficial technical effects:
[0033] The present invention constructs a spatial partitioning method of asset objects based on the earth space partitioning theory, and provides a spatiotemporal expression method of asset data based on this, through which asset data can be effectively shared among different organizations.
[0034] Moreover, the asset segmentation method based on spatiotemporal coding is suitable for large-scale data computing. Servers can be added as needed to process more data, and it has good scalability. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 The steps of the asset segmentation method based on spatiotemporal coding are as follows;
[0036] Figure 2 The structure of the geometric coordinate space expression of asset data;
[0037] Figure 3 The structure of the grid spatial representation of asset data;
[0038] Figure 4 A structure for the spatiotemporal representation of asset data. DETAILED DESCRIPTION
[0039] Embodiment 1:
[0040] An asset segmentation method based on space-time coding. The method segments asset objects according to spatial position and time based on the Beidou space-time grid segmentation theory. The specific implementation method is as follows: first, the asset data object needs to have the original geometric space information, and the asset data is still expressed in the form of geographic information of points, lines, and surfaces. Then, it is necessary to determine the grid level used for segmentation. Then, the asset object is segmented according to the grid position using the Beidou position code segmentation method to form a space-object mapping relationship after segmentation. Finally, the asset object grid is segmented according to time using the Beidou segmentation time code method, and the time change characteristics of the grid are recorded.
[0041] Embodiment 2:
[0042] An asset segmentation method based on spatiotemporal coding, such as Figure 1 As shown, the method comprises the following steps:
[0043] Step S2-1, generating asset data, the specific process is as follows:
[0044] Use the 2000 National Geodetic Coordinate System (CGCS2000) as the asset object i Configure unified coordinate position information (x1, y1, z1), (x2, y2, z2), ..., (x m ,y m ,z m ), where m is the sequence number of the coordinate position information (x, y, z);
[0045] Identify asset objects i Object ID i ∈{0,1};
[0046] Record asset object i Attribute information attibute1, attibute2, ..., attibute n ; Where n is the serial number of the attribute information attibute;
[0047] At this point, the asset object Object is generated i The spatial expression of Figure 2 As shown;
[0048] Step S2-2: align the asset object Object according to the Beidou grid location code in GB / T 39409-2020 i The specific process of implementing meshing is as follows:
[0049] According to the asset object iSelect the corresponding Beidou grid level for the granularity, set the J-level grid (the grid size is j×j, and the unit of side length j is meter) for the asset object Object i After splitting, the asset object Object i It is composed of M J-level grids, and each J-level grid is assigned a unique code GridID (the unique code GridID can be composed of a string of binary or decimal numbers), and the asset object Object is obtained. i The grid code set {GridID1, GridID2, ..., GridID M}; Wherein, M is the sequence number of the grid code GridID;
[0050] A specific application example is: buildings are usually divided into 7-level grids (grid size 7.73m*7.73m). After division, the building is composed of multiple 7-level grids. Each grid is given a unique code, which consists of a string of binary or decimal numbers. Compared with the expression of a two-dimensional coordinate system, the expression of the asset object after grid division is as follows:
[0051] Object (point, line, surface, body) = object identifier + grid code set + attribute set;
[0052] Asset Object i The structure after meshing is as follows Figure 3 As shown;
[0053] Step S2-3: The asset object Object is segmented according to the Beidou time code standard. i The time is encoded, and the encoding consists of 64 binary digits with an accuracy of nanoseconds. The encoded asset object (here the asset object is space (Earth)) is expressed as follows:
[0054] Space (Earth) = (grid code + (object identifier + time code sequence) set) set;
[0055] The structure of the encoded asset object (here the asset object is space (Earth)) is as follows Figure 4 As shown;
[0056] The spatiotemporal expression of asset data obtained by the spatiotemporal coding asset segmentation method can be applied to achieve effective sharing of asset data among different organizations. The specific sharing method and steps are recorded in the following Example 4.
[0057] At this point, the asset data segmentation operation is completed.
[0058] Embodiment 3:
[0059] Specific application examples of asset segmentation methods based on spatiotemporal coding:
[0060] Taking a recreational facility in a park as an example, it is necessary to perform asset segmentation based on spatiotemporal coding on the facility. The specific implementation steps are as follows:
[0061] Step S3-1, use CAD or ArcGIS to draw the geometric shape information of the facility. The asset geometric information is stored in the format of a surface, which is a collection of two-dimensional longitude and latitude coordinate points, and then define its time attribute;
[0062] Step S3-2, using the Beidou location segmentation code to segment the location of the facility at level 8, the location code is a 26-bit binary number, and is converted to decimal to reduce the length. Since it is surface data, the asset is encoded to consist of a set of grid code sets;
[0063] Step S3-3, the time is encoded as a 64-bit binary number according to the Beidou time code, and converted to decimal to reduce the length;
[0064] Step S3-4, assigning grid division and time division as new attributes to the asset object, completing the asset segmentation process according to time and space coding;
[0065] Through the above implementation scheme and implementation steps, the spatial and temporal segmentation based on asset objects can be achieved, and the asset object data can be expressed by a set of spatial position + temporal position codes. The specific implementation methods and technical tools of each step can be selected and adjusted according to the specific application scenarios and requirements to ensure the efficiency and accuracy of data processing and calculation.
[0066] Embodiment 4:
[0067] The method for sharing asset data among different organizations by using the spatiotemporal expression of asset data obtained by the spatiotemporal coding asset segmentation method includes the following specific implementation steps:
[0068] Step S4-1, constructing a protocol for sharing asset data between data generating organizations and data using organizations, as follows:
[0069] Sharing protocol I: select modulus K = k1×k2, k1 and k2 are both prime numbers, and k1≡k2≡3 (mod4);
[0070] Sharing Protocol II: Hash Function H0: {0,1} * →Z K * ;
[0071] Sharing Protocol III: Construct two collision-resistant secure hash functions H1: {0,1} * →{0,1} L, H2: {0,1} * →{0,1} L ; Among them, * represents any length, and L represents a fixed length;
[0072] Step S4-2: Data generation organization constructs asset object Object based on sharing agreement I and sharing agreement II i Shared ID s =H0(ObjectID i )modK;
[0073] Step S4-3, data generation organization is based on sharing agreement I, first define the asset object Object i Attribute information N g (N g ∈Z K ), and then construct the asset object Object i Attribute information N g Storage format N s =(N g ) 2 modK;
[0074] Step S4-4: Data generation organization constructs an asset object based on sharing protocol III i Search parameters and search identifiers:
[0075] Search parameter P r1 =H1(ID s ||GridID1), retrieve the identification ID r1 =H2(P r1 ||0);
[0076] Search parameter P r2 =H1(ID s ||GridID2), retrieve the identification ID r2 =H2(P r2 ||0);
[0077] …
[0078] Search parameter P rM =H1(ID s ||GridID M ), retrieve the ID rM =H2(P rM ||0);
[0079] Generate an object belonging to the asset object based on this i The search identifier set SID r ={ID r1 , IDr2 , …, ID rM};
[0080] Step S4-5, match the retrieval identification set SID of the asset object Object i with the storage number N r and store them; s
[0081] Step S4-6, a method for data-using organizations to achieve asset data sharing based on a sharing protocol, including the following specific steps:
[0082] (1) The data-using organization obtains the object identifier ObjectID of the asset object Object i from the spatio-temporal expression of asset data obtained by the spatio-temporal encoding-based asset segmentation method; i
[0083] (2) The data-using organization calculates the sharing identifier ID i belonging to the asset object Object s = H0(ObjectID i ) mod K;
[0084] (3) The data-using organization calculates the retrieval parameter P i belonging to the asset object Object ri = H1(ID s || GridID i ) and the retrieval identifier ID ri = H2(P ri || 0);
[0085] (4) The data-using organization traverses and searches for ID r in the retrieval identification set SID ri . If ID ri is in the retrieval identification set SID r , then output the storage number N r matched with the retrieval identification set SID s ;
[0086] (5) The data-using organization constructs congruence equations (1) and (2) based on the sharing protocol I, and obtains the attribute information N i belonging to the asset object Object g (where, 0 < N g < K, and the Jacobi symbol (N g / K) = 1);
[0087]
[0088]
[0089] At this point, the data-using organization has completed the process of sharing the attribute information of the asset object.
Claims
1. An asset segmentation method based on spatiotemporal coding, characterized in that: The following steps are involved: Step 1: Generate asset object data. The specific process is as follows: Asset object i Configure unified coordinate position information (x1, y1, z1), (x2, y2, z2), ..., (x m ,y m ,z m ), where m is the sequence number of the coordinate position information (x, y, z); Identify asset objects i Object ID i ∈{0,1}; Record asset object i Attribute information attibute1, attibute2, ..., attibute n ; Where n is the serial number of the attribute information attibute; Generate asset object i The spatial expression is: Wherein, i1 is the variable symbol of the sequence number of the coordinate position information (x, y, z), and i2 is the variable symbol of the sequence number of the attribute information attibute; Step 2: Use the Beidou grid location code to locate the asset object i Implement meshing, and the specific execution process is as follows: According to the asset object i Select the corresponding Beidou grid level for the granularity, set the J-level grid, the J-level grid size is j×j, the unit of side length j is meter, for asset object Object i After splitting, the asset object Object i It is composed of several J-level grids. Each J-level grid is assigned a unique code GridID. The unique code GridID can be composed of a string of binary or decimal numbers to obtain the asset object Object i The grid code set {GridID1, GridID2, ..., GridID M }; Wherein, M is the sequence number of the grid code GridID; Asset Object i The expression after meshing is: Among them, i3 is the variable symbol of the sequence number of the grid code GridID; Step 3: Use the Beidou time code segmentation standard to identify the asset object i The time attribute is encoded, and the encoding consists of 64 binary digits; The spatial expression of the asset object data after spatiotemporal coding is: Wherein, S is the serial number of the object identifier ObjectID; i is a variable symbol of the serial number of the object identifier ObjectID; N is the sequence number of the time attribute code TimeID; i4 is the variable symbol of the serial number of the time attribute code TimeID; Step 4: The steps of the method for sharing asset data among different organizations using the spatiotemporal expression of asset data obtained by the spatiotemporal coding asset segmentation method are as follows: Construct an agreement applicable to sharing asset data between data generating organizations and data using organizations, as follows: Sharing protocol I: select modulus K = k1×k2, k1 and k2 are both prime numbers, and k1≡k2≡3 (mod4); Sharing Protocol II: Hash Function H0: {0,1} * →Z K * ; Sharing Protocol III: Construct two collision-resistant secure hash functions H1: {0,1} * →{0,1} L , H2: {0,1} * →{0,1} L ; Among them, * represents any length, and L represents a fixed length; Data generation organization is based on sharing agreement I and sharing agreement II to construct asset object i Shared ID s =H0(ObjectID i )modK; The data generation organization is based on the sharing protocol I. First, define the asset object Object i Attribute information code N g , N g ∈Z K , and then construct the asset object Object i Attribute information code N g Storage number N s =(N g ) 2 modK; Data generation organization is based on the shared protocol III structure and belongs to the asset object Object i Search parameters and search identifiers: Search parameter P r1 =H1(ID s ||GridID1), retrieve the identification ID r1 =H2(P r1 ||0); Search parameter P r2 =H1(ID s ||GridID2), retrieve the identification ID r2 =H2(P r2 ||0); … Search parameter P rM =H1(ID s ||GridID M ), retrieve the ID rM =H2(P rM ||0); Generate an object belonging to the asset object based on this i The search identifier set SID r ={ID r1 , ID r2 , …, ID rM }; Asset Object i The search identifier set SID r With storage number N s Matching and storage; The process by which data-using organizations share asset data based on the sharing agreement is as follows: The data usage organization obtains the asset object from the spatiotemporal representation of asset data obtained by the spatiotemporal encoding asset segmentation method. i Object ID i ; Data usage organizations calculate the asset objects based on sharing agreements I and II. i Shared ID s =H0(ObjectID i )modK; Data usage organization is based on the sharing agreement III and is calculated as belonging to the asset object Object i The search parameter P ri =H1(ID s ||GridID i ) and search ID ri =H2(P ri ||0); Data usage organization in the retrieval identifier set SID r Traverse to find ID ri , if ID ri Retrieving the Identity Set SID r In the output and search identifier set SID r Matched storage number N s ; The data-using organization constructs congruence equations (1) and (2) based on Sharing Protocol Ⅰ, and obtains the attribute information code N belonging to the asset object Object i where 0 < N g < K, and the Jacobi symbol (N g / K) = 1; g N g =±(N s ) (k1+1) / 4 modk1 (1); N g =±(N s ) (k2+1) / 4 modk2 (2); According to the attribute information code N g , query to get the asset object Object i Attribute information of At this point, the data usage organization has completed the asset object Object i The process of sharing attribute information.
2. The asset segmentation method based on spatiotemporal coding according to claim 1, characterized in that: In the step 1, the 2000 National Geodetic Coordinate System is used to configure unified coordinate location information for the asset object.
3. The asset segmentation method based on spatiotemporal coding according to claim 1, characterized in that: The standard of the Beidou grid location code in step 2 is GB / T 39409-2020.
Citation Information
Patent Citations
power grid coding method for power grid inspection space based on GeoSOT grid
CN112835997A
Data space-time storage method based on earth space grid
CN115129795A
Optimal sorting method for construction of power supply grids of power distribution network based on space-time compass distribution
CN116136988A
Asset data management system
CN117216038A
