CN104899226B - Region consistency acquisition methods and device - Google Patents
Region consistency acquisition methods and device Download PDFInfo
- Publication number
- CN104899226B CN104899226B CN201410083379.7A CN201410083379A CN104899226B CN 104899226 B CN104899226 B CN 104899226B CN 201410083379 A CN201410083379 A CN 201410083379A CN 104899226 B CN104899226 B CN 104899226B
- Authority
- CN
- China
- Prior art keywords
- consistency
- region
- specified region
- reference information
- center
- 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
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a kind of users to assemble consistency method and device, belongs to field of computer technology.The described method includes: receiving consistency inquiry request, consistency inquiry request includes specified region;Determine the center in specified region;According to the time of reception and center for receiving consistency inquiry request, qualified reference information is filtered out;Using geographical location corresponding to each reference information, sending instant and the time of reception and center as the parameter of consistency assessment models, the consistency in the specified region is obtained;Feedback information is sent according to the consistency in specified region.The present invention passes through geographical location corresponding to the qualified reference information filtered out, sending instant and requests the corresponding time of reception and center, obtains the consistency in specified region;It solves the problems, such as in the prior art when obtaining the flow of the people information of destination by stronger limitation;The higher flow of the people of available accuracy is achieved the effect that.
Description
Technical field
The present invention relates to field of computer technology, in particular to a kind of region consistency acquisition methods and device.
Background technique
With popularizing for Internet application, share and obtain the habit that information has become user, Yong Huke using microblogging
With the microblogging issued by the good friend listened to, relevant information is obtained.
In a kind of common scene, user needs to know the people of some destination when formulating festivals or holidays travel plan
Flow information, to avoid peak crowd area.When user knows the flow of the people information of some destination by microblogging, Yong Huke
To check the microblogging of listened to good friend's publication, according to the flow of the people information of the content aware destination of these microbloggings, this is slightly
The rich commentary that can wrap containing good friend to the flow of the people of the destination, or include the picture etc. that can reflect destination flow of the people.
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems: user is by micro-
When the rich flow of the people information for obtaining destination, need by friend relation chain, if can not be learnt without good friend in the destination
The flow of the people information of the destination, therefore when obtaining the flow of the people information of destination by stronger limitation.
Summary of the invention
In order to solve that the good friend institute of destination must be relied on when obtaining the flow of the people information of destination in the prior art
The microblogging of publication, the problem of by stronger limitation, the embodiment of the invention provides a kind of region consistency acquisition methods and
Device.The technical solution is as follows:
In a first aspect, providing a kind of region consistency acquisition methods, which comprises
Consistency inquiry request is received, the consistency inquiry request includes specified region;
According to the corresponding relationship of the center in the region and region that prestore, the centre bit in the specified region is determined
It sets;
According to the time of reception and the center for receiving the consistency inquiry request, filter out eligible
Reference information;
By geographical location corresponding to each reference information, sending instant and the time of reception and the center
Parameter of the position as consistency assessment models obtains the consistency in the specified region;
Feedback information is sent according to the consistency in the specified region.
Second aspect, provides a kind of region consistency acquisition device, and described device includes:
Receiving module, for receiving consistency inquiry request, the consistency inquiry request includes specified region;
First determining module, for the corresponding relationship according to the center in region and region prestored, determine described in
The center in specified region;
Screening module, for receiving the time of reception and the institute of the consistency inquiry request according to the receiving module
Center is stated, qualified reference information is filtered out;
Computing module, geographical location corresponding to each reference information for filtering out the screening module are sent
The parameter of moment and the time of reception and the center as consistency assessment models obtains the specified region
Consistency;
The consistency of sending module, the specified region for being calculated according to the computing module sends feedback letter
Breath.
Technical solution provided in an embodiment of the present invention has the benefit that
The center in the specified region specified by client and the inquiry request for receiving client transmission connect
Quarter in time receiving filters out qualified reference information, by geographical location corresponding to reference information, sending instant and the reception
The parameter of moment and center as consistency assessment models obtains the consistency in the specified region;Solves the prior art
In the microblogging that the good friend of destination issued must be relied on when obtaining the flow of the people information of destination, by stronger limitation
The problem of property;Server can automatically analyze out the consistency in the specified region of client according to qualified reference information,
Reach in the case where being not limited to user good friend, the effect of the available higher flow of the people of accuracy.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is the signal of implementation environment involved in the region consistency acquisition methods that provide in one embodiment of the invention
Figure;
Fig. 2 is the method flow diagram of the region consistency acquisition methods provided in one embodiment of the invention;
Fig. 3 is the method flow diagram of the region consistency acquisition methods provided in another embodiment of the present invention;
Fig. 4 is the structural schematic diagram of the region consistency acquisition device provided in one embodiment of the invention;
Fig. 5 is the structural schematic diagram of the region consistency acquisition device provided in another embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Shown in Figure 1, it illustrates involved by the region consistency acquisition methods provided in one embodiment of the invention
And implementation environment schematic diagram.The implementation environment may include server 120 and at least one terminal 140, and server 120 passes through
Cable network mode or wireless network mode are connect with each terminal 140 respectively.
Server 120 can be a server, or the server cluster consisted of several servers or one
A cloud computing service center.The server 120 can receive the reference information (such as microblogging etc.) that each client 140 is sent,
And save relevant parameter corresponding to these reference informations.
Terminal 140 can be the electronic equipment that operation has the client of transmittable reference information, which can be
Smart phone, tablet computer, smart television, E-book reader, MP3 player (Moving Picture Experts
Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4(Moving Picture
Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) it is player, on knee portable
Computer and desktop computer etc..
Shown in Figure 2, it illustrates the sides of the region consistency acquisition methods provided in one embodiment of the invention
Method flow chart, the region consistency acquisition methods are mainly used in the server 120 in implementation environment shown in Fig. 1.The region
Consistency acquisition methods may include:
201, consistency inquiry request is received, consistency inquiry request includes specified region;
202, according to the corresponding relationship of the center in the region and region that prestore, determine the centre bit in the specified region
It sets;
203, according to the time of reception and center for receiving consistency inquiry request, filter out qualified ginseng
Examine information;
204, using geographical location corresponding to each reference information, sending instant and the time of reception and center as
The parameter of consistency assessment models obtains the consistency in specified region;
205, feedback information is sent according to the consistency in specified region.
In conclusion consistency acquisition methods in region provided in an embodiment of the present invention, the specified area specified by client
The center in domain and the time of reception for receiving the inquiry request that client is sent filter out qualified reference information,
Using geographical location corresponding to reference information, sending instant and the time of reception and center as consistency assessment models
Parameter, obtain the consistency in the specified region;It solves necessary when obtaining the flow of the people information of destination in the prior art
The microblogging that the good friend of destination is issued is relied on, the problem of by stronger limitation;Server can be according to eligible
Reference information, automatically analyze out the consistency in the specified specified region of client, reached and be not limited to user good friend's
In the case of, the effect of the available higher flow of the people of accuracy.
Shown in Figure 3, it illustrates the region consistency acquisition methods provided in another embodiment of the present invention
Method flow diagram, the region consistency acquisition methods are mainly used in the server 120 in implementation environment shown in Fig. 1.The area
Domain consistency acquisition methods may include:
301, consistency inquiry request is received, consistency inquiry request includes specified region;
Specified region be can be a mark building, city, some area in city, in city a certain business circles or
Certain street etc..
In practical applications, client or page end can directly input the specified area in the search column that server provides
Domain can also prompt to choose some specified region according to the selection of server;Server can provide selectable for client
Specified region.
It should be noted that the specified region be usually that server is approved namely in server can to client or
Page end provide for its selection specified region in one of them.
302, according to the corresponding relationship of the center in the region and region that prestore, determine the centre bit in the specified region
It sets;
In practical applications, for each region, server can be previously stored with the center in the region of setting, in this
Heart position can usually be indicated by longitude and latitude, for example, the center of Beijing Area are as follows: 39 degree 54 points of north latitude, east longitude 116
23 points of degree;The center of upper sea region are as follows: 31 degree 14 points of north latitude, 121 degree 29 points of east longitude.
That is, the corresponding relationship of the center in region and region can be stored in advance in server, in this way, when clothes
The consistency inquiry request that business device receives client or page end is sent, and know included in the consistency inquiry request
Behind specified region, it can determine that the consistency is inquired according to the corresponding relationship of the center in the region and region that prestore
The center in region is specified in request.
303, inquire geographical location corresponding to each reference information and sending instant;
Reference information said here is the information that client or page end are sent to server, for example, can be microblogging or
Comment etc., is not construed as limiting here.
For each reference information, server can store geographical location corresponding to the reference information and send and is somebody's turn to do
Sending instant when reference information.In practical applications, server obtains and saves geographical location and the hair of the reference information
The process for sending the moment may include the following two kinds situation:
The first situation, server receive the reference information that client is sent, the ground carried when sending the reference information
Position and sending instant are managed, will be saved after the binding of the reference information, geographical location and sending instant.
In this case, client is when sending reference information to server, it will usually pass through terminal corresponding to client
Geographic mapping function (such as GPS(Global Positioning System, global positioning system) positioning function)) obtain
The geographical location where terminal is taken, client carries the geographical location and hair when sending reference information to server
Give the sending instant of the reference information;In this way, server then can also get the ground when receiving the reference information simultaneously
Position and sending instant are managed, and will be saved after the binding of the reference information, the geographical location and sending instant.
Second situation, when server receives the reference information that client is sent and sends the transmission of the reference information
It carves;After receiving the reference information, the geographical location for obtaining terminal corresponding to the client is sent to client, so as to
The client is according to geographical position location functionality (such as GPS positioning function)) obtain terminal where geographical location, and to server
Send the geographical location got;Receive the geographical location that client is sent;By the reference information, geographical location and sending instant
It is saved after binding.
In this case, user end to server sends reference information and sends the sending instant of the reference information;Clothes
Device be engaged in after receiving the reference information and sending instant, can send to client for obtaining terminal corresponding to client
Geographical location, that is, remind the terminal open Geographic mapping function;Terminal determines geographical according to geographical position location functionality
Behind position, which is uploaded to server;Server is protected after binding the reference information, geographical location and sending instant
It deposits.
304, when the distance between the center in geographical location and specified region is less than distance threshold, and sending instant is
When at the time of before the time of reception in predetermined amount of time, it is determined that reference information is qualified reference information;
For each reference information, when between the geographical location of the reference information and the center in specified region
Distance be less than distance threshold, and the sending instant of the reference information be the time of reception before the ticket reserving time section at the time of when, then
Determine that the reference information is qualified reference information.That is, qualified reference information are as follows: geographical location and finger
Determine the distance between the center in region less than distance threshold, and sending instant be before the time of reception in predetermined amount of time when
The reference information at quarter.
In one possible implementation, the center in geographical location and specified region is utilized into coordinate representation,
According to the linear distance coordinate formula between two o'clock, it can calculate between geographical location and the center in specified region
Distance.
For example, when the center in specified region is (x1, y1), geographical location is (x2, y2) when, then the geography position
Set the linear distance d between the center in the specified region are as follows:
In alternatively possible implementation, since the center in geographical location and specified region is tellurian
Two o'clock, therefore geographical location and specified region can also be calculated according to the method for the arcuate distance on spherical surface between two o'clock
The distance between center.Due to the ordinary skill people that the method for calculating the arcuate distance on spherical surface between two o'clock is this field
What member can realize, it is just no longer described in detail here.
It will be apparent that the distance between the center in geographical location and specified region can be using straight when actually calculating
Linear distance can also use spherical distance, and this is not limited by the present invention.
At the time of sending instant is in predetermined amount of time before the time of reception, that is, indicate the sending instant apart from the time of reception
Period be less than the predetermined amount of time.For example, carving when sending is T1, time of reception T2, then T2-T1Value be less than
Predetermined amount of time.Predetermined amount of time said here may be set according to actual conditions, for example can be 72 hours etc., here institute
The d said also may be set according to actual conditions, for example can be
That is, when the d being calculated according to the geographical location and sending instant of reference information is less than distance threshold, T2-T1
Value be less than predetermined amount of time, then the reference information be qualified reference information.
It should be noted that in practical applications, the geographical location of the qualified reference information usually filtered out with
Specified region is not far, therefore linear distance and actual range base between the center in geographical location and the specified region
This difference very little, it can be assumed that being identical distance.
305, it will be in geographical location corresponding to each reference information, sending instant and the time of reception and specified region
Parameter of the heart position as consistency assessment models obtains the consistency in specified region;
Consistency assessment models said here can be with are as follows:
Wherein, S is consistency corresponding to specified region, DiCenter and i-th of reference information for specified region
The distance between geographical location, T is the time of reception, TiFor the sending instant of i-th of reference information, n is qualified ginseng
The number of information is examined, a is scheduled weight ratio.
Here DiCan for the position between the center in specified region and the geographical location of i-th of reference information away from
From, it for example can be the linear distance between the center in specified region and the geographical location of i-th of reference information, it can also be with
To specify the actual range (namely spherical distance) between the center in region and the geographical location of i-th of reference information, this
In be not especially limited.
As above-mentioned consistency assessment models and the meaning of parameters it is found that system corresponding to the consistency assessment models
Metering S is by the way that be weighted the value obtained after assessment to positional distance and time difference, statistic S reflects all symbols
The reference information of conjunction condition specifies the contribution and value of the consistency in region to this, and each reference information specifies the dense of region to this
The contribution margin of degree usually with time difference inversely proportional relationship, with positional distance also inversely proportional relationship.Therefore, statistic S is anti-
The specified region has been reflected in the population collection consistency in the specified region for sending the request moment, namely reflects the specified region
Flow of the people size.
Due to the geographical location of qualified reference information and the distance between the center in specified region and when
Between difference influence simultaneously the specified region consistency calculating, and directly obtained again according to longitude and latitude since the distance can be
The linear distance arrived is also possible to the distance obtained after amplifying linear distance according to scale bar, can also be actual spherical surface
Distance, therefore obtained distance value can be bigger, and the contribution weight of the consistency in region is specified to guarantee the time difference to this, because
This sets above-mentioned parameter a.That is, parameter a is commonly used for the weight ratio of reflecting time difference and positional distance.
Parameter a can first pass through training in advance and obtain, before executing step 305, it is necessary first to which training obtains consistency assessment
Model determines the value of a therein.The process of training consistency assessment models is as follows:
First, consistency assessment models are trained according to the training sample of the first predetermined number, obtain the a's
Value;
During training consistency assessment models, the training region of the first predetermined number is randomly selected, for each
A trained region, filters out qualified reference information, obtains (the D between the training region and each reference informationi, T-
Ti, R) and data pair, wherein DiBetween center corresponding to the training region and i-th of qualified reference information
Distance, T be research staff arrive the center when acquire data at the time of, TiIt is sent out by i-th of qualified reference information
At the time of sending, R is the crowding in the training region that research staff obtains according to investigation and relevant calculation.
In one possible implementation, may include following process when obtaining the crowding: developer first adopts
Collect the number in the training region in unit area, the number in unit area is then obtained into the gross area multiplied by the gross area
Total number of persons is obtained the crowding in the training region divided by the gross area in the training region by total number of persons.
By data corresponding to each trained region to as a training sample, which is instructed
Practice, obtains the value of parameter a.
Here when choosing training sample, in order to guarantee the accuracy of parameter a, it will usually select large number of trained sample
This, is when the parameter a obtained by training sample is more stable, then the step of can executing following tests.
Second, it is tested according to value of the test sample of the second predetermined number to the obtained a, test sample is different from
Training sample;
It is whether effective in order to detect the parameter a in the consistency assessment models, usually also need through test sample to ginseng
Number a is tested, and test sample said here is different from training sample.
Similarly, the test zone that can in addition choose the second predetermined number, randomly selects the test section of the second predetermined number
Domain filters out qualified reference information for each test zone, obtain the test zone and each reference information it
Between (Di, T-Ti, R) and data pair, wherein Di is center corresponding to the test zone and i-th of qualified reference
The distance between information, T be research staff arrive the center when acquire data at the time of, TiFor i-th of qualified ginseng
At the time of examining transmitted by information, R is the crowding for the test zone that research staff obtains according to investigation and relevant calculation.
Generally, (i.e. second is predetermined greater than the number of test sample for the number (i.e. the first predetermined number) of training sample
Number).
Third determines that the value of a is scheduled weight ratio after being successfully tested.
It should be added that above-mentioned is usually to be somebody's turn to do in use to the training of consistency assessment models and test process
It carries out before consistency assessment models, after training and test are completed, saves the consistency assessment models, it later then can be with
The consistency for directly obtaining specified region using the consistency assessment models.That is, in practical applications, consistency is commented
The training and test for estimating model are only performed once, and hereafter repeatedly can obtain the dense of region using consistency assessment models
Degree.
306, when consistency is less than first threshold, then sends and be used to indicate smooth first feedback information in specified region;
When the consistency corresponding to the specified region that client or page end are inquired is less than preset first threshold, then table
The bright specified region is more unimpeded, and flow of the people is fewer, therefore it is specified to be used to indicate this to client or page end transmission
Smooth first feedback information in region.
307, when consistency is greater than first threshold and is less than second threshold, then it is moderate to be used to indicate specified region for transmission
Second feedback information;
The consistency corresponding to the specified region that client or page end are inquired is greater than first threshold and less than the second threshold
When value, then show that the flow of the people in the specified region is more moderate, therefore this can be used to indicate to client or page end transmission
The second moderate feedback information of specified region.
308, when consistency is greater than second threshold, then send the third feedback information for being used to indicate specified region congestion.
When the consistency corresponding to the specified region that client or page end are inquired is greater than second threshold, then show that this refers to
The flow of the people for determining region is more, therefore the third feedback letter for being used to indicate specified region congestion can be sent to client or page end
Breath.
In conclusion consistency acquisition methods in region provided in an embodiment of the present invention, the specified area specified by client
The center in domain and the time of reception for receiving the inquiry request that client is sent filter out qualified reference information,
Using geographical location corresponding to reference information, sending instant and the time of reception and center as consistency assessment models
Parameter, obtain the consistency in the specified region;It solves necessary when obtaining the flow of the people information of destination in the prior art
The microblogging that the good friend of destination is issued is relied on, the problem of by stronger limitation;Server can be according to eligible
Reference information, automatically analyze out the consistency in the specified specified region of client, reached and be not limited to user good friend's
In the case of, the effect of the available higher flow of the people of accuracy.
The following are the device of the invention embodiments can refer to above-mentioned corresponding the details of wherein not detailed description
Embodiment of the method.
Shown in Figure 4, it illustrates the knots of the region consistency acquisition device provided in one embodiment of the invention
Structure schematic diagram, the region consistency acquisition device are mainly used in the server 120 in implementation environment shown in Fig. 1.The region
Consistency acquisition device may include: receiving module 402, the first determining module 404, screening module 406,408 and of computing module
Sending module 410.
Receiving module 402, can be used for receiving consistency inquiry request, and consistency inquiry request includes specified region;
First determining module 404 can be used for the corresponding relationship of the center according to the region and region prestored, really
The center in surely specified region;
Screening module 406, can be used for being received according to receiving module 402 consistency inquiry request the time of reception and
Center filters out qualified reference information;
Computing module 408, geographical position corresponding to each reference information that can be used for filtering out screening module 406
It sets, the parameter of sending instant and the time of reception and center as consistency assessment models, obtains the dense of specified region
Degree;
The consistency of sending module 410, the specified region that can be used for being calculated according to computing module 408 sends feedback
Information.
In conclusion consistency acquisition device in region provided in an embodiment of the present invention, the specified area specified by client
The center in domain and the time of reception for receiving the inquiry request that client is sent filter out qualified reference information,
Using geographical location corresponding to reference information, sending instant and the time of reception and center as consistency assessment models
Parameter, obtain the consistency in the specified region;It solves necessary when obtaining the flow of the people information of destination in the prior art
The microblogging that the good friend of destination is issued is relied on, the problem of by stronger limitation;Server can be according to eligible
Reference information, automatically analyze out the consistency in the specified specified region of client, reached and be not limited to user good friend's
In the case of, the effect of the available higher flow of the people of accuracy.
Shown in Figure 5, it illustrates the region consistency acquisition device provided in another embodiment of the present invention
Structural schematic diagram, the region consistency acquisition device are mainly used in the server 120 in implementation environment shown in Fig. 1.The area
Domain consistency acquisition device may include: receiving module 502, the first determining module 504, screening module 506, computing module 508
With sending module 509.
Receiving module 502, can be used for receiving consistency inquiry request, and consistency inquiry request includes specified region;
First determining module 504 can be used for the corresponding relationship of the center according to the region and region prestored, really
The center in surely specified region;
Screening module 506, can be used for being received according to receiving module 502 consistency inquiry request the time of reception and
Center filters out qualified reference information;
Computing module 508, geographical position corresponding to each reference information that can be used for filtering out screening module 506
It sets, the parameter of sending instant and the time of reception and center as consistency assessment models, obtains the dense of specified region
Degree;
The consistency of sending module 509, the specified region that can be used for being calculated according to computing module 508 sends feedback
Information.
In the possible implementation of in the embodiment shown in fig. 5 the first, screening module 506 may include: cargo tracer
First 506a and determination unit 506b.
Query unit 506a can be used for inquiring geographical location corresponding to each reference information and sending instant;
Determination unit 506b can be used for being less than distance threshold when the distance between geographical location and center, and send out
When at the time of sending constantly as in predetermined amount of time before the time of reception, it is determined that reference information is qualified reference information.
In the possible implementation of second in the embodiment shown in fig. 5, consistency assessment models are as follows:
Wherein, S is consistency corresponding to specified region, DiFor the geographical location of center position and i-th of reference information
The distance between, T is the time of reception, TiFor the sending instant of i-th of reference information, n is of qualified reference information
Number, a are scheduled weight ratio.
In the third possible implementation in the embodiment shown in fig. 5, region consistency acquisition device can also be wrapped
It includes: training module 510, test module 512 and the second determining module 514.
Training module 510 can be used for instructing consistency assessment models according to the training sample of the first predetermined number
Practice, obtains the value of a;
Test module 512 can be used for testing the value of obtained a according to the test sample of the second predetermined number,
Test sample is different from training sample;
Second determining module 514, can be used for after being successfully tested, and determine that the value of a is scheduled weight ratio.
In the 4th kind of possible implementation in the embodiment shown in fig. 5, sending module 509 may include: the first hair
Send unit 509a, the second transmission unit 509b and third transmission unit 509c.
First transmission unit 509a can be used for then sending out when the consistency that computing module 508 obtains is less than first threshold
It send and is used to indicate smooth first feedback information in specified region;
Second transmission unit 509b can be used for when the consistency that computing module 508 obtains is greater than first threshold and is less than
When second threshold, then sends and be used to indicate the second moderate feedback information of specified region;
Third transmission unit 509c can be used for then sending out when the consistency that computing module 508 obtains is greater than second threshold
Send the third feedback information for being used to indicate specified region congestion.
In conclusion consistency acquisition device in region provided in an embodiment of the present invention, the specified area specified by client
The center in domain and the time of reception for receiving the inquiry request that client is sent filter out qualified reference information,
Using geographical location corresponding to reference information, sending instant and the time of reception and center as consistency assessment models
Parameter, obtain the consistency in the specified region;It solves necessary when obtaining the flow of the people information of destination in the prior art
The microblogging that the good friend of destination is issued is relied on, the problem of by stronger limitation;Server can be according to eligible
Reference information, automatically analyze out the consistency in the specified specified region of client, reached and be not limited to user good friend's
In the case of, the effect of the available higher flow of the people of accuracy.
It should be understood that the region consistency acquisition device provided in above-described embodiment is analyzing specified area for client
It, only the example of the division of the above functional modules, can basis in practical application when the user in domain assembles consistency
It needs and is completed by different functional modules above-mentioned function distribution, i.e., the internal structure of server is divided into different functions
Module, to complete all or part of the functions described above.In addition, consistency acquisition device in region provided by the above embodiment
Belong to same design with region consistency acquisition methods embodiment, specific implementation process is detailed in embodiment of the method, here no longer
It repeats.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (8)
1. a kind of region consistency acquisition methods, which is characterized in that the described method includes:
Consistency inquiry request is received, the consistency inquiry request includes specified region;
According to the corresponding relationship of the center in the region and region that prestore, the center in the specified region is determined;
Inquire geographical location corresponding to each reference information and sending instant;
When the distance between the geographical location and the center be less than distance threshold, and the sending instant be receive
When at the time of before the time of reception of the consistency inquiry request in predetermined amount of time, it is determined that the reference information is to meet item
The reference information of part;
By geographical location, sending instant and the time of reception and institute corresponding to each qualified reference information
Parameter of the center as consistency assessment models is stated, the consistency in the specified region is obtained;
Feedback information is sent according to the consistency in the specified region.
2. the method according to claim 1, wherein the consistency assessment models are as follows:
Wherein, S is consistency corresponding to the specified region, DiFor the geographical position of the center and i-th of reference information
The distance between set, T is the time of reception, TiFor the sending instant of i-th of reference information, n is the qualified ginseng
The number of information is examined, a is scheduled weight ratio.
3. according to the method described in claim 2, it is characterized in that, described by each qualified reference information institute
The ginseng of corresponding geographical location, sending instant and the time of reception and the center as consistency assessment models
Number, before obtaining the consistency in the specified region, further includes:
The consistency assessment models are trained according to the training sample of the first predetermined number, obtain the value of a;
It is tested according to value of the test sample of the second predetermined number to the obtained a, the test sample is different from institute
State training sample;
After being successfully tested, determine that the value of a is the scheduled weight ratio.
4. method according to any one of claims 1 to 3, which is characterized in that described according to the dense of the specified region
Degree sends feedback information, comprising:
When the consistency is less than first threshold, then sends and be used to indicate smooth first feedback information in the specified region;
When the consistency is greater than the first threshold and is less than second threshold, then it is suitable to be used to indicate the specified region for transmission
In the second feedback information;
When the consistency is greater than the second threshold, then the third feedback letter for being used to indicate the specified region congestion is sent
Breath.
5. a kind of region consistency acquisition device, which is characterized in that described device includes:
Receiving module, for receiving consistency inquiry request, the consistency inquiry request includes specified region;
First determining module determines described specified for the corresponding relationship according to the center in region and region prestored
The center in region;
Screening module, for inquiring geographical location corresponding to each reference information and sending instant;When the geographical location
The distance between described center be less than distance threshold, and the sending instant be the receiving module receive it is described thick
When at the time of before the time of reception of density inquiry request in predetermined amount of time, it is determined that the reference information is qualified ginseng
Examine information;
Computing module, geography corresponding to each qualified reference information for filtering out the screening module
The parameter of position, sending instant and the time of reception and the center as consistency assessment models obtains described
The consistency in specified region;
The consistency of sending module, the specified region for being calculated according to the computing module sends feedback information.
6. device according to claim 5, which is characterized in that the consistency assessment models are as follows:
Wherein, S is consistency corresponding to the specified region, DiFor the geographical position of the center and i-th of reference information
The distance between set, T is the time of reception, TiFor the sending instant of i-th of reference information, n is the qualified ginseng
The number of information is examined, a is scheduled weight ratio.
7. device according to claim 6, which is characterized in that described device further include:
Training module is obtained for being trained according to the training sample of the first predetermined number to the consistency assessment models
The value of a;
Test module, for being tested according to the test sample of the second predetermined number the value of the obtained a, the test
Sample is different from the training sample;
Second determining module, for after being successfully tested, determining that the value of a is the scheduled weight ratio.
8. according to the device any in claim 5 to 7, which is characterized in that the sending module, comprising:
First transmission unit then sends and is used to indicate when the consistency for obtaining when the computing module is less than first threshold
Smooth first feedback information in specified region;
Second transmission unit, the consistency for obtaining when the computing module are greater than the first threshold and are less than second threshold
When, then it sends and is used to indicate the second moderate feedback information of the specified region;
Third transmission unit then sends and is used for when the consistency for obtaining when the computing module is greater than the second threshold
Indicate the third feedback information of the specified region congestion.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410083379.7A CN104899226B (en) | 2014-03-07 | 2014-03-07 | Region consistency acquisition methods and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410083379.7A CN104899226B (en) | 2014-03-07 | 2014-03-07 | Region consistency acquisition methods and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104899226A CN104899226A (en) | 2015-09-09 |
CN104899226B true CN104899226B (en) | 2019-05-17 |
Family
ID=54031893
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410083379.7A Active CN104899226B (en) | 2014-03-07 | 2014-03-07 | Region consistency acquisition methods and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104899226B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106991576B (en) * | 2016-01-20 | 2020-10-09 | 阿里巴巴集团控股有限公司 | Method and device for displaying heat of geographic area |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101394645A (en) * | 2008-10-30 | 2009-03-25 | ***通信集团北京有限公司 | Flow statistical method and system for mobile communication terminal users in target region |
CN101968833A (en) * | 2010-10-27 | 2011-02-09 | 福州一点通广告装饰有限公司 | Virtual three-dimensional tourism real-time online intelligent navigation interactive traveling system |
CN102316410A (en) * | 2011-09-09 | 2012-01-11 | 昆明理工大学 | Scenic spot passenger flow volume information system for acquiring scenic spot people information by using base station |
-
2014
- 2014-03-07 CN CN201410083379.7A patent/CN104899226B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101394645A (en) * | 2008-10-30 | 2009-03-25 | ***通信集团北京有限公司 | Flow statistical method and system for mobile communication terminal users in target region |
CN101968833A (en) * | 2010-10-27 | 2011-02-09 | 福州一点通广告装饰有限公司 | Virtual three-dimensional tourism real-time online intelligent navigation interactive traveling system |
CN102316410A (en) * | 2011-09-09 | 2012-01-11 | 昆明理工大学 | Scenic spot passenger flow volume information system for acquiring scenic spot people information by using base station |
Also Published As
Publication number | Publication date |
---|---|
CN104899226A (en) | 2015-09-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104965920B (en) | Method and apparatus for determining destination address | |
Li et al. | Spatial, temporal, and socioeconomic patterns in the use of Twitter and Flickr | |
CN104081339B (en) | The data transmission by network connection is managed based on priority and data application plan | |
CN105187237B (en) | The method and apparatus for searching associated user identifier | |
EP2581703B1 (en) | Systems and methods for ranking points of interest | |
KR102121361B1 (en) | Method and device for identifying the type of geographic location where the user is located | |
CN109376313A (en) | Information recommendation method, device, terminal and storage medium | |
CN107798557A (en) | Electronic installation, the service location based on LBS data recommend method and storage medium | |
DE202014010837U1 (en) | Identify an entity associated with a radio network access point | |
CN109151890A (en) | A kind of mobile terminal locating method and device | |
EP2782026A1 (en) | Method and server for searching for nearby user in social network | |
CN108763570A (en) | A kind of method and device identifying the identical source of houses | |
CN103914536A (en) | Interest point recommending method and system for electronic maps | |
CN103947240A (en) | Flexible architecture for location based crowdsourcing of contextual data | |
KR20150037769A (en) | Interest profile of a user of a mobile application | |
Jirka et al. | A lightweight approach for the sensor observation service to share environmental data across Europe | |
US20150347437A1 (en) | Most Relevant Application Recommendation Based on Crowd-Sourced Application Usage Data | |
CN109309596A (en) | A kind of method for testing pressure, device and server | |
US20150323646A1 (en) | Location error radius determination | |
CN110046174B (en) | population migration analysis method and system based on big data | |
CN107291713A (en) | Reminding method, terminal and the server of point of interest search keyword | |
CN107038589B (en) | A kind of entity information verification method and device | |
CN111177289A (en) | Method and system for extracting and checking related information of data space of multi-source network | |
CN104899226B (en) | Region consistency acquisition methods and device | |
Cui et al. | Employing internet GIS surveys to characterize recreational boating travel patterns |
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 |