CN104580379A - Method and device for sending show information - Google Patents

Method and device for sending show information Download PDF

Info

Publication number
CN104580379A
CN104580379A CN201410775592.4A CN201410775592A CN104580379A CN 104580379 A CN104580379 A CN 104580379A CN 201410775592 A CN201410775592 A CN 201410775592A CN 104580379 A CN104580379 A CN 104580379A
Authority
CN
China
Prior art keywords
information
exhibition
exhibition information
current location
historical position
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410775592.4A
Other languages
Chinese (zh)
Other versions
CN104580379B (en
Inventor
陈蓉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Tencent Computer Systems Co Ltd
Original Assignee
Shenzhen Tencent Computer Systems Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Tencent Computer Systems Co Ltd filed Critical Shenzhen Tencent Computer Systems Co Ltd
Priority to CN201410775592.4A priority Critical patent/CN104580379B/en
Publication of CN104580379A publication Critical patent/CN104580379A/en
Application granted granted Critical
Publication of CN104580379B publication Critical patent/CN104580379B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Abstract

The embodiment of the invention discloses a method and a device for sending show information, and belongs to the technical field of Internet. The method comprises the following steps: receiving an information acquisition request sent by a terminal, wherein the current positional information of the terminal is carried in the information acquisition request; acquiring history positional information corresponding to an account in which the terminal logs currently; determining the current positional information and the show information corresponding to the history positional information according to the corresponding relation between the prestored positional information and the show information; sending the determined show information to the terminal. Through the adoption of the method and the device, the waste of network resource can be reduced.

Description

A kind of method and apparatus sending exhibition information
Technical field
The present invention relates to Internet technical field, particularly a kind of method and server sending exhibition information.
Background technology
Along with the develop rapidly of computer technology and the communication technology, mobile terminal obtains to be popularized widely, has become one of most important instrument in people's daily life.It is mobile terminal very important function that the network information obtains function, and the server of network side can be that mobile terminal pushes corresponding exhibition information, as news, traffic information, information of discount etc. according to the real time position of mobile terminal.
In prior art; mobile terminal can be provided with positioning function usually; when to want to inquire about the information such as the food and drink of periphery or hotel in a certain position as user; usually information acquisition request can be sent by the application program on mobile terminal to server; in information acquisition request, carry current positional information, positional information comprises accurate latitude and longitude coordinates.In the server, be previously stored with a large amount of exhibition information and corresponding latitude and longitude coordinates, such as, the latitude and longitude coordinates in the information of discount that server stores is a large amount of and corresponding shop.After server receives information acquisition request, the latitude and longitude coordinates of wherein carrying can be obtained, and then the exhibition information of inquiry correspondence sends to mobile terminal.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem:
For the above-mentioned mode sending exhibition information to user, server only utilizes the real-time position information of user, the exhibition information of the current location periphery inquired is sent to mobile terminal, but the exhibition information of current location periphery often Limited Number, if user does not get the exhibition information of needs, then again can initiate the process of acquisition of information, thus, cause the waste of Internet resources.
Summary of the invention
In order to solve the problem of prior art, embodiments provide a kind of method and apparatus sending exhibition information.Described technical scheme is as follows:
First aspect, provide a kind of method sending exhibition information, described method comprises:
The information acquisition request that receiving terminal sends, carries the current location information of described terminal in described information acquisition request;
Obtain the historical position information that the account of the current login of described terminal is corresponding;
According to the corresponding relation of the positional information prestored and exhibition information, determine described current location information and exhibition information corresponding to described historical position information;
The exhibition information determined is sent to described terminal.
Second aspect, provide a kind of device sending exhibition information, described device comprises:
Receiver module, for the information acquisition request that receiving terminal sends, carries the current location information of described terminal in described information acquisition request;
Acquisition module, the historical position information that the account for obtaining the current login of described terminal is corresponding;
Determination module, for the corresponding relation according to the positional information that prestores and exhibition information, determines described current location information and exhibition information corresponding to described historical position information;
Sending module, for sending to described terminal by the exhibition information determined.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
In the embodiment of the present invention, the information acquisition request that receiving terminal sends, the current location information of terminal is carried in information acquisition request, obtain the historical position information that the account of the current login of terminal is corresponding, according to the corresponding relation of the positional information prestored and exhibition information, determine current location information and exhibition information corresponding to historical position information, the exhibition information determined is sent to terminal.Like this, can jointly obtain the more exhibition information of periphery according to user's current location and historical position, make user more easily get the information of needs, reduce the possibility that user initiates information acquisition process again, thus, the waste of Internet resources can be reduced.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of method flow diagram sending exhibition information that the embodiment of the present invention provides;
Fig. 2 is a kind of schematic diagram processed historical position information that the embodiment of the present invention provides;
Fig. 3 is a kind of schematic diagram sending exhibition information process that the embodiment of the present invention provides;
Fig. 4 is a kind of schematic diagram processed the positional information of exhibition information that the embodiment of the present invention provides;
Fig. 5 a, 5b, 5c are that a kind of geohash that the embodiment of the present invention provides encodes the schematic diagram of graph region accordingly;
Fig. 6 is a kind of structural representation sending the device of exhibition information that the embodiment of the present invention provides;
Fig. 7 is the structural representation of a kind of server that the embodiment of the present invention provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment one
Embodiments provide a kind of method sending exhibition information, as shown in Figure 1, the handling process of the method can comprise following step:
Step 101, the information acquisition request that receiving terminal sends, carries the current location information of terminal in information acquisition request.
Step 102, obtains the historical position information that the account of the current login of terminal is corresponding.
Step 103, according to the corresponding relation of the positional information prestored and exhibition information, determines current location information and exhibition information corresponding to historical position information.
Step 104, sends to terminal by the exhibition information determined.
In the embodiment of the present invention, the information acquisition request that receiving terminal sends, the current location information of terminal is carried in information acquisition request, obtain the historical position information that the account of the current login of terminal is corresponding, according to the corresponding relation of the positional information prestored and exhibition information, determine current location information and exhibition information corresponding to historical position information, the exhibition information determined is sent to terminal.Like this, can jointly obtain the more exhibition information of periphery according to user's current location and historical position, make user more easily get the information of needs, reduce the possibility that user initiates information acquisition process again, thus, the waste of Internet resources can be reduced.
Embodiment two
Embodiments provide a kind of method sending exhibition information, the executive agent of the method is server.Terminal in the method can be the mobile terminal such as mobile phone, panel computer, terminal can be provided with the application program for information inquiry, can inquire about the information such as news, traffic information, information of discount.This server can be the background server of this application program.
Below in conjunction with embodiment, be described in detail the handling process shown in Fig. 1, content can be as follows:
Step 101, the information acquisition request that receiving terminal sends, carries the current location information of terminal in information acquisition request.
Wherein, information acquisition request can be the request message of the exhibition information that terminal to server request is relevant with position.
In force, terminal can be provided with the application program for information inquiry, as service for life application program, there is the instant messaging application program etc. purchasing by group function.When user wants to carry out information inquiry, this application program can be started, the button of query function is clicked in the homepage of application program, then can trigger application program and load query page, terminal then can obtain its current location information (can be latitude and longitude coordinates), and information generated obtains request, carries the current location information got wherein, the account identification of the account that user logs in this application program can also be carried wherein, then send this information acquisition request to server.Accordingly, server can receive the information acquisition request that terminal sends, and then can obtain request by resolving information, obtains the current location information of the terminal of wherein carrying, can also obtain account identification wherein.
Step 102, obtains the historical position information that the account of the current login of terminal is corresponding.
In force, server can set up positional information storehouse, stores the information of the position of terminal residing for some historical juncture that each account logs in wherein.The collection that server carries out positional information can be undertaken by above-mentioned application program, can when receiving the information acquisition request that terminal sends at every turn, obtain positional information wherein and account identification, corresponding is recorded in positional information storehouse, or, also can be reported positional information and the account identification of corresponding terminal from trend server by application program when user's opening application program, by server record in positional information storehouse, or, positional information and the account identification of corresponding terminal can also be reported according to the report cycle preset by application program, by server record in positional information storehouse.Multiple application program is existed to the situation of account association, server can also obtain the positional information in account historical moment from the background server of other application program, is recorded in positional information storehouse.
Server can obtain the account identification of wherein carrying after receiving the information acquisition request of terminal transmission, is identified in positional information storehouse and searches corresponding positional information, the positional information found is carried out subsequent treatment as historical position information according to the account.The positional information of terminal to report is generally latitude and longitude coordinates, after finding latitude and longitude coordinates corresponding to account identification, the geohash (a kind of in position fixing process pair warp and weft degree coordinate carry out the algorithm of encoding) coding (detailed process has detailed introduction in subsequent content) specifying figure place can be carried out by pair warp and weft degree coordinate, namely obtain the geohash coding of latitude and longitude coordinates corresponding to account identification.Specify the geohash coding of figure place can the region of a rectangle on corresponding map.
Optionally, the positional information inquired in certain machine-processed location information storehouse can also be arranged screen, to determine historical position information to be used, accordingly, the process of step 102 can be as follows: the positional information that the account obtaining the current login of terminal is uploaded in default historical time section, by preset number positional informations maximum for number of repetition in the positional information of acquisition, be defined as the historical position information that account is corresponding.
In force, server is when obtaining positional information corresponding to account and setting up positional information storehouse, and the positional information that can repeat certain account got repeats record, or records the number of times of this positional information repetition.After the server usage information account identification obtained in request finds corresponding positional information in positional information storehouse, the number of repetition that each positional information of finding is corresponding can be obtained, by M the highest for number of repetition (as 3) positional information, the historical position information that the account being defined as finally selecting is corresponding.As shown in Figure 2, i1 ~ i10 represents the latitude and longitude coordinates that in positional information storehouse, certain account identification is corresponding, A, B, C, D are geohash coding, and each square frame represents the region that a geohash coding is corresponding respectively, and the geohash coding of each latitude and longitude coordinates in the same area is identical.
Step 103, according to the corresponding relation of the positional information prestored and exhibition information, determines current location information and exhibition information corresponding to historical position information.
Wherein, exhibition information can be news, traffic information, information of discount etc.
In force, server can set up exhibition information storehouse in advance, collects the exhibition information of magnanimity and positional information corresponding to each exhibition information, the corresponding relation of stored position information and exhibition information in exhibition information storehouse.Such as, exhibition information is the situation of information of discount, and the information of discount in oneself shop can be uploaded in each shop to server, and uploads the positional information in shop simultaneously.The positional information that server gets can be latitude and longitude coordinates, and then this latitude and longitude coordinates and exhibition information can be carried out corresponding stored by server in exhibition information storehouse.After server gets above-mentioned current location information and historical position information, in exhibition information storehouse, the exhibition information that these positional informations are corresponding can be inquired about.
Optionally, server can also carry out geohash coding to the latitude and longitude coordinates got, in exhibition information storehouse, geohash coding is carried out corresponding stored with exhibition information, accordingly, the processing procedure of step 103 can be as follows: determine the geohash coding of current location information and the geohash coding of historical position information; According to the geohash coding of the positional information prestored and the corresponding relation of exhibition information, determine the exhibition information of the geohash coding of current location information and the geohash coding correspondence of historical position information.
In force, server is after getting above-mentioned current location information and historical position information, geohash coding can be carried out respectively to current location information and historical position information, then, respectively use current location information and historical position information corresponding geohash coding, in the geohash coding of the positional information of exhibition information library storage and the corresponding relation of exhibition information, search the exhibition information that each geohash coding is corresponding.
Step 104, sends to terminal by the exhibition information determined.
In force, part or all of exhibition information wherein, after finding exhibition information, can be sent to terminal by server.After terminal receives exhibition information, received exhibition information can be shown in the query page of above-mentioned application program.And then user can be browsed exhibition information by query page, select the information that oneself needs.The information acquisition request that server sends from receiving terminal, can be as shown in Figure 3 to the processing procedure sending exhibition information to terminal.
Optionally, server can also arrange each exhibition information putting in order when terminal demonstration, and accordingly, the processing procedure of step 104 can be as follows:
Step one, obtains the weight order of the current location information that prestores and each exhibition information corresponding to historical position information.
In force, server can in advance for each exhibition information in exhibition information storehouse arranges weight order, and this weight order can be stored in exhibition information storehouse, corresponding with exhibition information.For dissimilar exhibition information, weight order can adopt different methods to set up, can arrange arbitrarily according to demand.Such as, exhibition information is the situation of information of discount, can according to the discount rate of commodity corresponding to information of discount, present price and the purchase volume in the preset duration time period (being denoted as Δ purchase volume), determine to change weight order corresponding to information of discount, computing formula can be: weight order=discount rate * log (present price) * Δ purchase volume.As shown in Figure 4, i1 ~ i12 represents the latitude and longitude coordinates that multiple exhibition information is corresponding, each square frame represents the region that a geohash coding is corresponding respectively, and the geohash coding of each latitude and longitude coordinates in the same area is identical, and w1 ~ w12 represents the weight order that each exhibition information is corresponding.
Optionally, after step one is finished, before performing step 2, can also adjust according to the weight order of certain mechanism to some exhibition information, corresponding processing procedure can be as follows: in current location information and exhibition information corresponding to historical position information, obtain simultaneously corresponding with the multiple positional informations in current location information and historical position information exhibition information; According to the number of multiple positional informations corresponding to exhibition information obtained, increases is carried out to the weight order of exhibition information and processes.
In force, may be provided with identical exhibition information in different geographical position, such as, exhibition information is the situation of information of discount, and the shop belonging to certain information of discount may be chain store, and the position of Mei Jia chain store is different, but information of discount is identical.Like this, in exhibition information storehouse, will be provided with multiple list items of this exhibition information, the positional information of this exhibition information respectively from different in different list items is corresponding.When server uses above-mentioned current location information and historical position information to search exhibition information, if use multiple different positional information to find identical exhibition information, then the number of this multiple positional information corresponding to this exhibition information can be recorded.Then, carry out increase adjustment according to this number to the weight order of this exhibition information, concrete increase mode can be arranged arbitrarily according to the actual requirements, such as, this weight order can be multiplied by this number, weight order after being adjusted, or, also can determine a weight adjusting coefficient according to this number, if weight adjusting coefficient when number is 2 is 1.5, when number is 3, weight adjusting coefficient is 1.8 etc., then is multiplied by weight adjusting coefficient with weight order, the weight order after being adjusted.
Step 2, according to the weight order of above-mentioned each exhibition information, determines the displaying order information of each exhibition information.
In force, can sort to exhibition information according to weight order order from big to small, to determine the displaying order information that each exhibition information is corresponding, show that order information can be the serial number etc. after sequence.
Optionally, the adjustment can carrying out in various degree respectively to the weight order of the weight order of exhibition information corresponding to current location information and exhibition information corresponding to historical position information, sort again, accordingly, the processing procedure of step 2 can be as follows: according to the weight order of above-mentioned each exhibition information, and the weight adjusting coefficient of the weight adjusting coefficient of exhibition information corresponding to the current location information prestored and exhibition information corresponding to historical position information, determine the displaying order information of above-mentioned each exhibition information.
In force, higher weight adjusting coefficient (being called the first weight adjusting coefficient) can be set corresponding current location information, as 1.2, lower weight adjusting coefficient (being called the first weight adjusting coefficient) is arranged, as 1 to historical position information.After the weight order determining above-mentioned each exhibition information, for the exhibition information that current location information is corresponding, its weight order can be multiplied by the first weight adjusting coefficient, new weight order after being adjusted, for the exhibition information that historical position information is corresponding, its weight order can be multiplied by the second weight adjusting coefficient, new weight order after being adjusted, then, according to weight order order from big to small, exhibition information is sorted again, to determine the displaying order information that each exhibition information is corresponding.Like this, can by the sequence of exhibition information corresponding for current location information in advance.In addition, also can according to the different generation times of historical position information, the exhibition information corresponding to different historical position information arranges different weight adjusting coefficients, and more early weight adjusting coefficient is less for generation time.Can also according to the distance between historical position and current location, the exhibition information corresponding to different historical position information arranges different weight adjusting coefficients, and the larger weight adjusting coefficient of distance is less.
Step 3, sends to terminal by the exhibition information determined and corresponding displaying order information.
In force, server can according to displaying order information, forward exhibition information partial ordered in the above-mentioned exhibition information determined and corresponding displaying order information are sent to terminal, or, also the whole exhibition information determined and corresponding displaying order information can be sent to terminal.Terminal is receiving exhibition information and corresponding displaying order information, can sort, then the exhibition information after sequence be presented in the query page of above-mentioned application program by displaying order information to exhibition information.
Below the processing procedure that above-mentioned geohash encodes is described in detail:
Geohash coding is a kind of geocoding, the longitude and latitude of two dimension can be encoded into the character string of an one dimension (such as: the latitude of Fei Yada technique center, Nanshan District, Shenzhen City (rear abbreviation flies Ya Da) is 22.538, longitude is 113.955, and its geohash coding is ws101n).And geohash to be coded on map corresponding be a rectangular area.
With a concrete example, lower cataloged procedure is described below.
Terrestrial latitude interval is [-90,90], and flying the latitude that Asia reaches is 22.538, can carry out approach coding (cataloged procedure is as table 1) by algorithm below to latitude 22.538:
Step one, interval [-90,90] carry out two being divided into [-90,0), [0,90], are called between left and right region, can determine that 22.538 belong to right interval [0,90], to being labeled as 1.
Step 2, then interval [0,90] are carried out two being divided into [0,45), [45,90], can determine 22.538 belong to left interval [0,45), to being labeled as 0.
Step 3, recurrence said process 22.538 always belongs to certain interval [a, b].Along with between each iterative region, [a, b] is always reducing, and more and more approaches 22.538.
Step 4, if given latitude x (22.538) belongs to left interval, then record 0, if belong to right interval, record 1, like this along with the carrying out of algorithm can produce a sequence 1010000000001101, the length of sequence is relevant with given interval division number of times.
Table 1
Latitude scope Demarcation interval 0 Demarcation interval 1 Latitude bit
(-90,90) (-90,0) (0,90) 1
(0,90) (0,45) (45,90) 0
(0,45) (0,22.5) (22.5,45) 1
(22.5,45) (22.5,33.75) (33.75,45) 0
(22.5,33.75) (22.5,28.125) (28.125,33.75) 0
(22.5,28.125) (22.5,25.3125) (25.3125,28.125) 0
(22.5,25.3125) (22.5,23.9063) (23.906,25.3125) 0
(22.5,23.9063) (22.5,23.2031) (23.2031,23.9063) 0
(22.5,23.2031) (22.5,22.8516) (22.8516,23.2031) 0
(22.5,22.8516) (22.5,22.6758) (22.6758,22.8516) 0
(22.5,22.6758) (22.5,22.5879) (22.5879,22.6758) 0
(22.5,22.5879) (22.5,22.5439) (22.5439,22.5879) 0
(22.5,22.5439) (22.5,22.5220) (22.5220,22.5439) 1
(22.5220,22.5439) (22.5220,22.5330) (22.5330,22.5439) 1
(22.5330,22.5439) (22.5330,22.5385) (22.5385,22.5439) 0
(22.5330,22.5385) (22.5330,22.5357) (22.5357,22.5385) 1
Equally, terrestrial longitude interval is [-180,180], and flying the longitude that Asia reaches is 113.955, can carry out approach coding (cataloged procedure is as table 2) equally, be encoded to 1101000100001001 to longitude 113.955:
Table 2
By above-mentioned calculating, what latitude produced is encoded to 1,010 0,000 0,000 1101, and what longitude produced is encoded to 1,101 0,001 0,000 1001.Even bit puts longitude, and odd bits puts latitude, then can synthesize new string: 1,110,011,000 00,001 00,000 00,001 10,100 11.
Above-mentioned character string is carried out base32 (a kind of 32 coded systems) coding (utilize digital 0-9 and captions b-z to remove i, l, o encode), be converted to the decimal system by 11,100 11,000 00,001 00,000 00,001 10100.Corresponding numeral is: 28,24,1,0,1,20.Look into encoding and decoding table (table 3) again, corresponding base32 is encoded to ws101n, and this coding is geohash coding.
Table 3
Decimal number 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Base 32 0 1 2 3 4 5 6 7 8 9 b c d e f g
Decimal number 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Base 32 h j k m n p q r s t u v w x y z
0
Geohash code length can control precision, and see the table of comparisons of code length as shown in table 4 and precision, when code length is 8, precision is at about 19 meters, and when code length is 9, precision, at about 2 meters, can select code length according to the actual needs.
Table 4
Code length Latitude bits Longitude bits Latitude error Longitude error Range error (km)
1 2 3 ±23 ±23 ±2500
2 5 5 ±2.8 ±5.6 ±630
3 7 8 ±0.70 ±0.7 ±78
4 10 10 ±0.087 ±0.18 ±20
5 12 13 ±0.022 ±0.022 ±2.4
6 15 15 ±0.0027 ±0.0055 ±0.61
7 17 18 ±0.00068 ±0.00068 ±0.076
8 20 20 ±0.000085 ±0.00017 ±0.019
Geohash corresponding to the latitude and longitude coordinates that Asia reaches as flown when Fig. 5 a be code length is 8 is coded in the scope (middle square frame) in map, Fig. 5 b is code length to fly geohash corresponding to latitude and longitude coordinates that Asia reaches when being 7 and is coded in scope (middle square frame) in map, and Fig. 5 c is code length to fly geohash corresponding to latitude and longitude coordinates that Asia reaches when being 6 and be coded in scope (middle square frame) in map.
In the embodiment of the present invention, the information acquisition request that receiving terminal sends, the current location information of terminal is carried in information acquisition request, obtain the historical position information that the account of the current login of terminal is corresponding, according to the corresponding relation of the positional information prestored and exhibition information, determine current location information and exhibition information corresponding to historical position information, the exhibition information determined is sent to terminal.Like this, can jointly obtain the more exhibition information of periphery according to user's current location and historical position, make user more easily get the information of needs, reduce the possibility that user initiates information acquisition process again, thus, the waste of Internet resources can be reduced.
Embodiment three
Based on identical technical conceive, the embodiment of the present invention additionally provides a kind of device sending exhibition information, and as shown in Figure 6, this device comprises:
Receiver module 610, for the information acquisition request that receiving terminal sends, carries the current location information of described terminal in described information acquisition request;
Acquisition module 620, the historical position information that the account for obtaining the current login of described terminal is corresponding;
Determination module 630, for the corresponding relation according to the positional information that prestores and exhibition information, determines described current location information and exhibition information corresponding to described historical position information;
Sending module 640, for sending to described terminal by the exhibition information determined.
Optionally, described acquisition module 620, for:
The positional information that the account obtaining the current login of described terminal is uploaded in default historical time section, by preset number positional informations maximum for number of repetition in the positional information of acquisition, is defined as the historical position information that described account is corresponding.
Optionally, described determination module 630, for:
Determine the geohash coding of described current location information and the geohash coding of described historical position information;
According to the geohash coding of the positional information prestored and the corresponding relation of exhibition information, determine the exhibition information of the geohash coding of described current location information and the geohash coding correspondence of described historical position information.
Optionally, described sending module 640, for:
Obtain the weight order of the described current location information that prestores and each exhibition information corresponding to described historical position information;
According to the weight order of described each exhibition information, determine the displaying order information of described each exhibition information;
The exhibition information determined and corresponding displaying order information are sent to described terminal.
Optionally, described sending module 640, also for:
The described weight order according to described each exhibition information, before determining the displaying order information of described each exhibition information, in described current location information and exhibition information corresponding to described historical position information, obtain simultaneously corresponding with the multiple positional informations in described current location information and described historical position information exhibition information;
According to the number of described multiple positional information corresponding to exhibition information obtained, increases is carried out to the weight order of described exhibition information and processes.
Optionally, described sending module 640, for:
According to the weight order of described each exhibition information, and the weight adjusting coefficient of the weight adjusting coefficient of exhibition information corresponding to the current location information prestored and exhibition information corresponding to historical position information, determine the displaying order information of described each exhibition information.
In the embodiment of the present invention, the information acquisition request that receiving terminal sends, the current location information of terminal is carried in information acquisition request, obtain the historical position information that the account of the current login of terminal is corresponding, according to the corresponding relation of the positional information prestored and exhibition information, determine current location information and exhibition information corresponding to historical position information, the exhibition information determined is sent to terminal.Like this, can jointly obtain the more exhibition information of periphery according to user's current location and historical position, make user more easily get the information of needs, reduce the possibility that user initiates information acquisition process again, thus, the waste of Internet resources can be reduced.
It should be noted that: the device of the transmission exhibition information that above-described embodiment provides is when sending exhibition information, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by device is divided into different functional modules, to complete all or part of function described above.In addition, the device of the transmission exhibition information that above-described embodiment provides belongs to same design with the embodiment of the method sending exhibition information, and its specific implementation process refers to embodiment of the method, repeats no more here.
Embodiment four
Fig. 7 is the structural representation of the server that the embodiment of the present invention provides.This server 1900 can produce larger difference because of configuration or performance difference, one or more central processing units (centralprocessing units can be comprised, CPU) 1922 (such as, one or more processors) and memory 1932, one or more store the storage medium 1930 (such as one or more mass memory units) of application program 1942 or data 1944.Wherein, memory 1932 and storage medium 1930 can be of short duration storages or store lastingly.The program being stored in storage medium 1930 can comprise one or more modules (diagram does not mark), and each module can comprise a series of command operatings in server.Further, central processing unit 1922 can be set to communicate with storage medium 1930, and server 1900 performs a series of command operatings in storage medium 1930.
Server 1900 can also comprise one or more power supplys 1926, one or more wired or wireless network interfaces 1950, one or more input/output interfaces 1958, one or more keyboards 1956, and/or, one or more operating systems 1941, such as Windows ServerTM, Mac OSXTM, UnixTM, LinuxTM, FreeBSDTM etc.
Server 1900 can include memory, and one or more than one program, one of them or more than one program are stored in memory, and are configured to perform described more than one or one program package containing the instruction for carrying out following operation by more than one or one processor:
The information acquisition request that receiving terminal sends, carries the current location information of described terminal in described information acquisition request;
Obtain the historical position information that the account of the current login of described terminal is corresponding;
According to the corresponding relation of the positional information prestored and exhibition information, determine described current location information and exhibition information corresponding to described historical position information;
The exhibition information determined is sent to described terminal.
Optionally, the historical position information that the account of the current login of the described terminal of described acquisition is corresponding, comprising:
The positional information that the account obtaining the current login of described terminal is uploaded in default historical time section, by preset number positional informations maximum for number of repetition in the positional information of acquisition, is defined as the historical position information that described account is corresponding.
Optionally, the corresponding relation of the positional information that described basis prestores and exhibition information, determine described current location information and exhibition information corresponding to described historical position information, comprising:
Determine the geohash coding of described current location information and the geohash coding of described historical position information;
According to the geohash coding of the positional information prestored and the corresponding relation of exhibition information, determine the exhibition information of the geohash coding of described current location information and the geohash coding correspondence of described historical position information.
Optionally, described the exhibition information determined is sent to described terminal, comprising:
Obtain the weight order of the described current location information that prestores and each exhibition information corresponding to described historical position information;
According to the weight order of described each exhibition information, determine the displaying order information of described each exhibition information;
The exhibition information determined and corresponding displaying order information are sent to described terminal.
Optionally, the described weight order according to described each exhibition information, before determining the displaying order information of described each exhibition information, also comprises:
In described current location information and exhibition information corresponding to described historical position information, obtain simultaneously corresponding with the multiple positional informations in described current location information and described historical position information exhibition information;
According to the number of described multiple positional information corresponding to exhibition information obtained, increases is carried out to the weight order of described exhibition information and processes.
Optionally, the described weight order according to described each exhibition information, determine the displaying order information of described each exhibition information, comprising:
According to the weight order of described each exhibition information, and the weight adjusting coefficient of the weight adjusting coefficient of exhibition information corresponding to the current location information prestored and exhibition information corresponding to historical position information, determine the displaying order information of described each exhibition information.
In the embodiment of the present invention, the information acquisition request that receiving terminal sends, the current location information of terminal is carried in information acquisition request, obtain the historical position information that the account of the current login of terminal is corresponding, according to the corresponding relation of the positional information prestored and exhibition information, determine current location information and exhibition information corresponding to historical position information, the exhibition information determined is sent to terminal.Like this, can jointly obtain the more exhibition information of periphery according to user's current location and historical position, make user more easily get the information of needs, reduce the possibility that user initiates information acquisition process again, thus, the waste of Internet resources can be reduced.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (12)

1. send a method for exhibition information, it is characterized in that, described method comprises:
The information acquisition request that receiving terminal sends, carries the current location information of described terminal in described information acquisition request;
Obtain the historical position information that the account of the current login of described terminal is corresponding;
According to the corresponding relation of the positional information prestored and exhibition information, determine described current location information and exhibition information corresponding to described historical position information;
The exhibition information determined is sent to described terminal.
2. method according to claim 1, is characterized in that, the historical position information that the account of the current login of the described terminal of described acquisition is corresponding, comprising:
The positional information that the account obtaining the current login of described terminal is uploaded in default historical time section, by preset number positional informations maximum for number of repetition in the positional information of acquisition, is defined as the historical position information that described account is corresponding.
3. method according to claim 1, is characterized in that, the corresponding relation of the positional information that described basis prestores and exhibition information, determines described current location information and exhibition information corresponding to described historical position information, comprising:
Determine the geohash coding of described current location information and the geohash coding of described historical position information;
According to the geohash coding of the positional information prestored and the corresponding relation of exhibition information, determine the exhibition information of the geohash coding of described current location information and the geohash coding correspondence of described historical position information.
4. method according to claim 1, is characterized in that, described the exhibition information determined is sent to described terminal, comprising:
Obtain the weight order of the described current location information that prestores and each exhibition information corresponding to described historical position information;
According to the weight order of described each exhibition information, determine the displaying order information of described each exhibition information;
The exhibition information determined and corresponding displaying order information are sent to described terminal.
5. method according to claim 4, is characterized in that, the described weight order according to described each exhibition information, before determining the displaying order information of described each exhibition information, also comprises:
In described current location information and exhibition information corresponding to described historical position information, obtain simultaneously corresponding with the multiple positional informations in described current location information and described historical position information exhibition information;
According to the number of described multiple positional information corresponding to exhibition information obtained, increases is carried out to the weight order of described exhibition information and processes.
6. method according to claim 4, is characterized in that, the described weight order according to described each exhibition information, determines the displaying order information of described each exhibition information, comprising:
According to the weight order of described each exhibition information, and the weight adjusting coefficient of the weight adjusting coefficient of exhibition information corresponding to the current location information prestored and exhibition information corresponding to historical position information, determine the displaying order information of described each exhibition information.
7. send a device for exhibition information, it is characterized in that, described device comprises:
Receiver module, for the information acquisition request that receiving terminal sends, carries the current location information of described terminal in described information acquisition request;
Acquisition module, the historical position information that the account for obtaining the current login of described terminal is corresponding;
Determination module, for the corresponding relation according to the positional information that prestores and exhibition information, determines described current location information and exhibition information corresponding to described historical position information;
Sending module, for sending to described terminal by the exhibition information determined.
8. device according to claim 7, is characterized in that, described acquisition module, for:
The positional information that the account obtaining the current login of described terminal is uploaded in default historical time section, by preset number positional informations maximum for number of repetition in the positional information of acquisition, is defined as the historical position information that described account is corresponding.
9. device according to claim 7, is characterized in that, described determination module, for:
Determine the geohash coding of described current location information and the geohash coding of described historical position information;
According to the geohash coding of the positional information prestored and the corresponding relation of exhibition information, determine the exhibition information of the geohash coding of described current location information and the geohash coding correspondence of described historical position information.
10. device according to claim 7, is characterized in that, described sending module, for:
Obtain the weight order of the described current location information that prestores and each exhibition information corresponding to described historical position information;
According to the weight order of described each exhibition information, determine the displaying order information of described each exhibition information;
The exhibition information determined and corresponding displaying order information are sent to described terminal.
11. devices according to claim 10, is characterized in that, described sending module, also for:
The described weight order according to described each exhibition information, before determining the displaying order information of described each exhibition information, in described current location information and exhibition information corresponding to described historical position information, obtain simultaneously corresponding with the multiple positional informations in described current location information and described historical position information exhibition information;
According to the number of described multiple positional information corresponding to exhibition information obtained, increases is carried out to the weight order of described exhibition information and processes.
12. devices according to claim 10, is characterized in that, described sending module, for:
According to the weight order of described each exhibition information, and the weight adjusting coefficient of the weight adjusting coefficient of exhibition information corresponding to the current location information prestored and exhibition information corresponding to historical position information, determine the displaying order information of described each exhibition information.
CN201410775592.4A 2014-12-15 2014-12-15 Method and device for sending display information Active CN104580379B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410775592.4A CN104580379B (en) 2014-12-15 2014-12-15 Method and device for sending display information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410775592.4A CN104580379B (en) 2014-12-15 2014-12-15 Method and device for sending display information

Publications (2)

Publication Number Publication Date
CN104580379A true CN104580379A (en) 2015-04-29
CN104580379B CN104580379B (en) 2021-03-19

Family

ID=53095537

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410775592.4A Active CN104580379B (en) 2014-12-15 2014-12-15 Method and device for sending display information

Country Status (1)

Country Link
CN (1) CN104580379B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104918327A (en) * 2015-06-08 2015-09-16 浙江每日互动网络科技有限公司 Method and system detecting geographic position of mobile terminal in real time
CN105050039A (en) * 2015-06-16 2015-11-11 浙江每日互动网络科技有限公司 Mobile terminal real-time detection method and system based on wireless signals
CN106251166A (en) * 2016-04-05 2016-12-21 上海驴徒电子商务有限公司 Method and system are recommended by businessman

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917665A (en) * 2010-08-23 2010-12-15 宇龙计算机通信科技(深圳)有限公司 Information pushing method and system
CN102215452A (en) * 2011-05-30 2011-10-12 宇龙计算机通信科技(深圳)有限公司 Information push method, server and terminal based on geographical position
CN103052021A (en) * 2011-10-11 2013-04-17 北京千橡网景科技发展有限公司 Method and equipment for providing location-based service
US20130345957A1 (en) * 2012-06-22 2013-12-26 Google Inc. Ranking nearby destinations based on visit likelihoods and predicting future visits to places from location history
CN103905978A (en) * 2012-12-27 2014-07-02 中国电信股份有限公司 Information pushing method based on position, pushing device and network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917665A (en) * 2010-08-23 2010-12-15 宇龙计算机通信科技(深圳)有限公司 Information pushing method and system
CN102215452A (en) * 2011-05-30 2011-10-12 宇龙计算机通信科技(深圳)有限公司 Information push method, server and terminal based on geographical position
CN103052021A (en) * 2011-10-11 2013-04-17 北京千橡网景科技发展有限公司 Method and equipment for providing location-based service
US20130345957A1 (en) * 2012-06-22 2013-12-26 Google Inc. Ranking nearby destinations based on visit likelihoods and predicting future visits to places from location history
CN103905978A (en) * 2012-12-27 2014-07-02 中国电信股份有限公司 Information pushing method based on position, pushing device and network

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104918327A (en) * 2015-06-08 2015-09-16 浙江每日互动网络科技有限公司 Method and system detecting geographic position of mobile terminal in real time
CN104918327B (en) * 2015-06-08 2018-05-18 浙江每日互动网络科技股份有限公司 A kind of method and system in real-time detection mobile terminal geographical location
CN105050039A (en) * 2015-06-16 2015-11-11 浙江每日互动网络科技有限公司 Mobile terminal real-time detection method and system based on wireless signals
CN105050039B (en) * 2015-06-16 2018-09-11 浙江每日互动网络科技股份有限公司 One kind carrying out mobile terminal real-time detecting method and system based on wireless signal
CN106251166A (en) * 2016-04-05 2016-12-21 上海驴徒电子商务有限公司 Method and system are recommended by businessman

Also Published As

Publication number Publication date
CN104580379B (en) 2021-03-19

Similar Documents

Publication Publication Date Title
CN105100292B (en) Determine the method and device of the position of terminal
EP3399434B1 (en) Short link processing method, device and server
US10715949B2 (en) Determining timing for determination of applicable geo-fences
TWI703862B (en) Content recommendation method and device
CN106534392A (en) Positioning information acquiring method, positioning method and apparatus
CN107092623B (en) Interest point query method and device
CN104050205A (en) Address information input method, address information acquisition method, address information input device, address information acquisition device, equipment, and address information input system
CN104731917A (en) Recommendation method and device
CN103226393A (en) Input method and equipment
CN108319585B (en) Data processing method and device, electronic equipment and computer readable medium
CN105187237A (en) Method and device for searching associated user identifications
JP6446058B2 (en) Positioning method and apparatus based on electronic equipment or application
CN101599951A (en) A kind of method of releasing website information, Apparatus and system
US20190014186A1 (en) Method and apparatus for pushing information
CN103714080A (en) Spatial index structure tree based method and device for providing results of searching spatial objects
CN104834721A (en) Search processing method and device based on positions
CN104320848B (en) The system and method for indoor positioning is realized based on cloud computing
CN104580379A (en) Method and device for sending show information
CN103888895A (en) Information processing method, server equipment and mobile terminal
CN108009205B (en) Search result caching method based on position, search method, client and system
CN109145225B (en) Data processing method and device
CN110427574B (en) Route similarity determination method, device, equipment and medium
CN107305583B (en) Real-time streaming recording data analysis system and method
CN111125557A (en) Resource screening method and device, computer equipment and storage medium
US9084086B2 (en) Matching based on geolocation information from a mobile application

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant