A kind of vector watermark attack method based on vector geographic data structure
Technical field
The invention belongs to map vector data copyright protection field in GIS-Geographic Information System, and in particular to one kind is directed to and is based on
The vector watermark attack method of vector geographic data structure.
Background technology
Similar with cryptography, digital watermarking is also the research field of an antagonism.Exactly because there is depositing for Attack Digital Watermarking
Just there is deepening continuously for watermark research.In addition, in order to realize the standardization of digital watermarking, it is necessary to which various digital watermarkings are calculated
Method carries out security test.Watermark tester both needs to be familiar with watermarking algorithm and is familiar with Attack Digital Watermarking algorithm again, but also will be from
The theory of watermarking algorithm, which is started with, carries out the quantitative analysis of watermark information amount and robustness.
Map vector data watermarking algorithm is different from traditional based on watermarking algorithm, this is mainly due to map datum
The reasons such as the generality without view data application, while map vector data is also resided in data structure, storage form, table
The multi-medium datas such as existing mode, application environment, requirement and possible attack etc. and image are all different, and one
As watermarking algorithm be also difficult to be directly applied on map vector data.
It is worth noting that, active attack and being not equal to vandalism.By taking copyright protection watermark as an example, if will embedded in
The digital product of watermark makes changed beyond recognition, does not also have benefit to attacker, because the digital product to wreck is to sell
Sell.Real active Attack Digital Watermarking should be on the premise of excessively the quality of data is not influenced, and remove digital watermarking.
In order to finally determine the technical standard of watermark, information security test and appraisal mechanism must to watermarking algorithms disclosed in a large amount of into
Row test.This test not only but also will will carry out theory analysis by experiment, so as not to due to samples selection mistake cause with
It is partially general complete.
In face of a large amount of and loaded down with trivial details test experiments, the research of digital watermarking Auto-Test System seems very necessary.Sword
The Stir Mark softwares of bridge university exploitation are exactly a typical digital watermarking test system, it is integrated with tens kinds of watermarks and attacks
Algorithm is hit, can be than more fully testing the robustness of watermarking algorithm.
The content of the invention
The present invention will overcome the shortcomings that existing watermark attack method a large amount of and loaded down with trivial details test experiments, there is provided one kind is not
On the basis of changing the accuracy of map and display effect, by being split to coordinate data sequence and reverse turn operation, reach attack
Existing spatial domain and the detection stationkeeping ability of frequency domain water mark so that watermark detection algorithms can not effectively detect the presence of watermark,
So as to achieve the purpose that to remove watermark;It is also the important of the effective means evaluation that vector map watermark algorithm robustness is examined at the same time
Instrument.Even more one of indispensable measuring technology of map vector data Image Watermarking.
The technical solution adopted by the present invention to solve the technical problems is:
A kind of vector watermark attack method based on vector geographic data structure, comprises the following steps:
(1), the segmentation attack based on vector geographic data coordinate sequence
To data representation formats such as line string, wire loop and the polygons in map vector data, map datum essence is not being influenced
Degree with display effect on the basis of, to coordinate sequence using segmentation means carry out rebuilding processing, upset existing spatial domain and
The characteristic of the watermark detection positioning of frequency domain water mark algorithm, so as to fulfill the purpose of the embedded watermark of attack.Specific method step is as follows:
(1.1), map vector coordinate sequence data are read.
(1.2), line string, wire loop and the polygon data in map vector data are retrieved.
(1.3), the coordinate sequence length of line string, wire loop and polygon is obtained.Then according to length data, generate one big
In N, and the random number K less than M;Wherein N, M are a threshold values of user's setting.
(1.4), the processing intent of random number K, to prevent regularity, so as to carry out data weight for watermark detection algorithms
Structure creates conditions.
(1.5), one group of coordinate sequence with n vertex, i.e. { { X1,Y1, { X2,Y2... ... { Xn,Yn, n is pushed up
The coordinate sequence of point is split according to random number K, takes the preceding K data of coordinate sequence every time, and forming one group new has the K a
The coordinate sequence { { X of data1,Y1, { X2,Y2... ... { XK,YK}。
(2), the inversion attack based on vector geographic data coordinate sequence
To data representation formats such as line string, wire loop and the polygons in map vector data, map datum essence is not being influenced
Degree with display effect on the basis of, coordinate sequence is carried out rebuilding processing using inverted means, upset existing spatial domain and
The characteristic of the watermark detection positioning of frequency domain water mark algorithm, so as to fulfill the purpose of the embedded watermark of attack.Specific method step is as follows:
(2.1), map vector coordinate sequence data are read.
(2.2), line string, wire loop and the polygon data in map vector data are retrieved.
(2.3), according to the length of coordinate data, a random number K is generated, when K is even number, then coordinate sequence is carried out
Inversion is handled;When K is odd number, then inversion processing is not carried out to coordinate sequence.
(2.4), random inverted purpose is to prevent regularity, so as to carry out data reconstruction for watermark detection algorithms
Create conditions.
(2.5), the method for being inverted processing is:To the coordinate sequence { { X after segmentation1,Y1, { X2,Y2... ... { Xn,Yn}}
Carry out inversion processing, i.e., the carry out transposition end to end of coordinate sequence into { { Xn,Yn, { Xn-1,Yn-1... ... { X1,Y1}}。
The characteristics of this attack processing method and effect:
The method is to change the tissue order of coordinate sequence, has upset the watermark information of existing vector watermarking algorithm
Initial position positions, so that watermark detection algorithms can not detect the presence of watermark, realizes the purpose for removing vector watermark;
Represent and use to be above of equal value, and the coordinate sequence on n vertex can be carried out being divided into m in map vector
Section has { K1,K2,……,KmA vertex coordinate sequence;
Due to splitting and being inverted in processing procedure, random function has been used, in the case that initial data participates in,
Also it is difficult to carry out recovery restructuring to new data, is the insurmountable attack of current vector map watermark algorithm;
This attack algorithm, realizes that simply processing speed is fast, is that effective map vector data watermark removes hand at present
Section;One of and examine the important tool of map vector data watermarking algorithm robustness.
The technology of the present invention core concept is according to geographical dope vector data characteristics, it is proposed that a kind of vector geographic data knot
The vector watermark attack method of structure.Propose a kind of vector watermark attack method based on vector geographic data structure.Arrow at present
Quantity map watermarking algorithm relies on coordinate data sequential organization form to realize the characteristic of watermark detection positioning, and this method is not changing
On the basis of the accuracy of map and display effect, by being split to coordinate data sequence and reverse turn operation, it is existing to reach attack
Spatial domain and frequency domain water mark detection stationkeeping ability so that watermark detection algorithms can not effectively detect the presence of watermark so that
Achieve the purpose that to remove watermark;It is also the important work for the effective means evaluation that vector map watermark algorithm robustness is examined at the same time
Tool.
It is an advantage of the invention that:Used method realize it is easy and effective, can be further research and development it is more effective
Vector map watermark algorithm basic theory and means are provided.
Brief description of the drawings
Fig. 1 is segmentation attack flow chart.
Fig. 2 attacks flow chart to be inverted.
Fig. 3 is original vector map datum coordinate sequence schematic diagram.
Fig. 4 is the map vector data coordinate sequence schematic diagram for carrying out segmentation attack with being inverted after attacking.
Embodiment
The invention will be further described below in conjunction with the accompanying drawings.
(1), Fig. 1 is the flow chart of the segmentation attack based on vector geographic data coordinate sequence, it implements description step
It is rapid as follows:
To data representation formats such as line string, wire loop and the polygons in map vector data, map datum essence is not being influenced
Degree with display effect on the basis of, to coordinate sequence using segmentation means carry out rebuilding processing, upset existing spatial domain and
The characteristic of the watermark detection positioning of frequency domain water mark algorithm, so as to fulfill the purpose of the embedded watermark of attack.Specific method step is as follows:
(1.1), map vector coordinate sequence data are read.
(1.2), line string, wire loop and the polygon data in map vector data are retrieved.
(1.3), the coordinate sequence length of line string, wire loop and polygon is obtained.Then according to length data, generate one big
In N, and the random number K less than M;Wherein N, M are a threshold values of user's setting.
(1.4), the processing intent of random number K, to prevent regularity, so as to carry out data weight for watermark detection algorithms
Structure creates conditions.
(1.5), Fig. 3 describes one group of coordinate sequence with n vertex, i.e. { { X1,Y1, { X2,Y2... ... { Xn,
Yn, the coordinate sequence on n vertex is split according to random number K, takes the preceding K data of coordinate sequence every time, forms one group
New the coordinate sequence { { X with K data1,Y1, { X2,Y2... ... { XK,YKProcess.
(2), Fig. 2 is the flow chart of the segmentation attack based on vector geographic data coordinate sequence, it implements description step
It is rapid as follows:
To data representation formats such as line string, wire loop and the polygons in map vector data, map datum essence is not being influenced
Degree with display effect on the basis of, coordinate sequence is carried out rebuilding processing using inverted means, upset existing spatial domain and
The characteristic of the watermark detection positioning of frequency domain water mark algorithm, so as to fulfill the purpose of the embedded watermark of attack.Specific method step is as follows:
(2.1), map vector coordinate sequence data are read.
(2.2), line string, wire loop and the polygon data in map vector data are retrieved.
(2.3), according to the length of coordinate data, a random number K is generated, when K is even number, then coordinate sequence is carried out
Inversion is handled;When K is odd number, then inversion processing is not carried out to coordinate sequence.
(2.4), random inverted purpose is to prevent regularity, so as to carry out data reconstruction for watermark detection algorithms
Create conditions.
(2.5), Fig. 4 describes the method for being inverted processing:To the coordinate sequence { { X after segmentation1,Y1, { X2,Y2... ...
{Xn,YnCarry out inversion processing, i.e., the carry out transposition end to end of coordinate sequence into { { Xn,Yn, { Xn-1,Yn-1... ... { X1,
Y1,
The characteristics of attack processing method of the present invention and effect
The method is to change the tissue order of coordinate sequence, has upset the watermark information of existing vector watermarking algorithm
Initial position positions, so that watermark detection algorithms can not detect the presence of watermark, realizes the purpose for removing vector watermark.
Represent and use to be above of equal value, and the coordinate sequence on n vertex can be carried out being divided into m in map vector
Section has { K1,K2,……,KmA vertex coordinate sequence.
Due to splitting and being inverted in processing procedure, random function has been used, in the case that initial data participates in,
Also it is difficult to carry out recovery restructuring to new data, is the insurmountable attack of current vector map watermark algorithm..
This attack algorithm, realizes that simply processing speed is fast, is that effective map vector data watermark removes hand at present
Section;One of and examine the important tool of map vector data watermarking algorithm robustness.