3D Tiles data invisible watermark processing method

By selecting the target tile file according to the index file in 3D Tiles data, extracting feature data to generate encryption keys and vectors for encryption, and integrating them into the tile file, the performance and security problems of the 3D Tiles data encryption method are solved, and effective copyright protection and data integrity verification.

CN118570042BActive Publication Date: 2024-11-01SHENZHEN EMAP INFORMATION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411060727.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-05
Publication Date
2024-11-01
Estimated Expiration
2044-08-05

AI Technical Summary

Technical Problem

The existing 3D Tiles data encryption methods have problems with reduced loading performance, security risks and compatibility, and watermark encryption of fixed keys is difficult to provide sufficient security guarantees.

Method used

By determining the tile file collection based on the index file of the 3D Tiles data set, selecting the target tile file according to the preset ratio, extracting feature data to generate encryption keys and vectors, encrypting the feature data, obtaining the watermark data and integrating it into the tile In the film file, add invisible watermarks.

Benefits of technology

Enhanced the randomness and security of watermark encryption, effectively protect the copyright of 3D Tiles data, prevent unauthorized use and distribution, and do not affect data loading performance and compatibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570042B_ABST
    Figure CN118570042B_ABST
Patent Text Reader

Abstract

The present application discloses a 3D Tiles data invisible watermark processing method, which determines a tile file set according to an index file of a 3D Tiles data set, and selects a target tile file according to a preset ratio; extracts feature data based on the target tile file, and generates a corresponding encryption key and encryption vector according to the feature data; encrypts the feature data by the encryption key and encryption vector to obtain watermark data; integrates the watermark data into the target tile file to complete the watermarking of the 3D Tiles data set. The present application utilizes the feature data of the target tile file to generate encryption keys and encryption vectors, which enhances the randomness and security of the watermark encryption process, thereby effectively protecting the copyright of the 3D Tiles data and preventing the unauthorized use and distribution of the 3D Tiles data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data encryption, and in particular to a method for processing invisible watermarks of 3D Tiles data. Background Art

[0002] 3D Tiles, as a data format for efficient storage and transmission of three-dimensional geospatial information, is widely used in the CIM field. However, with the popularity of 3D Tiles data sharing, the need to protect its copyright and prevent unauthorized use is growing. Among the related protection measures, overall data encryption may reduce data loading performance and face security risks during decryption. Creating a private data format may lead to compatibility issues with open source application frameworks. Watermark encryption methods that rely on fixed keys are difficult to provide sufficient security due to the difficulty of key maintenance and lack of randomness. Summary of the invention

[0003] The main purpose of this application is to provide a 3D Tiles data invisible watermark processing method, aiming to solve the technical problem of how to embed invisible watermarks in 3D Tiles data to achieve copyright protection and data integrity verification.

[0004] To achieve the above-mentioned purpose, the embodiment of the present application provides a 3D Tiles data invisible watermark processing method, the method comprising:

[0005] Determine the tile file set according to the index file of the 3D Tiles dataset, and select the target tile file according to the preset ratio;

[0006] Extracting feature data based on the target tile file, and generating corresponding encryption keys and encryption vectors according to the feature data;

[0007] Encrypting the characteristic data by using the encryption key and the encryption vector to obtain watermark data;

[0008] The watermark data is integrated into the target tile file to complete the watermarking of the 3D Tiles data set.

[0009] In one embodiment, the step of selecting the target tile file according to a preset ratio includes:

[0010] Determine the proportion of tile files to which watermarks need to be added to the tile file set;

[0011] The target tile file is selected in order or in reverse order according to a preset ratio; or when reading a single tile file, a random number in the range of [0,1] is generated, and the target tile file is determined based on the comparison between the random number and the preset ratio.

[0012] In one embodiment, the step of extracting feature data based on the target tile file and generating a corresponding encryption key and encryption vector according to the feature data includes:

[0013] According to the data type of the target tile file, extract feature data corresponding to the data type, the data type includes raster data, vector data, and elevation data, wherein the raster data extracts pixel value, color space, and resolution, the vector data extracts node coordinates, line segment length, and polygon area, and the elevation data extracts terrain undulation, slope, and slope direction;

[0014] Serializing the characteristic data and executing a hash algorithm to generate a corresponding hash value;

