CN104168537B - Positional information sharing method and device in LBS - Google Patents
Positional information sharing method and device in LBS Download PDFInfo
- Publication number
- CN104168537B CN104168537B CN201310185191.9A CN201310185191A CN104168537B CN 104168537 B CN104168537 B CN 104168537B CN 201310185191 A CN201310185191 A CN 201310185191A CN 104168537 B CN104168537 B CN 104168537B
- Authority
- CN
- China
- Prior art keywords
- scrambling
- positional information
- participator
- range value
- time
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000005540 biological transmission Effects 0.000 claims abstract description 11
- 230000004044 response Effects 0.000 claims description 8
- 238000005516 engineering process Methods 0.000 description 7
- 230000006855 networking Effects 0.000 description 3
- 238000013459 approach Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000873 masking effect Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses the positional information sharing method in a kind of LBS and device.This method includes:Participator's positional information that participator's terminal is sent is received, the record reception time is the very first time;The request for receiving requester terminal transmission obtains the request message of participator's positional information, and the time that record receives request message was the second time;Calculate the time difference of the second time and the very first time;According to the size of time difference, the first scrambling range value is obtained, time difference is smaller, and the first scrambling range value is bigger, and time difference is bigger, and the first scrambling range value is smaller;Scrambling Operation is carried out to participator's positional information using the first scrambling range value;Participator's positional information after Scrambling Operation is sent to requester terminal; pass through technical scheme provided by the invention; realization neatly dynamically scrambles to institute's sharing positional information, reduces privacy leakage caused by sharing positional information, there is provided the positional information shared to user provides secret protection.
Description
Technical field
The present invention relates to the communications field, positional information sharing method and device in more particularly to a kind of LBS.
Background technology
Application based on location-based service (Location Based Service, LBS) obtains more and more extensive use.Example
Such as, in the social networking service based on LBS(Social Networking Services, SNS)In business, user utilizes the clothes
The positional information of oneself is shared in business, while also obtains the positional information of other users.
With the continuous development of mobile communication technology and location technology.LBS can provide high accuracy, high-timeliness for application
Positional information.However, because the positional information that LBS is provided is related to the location of user, the privacy band of user may be given
To threaten.Especially in the above-mentioned social networking application based on LBS, or even occur utilizing obtained positional information to endanger under user's line
The problem of personal safety.
For this problem, a kind of method is when user shares own location information, and directly the positional information is carried out
Scrambling, for example, the positional information after upload is scrambled makes other users can not obtain the accurate position of the user to be shared
Put, so as to protect the personal secrets of user.
However, for the mutual different relations of different application scenarios, business model and user, applied based on LBS
User be intended to be based on that more accurate, more timely positional information interacts, if directly using above-mentioned unified scrambling
Mode, the unified positional precision for sharing user for reducing LBS and providing, can influence business realizing and Consumer's Experience.
The content of the invention
One side according to embodiments of the present invention, a technical problem to be solved are:A kind of position in LBS is provided
Information sharing method and device are put, secret protection is provided with the positional information shared to user.
Positional information sharing method in a kind of LBS provided in an embodiment of the present invention, methods described include:
The participator's positional information sent in response to receiving participator's terminal, record receive participator's positional information
Time be the very first time;
Request message in response to receiving requester terminal transmission, record receive time of the request message as the
Two times, the request message requests obtain participator's positional information;
Calculate the time difference of second time and the very first time;
According to the size of the time difference, the first scrambling range value is obtained, wherein, time difference is smaller, the first scrambling
Range value is bigger, and time difference is bigger, and the first scrambling range value is smaller;
Scrambling Operation is carried out to participator's positional information using the described first scrambling range value;
Participator's positional information after Scrambling Operation is sent to the requester terminal.
Preferably, requester position information is also included in the request message, methods described also includes:
According to participator's positional information and the requester position information, participator's terminal and requester terminal are calculated
The distance between difference;
According to the size of the distance difference, the second scrambling range value is obtained, wherein, distance difference is smaller, the second scrambling
Range value is bigger, and distance difference is bigger, and the second scrambling range value is smaller;
It is described that Scrambling Operation is carried out to participator's positional information using the described first scrambling range value, specifically include:
Scrambling behaviour is carried out to participator's positional information using the described first scrambling range value and the second scrambling range value
Make.
Preferably, it is described to obtain the first scrambling range value, specifically include:Calculate g(t)Range value is scrambled as first, its
In, g(t)For time difference t function, g(t)Absolute value reduce with t increase, increase with t reduction.
Preferably, it is described that Scrambling Operation, tool are carried out to participator's positional information using the described first scrambling range value
Body calculates participator's positional information according to below equation:
z=g(t)× i, i are+1 or -1 randomly selected, and g(t)Selection should meet to make z absolute value to be less than 1;
x’=x×(1+z),y’=y×(1+z), wherein, participator's positional information before Scrambling Operation is(X, y), scrambling
Participator's positional information after operation is(X ', y ').
Preferably, it is described to obtain the second scrambling range value, specifically include:Calculate f(d)Range value is scrambled as second, its
In, f(d)For range difference d function, f(d)Absolute value reduce with d increase, increase with d reduction.
Preferably, it is described to scramble range value to participator's positional information using the described first scrambling range value and second
Scrambling Operation is carried out, is specifically included:
z=g(t)×f(d)What × i, i were randomly selected is+1 or -1, and g(t)、f(d)Selection should meet to make z's
Absolute value is less than 1;
x’=x×(1+z),y’=y×(1+z), wherein, participator's positional information before Scrambling Operation is(X, y), scrambling
Participator's positional information after operation is(X ', y ').
The embodiments of the invention provide the positional information sharing apparatus in a kind of LBS, described device includes:
Receiving unit, described share is received for receiving participator's positional information of participator's terminal transmission, and recording
The time of person's positional information is the very first time;The request message of requester terminal transmission is received, and records and receives described ask
The time for seeking message was the second time, and the request message requests obtain participator's positional information;
Magnitude computation unit is scrambled, for calculating the time difference of second time and the very first time;According to institute
The size of time difference is stated, obtains the first scrambling range value, wherein, time difference is smaller, and the first scrambling range value is bigger, the time
Difference is bigger, and the first scrambling range value is smaller;
Scrambling unit, for carrying out Scrambling Operation to participator's positional information using the described first scrambling range value;
Transmitting element, for participator's positional information after Scrambling Operation to be sent into the requester terminal.
Preferably, requester position information is also included in the request message;
The scrambling magnitude computation unit, it is additionally operable to be believed according to participator's positional information and the requester position
Breath, calculate the distance between participator's terminal and requester terminal difference;According to the size of the distance difference, obtain second and add
Range value is disturbed, wherein, distance difference is smaller, and the second scrambling range value is bigger, and distance difference is bigger, and the second scrambling range value is got over
It is small;
The scrambling unit, specifically for being shared using the described first scrambling range value with the second scrambling range value to described
Person's positional information carries out Scrambling Operation.
Preferably, the scrambling magnitude computation unit, specifically for calculating g(t)As the first scrambling range value, wherein, g
(t)For time difference t function, g(t)Absolute value reduce with t increase, increase with t reduction.
Preferably, the scrambling magnitude computation unit, specifically for calculating participator's positional information according to below equation:
z=g(t)× i, i are+1 or -1 randomly selected, and g(t)Selection should meet to make z absolute value to be less than 1;
x’=x×(1+z),y’=y×(1+z), wherein, participator's positional information before Scrambling Operation is(X, y), scrambling
Participator's positional information after operation is(X ', y ').
Preferably, the scrambling magnitude computation unit, it is additionally operable to calculate f(d)As the second scrambling range value, wherein, f
(d)For range difference d function, f(d)Absolute value reduce with d increase, increase with d reduction.
Preferably, the scrambling magnitude computation unit, specifically for calculating participator's positional information according to below equation:
z=g(t)×f(d)× i, i are+1 or -1 randomly selected, and g(t)、f(d)Selection should meet to make z's
Absolute value is less than 1;
x’=x×(1+z),y’=y×(1+z), wherein, participator's positional information before Scrambling Operation is(X, y), scrambling
Participator's positional information after operation is(X ', y ')
Positional information sharing method and device in the LBS that the above embodiment of the present invention provides, share position according to participator
The time interval of confidence breath with the requester requests positional information, i.e. time difference, the first scrambling range value is calculated, wherein, when
Between difference it is smaller, first scrambling range value it is bigger, time difference is bigger, first scrambling range value it is smaller, it is possible to achieve to dividing
Enjoy positional information neatly dynamically to scramble, that is, the reduction to institute's Consumer's Experience for avoiding unified scrambling scheme from bringing, while
Reduce privacy leakage caused by sharing positional information, there is provided the positional information shared to user provides secret protection, enters
One step avoids the security risk that user may bring by sharing positional information.
By referring to the drawings to the present invention exemplary embodiment detailed description, further feature of the invention and its
Advantage will be made apparent from.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also
To obtain other accompanying drawings according to these accompanying drawings.
Simultaneously, it should be appreciated that for the ease of description, the size of the various pieces shown in accompanying drawing is not according to reality
Proportionate relationship draw.Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi
It is defined, then it need not be further discussed in subsequent accompanying drawing in individual accompanying drawing.
The accompanying drawing of a part for constitution instruction describes embodiments of the invention, and is used to solve together with the description
Release the principle of the present invention.
Referring to the drawings, according to following detailed description, the present invention can be more clearly understood, wherein:
Fig. 1 shows a kind of schematic flow sheet of embodiment of positional information sharing method in LBS provided by the present invention;
Fig. 2 shows a kind of schematic flow sheet of embodiment of positional information sharing method in LBS provided by the present invention;
Fig. 3 shows a kind of structural representation of embodiment of positional information sharing apparatus in LBS provided by the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It should note
Anticipate and arrive:Unless specifically stated otherwise, the part and the positioned opposite of step otherwise illustrated in these embodiments does not limit this hair
Bright scope.
The description only actually at least one exemplary embodiment is illustrative to be never used as to the present invention below
And its application or any restrictions that use.Based on the embodiment in the present invention, those of ordinary skill in the art are not making wound
The every other embodiment obtained under the premise of the property made work, belongs to the scope of protection of the invention.
It may be not discussed in detail for technology, method and apparatus known to person of ordinary skill in the relevant, but suitable
In the case of, the technology, method and apparatus should be considered as authorizing part for specification.
In shown here and discussion all examples, any occurrence should be construed as merely exemplary, without
It is as limitation.Therefore, the other examples of exemplary embodiment can have different values.
Shown in Figure 1, Fig. 1 shows a kind of embodiment of positional information sharing method in LBS provided by the present invention
Schematic flow sheet.Positional information sharing method in the LBS that the embodiment provides, including:
101, the participator's positional information sent in response to receiving participator's terminal, record receives participator's positional information
Time be the very first time;
102, the request message in response to receiving requester terminal transmission, record receives time of request message as the
Two times, the request message requests obtain participator's positional information;
103, calculate the time difference of the second time and the very first time;
104, according to the size of time difference, the first scrambling range value is obtained, wherein, time difference is smaller, the first scrambling
Range value is bigger, and time difference is bigger, and the first scrambling range value is smaller;
105, Scrambling Operation is carried out to participator's positional information using the first scrambling range value;
106, participator's positional information after Scrambling Operation is sent to requester terminal.
In positional information sharing method in the LBS that the above embodiment of the present invention provides, in 104 operation, the time difference
It is worth smaller, then the positional information and the actual position information for sharing user are just closer, and the danger for sharing the positional information can
Can be bigger, therefore, the first bigger scrambling range value of selection scrambling range value, scrambling behaviour is carried out to participator's positional information
Make, so as to provide the secret protection that the positional information shared to user provides more high security.
On the contrary, time difference is bigger, then the positional information may be more remote with sharing the actual position information of user, example
Such as, the positional information of oneself that user provides in the previous day of request is shared, and requestor obtained the position in request in second day
Information.Now, the information leakage share privacy of user importance it is decreased, therefore, share the danger of the positional information
It may reduce, the first scrambling range value can reduce, so as to provide more accurately participator's positional information.
As can be seen here, the above-mentioned scheme for entering Mobile state scrambling with the time difference of request behavior according to sharing between user, that is, subtract
Privacy leakage caused by sharing positional information is lacked, there is provided the positional information shared to user provides secret protection, simultaneously
Also the requirement of the precision and promptness of shared positional information can be met, avoid in background technology and carried out using unified approach
Overall customer experience caused by scrambling declines.
Shown in Figure 2, Fig. 2 shows a kind of embodiment of positional information sharing method in LBS provided by the present invention
Schematic flow sheet.According to the inventive method embodiment specific example, requester position information is also included in request message,
Wherein 101-104,106 and Fig. 1 embodiment are similar.This method includes:
101, the participator's positional information sent in response to receiving participator's terminal, record receives participator's positional information
Time be the very first time;
102, the request message in response to receiving requester terminal transmission, record receives time of request message as the
Two times, request message are to be used to ask to obtain participator's positional information;
103, calculate the time difference of the second time and the very first time;
104, according to the size of time difference, the first scrambling range value is obtained, wherein, time difference is smaller, the first scrambling
Range value is bigger, and time difference is bigger, and the first scrambling range value is smaller;
201, according to participator's positional information and requester position information, calculate between participator's terminal and requester terminal
Distance difference;
202, according to the size of distance difference, the second scrambling range value is obtained, wherein, distance difference is smaller, the second scrambling
Range value is bigger, and distance difference is bigger, and the second scrambling range value is smaller;
203, Scrambling Operation is carried out to participator's positional information using the first scrambling range value and the second scrambling range value;
106, participator's positional information after Scrambling Operation is sent to requester terminal.
In the above-described embodiments, 103-104 operation can perform simultaneously with 201-202 operation, 103-104's
Operation can also perform before or after 201-202.
In the positional information sharing method that above-described embodiment provides, on the basis of time factor, further consider further that point
The person of enjoying and the positional distance of requestor, if nearer apart, i.e., distance difference is smaller, then this shares user with asking reality of user
Position may be closer, and the danger for sharing the positional information may be bigger, and therefore, selection scrambles bigger second of range value
Range value is scrambled, Scrambling Operation is carried out to participator's positional information;Conversely, the danger for sharing the positional information may be more
Small, then the second smaller scrambling range value of selection scrambling range value, Scrambling Operation is carried out to participator's positional information.
If for example, participator and requestor away from discrete time all very close to, then requestor probably need not point
The agreement for the person of enjoying, it becomes possible to push away according to the information is counter in the actual life under online and find participator, so as to participator with
Carry out risk.By carrying out scrambling processing from two dimensions of time factor and positional factor, can more combine practical application needs,
There is provided to the secret protection for the positional information for sharing user.
It can be realized in different ways for obtaining first, second scrambling range value, for example, according to pre-setting
T, d and first, second scrambling range value corresponding relation inquired about, obtain t, d corresponding to first, second scrambling amplitude
Value, first, second scrambling range value can also be obtained according to the function that following examples exemplarily provide to calculate.
According to the inventive method embodiment specific example, the first scrambling range value is obtained, is specifically included:Calculate g
(t)As the first scrambling range value, wherein, g(t)For time difference t function, i.e. the time difference t of the second time and the very first time
Function.g(t)Absolute value reduce with t increase, increase with t reduction.
Scrambling Operation is carried out to participator's positional information using the first scrambling range value, calculates and divides with specific reference to below equation
The person's of enjoying positional information:
z=g(t)× i, i are+1 or -1 randomly selected, and g(t)Selection should meet to make z absolute value to be less than 1;
x’=x×(1+z),y’=y×(1+z), wherein, participator's positional information before Scrambling Operation is(X, y), scrambling
Participator's positional information after operation is(X ', y ').
According to the inventive method embodiment specific example, the second scrambling range value is obtained, is specifically included:Calculate f
(d)As the second scrambling range value, wherein, f(d)For range difference d function, f(d)Absolute value reduce with d increase,
Increase with d reduction.
Scrambling Operation, specific bag are carried out to participator's positional information using the first scrambling range value and the second scrambling range value
Include:
z=g(t)×f(d)What × i, i were randomly selected is+1 or -1, and g(t)、f(d)Selection should meet to make z's
Absolute value is less than 1;
x’=x×(1+z)
y’=y×(1+z)
Wherein, participator's positional information before Scrambling Operation is(X, y), participator's positional information after Scrambling Operation
For(X ', y ').
The function of g (t), f (d) in above-described embodiment are realized, can be set according to LBS business scenarios, that is, are met
Constraints is stated, meanwhile, g (t), f (d) can be combined with Consumer's Experience, according to lowest positioned precision and promptness demand
To be set.
Exemplarily, a kind of simple realization is linear inverse proportion function:
f(d)=k1/ d, g (t)=k2/t
Wherein, k1、k2It for non-zero constant, can be set according to lowest positioned required precision, and meet to make z absolute value small
In 1, i.e.,:-1<z=f(d)×g(t)×i<1.
Shown in Figure 3, Fig. 3 shows a kind of embodiment of positional information sharing apparatus in LBS provided by the present invention
Structural representation.Positional information sharing apparatus in the LBS that the embodiment provides, including:
Receiving unit 301, for receiving participator's positional information of participator's terminal transmission, and record and receive participator
The time of positional information is the very first time;The request message of requester terminal transmission is received, and records and receives request message
Time be the second time, the request message requests obtain participator's positional information;
Magnitude computation unit 302 is scrambled, for calculating the time difference of the second time and the very first time;According to time difference
Size, obtain first scrambling range value, wherein, time difference is smaller, first scrambling range value it is bigger, time difference is bigger,
First scrambling range value is smaller;
Scrambling unit 303, for carrying out Scrambling Operation to participator's positional information using the first scrambling range value;
Transmitting element 304, for participator's positional information after Scrambling Operation to be sent into requester terminal.
According to apparatus of the present invention embodiment specific example, requester position information is also included in request message, is added
Magnitude computation unit 302 is disturbed, is additionally operable to according to participator's positional information and requester position information, calculates participator's terminal with asking
The distance between the person's of asking terminal difference;According to the size of distance difference, the second scrambling range value is obtained, wherein, distance difference is got over
Small, the second scrambling range value is bigger, and distance difference is bigger, and the second scrambling range value is smaller.
Accordingly, scrambling unit 303, specifically for scrambling range value to participator using the first scrambling range value and second
Positional information carries out Scrambling Operation.
According to apparatus of the present invention embodiment specific example, magnitude computation unit is scrambled, specifically for calculating g(t)
As the first scrambling range value, wherein, g(t)For time difference t function, g(t)Absolute value reduce with t increase, with
T reduction and increase.
Magnitude computation unit is scrambled, specifically for calculating participator's positional information according to below equation:
z=g(t)× i, i are+1 or -1 randomly selected, and g(t)Selection should meet to make z absolute value to be less than 1;
x’=x×(1+z),y’=y×(1+z), wherein, participator's positional information before Scrambling Operation is(X, y), scrambling
Participator's positional information after operation is(X ', y ').
According to apparatus of the present invention embodiment specific example, magnitude computation unit is scrambled, is additionally operable to calculate f(d)Make
Range value is scrambled for second, wherein, f(d)For range difference d function, f(d)Absolute value reduce with d increase, with d
Reduction and increase.
Exemplarily, magnitude computation unit is scrambled, specifically for calculating participator's positional information according to below equation:
z=g(t)×f(d)× i, i are+1 or -1 randomly selected, and g(t)、f(d)Selection should meet to make z's
Absolute value is less than 1;
x’=x×(1+z),y’=y×(1+z), wherein, participator's positional information before Scrambling Operation is(X, y), scrambling
Participator's positional information after operation is(X ', y ').
So far, positional information sharing method and device in a kind of LBS according to the present invention is described in detail.In order to
The design of the masking present invention is avoided, does not describe some details known in the field.Those skilled in the art are according to above
Description, completely it can be appreciated how implementing technical scheme disclosed herein.
Each embodiment is described by the way of progressive in this specification, what each embodiment stressed be and its
The difference of its embodiment, same or analogous part cross-reference between each embodiment.For the position in LBS
For Information Sharing device embodiment, because it is substantially corresponding with embodiment of the method, so description is fairly simple, related part
Illustrate referring to the part of embodiment of the method.
The positional information sharing method and device that may be achieved in many ways in the LBS of the present invention.For example, it can pass through
Software, hardware, firmware or software, hardware, firmware any combinations come realize the present invention method and apparatus.For the side
The said sequence of the step of method is not limited to described in detail above suitable merely to illustrate, the step of method of the invention
Sequence, unless specifically stated otherwise.In addition, in certain embodiments, the present invention can be also embodied as being recorded in record Jie
Program in matter, these programs include being used for the machine readable instructions for realizing the method according to the invention.Thus, the present invention is also covered
Lid storage is used for the recording medium for performing the program of the method according to the invention.
Although some specific embodiments of the present invention are described in detail by example, the skill of this area
Art personnel it should be understood that above example merely to illustrating, the scope being not intended to be limiting of the invention.The skill of this area
Art personnel to above example it should be understood that can modify without departing from the scope and spirit of the present invention.This hair
Bright scope is defined by the following claims.
Claims (12)
1. the positional information sharing method in a kind of LBS, it is characterised in that methods described includes:
In response to receive participator's terminal send participator's positional information, record receive participator's positional information when
Between be the very first time;
Request message in response to receiving requester terminal transmission, when the time that record receives the request message is second
Between, the request message requests obtain participator's positional information;
Calculate the time difference of second time and the very first time;
According to the size of the time difference, the first scrambling range value is obtained, wherein, time difference is smaller, the first scrambling amplitude
Value is bigger, and time difference is bigger, and the first scrambling range value is smaller;
Scrambling Operation is carried out to participator's positional information using the described first scrambling range value;
Participator's positional information after Scrambling Operation is sent to the requester terminal.
2. according to the method for claim 1, it is characterised in that requester position information is also included in the request message,
Methods described also includes:
According to participator's positional information and the requester position information, calculate between participator's terminal and requester terminal
Distance difference;
According to the size of the distance difference, the second scrambling range value is obtained, wherein, distance difference is smaller, the second scrambling amplitude
Value is bigger, and distance difference is bigger, and the second scrambling range value is smaller;
It is described that Scrambling Operation is carried out to participator's positional information using the described first scrambling range value, specifically include:
Scrambling Operation is carried out to participator's positional information using the described first scrambling range value and the second scrambling range value.
3. according to the method for claim 2, it is characterised in that it is described to obtain the first scrambling range value, specifically include:Calculate
G (t) scrambles range value as first, wherein, g (t) is time difference t function, and g (t) absolute value subtracts with t increase
It is small, increase with t reduction.
4. according to the method for claim 3, it is characterised in that described to be shared using the described first scrambling range value to described
Person's positional information carries out Scrambling Operation, and participator's positional information is calculated with specific reference to below equation:
Z=g (t) × i, i are+1 or -1 randomly selected, and g (t) selection should meet to make z absolute value to be less than 1;
X '=x × (1+z), y '=y × (1+z), wherein, participator's positional information before Scrambling Operation is (x, y), scrambling behaviour
Participator's positional information after work is (x ', y ').
5. according to the method for claim 3, it is characterised in that it is described to obtain the second scrambling range value, specifically include:Calculate
F (d) scrambles range value as second, wherein, f (d) is range difference d function, and f (d) absolute value subtracts with d increase
It is small, increase with d reduction.
6. according to the method for claim 5, it is characterised in that described to utilize the described first scrambling range value and the second scrambling
Range value carries out Scrambling Operation to participator's positional information, specifically includes:
What z=g (t) × f (d) × i, i were randomly selected is+1 or -1, and g (t), f (d) selection should meet to make that z's is absolute
Value is less than 1;
X '=x × (1+z), y '=y × (1+z), wherein, participator's positional information before Scrambling Operation is (x, y), scrambling behaviour
Participator's positional information after work is (x ', y ').
7. the positional information sharing apparatus in a kind of LBS, it is characterised in that described device includes:
Receiving unit, for receiving participator's positional information of participator's terminal transmission, and record and receive the participator position
The time of confidence breath is the very first time;The request message of requester terminal transmission is received, and record receives the request and disappeared
The time of breath was the second time, and the request message requests obtain participator's positional information;
Magnitude computation unit is scrambled, for calculating the time difference of second time and the very first time;According to it is described when
Between difference size, obtain first scrambling range value, wherein, time difference is smaller, first scrambling range value it is bigger, time difference
Bigger, the first scrambling range value is smaller;
Scrambling unit, for carrying out Scrambling Operation to participator's positional information using the described first scrambling range value;
Transmitting element, for participator's positional information after Scrambling Operation to be sent into the requester terminal.
8. device according to claim 7, it is characterised in that requester position information is also included in the request message;
The scrambling magnitude computation unit, it is additionally operable to according to participator's positional information and the requester position information, meter
Calculate the distance between participator's terminal and requester terminal difference;According to the size of the distance difference, the second scrambling width is obtained
Angle value, wherein, distance difference is smaller, and the second scrambling range value is bigger, and distance difference is bigger, and the second scrambling range value is smaller;
The scrambling unit, specifically for scrambling range value to the participator position using the described first scrambling range value and second
Confidence breath carries out Scrambling Operation.
9. device according to claim 8, it is characterised in that the scrambling magnitude computation unit, specifically for calculating g
(t) as the first scrambling range value, wherein, g (t) is time difference t function, and g (t) absolute value reduces with t increase,
Increase with t reduction.
10. device according to claim 9, it is characterised in that the scrambling magnitude computation unit, specifically for according to
Lower formula calculates participator's positional information:
Z=g (t) × i, i are+1 or -1 randomly selected, and g (t) selection should meet to make z absolute value to be less than 1;
X '=x × (1+z), y '=y × (1+z), wherein, participator's positional information before Scrambling Operation is (x, y), scrambling behaviour
Participator's positional information after work is (x ', y ').
11. device according to claim 9, it is characterised in that the scrambling magnitude computation unit, be additionally operable to calculate f (d)
As the second scrambling range value, wherein, f (d) is range difference d function, and f (d) absolute value reduces with d increase, with
D reduction and increase.
12. device according to claim 11, it is characterised in that the scrambling magnitude computation unit, specifically for basis
Below equation calculates participator's positional information:
Z=g (t) × f (d) × i, i are+1 or -1 randomly selected, and g (t), f (d) selection should meet to make that z's is absolute
Value is less than 1;
X '=x × (1+z), y '=y × (1+z), wherein, participator's positional information before Scrambling Operation is (x, y), scrambling behaviour
Participator's positional information after work is (x ', y ').
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310185191.9A CN104168537B (en) | 2013-05-20 | 2013-05-20 | Positional information sharing method and device in LBS |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310185191.9A CN104168537B (en) | 2013-05-20 | 2013-05-20 | Positional information sharing method and device in LBS |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104168537A CN104168537A (en) | 2014-11-26 |
CN104168537B true CN104168537B (en) | 2017-11-17 |
Family
ID=51912133
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310185191.9A Active CN104168537B (en) | 2013-05-20 | 2013-05-20 | Positional information sharing method and device in LBS |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104168537B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110267263A (en) * | 2019-05-10 | 2019-09-20 | 郑州信大先进技术研究院 | User privacy protection method based on location information scrambling |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101945333A (en) * | 2010-10-19 | 2011-01-12 | 蒋永 | System and method for positioning smart mobile phones one another |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8571580B2 (en) * | 2006-06-01 | 2013-10-29 | Loopt Llc. | Displaying the location of individuals on an interactive map display on a mobile communication device |
KR101326345B1 (en) * | 2011-10-31 | 2013-11-11 | 에스케이씨앤씨 주식회사 | Method and system for providing information using permission process through near communication |
-
2013
- 2013-05-20 CN CN201310185191.9A patent/CN104168537B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101945333A (en) * | 2010-10-19 | 2011-01-12 | 蒋永 | System and method for positioning smart mobile phones one another |
Also Published As
Publication number | Publication date |
---|---|
CN104168537A (en) | 2014-11-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI684108B (en) | Data statistics method and device | |
CN114154194B (en) | Information sharing method, device and system | |
WO2010062981A3 (en) | Centralized status server for call management of location-aware mobile devices | |
WO2011119859A3 (en) | Proximity-based social networking | |
CN111047443A (en) | User scoring method and device, electronic equipment and computer readable storage medium | |
CN104732171B (en) | The method and system bound to the electronics of the mobile device of loss | |
RU2018146361A (en) | METHOD AND SYSTEM OF AUTHENTICATION OF USERS TO PROVIDE ACCESS TO DATA TRANSFER NETWORKS | |
CN103824183A (en) | Information processing method and electronic devices | |
CN105472547B (en) | A kind of method, terminal and system for protecting user location privacy | |
Maximilien | Mobile mashups: Thoughts, directions, and challenges | |
Ashraf et al. | IDP: A privacy provisioning framework for TIP attributes in trusted third party-based location-based services systems | |
CN107580289A (en) | Method of speech processing and device | |
CN104168537B (en) | Positional information sharing method and device in LBS | |
Ramaswamy et al. | A mobile agent based approach of ensuring trustworthiness in the cloud | |
CN105119875B (en) | A kind of authorization method and device of smart machine | |
Loeb et al. | The fabric of mobile services: software paradigms and business demands | |
TWI689828B (en) | Data statistics method and device | |
KR20230075585A (en) | Real estate management system for stabilizing residential life of residents | |
CN105610687B (en) | A kind of method and system of data processing | |
KR20170097857A (en) | O2O System and method for mobile app | |
Yoon et al. | Strategy to maximize mobile advertising effect in smart environment: Focused on DuCoffe model and TAM | |
CN107026885A (en) | Information-pushing method and device | |
CN109818760A (en) | A kind of operator data processing method and device | |
CN103796153B (en) | A kind of method for sending information and electronic equipment | |
WO2010001181A3 (en) | Method and system for providing location information between users |
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 |