CN105912574A - Multi-user decided spatial data query and verification method - Google Patents

Multi-user decided spatial data query and verification method Download PDF

Info

Publication number
CN105912574A
CN105912574A CN201610195409.2A CN201610195409A CN105912574A CN 105912574 A CN105912574 A CN 105912574A CN 201610195409 A CN201610195409 A CN 201610195409A CN 105912574 A CN105912574 A CN 105912574A
Authority
CN
China
Prior art keywords
user
condition
heap
place
spatial data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610195409.2A
Other languages
Chinese (zh)
Other versions
CN105912574B (en
Inventor
林劼
王鹏鉴
段晓冉
刘铸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Electronic Science and Technology of China
Original Assignee
University of Electronic Science and Technology of China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by University of Electronic Science and Technology of China filed Critical University of Electronic Science and Technology of China
Priority to CN201610195409.2A priority Critical patent/CN105912574B/en
Publication of CN105912574A publication Critical patent/CN105912574A/en
Application granted granted Critical
Publication of CN105912574B publication Critical patent/CN105912574B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • G06F16/2246Trees, e.g. B+trees
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • G06F16/24575Query processing with adaptation to user needs using context

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a multi-user decided spatial data query and verification method comprising a spatial data processing step S1, a query data giving step S2, a query initialization step S3, a data query step S4, and a data verification step S5. The multi-user decided spatial data query and verification method provided by the invention can be applied to a multi-user decided scenario. Users in a group each get a good result according to the location and hobbies thereof. An effective, complete and correct method is provided for multi-user based large-amount spatial data query and verification in a big data environment.

Description

The Spatial data query verification method that a kind of multi-user determines
Technical field
The present invention relates to the Spatial data query verification method that a kind of multi-user determines.
Background technology
Along with based on venue services universal, various tissues, company even individual's (being referred to as DOs) starts to collect and have Substantial amounts of spatial data;Processing such substantial amounts of spatial data is that data owner brings technology and economically huge is chosen War;In the management and query script of data, DOs tends to data are contracted out to third party rather than set up themselves Technical team and basic framework;Because alleviating DOs great burden in data management processes, the potential offer of data outsourcing More effective and cost-effective service;In data sub-contract management, the data of oneself are delegated to ISP (SP), SP by DO Index, the search request of feedback user is set up for data;Because server is not in the range of the administration authority of DO, server is permissible Distorting the Query Result of return, therefore, user is necessary to ensure that Query Result meets three conditions: effectiveness, correctness, completely Property.
Number of patent application: CN201510101056.0 discloses a kind of space querying integrity based on Merkle tree construction Verification method, the method is on four points of tree nodes that existing adaptive H ilbert curve is generated, it is proposed that support to have inquired about The construction method of the Merkle tree construction of integrity verification, and propose the integrity verification method of range query and KNN inquiry, make Obtain the situation that integrity verification result provided by the present invention does not exist wrong report and fails to report, and then it is right that ISP is difficult to The Query Result of user carries out malice to be changed;The inventive method can carry for user under the service mode of spatial data outsourcing For efficient checking structural generation function, and true scope inquiry inquires about integrity verification function with KNN, thus ensures sky Between inquire about the quality of service.Only provide the space querying integrity verification method of a kind of Merkle tree construction, data are had Effect property and correctness are not correlated with and are related to, and are not carried out determining multi-user the feedback of inquiry yet.
Number of patent application: CN201310132565.0 discloses a kind of data dynamic operation verifiability based on Hash tree Method, is to be connected by communication network by user USER, cloud computation data center CDC and auditing by third party mechanism TPA tri-part Composition;Proposition one side that USER asks as data storage service, it is desirable to one's own data file is stored cloud computing Among the cloud storage space of data center;USER both can be personal user, it is also possible to be enterprise customer;CDC is responsible for response and uses The data storage service request at family, stores oneself huge data center according to certain rule by the data file of user, And the management of data file safeguarded be responsible for;TPA is as reliable auditing by third party mechanism, by the trust of USER to being stored in The data file of CDC data center carries out integrity and conforming examination;The present invention solve under cloud computing environment for User data file integrality and conforming validation problem;Only provide the integrity to data and conforming checking, not There is the feedback realizing that multi-user is determined inquiry.
Existing data query method such as k-Nearest Neighbors inquiry and Skyline inquiry all can not be applied to In the scene that multi-user determines, the user of i.e. one group can not obtain a best result according to respective place with hobby.
Summary of the invention
It is an object of the invention to overcome the deficiencies in the prior art, it is provided that the Spatial data query that a kind of multi-user determines is tested Card method, it is possible to being applied in the scene that multi-user determines, the user of a group obtains one according to respective place and hobby Well result, Query Result possesses effectively, completely, correct advantage.
It is an object of the invention to be achieved through the following technical solutions: the Spatial data query that a kind of multi-user determines is tested Card method, comprises the following steps:
S1. spatial data handling: the site objects of spatial data is grouped according to space attribute, each packet conduct One external square of minimum, forms MR-tree using the external square of each minimum as a leaf node, generates correspondence for each leaf node Index and store corresponding numerical value;MR-tree is a kind of Merkle Hash tree, and it includes multiple intermediate node, intermediate node In one or more leaf nodes of comprising, these leaf nodes are all its child nodes;
S2. inquiry data give: given quaternary array Q={U, and W, P, k}, U represent user's group of inquiry, and P represents user The place set of group;W represents user and defines hobby set, and k is the site objects quantity that user needs;
U={u0,u1,...ui...,un-1, u in formulai, representing that user organizes i+1 user in U, n represents that user organizes in U The number of user,
P={p0,p1,...,pi,...,ps, p in formulai, i=1,2,3.....s, represent i-th place in place set P Object, s represents the number of site objects in place set P,
W={w0,w1,...,wi...,wn-1, w in formulai, i=1,2,3.....n-1, represent the user-defined love of i-th Good;
wi={ wi,o,wi,1,...,wi,m, wi,oThe space attribute weight of hobby, { w is defined for i-th useri,1,..., wi,mIt it is the i-th user non-spatial attributes weight that defines hobby.
It is defined as follows concept:
Non-space is arranged: given two place p and p ', if p ' is poor unlike p on all non-spatial attributes, then specifies P ' non-space domination p, symbolization is:
Space is arranged: a given user gathers U ' and two place p and p ', if p ' non-space domination p, and p ' ratio P will be near apart from all users, and we then specify to gather user have p ' to arrange p ' on U ';
Non-space weight is arranged: given the three unities p and the hobby set W of all users, the weight of the non-spatial attributes of p Be expressed as: ◇ (p):
Given two place p and p ', if ◇ (p ') is big unlike ◇ (p), then it is assumed that p ' non-space weight domination p;
Space weight domination: given two place p, the hobby set W of p ' and all users, p is to the power of all users It is heavily:
ad s u m ( p ) = Σ i = 0 n - 1 ( w i 0 * | | p , u i | | ) ,
If adsum(p') unlike adsumP () is big, it is believed that p ' space weight domination p;
Weight is arranged: a given user collects U, and all of consumer taste collection W and two place p ' and p, if p ' does not props up Join p, p ' non-space weight domination p, and p ' space weight domination p, then it is assumed that collect weight domination p on U user;
The added value of one node: vsum(p)=adsum(p)+◇(p);
The added value of one scope:
Given Q={U, after W, P, k}, desired result is that final k result is stored in result set R, and meets not by P The domination of other places or weight domination;
S3. initialization is inquired about: define query results R and identifying object collection VO, and by query results R and identifying object Collection VO is initialized as sky;Calculate intermediate node and the leaf node v at place, each place at MR-tree each packet placesum
S4. data query: define a heap H and come with vsumAscending order scan the node of MR-tree: first by MR-tree's Root node is put in heap H and identifying object collection VO, scans each time, is all ejected by the heap top element of heap H, carries out heap top element Check according to checking that result, to identifying object collection VO, query results R and heap H process, until heap H is empty, completes once Basic query, check in R | | the R | | the size with user defined parameters k of counting:
(1) if | | R | | is more than k, by place according to vsumNumerical values recited sorts, and takes front k and is worth to final result collection R′;
(2) if | | R | | is equal to k, directly using R as final result collection R ';
(3) if | | R | | is less than k, next round inquiry is carried out, until | | R | | is not less than k;
S5. data verification: according to final result collection R ' with during VO, the effectiveness of checking final result collection R ', integrity and Correctness.
The numerical value of each leaf node storage described in step S1 is:
H=hash (p1|p2|...|pi...|pt),
P in formulai, i=1,2,3.....t represent the i-th site objects in the packet of leaf node correspondence, and ' | ' represents over the ground Point object carries out cascade operation, and t represents the number of site objects in this leaf node.
Described MR-tree has multiple intermediate node, and each intermediate node includes one or more leaf node.
If the three unities p domination or weight arrange another place p or area S, must have: vsum(p) < vsum(p') or vsum(p) < vsum(S), any one v based on placesumTravel through MR-tree by ascending order, add the ground of candidate result collection R to Point concentrates R ' by certainly putting into final result.
Heap top element is checked by step S4 and carries out respective handling and be divided into following four situation:
(1) if heap top element is arranged by the element in existing R or weight is arranged, heap top element is put in VO;
(2) if heap top element is not arranged by the element in existing R or weight is arranged, and heap top element is MR- The intermediate node of tree, joins its child node in heap H;
(3) if heap top element is not arranged by the element in existing R or weight is arranged, and heap top element is leaf segment Point, all places it comprised join in heap H;
(4) if heap top element is not arranged by the element in existing R or weight is arranged;Heap top element is place pair As, it is just directly placed in R.
Described step S5 includes following sub-step:
S51. check preparation: each take turns inquiry time result set R and corresponding VO carried out being grouped and be ordered as checking make Good prepare, during poll-final, final identifying object collection VO contains three kinds of data: site objects;The number of minimum external square It is worth the intermediate node that square external with minimum is corresponding;Query Information U and W of all users;
S52. validity check: check the numerical value calculating root node according to final identifying object collection VO, then with former number Value compares, it is judged that calculated numerical value is the most identical with former numerical value:
(1) if identical, then R ' possesses effectiveness;
(2) if it is not the same, then R ' do not possess effectiveness;
S53. Correctness checking: each packet G in the place number of inspection final result collection R ' and R 'i, judge R ' Correctness;
S54. integrity checking: check each packet G in R 'iWith VO corresponding in VOi, judge the integrity of R ', as The really G in R 'iAll complete, then R ' has integrity.
Described step S53 includes following sub-step:
S531. check whether final result collection R ' meets condition one: final result collection R ' place number defines equal to user Parameter k:
(1) if meeting condition one, then step S532 is jumped to;
(2) if being unsatisfactory for condition one, then final result collection R ' does not possess correctness;
S532. each packet G in R ' is checkedi, it is judged that GiWhether meet condition two: GiIn place the most mutually arrange, also Not mutually weight domination:
(1) if meeting condition two, then GiPossess correctness, jump to step S533;
(2) if being unsatisfactory for condition two, then final result collection R ' does not possess correctness:
S533. each site objects in final result collection R ' is checked, it may be judged whether meet condition three: high-grade packet Site objects can be arranged or the site objects of weight domination inferior grade packet:
(1) if meeting condition three, final result collection R ' possesses correctness;
(2) if being unsatisfactory for condition three, final result collection R ' does not possess correctness.
Described step S54 includes following sub-step:
S541. VO is judgediIn site objects, if be satisfied by condition four: by corresponding GiIn site objects domination or power Heavily arrange;
(1) if meeting condition four, then corresponding GiPossesses integrity;
(2) if being unsatisfactory for condition four, step S542 is jumped to;
S542. VO is judgediIn site objects, if meet condition five: for being unsatisfactory for the site objects of condition four, its Added value is higher than GiIn the added value of all site objects:
(1) if meeting condition five, then corresponding GiPossesses integrity;
(2) if being unsatisfactory for condition five, then corresponding GiDo not possesses integrity.
Spatial data query based on multi-user and checking, make query script then prove that each result is to generate result Effectively, correct and complete, meet needs under big data environment and process the data owner's of high amount spatial data Demand, and propose Spatial data query based on Merkle Hash tree and verification method innovatively, improve inquiry speed Spend and decrease the size returning result set;And under different parameters is arranged highly effective rate and robustness.
The invention has the beneficial effects as follows: for the looking into of spatial data of the big data quantity based on multi-user under big data environment Ask and checking provides a kind of effective, completely, correct method, and have faster than original general data querying method Inquiry velocity, shorter response time and less return result set, decrease the spending of user.
Accompanying drawing explanation
Fig. 1 is the flow chart of the present invention;
Fig. 2 is the scanning process figure during the data query of the present invention;
Fig. 3 is embodiments of the invention one schematic diagrams.
Detailed description of the invention
Technical scheme is described in further detail below in conjunction with the accompanying drawings, but protection scope of the present invention is not limited to The following stated.
As it is shown in figure 1, the Spatial data query verification method that a kind of multi-user determines, comprise the following steps:
S1. spatial data handling: the site objects of spatial data is grouped according to space attribute, each packet conduct One external square of minimum, forms MR-tree using the external square of each minimum as a leaf node, generates correspondence for each leaf node Index and store corresponding numerical value;MR-tree is a kind of Merkle Hash tree, and it includes multiple intermediate node, intermediate node In one or more leaf nodes of comprising, these leaf nodes are all its child nodes;
S2. inquiry data give: given quaternary array Q={U, and W, P, k}, U represent user's group of inquiry, and P represents user The place set of group;W represents user and defines hobby set, and k is the site objects quantity that user needs;
U={u0,u1,...ui...,un-1, u in formulai, representing that user organizes i+1 user in U, n represents that user organizes in U The number of user,
P={p0,p1,...,pi,...,ps, p in formulai, i=1,2,3.....s, represent i-th place in place set P Object, s represents the number of site objects in place set P,
W={w0,w1,...,wi...,wn-1, w in formulai, i=1,2,3.....n-1, represent the user-defined love of i-th Good;
wi={ wi,o,wi,1,...,wi,m, wi,oThe space attribute weight of hobby, { w is defined for i-th useri,1,..., wi,mIt it is the i-th user non-spatial attributes weight that defines hobby.
It is defined as follows concept:
Non-space is arranged: given two place p and p ', if p ' is poor unlike p on all non-spatial attributes, then specifies P ' non-space domination p, symbolization is:
Space is arranged: a given user gathers U ' and two place p and p ', if p ' non-space domination p, and p ' ratio P will be near apart from all users, and we then specify to gather user have p ' to arrange p ' on U ';
Non-space weight is arranged: given the three unities p and the hobby set W of all users, the weight of the non-spatial attributes of p Be expressed as: ◇ (p):
Given two place p and p ', if ◇ (p ') is big unlike ◇ (p), then it is assumed that p ' non-space weight domination p;
Space weight domination: given two place p, the hobby set W of p ' and all users, p is to the power of all users It is heavily:
ad s u m ( p ) = Σ i = 0 n - 1 ( w i 0 * | | p , u i | | ) ,
If adsum(p') unlike adsumP () is big, it is believed that p ' space weight domination p;
Weight is arranged: a given user collects U, and all of consumer taste collection W and two place p ' and p, if p ' does not props up Join p, p ' non-space weight domination p, and p ' space weight domination p, then it is assumed that collect weight domination p on U user;
The added value of one node: vsum(p)=adsum(p)+◇(p);
The added value of one scope:
Given Q={U, after W, P, k}, desired result is that final k result is stored in result set R, and meets not by P The domination of other places or weight domination;
S3. initialization is inquired about: define query results R and identifying object collection VO, and by query results R and identifying object Collection VO is initialized as sky;Calculate intermediate node and the leaf node v at place, each place at MR-tree each packet placesum
S4. data query: define a heap H and come with vsumAscending order scan the node of MR-tree: as in figure 2 it is shown, first The root node of MR-tree is put in heap H and identifying object collection VO, scan each time, all the heap top element of heap H is ejected, right Heap top element carries out checking according to checking that result, to identifying object collection VO, query results R and heap H process, until heap H is Sky, completes a basic query, check in R | | the R | | the size with user defined parameters k of counting:
(1) if | | R | | is more than k, by place according to vsumNumerical values recited sorts, and takes front k and is worth to final result collection R′;
(2) if | | R | | is equal to k, directly using R as final result collection R ';
(3) if | | R | | is less than k, next round inquiry is carried out, until | | R | | is not less than k;
S5. data verification: according to final result collection R ' with during VO, the effectiveness of checking final result collection R ', integrity and Correctness.
The numerical value of each leaf node storage described in step S1 is:
H=hash (p1|p2|...|pi...|pt),
P in formulai, i=1,2,3.....t represent the i-th site objects in the packet of leaf node correspondence, and ' | ' represents over the ground Point object carries out cascade operation, and t represents the number of site objects in this leaf node.
Described MR-tree has multiple intermediate node, and each intermediate node includes one or more leaf node.
If the three unities p domination or weight arrange another place p or area S, must have: vsum(p) < vsum(p') or vsum(p) < vsum(S), any one v based on placesumTravel through MR-tree by ascending order, add the ground of candidate result collection R to Point will be put in final result collection R ' certainly.
As in figure 2 it is shown, heap top element is checked by step S4 and carries out respective handling and be divided into following four situation:
(1) if heap top element is arranged by the element in existing R or weight is arranged, heap top element is put in VO;
(2) if heap top element is not arranged by the element in existing R or weight is arranged, and heap top element is MR- The intermediate node of tree, joins its child node in heap H;
(3) if heap top element is not arranged by the element in existing R or weight is arranged, and heap top element is leaf segment Point, all places it comprised join in heap H;
(4) if heap top element is not arranged by the element in existing R or weight is arranged;Heap top element is place pair As, it is just directly placed in R.
Described step S5 includes following sub-step:
S51. check preparation: each take turns inquiry time result set R and corresponding VO carried out being grouped and be ordered as checking make Good prepare, during poll-final, final identifying object collection VO contains three kinds of data: site objects;The number of minimum external square It is worth the intermediate node that square external with minimum is corresponding;Query Information U and W of all users;
S52. validity check: check the numerical value calculating root node according to final identifying object collection VO, then with former number Value compares, it is judged that calculated numerical value is the most identical with former numerical value:
(1) if identical, then R ' possesses effectiveness;
(2) if it is not the same, then R ' do not possess effectiveness;
S53. Correctness checking: each packet G in the place number of inspection final result collection R ' and R 'i, judge R ' Correctness;
S54. integrity checking: check each packet G in R 'iWith VO corresponding in VOi, judge the integrity of R ', as The really G in R 'iAll complete, then R ' has integrity.
Described step S53 includes following sub-step:
S531. check whether final result collection R ' meets condition one: final result collection R ' place number defines equal to user Parameter k:
(1) if meeting condition one, then step S532 is jumped to;
(2) if being unsatisfactory for condition one, then final result collection R ' does not possess correctness;
S532. each packet G in R ' is checkedi, it is judged that GiWhether meet condition two: GiIn place the most mutually arrange, also Not mutually weight domination:
(1) if meeting condition two, then GiPossess correctness, jump to step S533;
(2) if being unsatisfactory for condition two, then final result collection R ' does not possess correctness:
S533. each site objects in final result collection R ' is checked, it may be judged whether meet condition three: high-grade packet Site objects can be arranged or the site objects of weight domination inferior grade packet:
(1) if meeting condition three, final result collection R ' possesses correctness;
(2) if being unsatisfactory for condition three, final result collection R ' does not possess correctness.
Described step S54 includes following sub-step:
S541. VO is judgediIn site objects, if be satisfied by condition four: by corresponding GiIn site objects domination or power Heavily arrange;
(1) if meeting condition four, then corresponding GiPossesses integrity;
(2) if being unsatisfactory for condition four, step S542 is jumped to;
S542. VO is judgediIn site objects, if meet condition five: for being unsatisfactory for the site objects of condition four, its Added value is higher than GiIn the added value of all site objects:
(1) if meeting condition five, then corresponding GiPossesses integrity;
(2) if being unsatisfactory for condition five, then corresponding GiDo not possesses integrity.
Spatial data query based on multi-user and checking, make query script then prove that each result is to generate result Effectively, correct and complete, meet needs under big data environment and process the data owner's of high amount spatial data Demand, and propose Spatial data query based on Merkle Hash tree and verification method innovatively, improve inquiry speed Spend and decrease the size returning result set;And under different parameters is arranged highly effective rate and robustness.
Embodiment one, as it is shown on figure 3, data owner (Data Owner is called for short DO) by spatial data according to step S1 Carry out being grouped, using each packet as leaf node, carry out the process of Merkle Hash tree foundation, and be that each packet generates one Numerical value, and the data after processing are supplied to third-party ISP (Service Provider, be called for short SP);When multiplex U, the place of user's group, when ISP initiates data inquiry request, are organized according to the user of request data inquiry in family (User) Set P;User defines hobby set W, site objects quantity k that user needs, and forms quaternary array (quaternary formula) Q={U, W, P, k}, ISP carries out data initialization, data query and data verification, by finally give further according to step S3~S5 Result feeds back to each user, thus multi-user has obtained a good Query Result according to respective place and hobby.

Claims (8)

1. the Spatial data query verification method that a multi-user determines, it is characterised in that: comprise the following steps:
S1. spatial data handling: be grouped the site objects of spatial data according to space attribute, each packet is as one Minimum external square, forms MR-tree using the external square of each minimum as a leaf node, generates corresponding rope for each leaf node Draw and store corresponding numerical value;
S2. inquiry data give: given quaternary array Q={U, and W, P, k}, U represent user's group of inquiry, and P represents user's group Place is gathered;W represents user and defines hobby set, and k is the site objects quantity that user needs;
S3. initialization is inquired about: define query results R and identifying object collection VO, and by query results R and identifying object collection VO It is initialized as sky;Calculate intermediate node and the leaf node v at place, each place at MR-tree each packet placesum
S4. data query: define a heap H and come with vsumAscending order scan the node of MR-tree: first the root of MR-tree is saved Point is put in heap H and identifying object collection VO, scans each time, is all ejected by the heap top element of heap H, checks heap top element According to checking that result, to identifying object collection VO, query results R and heap H process, until heap H is empty, completes the most basic Inquiry, check in R | | the R | | the size with user defined parameters k of counting:
(1) if | | R | | is more than k, by place according to vsumNumerical values recited sorts, and takes front k and is worth to final result collection R ';
(2) if | | R | | is equal to k, directly using R as final result collection R ';
(3) if | | R | | is less than k, next round inquiry is carried out, until | | R | | is not less than k;
S5. data verification: during according to final result collection R ' and VO, the effectiveness of checking final result collection R ', integrity is with correct Property.
The Spatial data query verification method that a kind of multi-user the most according to claim 1 determines, it is characterised in that: step The numerical value of each leaf node storage described in S1 is:
H=hash (p1|p2|...|pi...|pt),
P in formulai, i=1,2,3.....t represent that the i-th site objects in the packet of leaf node correspondence, ' | ' expression are carried out over the ground Cascade operation, t represents the number of site objects in this leaf node.
The Spatial data query verification method that a kind of multi-user the most according to claim 1 determines, it is characterised in that: described MR-tree there is multiple intermediate node, each intermediate node includes one or more leaf node.
The Spatial data query verification method that a kind of multi-user the most according to claim 1 determines, it is characterised in that: any One v based on placesumTraveling through MR-tree by ascending order, the place adding candidate result collection R to is final by certainly putting into In result set R '.
The Spatial data query verification method that a kind of multi-user the most according to claim 1 determines, it is characterised in that: step Heap top element is checked by S4 and carries out respective handling and be divided into following four situation:
(1) if heap top element is arranged by the element in existing R or weight is arranged, heap top element is put in VO;
(2) if heap top element is not arranged by the element in existing R or weight is arranged, and heap top element is MR-tree Intermediate node, joins its child node in heap H;
(3) if heap top element is not arranged by the element in existing R or weight is arranged, and heap top element is leaf node, will All places that it comprises join in heap H;
(4) if heap top element is not arranged by the element in existing R or weight is arranged;Heap top element is site objects, will It is just directly placed in R.
The Spatial data query verification method that a kind of multi-user the most according to claim 1 determines, it is characterised in that: described Step S5 include following sub-step:
S51. check preparation: each take turns inquiry time result set R and corresponding VO being carried out is grouped and is ordered as checking and performs standard Standby, during poll-final, final identifying object collection VO contains three kinds of data: site objects;The numerical value of minimum external square and The intermediate node that minimum external square is corresponding;Query Information U and W of all users;
S52. validity check: check the numerical value calculating root node according to final identifying object collection VO, then enter with former numerical value Row compares, it is judged that calculated numerical value is the most identical with former numerical value:
(1) if identical, then R ' possesses effectiveness;
(2) if it is not the same, then R ' do not possess effectiveness;
S53. Correctness checking: each packet G in the place number of inspection final result collection R ' and R 'i, judge that R's ' is correct Property;
S54. integrity checking: check each packet G in R 'iWith VO corresponding in VOi, judge the integrity of R ', if R ' In GiAll complete, then R ' has integrity.
The Spatial data query verification method that a kind of multi-user the most according to claim 6 determines, it is characterised in that: described Step S53 include following sub-step:
S531. check whether final result collection R ' meets condition one: final result collection R ' place number is equal to user's defined parameters k:
(1) if meeting condition one, then step S532 is jumped to;
(2) if being unsatisfactory for condition one, then final result collection R ' does not possess correctness;
S532. each packet G in R ' is checkedi, it is judged that GiWhether meet condition two: GiIn place the most mutually arrange, the most not phase Weight domination mutually:
(1) if meeting condition two, then GiPossess correctness, jump to step S533;
(2) if being unsatisfactory for condition two, then final result collection R ' does not possess correctness:
S533. each site objects in final result collection R ' is checked, it may be judged whether meet condition three: the place of high-grade packet Object can be arranged or the site objects of weight domination inferior grade packet:
(1) if meeting condition three, final result collection R ' possesses correctness;
(2) if being unsatisfactory for condition three, final result collection R ' does not possess correctness.
The Spatial data query verification method that a kind of multi-user the most according to claim 6 determines, it is characterised in that: described Step S54 include following sub-step:
S541. VO is judgediIn site objects, if be satisfied by condition four: by corresponding GiIn site objects domination or weight prop up Join;
(1) if meeting condition four, then corresponding GiPossesses integrity;
(2) if being unsatisfactory for condition four, step S542 is jumped to;
S542. VO is judgediIn site objects, if meet condition five: for being unsatisfactory for the site objects of condition four, its add Value is higher than GiIn the added value of all site objects:
(1) if meeting condition five, then corresponding GiPossesses integrity;
(2) if being unsatisfactory for condition five, then corresponding GiDo not possesses integrity.
CN201610195409.2A 2016-03-30 2016-03-30 A kind of Spatial data query verification method that multi-user determines Expired - Fee Related CN105912574B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610195409.2A CN105912574B (en) 2016-03-30 2016-03-30 A kind of Spatial data query verification method that multi-user determines

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610195409.2A CN105912574B (en) 2016-03-30 2016-03-30 A kind of Spatial data query verification method that multi-user determines

Publications (2)

Publication Number Publication Date
CN105912574A true CN105912574A (en) 2016-08-31
CN105912574B CN105912574B (en) 2019-08-06

Family

ID=56745237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610195409.2A Expired - Fee Related CN105912574B (en) 2016-03-30 2016-03-30 A kind of Spatial data query verification method that multi-user determines

Country Status (1)

Country Link
CN (1) CN105912574B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107193980A (en) * 2017-05-26 2017-09-22 电子科技大学 Multi-User Dimension inquiry is lower to be realized and uses MRS data tree structures

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5987454A (en) * 1997-06-09 1999-11-16 Hobbs; Allen Method and apparatus for selectively augmenting retrieved text, numbers, maps, charts, still pictures and/or graphics, moving pictures and/or graphics and audio information from a network resource
CN103034678A (en) * 2012-11-01 2013-04-10 沈阳建筑大学 RkNN (reverse k nearest neighbor) inquiring method based on Voronoi diagram
CN104536984A (en) * 2014-12-08 2015-04-22 北京邮电大学 Verification method and system for space text Top-k query in outsourced database

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5987454A (en) * 1997-06-09 1999-11-16 Hobbs; Allen Method and apparatus for selectively augmenting retrieved text, numbers, maps, charts, still pictures and/or graphics, moving pictures and/or graphics and audio information from a network resource
CN103034678A (en) * 2012-11-01 2013-04-10 沈阳建筑大学 RkNN (reverse k nearest neighbor) inquiring method based on Voronoi diagram
CN104536984A (en) * 2014-12-08 2015-04-22 北京邮电大学 Verification method and system for space text Top-k query in outsourced database

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
QIAN CHEN, HAIBO HU, JIANLIANG XU: "Authenticating Top-k Queries in Location-based Services with Confidentiality", 《PROCEEDINGS OF THE VLDB ENDOWMENT》 *
SEN SU,HAN YAN,XIANG CHENG,PENG TANG,PENG XU,JIANLIANG XU: "Authentication of Top-k Spatial Keyword Queries in Outsourced Databases", 《DATABASE SYSTEMS FOR ADVANCED APPLICATIONS》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107193980A (en) * 2017-05-26 2017-09-22 电子科技大学 Multi-User Dimension inquiry is lower to be realized and uses MRS data tree structures

Also Published As

Publication number Publication date
CN105912574B (en) 2019-08-06

Similar Documents

Publication Publication Date Title
CN101888341B (en) Calculable creditworthiness-based access control method under distributed environment of multiple trusting domains
CN107330589B (en) Quantitative evaluation method and system for satellite network coordination risk
Zhang et al. Secure top-k query processing via untrusted location-based service providers
CN103116639A (en) Item recommendation method and system based on user-item bipartite model
Zhang et al. Cocarank: A collaboration caliber-based method for finding academic rising stars
CN109951846A (en) Wireless network recognition methods, device, storage medium and computer equipment
CN104462443B (en) Data processing method and device
CN102857525A (en) Community Discovery Method Based on Random Walk Strategy
Shlomo et al. Measuring disclosure risk and data utility for flexible table generators
CN110135180A (en) Meet the degree distribution histogram dissemination method of node difference privacy
Ross et al. Interactive value model trading for resilient systems decisions
Ma et al. An efficient approach to finding dense temporal subgraphs
CN105912574A (en) Multi-user decided spatial data query and verification method
CN104778260B (en) A kind of dynamic radar environmental knowledge storehouse modeling method
CN110487293A (en) A kind of efficient and privacy paths planning method based on extensive road network
CN107194280A (en) Method for establishing model and device
CN104504134A (en) Promotion information attribute data acquiring method and device
CN110297948B (en) Relational network construction method and device
CN107193980A (en) Multi-User Dimension inquiry is lower to be realized and uses MRS data tree structures
Yang et al. On characterizing and computing the diversity of hyperlinks for anti-spamming page ranking
CN115174580B (en) Data processing method and system based on big data
CN104699679B (en) The method and system of user property in a kind of determining social network-i i-platform
Heyman Return policies for an inventory system with positive and negative demands
CN115659165A (en) Method, device, equipment and storage medium for constructing park load data sample
CN109919811A (en) Insurance agent's culture scheme generation method and relevant device based on big data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190806

CF01 Termination of patent right due to non-payment of annual fee