[0015] From the hash value, a sequence is cut off according to a predetermined length as an encryption key, and the remaining sequence is used as an encryption vector.

[0016] In one embodiment, the step of encrypting the feature data by using the encryption key and the encryption vector to obtain watermark data includes:

[0017] Taking the characteristic data as input, the encryption key and the encryption vector as parameters, and inputting them into a reversible encryption algorithm;

[0018] The reversible encryption algorithm is used to encrypt the characteristic data to generate watermark data.

[0019] In one embodiment, before the step of integrating the watermark data into the target tile file and completing the step of adding the watermark to the 3D Tiles data set, the step includes:

[0020] Determine an embedding position of the target tile file, where the embedding position is a pre-set area that does not affect tile data rendering;

[0021] Convert the watermark data into a coding format that meets the requirements of the 3D Tiles data format;

[0022] Adjusting the data structure of the target tile file to reserve embedding space for the watermark data at the embedding position;

[0023] The watermark data in the converted encoding format is inserted into the reserved embedding space of the target tile file according to a predetermined embedding rule.

[0024] In one embodiment, after the step of inserting the watermark data of the converted coding format into the reserved embedding space of the target tile file according to a predetermined embedding rule, the method further comprises:

[0025] Performing a data integration operation to insert the watermark data in the converted encoding format into the reserved embedding space of the target tile file;

[0026] Updating index information of the target tile file, wherein the index information includes an embedded record of the watermark data;

[0027] Save the updated index information and the modified target tile file.

[0028] In one embodiment, after the step of integrating the watermark data into the target tile file, the process further includes:

[0029] Traversing the tile file set to determine whether the currently read tile file is the target tile file;

[0030] If it is a target tile file, jump to execute the step of extracting feature data corresponding to the data type according to the data type of the target tile file;

[0031] If it is not the target tile file, the currently read tile file is ignored, and the next tile file is read continuously until all tile files in the tile file set are read and the target tile reaches a preset ratio.

[0032] In one embodiment, after the step of integrating the watermark data into the target tile file and adding the watermark to the 3D Tiles data set is completed, the step further includes:

[0033] According to the index file of the 3D Tiles dataset, traverse the tile file set;

[0034] Perform feature detection on each tile file to determine whether watermark data exists in the tile file;

[0035] If watermark data is detected, extracting encrypted feature data of the watermark data;

[0036] Generate a decryption key and a decryption vector of the encrypted feature data by executing a hash algorithm on the encrypted feature data;

[0037] The watermark data is decrypted using the decryption key and the decryption vector to obtain unencrypted original watermark data.

[0038] The embodiment of the present application discloses a 3D Tiles data invisible watermark processing method, which determines a tile file set according to an index file of a 3D Tiles data set, and selects a target tile file according to a preset ratio; extracts feature data based on the target tile file, and generates a corresponding encryption key and encryption vector according to the feature data; encrypts the feature data by the encryption key and encryption vector to obtain watermark data; integrates the watermark data into the target tile file to complete the watermarking of the 3D Tiles data set. The present application uses the feature data of the target tile file to generate encryption keys and encryption vectors, which enhances the randomness and security of the watermark encryption process, thereby effectively protecting the copyright of the 3D Tiles data and preventing the unauthorized use and distribution of the 3D Tiles data. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 It is a flowchart of a first embodiment of a 3D Tiles data invisible watermark processing method involved in an embodiment of the present application;

[0040] Figure 2 This is another flowchart of the first embodiment of the 3D Tiles data invisible watermark processing method according to the embodiment of the present application;

[0041] Figure 3 This is a flow chart of a second embodiment of a 3D Tiles data invisible watermark processing method according to an embodiment of the present application;

[0042] Figure 4 This is another flowchart diagram of the second embodiment of the 3D Tiles data invisible watermark processing method involved in the embodiment scheme of the present application.

[0043] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0044] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0045] 3D Tiles, as a data format for efficient storage and transmission of three-dimensional geospatial information, is widely used in the CIM field. However, with the popularity of 3D Tiles data sharing, the need to protect its copyright and prevent unauthorized use is growing. Among the related protection measures, overall data encryption may reduce data loading performance and face security risks during decryption. Creating a private data format may lead to compatibility issues with open source application frameworks. Watermark encryption methods that rely on fixed keys are difficult to provide sufficient security due to the difficulty of key maintenance and lack of randomness.

[0046] In order to solve the above defects existing in the related art, the embodiment of the present application proposes a 3D Tiles data invisible watermark processing method, which determines the tile file set according to the index file of the 3D Tiles data set, and selects the target tile file according to a preset ratio; extracts feature data based on the target tile file, and generates corresponding encryption keys and encryption vectors according to the feature data; encrypts the feature data by the encryption key and encryption vector to obtain watermark data; integrates the watermark data into the target tile file to complete the watermarking of the 3D Tiles data set. The present application uses the feature data of the target tile file to generate encryption keys and encryption vectors, which enhances the randomness and security of the watermark encryption process, thereby effectively protecting the copyright of the 3D Tiles data and preventing the unauthorized use and distribution of the 3D Tiles data.

[0047] For ease of understanding, the technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0048] The 3D Tiles data invisible watermark processing method of the first embodiment proposed in this application, please refer to Figure 1 The method comprises steps S10 to S40:

[0049] S10: Determine a tile file set according to the index file of the 3D Tiles data set, and select a target tile file according to a preset ratio.

[0050] It should be noted that the tile file set refers to a set of tile files obtained by parsing the index file in the 3D Tiles dataset. The tile file contains the 3D model and texture information in the 3D Tiles dataset.

[0051] It is understood that the preset ratio refers to the percentage of tile files that need to add watermarks in the tile file set to all tile files, which is used to control the extensiveness of watermark addition. The target tile file refers to the tile file that needs to add watermark data, which is selected and determined in a certain way according to the preset ratio. Among them, the selection method includes sequential selection, reverse selection, random selection, or random selection based on a hash algorithm, etc.

[0052] In an optional implementation scheme, first determine the preset proportion of tile files that need to add watermarks to all tile files in the tile file set. The preset proportion determines the distribution density of the watermark data in the tile file set. Then, according to the preset proportion, select the target tile file in a sequential or reverse order. The sequential method is to select one as the target tile file for every fixed number of tile files in the natural order of the list in the tile file set, or directly select the first a% (preset percentage) of tile files in a sequential manner. The reverse method starts from the end of the list of the tile file set, and selects one as the target tile file for every fixed number of tile files, that is, reversely select the target tile file, or directly select the last a% (preset percentage) of tile files in the reverse direction.

[0053] Optionally, after determining the preset ratio, the target tile file can also be selected by random selection. The random selection method is to generate a random number in the range of [0,1] when reading a single tile file, and then compare the random number with the preset ratio. By setting the rule that the random number is greater than or greater than or equal to or less than or less than the preset ratio, it can be determined whether the currently read tile file is used as the target tile file. The rules can be set by yourself, and this embodiment does not impose any restrictions on the rule setting.

[0054] Optionally, after determining the preset ratio, the target tile file can also be selected by a random selection method based on a hash algorithm. The random selection method based on a hash algorithm is specifically: traversing each tile file in the tile file set, reading the path, file name or file content of each tile file, and passing the path, file name or file content of the tile file as an input parameter to the hash algorithm function. The hash algorithm function will output a hash value of a fixed length. Then, the generated hash value is compared with the preset ratio.

[0055] For example, after calculating the hash value of the currently read tile file, convert the obtained hash value into a decimal value, and then divide the decimal value by 2 to the power of the hash value length. For example, for a 256-bit hash value, divide the corresponding decimal value by 2. 256 , the normalized value obtained is between [0,1]. Then the normalized data is compared with the preset ratio to determine whether the currently read tile file is the target tile file. The comparison rule can be set to the normalized value is greater than or greater than or equal to or less than or less than the preset ratio, then the currently read tile file is selected as the target tile file. If the rule condition is not met, the currently read tile file is ignored and the next tile file is read for judgment.

[0056] S20: Extracting feature data based on the target tile file, and generating a corresponding encryption key and encryption vector according to the feature data.

[0057] In an optional implementation, the data type of the target tile file is first identified, and then the corresponding feature data is extracted according to the data type. The feature data is then serialized to form a continuous byte stream. The byte stream is then processed using a hash algorithm to generate a corresponding hash value. From the hash value, a sequence of a predetermined length is intercepted as an encryption key, and the remaining sequence is used as an encryption vector.

[0058] It can be understood that serialization is to convert the extracted multi-dimensional feature data into a one-dimensional byte stream.

[0059] It should be noted that the data types of tile files include raster data, vector data, elevation data, texture data, material data, etc. For raster data, pixel values, color space, and resolution can be extracted as feature data. For vector data, node coordinates, line segment length, and polygon area can be extracted as feature data. For elevation data, terrain features such as terrain undulation, slope, and slope direction can be extracted as feature data. For texture data, color, gloss, and pattern can be extracted as feature data. For material data, reflectivity, transparency, and refractive index can be extracted as feature data.

[0060] Exemplarily, when the identified target tile file is a three-dimensional model tile containing terrain information and texture, the identification involves parsing of the file format and reading of metadata to obtain the data type of the corresponding target tile file. Then, according to the identified data type, feature data is extracted. For the elevation data part, the terrain undulation measurement, such as the maximum height difference, average slope, etc., can be extracted. For the texture data part, the main color distribution, glossiness and repeated pattern features are extracted. After the feature data extraction is completed, serialization processing is performed. The feature data can be converted into a byte sequence in the order of terrain features first and texture features later, and it is ensured that each feature data in the sequence has a fixed byte length and order. After forming a continuous byte stream, a hash hash algorithm is used for processing, and a hash function, such as SHA-256, is selected to encrypt and hash the byte stream to generate a hash value of a fixed length. Then, according to the requirements of the encryption algorithm, a sequence of a predetermined length is intercepted from the hash value as an encryption key. For example, if the AES encryption algorithm requires a 256-bit key, the first 32 bytes of the hash value are intercepted as the key, and the remaining hash value sequence is used as an encryption vector to initialize the randomness of the encryption algorithm.

[0061] S30: Encrypt the characteristic data using the encryption key and encryption vector to obtain watermark data.

[0062] In an optional implementation, the characteristic data of the target tile file has been serialized to form a continuous byte stream, and the encryption key and encryption vector are generated by the hash algorithm. Then a reversible encryption algorithm, such as the Advanced Encryption Standard (AES), can be selected and the characteristic data can be input into the AES algorithm. In the initialization phase, the AES algorithm is initialized using the encryption key and encryption vector (initialization vector IV). IV is randomly generated to ensure that even if the same data block is encrypted multiple times, the results will be different, thereby increasing the security of encryption.

[0063] During the encryption process, the AES algorithm will perform multiple rounds of transformations on the input feature data, including substitution and permutation operations. The substitution and permutation operations will be performed based on the encryption key and round key, and finally generate encrypted data, namely watermark data. The watermark data is the encrypted form of the original feature data, which contains the integrity and security of the original feature data.

[0064] It needs to be explained that in the AES algorithm, the encryption process is divided into multiple rounds, each round is processed using a different key, and the keys of different rounds are called round keys.

[0065] S40: Integrate the watermark data into the target tile file to complete the watermarking of the 3D Tiles data set.

[0066] In an optional implementation scheme, before inserting the generated watermark data into the corresponding target tile file, it is necessary to first analyze the target tile file to determine the appropriate embedding location. The embedding location can be pre-set according to the data format of the target tile file to be suitable for storing the watermark data, and will not affect the visual effect and performance of the tile file during the rendering process. For example, in a 3D Tiles dataset, you can choose to embed it in the metadata part of the tile or in the auxiliary data area of ​​the tile; or for data of the 3D Tiles 1.0 specification, you can save the watermark data in the feature table, and for data of the 3D Tiles 1.1 specification, you can choose the database as the storage location of the watermark.

[0067] Next, the generated watermark data is encoded into a specific format to meet the requirements of the 3D Tiles data format. For example, Base64 encoding can ensure that the watermark data is compatible with the 3D Tiles specification. After determining the embedding location and converting the watermark data into an encoding format that meets the requirements of the 3D Tiles data format, the data structure of the target tile file needs to be adjusted, including leaving enough space in the pre-set location in the target tile file to embed the watermark data. Similarly, the determination of the reserved embedding space also needs to take into account not affecting the existing functions and performance of the tile file, while ensuring that the watermark data can be correctly stored and retrieved.

[0068] According to the predetermined embedding rules, the watermark data in the converted encoding format is inserted into the reserved space of the target tile file. The embedding rules include the order and location of the data and how to work with the existing data. For example, if the embedding position is in the metadata part, it may be necessary to add a new field after the existing metadata field to store the watermark data.

[0069] Optionally, the watermark data can be directly embedded into the visual content of the tile file as a visual watermark. First, the texture data of the target tile file needs to be analyzed to determine the redundant areas of the texture or areas with low detail levels. Even if the texture data changes slightly, it will not have a significant impact on the overall visual effect. Therefore, these areas are suitable for embedding watermark data. Then encode the watermark data into a format suitable for embedding into the texture data. This step involves converting the watermark data into a specific bitmap pattern or using part of the texture's channels to store the watermark data. For example, the least significant bit (LSB) replacement technique can be used to embed the bit information of the watermark data into the least significant bit of the texture's pixel. After the encoding is completed, the watermark data is embedded into the selected texture area using image processing technology, and the pixel value is adjusted to ensure that the watermark data is integrated with the visual effect of the original texture data.

[0070] It should be noted that after embedding the watermark data, the modified texture data needs to be tested to ensure that the modified texture data performs similarly to the original texture during 3D rendering and that the watermark data can be successfully extracted when needed.

[0071] Optionally, according to a predetermined embedding rule, the watermark data is inserted into the reserved embedding space of the target tile file. Then, a data integration operation is performed to adjust the existing data of the tile file to accommodate the insertion of the newly added watermark data into the reserved embedding control space of the target tile file. After the embedding of the watermark data is completed, the index information of the target tile file needs to be updated. The index information is an important part of the tile file, which records the location and attributes of each data block in the tile file. The index information is updated to include the embedding record of the watermark data to ensure that the watermark data can be correctly identified and located during the tile file access and retrieval process. After updating the index information, a save operation is performed to store the updated index information and the modified target tile file.

[0072] Optionally, after completing the watermark data addition of a single target tile file, the tile file set of the entire 3DTiles data set needs to be traversed next to ensure that each tile file can be read, and the tile file determined as the target tile file can be watermarked according to the established process. First, read each tile file in the tile file set in sequence. For the tile file currently read, it is necessary to determine whether it meets the standard of the target tile file according to the selection method of the target tile file. If the tile file currently read is confirmed as the target tile file, the step of extracting the feature data corresponding to the data type according to the data type of the target tile file is jumped to execute. At this time, the tile file confirmed as the target tile file will re-execute the feature data identification and extraction process, and according to the previous steps, perform the complete process of adding watermark data such as generating encryption keys and encryption vectors, encrypting feature data, determining reserved embedding space, updating and saving index information, and saving the modified target tile file, and integrate the watermark data into the target tile file currently read. If the tile file currently read is not the target tile file, the tile file currently read is ignored, and the next tile file is read. This process continues until all tile files in the tile file set have been read.

[0073] Optionally, during the process of traversing the 3D Tiles dataset tile file set, the system will continuously monitor the number of processed target tile files and compare them with the preset target tile ratio in real time. After completing the initial traversal of the 3D Tiles dataset tile file set, if it is determined that the number of target tile files does not reach the preset ratio, a second round of traversal will be initiated. The second round of traversal is to continue searching and adding watermark data in the remaining tile files until the preset target tile ratio is reached.

[0074] Before the second round of traversal begins, first update the status information of the tile file set and mark the target tile files that have been confirmed and processed in the first traversal. Avoid repeated processing of tile files that have been watermarked. Then, according to the predetermined selection method, judge the unmarked tile files to determine whether they meet the standards of the target tile files. In the second round of traversal, each time a new target tile file is determined, the previous operation process will be repeated: extract feature data, generate encryption keys and encryption vectors, encrypt feature data, determine embedding space, update index information, and save the modified tile file. This process is the same as the operation during the first traversal, ensuring that the watermark data can be correctly and consistently added to the new tile file.

[0075] During the traversal process, the system will continue to monitor the number of processed target tile files. If the number of processed target tile files reaches or exceeds the preset ratio, the current traversal operation will be stopped; if it has not reached the preset ratio, the traversal will continue.

[0076] Please refer to Figure 2 , Figure 2 Another flowchart of the first embodiment of the present application. In the method for adding watermark data to a 3D Tiles dataset, the system first accesses the index file of the 3D Tiles dataset to obtain a list of tile file sets. The index file provides the system with the organizational structure and access path of the tile files. The system reads each tile file in the tile file set one by one according to the records in the index file. For each tile file read, the system determines whether it is a target tile file based on a preset selection method and standard. If the current tile file is determined not to be the target tile file, the system ignores the currently read tile file and continues to retrieve the next tile file according to the rule or sequence.

[0077] Once the system determines that the current tile file is the target tile file, it performs feature extraction according to the data type of the target tile, and identifies and extracts key feature data in the target tile file that can be used to generate a watermark.

[0078] After extracting the feature data, the system will generate an encryption key and an encryption vector based on the feature data. The feature data is then encrypted using the encryption key and encryption vector to obtain the watermark data.

[0079] Next, the system needs to select the appropriate reserved embedding space in the target tile file, write the watermark data into the target tile file, and complete the watermark encryption of the target tile file. After completing the watermark encryption of a single target tile file, the system will repeat the above operations, continue to read the tile file collection, determine the target tile file, extract feature data, generate encryption keys and encryption vectors, watermark data, and embed watermark data until all tile files are retrieved and read.

[0080] The 3D Tiles data invisible watermark processing method of the second embodiment proposed in this application can be found in Figure 3 , after the watermark data is integrated into the target tile file, the step of adding the watermark to the 3D Tiles dataset is completed, and the following steps S50 to S90 are also included:

[0081] S50: Traversing a tile file set according to the index file of the 3D Tiles dataset.

[0082] Specifically, after the watermark data is added to the 3D Tiles dataset, if the watermark data needs to be extracted, the tile file collection can be traversed according to the index file of the 3D Tiles dataset after the watermark data is added. The index file, as a directory or database, records the location and basic information of all tile files. Each tile file is accessed sequentially according to the guidance of the index file to ensure that each tile file can be read.

[0083] S60: Perform feature detection on each tile file to determine whether watermark data exists in the tile file.

[0084] Specifically, the system performs feature retrieval on each tile file, checks specific areas or metadata of the tile file, and looks for features or markers that indicate the presence of watermark data. For example, the system searches for specific encryption markers or checks the auxiliary data area of ​​the tile file to determine whether it contains watermark data.

[0085] S70: If watermark data is detected, extract the encrypted feature data of the watermark data.

[0086] Specifically, when it is detected that the tile file currently being read has watermark data, the encrypted feature data of the watermark data is extracted. In this process, the system will locate the area where the watermark data is stored in the tile file, and extract the encrypted feature data according to the predetermined format and structure. The encrypted feature data may be encoded or hidden in the texture, model details, metadata, or auxiliary data area of ​​the tile file.

[0087] S80: Generate a decryption key and a decryption vector of the encrypted feature data by executing a hash algorithm on the encrypted feature data.

[0088] Specifically, after the encrypted feature data is extracted, the hash algorithm is executed on the extracted encrypted feature data. The extracted encrypted feature data is processed by using the same hash function as in the encryption process, such as SHA-256, to generate the decryption key and initial decryption vector required for decryption.

[0089] S90: Using the decryption key and the decryption vector to perform a decryption process on the watermark data to obtain unencrypted original watermark data.

[0090] Specifically, the system selects the same reversible encryption algorithm as in the encryption process to perform a decryption process on the watermark data. The system selects a suitable decryption algorithm, such as the AES algorithm, to convert the watermark data back to the original unencrypted watermark data to obtain the original watermark data.

[0091] Please refer to Figure 4 , Figure 4 This is another flowchart of the second embodiment of the present application. After adding watermark data to the 3D Tiles dataset, when the system needs to extract the original watermark data, it needs to first complete the decryption operation on the watermark data. The system first accesses the index file of the 3D Tiles dataset. The index file serves as a navigation tool that records the detailed information and storage location of all tile files, so that the system can quickly locate the tile files that need to be retrieved.

[0092] The system obtains a list of tile file sets according to the index file and starts to retrieve each tile file in sequence. During the retrieval process, the system will judge each tile file to check whether the currently retrieved tile file contains watermark data.

[0093] If the system finds that the currently retrieved tile file does not contain watermark data, the currently retrieved tile file is skipped and the next tile file is retrieved in the order of the list, thereby avoiding invalid processing of tile files without watermark data.

[0094] When the system retrieves that the current tile file contains watermark data, it will extract data from the current tile file. The data extraction step involves extracting feature data from the tile file for generating decryption keys and initial decryption vectors. The feature data is the key feature data of the tile file that was previously extracted and encrypted during the watermark data addition process, and now needs to be re-extracted for the decryption process.

[0095] The system generates the decryption key and initial decryption vector based on the extracted feature data. The steps of generating the key and vector are completed by executing the same hash algorithm as the watermark encryption process, ensuring that the decryption key and initial decryption vector are consistent with the key and vector used during encryption.

[0096] Next, the system will extract the watermark data in the tile file and decrypt the watermark data using the generated decryption key and initial decryption vector. The decryption process will restore the original watermark data.

[0097] After completing the decryption of the watermark data of a single target tile file, the system will terminate the decryption operation. The original watermark data restored by the decryption operation can be used for further analysis, verification or as evidence for copyright protection, ensuring the security and reliability of the 3D Tiles dataset.

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

[0099] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0100] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method.

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

Claims

1. A 3D Tiles data invisible watermark processing method, characterized in that: The method includes: Determine a tile file set according to an index file of a 3D Tiles data set, and select a target tile file according to a preset ratio. The step of selecting a target tile file according to a preset ratio includes: Determine the proportion of tile files to which watermarks need to be added to the tile file set; Select the target tile file in order or in reverse order according to the preset ratio; or when reading a single tile file, generate a random number in the range of [0, 1], and determine the target tile file according to the comparison between the random number and the preset ratio; Extracting feature data based on the target tile file, and generating corresponding encryption keys and encryption vectors according to the feature data; Encrypting the characteristic data by using the encryption key and the encryption vector to obtain watermark data; Determine an embedding position of the target tile file, where the embedding position is a pre-set area that does not affect tile data rendering; Convert the watermark data into a coding format that meets the requirements of the 3D Tiles data format; Adjusting the data structure of the target tile file to reserve embedding space for the watermark data at the embedding position; Inserting the watermark data in the converted encoding format into the reserved embedding space of the target tile file according to a predetermined embedding rule; Integrate the watermark data into the target tile file to complete the watermarking of the 3D Tiles data set; Traversing the tile file set to determine whether the currently read tile file is the target tile file; If it is a target tile file, jump to the step of extracting feature data based on the target tile file, and generating a corresponding encryption key and encryption vector according to the feature data; If it is not the target tile file, the currently read tile file is ignored, and the next tile file is read continuously until all tile files in the tile file set are read and the target tile reaches a preset ratio.

2. The method according to claim 1, characterized in that The step of extracting feature data based on the target tile file and generating a corresponding encryption key and encryption vector according to the feature data includes: According to the data type of the target tile file, extract feature data corresponding to the data type, the data type includes raster data, vector data, and elevation data, wherein the raster data extracts pixel value, color space, and resolution, the vector data extracts node coordinates, line segment length, and polygon area, and the elevation data extracts terrain undulation, slope, and slope direction; Serializing the characteristic data and executing a hash algorithm to generate a corresponding hash value; From the hash value, a sequence is cut off according to a predetermined length as an encryption key, and the remaining sequence is used as an encryption vector.

3. The method according to claim 1, characterized in that The step of encrypting the characteristic data by using the encryption key and the encryption vector to obtain watermark data comprises: Taking the characteristic data as input, the encryption key and the encryption vector as parameters, and inputting them into a reversible encryption algorithm; The reversible encryption algorithm is used to encrypt the characteristic data to generate watermark data.

4. The method according to claim 1, characterized in that After the step of inserting the watermark data of the converted coding format into the reserved embedding space of the target tile file according to a predetermined embedding rule, the method further comprises: Performing a data integration operation to insert the watermark data in the converted encoding format into the reserved embedding space of the target tile file; Updating index information of the target tile file, wherein the index information includes an embedded record of the watermark data; Save the updated index information and the modified target tile file.

5. The method according to claim 1, characterized in that After the step of integrating the watermark data into the target tile file to complete the step of adding the watermark to the 3D Tiles data set, the method further includes: According to the index file of the 3D Tiles dataset, traverse the tile file set; Perform feature detection on each tile file to determine whether watermark data exists in the tile file; If watermark data is detected, extracting encrypted feature data of the watermark data; Generate a decryption key and a decryption vector of the encrypted feature data by executing a hash algorithm on the encrypted feature data; The watermark data is decrypted using the decryption key and the decryption vector to obtain unencrypted original watermark data.