CN108282508A - Determination method and device, information-pushing method and the device in geographical location - Google Patents

Determination method and device, information-pushing method and the device in geographical location Download PDF

Info

Publication number
CN108282508A
CN108282508A CN201710011366.2A CN201710011366A CN108282508A CN 108282508 A CN108282508 A CN 108282508A CN 201710011366 A CN201710011366 A CN 201710011366A CN 108282508 A CN108282508 A CN 108282508A
Authority
CN
China
Prior art keywords
information
location
user
user identifier
geographic index
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
CN201710011366.2A
Other languages
Chinese (zh)
Other versions
CN108282508B (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201710011366.2A priority Critical patent/CN108282508B/en
Publication of CN108282508A publication Critical patent/CN108282508A/en
Application granted granted Critical
Publication of CN108282508B publication Critical patent/CN108282508B/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters

Abstract

A kind of determination method, information-pushing method and the device in geographical location, the determination method in the user geographical location may include:Geographic index is generated based on the associated at least one user's history data of user identifier, the geographic index includes for determining the first information in geographical location, the mapping relations of the first information and the user identifier;Receive the Location Request for carrying user identifier;The geographic index of user identifier in the corresponding Location Request of inquiry;According to the geographic index inquired, the first information is provided to the requesting party of the Location Request.The application can improve the accuracy and reliability in determining user geographical location, can effectively promote the precision of information push.

Description

Determination method and device, information-pushing method and the device in geographical location
Technical field
The present invention relates to the determination method and device in network technique field more particularly to a kind of geographical location, information to push Method and device.
Background technology
Under the high speed development of current mobile Internet, in order to more accurately launch advertisement or push marketing message, Position where needing to perceive user in real time at present.Therefore, advertisement or the accurate push of marketing message to be realized, it is necessary to real When acquire the geographical location information of user, in presently relevant technology the acquisition means of user's geographical location information mainly by (APP) is applied in installation on the mobile terminal of user, and the geographical location information of timing report of user is applied by this.
Currently, in the related technology, being realized to the solution of user's pushed information based on the geographical location information of user Journey is as follows:
First, the geographical location information of user is periodically reported by the APP on the mobile terminal of user to application server (APP Server);
Then, application server can be cached the geographical location information of user by Distributed Message Queue;
Third walks, and location based service (LBS, Location Based Service) engine is real in information transmission system When the geographical location information at family is taken from Distributed Message Queue lira, build geographic index in memory;
4th step, when user browses webpage on computer either mobile terminal or opens APP, triggering information, which pushes, asks The transmission asked, browser or APP send out described information push request;
5th step is looked into after the engine of positioning in information transmission system receives described information push request by LBS engines Ask the pre-defined rule collection that user's geographical location information is consistent;
6th step, engine of positioning in information transmission system is according to the corresponding push strategy of the pre-defined rule collection by information The browser or the APP on mobile terminal that (such as advertisement, sales promotion information) pushes to the first user computer, the webpage on browser Or the APP on mobile terminal shows described information to the first user.
There are following defects for the said program of the relevant technologies:
1) LBS engines are strictly dependent on the geographical location information acquisition of mobile terminal side, if mobile terminal side masks The function that geographical location information reports, will result directly in LBS engines can not get the geographical location information of user, to influence The push of information;
2) under scene of the user using PC browsing webpages, due to no corresponding geographical location information reporting mechanism, The geographical location information that user can not be got can not push so as to cause under such scene according to the geographical location information of user Information;
3) there are certain timeliness for user's geographical location information, if the geographical location information that mobile terminal side reports is Through expired, then the geographical location reliability is very poor, the precision and user experience for influencing information push can be verified;
In summary, the geographical location information of the mobile terminal side real-time report that places one's entire reliance upon in the related technology determines use The current geographical location in family, this mode application scenarios is limited, and obtained result reliability is poor, accuracy is not high, coverage rate It is low, the geographical location information based on mobile terminal real-time report to user's pushed information, not only the application scenarios of information push by Limit, precision is not high, and user experience is not also high.
Invention content
The application provides a kind of determination method and device, information-pushing method and the device in geographical location, can improve use Geographical location information coverage rate, accuracy and the reliability at family, and improve the precision of information push.
The application adopts the following technical scheme that:
A kind of determination method in geographical location, including:
Geographic index, the geographical location are generated based on the associated at least one user's history data of user identifier Index is comprising for determining the first information in geographical location, the mapping relations of the first information and the user identifier;
Receive the Location Request for carrying user identifier;
The geographic index of user identifier in the corresponding Location Request of inquiry;
According to the geographic index inquired, the first information is provided to the requesting party of the Location Request.
Wherein, described to generate geographic index, packet based on the associated at least one user's history data of user identifier It includes:
Based on the associated at least one user's history data of user identifier, the first information is obtained;
The geographic index is generated using the first information and its corresponding user identifier.
Wherein, described to generate the geographic index using the first information and its corresponding user identifier, including: The first information got described in filtering, describedly using the filtered first information and its generation of corresponding user identifier Manage location index.
Wherein, described to generate geographic index based on the associated at least one user's history data of user identifier, also Including:Configure the priority of the first information;
The geographic index inquired described in the basis provides geographical location to the requesting party of the Location Request and believes Breath, including:
According to the priority of the first information in the geographic index inquired, from the geographical location inquired The first information is extracted in index and is supplied to the requesting party of the Location Request.
Wherein, the priority of the configuration first information, including one of following or two combinations:
When in the geographic index including a plurality of first information, according to pre-defined rule by the geographical location rope The a plurality of first information sequence in drawing, the priority of the first information is configured according to the result of the sequence;
When in the geographic index including the first information, the priority for configuring the first information is pre- Definite value.
Wherein, the first information is one of following:Ship-to information, global positioning satellite GPS information, corresponding IP The location information of location;
At least one user's history data are one of following or its arbitrary combination:Transaction data, using data, browsing Data.
Wherein, the generation geographic index, including:
Ship-to information is extracted from the transaction data of the same user identifier of correspondence, and corresponding with the user identifier First identifier is key, the filtered ship-to information is that value forms the geographic index.
Wherein, the generation geographic index further includes:
When the ship-to information is a plurality of, belonged to according to the renewal time of the ship-to information, geographic area One of property, access times are multinomial, configure the priority of the ship-to information;
When the ship-to information is one, the priority of the ship-to information is configured with first predetermined value.
Wherein, before the generation geographic index, further include:Establish IP address information library, the IP address information Include IP address, location information and its mapping relations in library;
The generation geographic index, including:IP address in browsing data based on the same user identifier of correspondence, with And the access time information of each IP address, the position letter of the corresponding IP address is inquired from the IP address information library Breath, and using the corresponding first identifier of the user identifier, access time information, IP address as key, at least one IP address Corresponding location information is that value forms the geographic index.
Wherein, described to generate the geographic index, further include:
When in the geographic index comprising the location information of the IP address is corresponded to described in two or more pieces, according to The access duration of each IP address sorts the location information, and the location information is configured according to the result of the sequence Priority;
When in the geographic index comprising a location information for corresponding to the IP address, matched with second predetermined value Set the priority of the location information of the corresponding IP address.
Wherein, the generation geographic index, including:
Based on the same user identifier of correspondence using the GPS information and access time information in data, with the user Identify corresponding first identifier, access time information is key, the GPS information is that value forms the geographic index.
Wherein, described to generate the geographic index, further include:
It is corresponding according to the GPS information when including GPS information described in two or more pieces in the geographic index It accesses duration to sort to the GPS information, the priority of the GPS information is configured according to the result of the sequence;
When including a GPS information in the geographic index, the GPS information is configured with third predetermined value Priority.
Wherein, described to generate the geographic index, further include:
Relevance between user identifier described in identification browsing data, transaction data or application data;
The first identifier is generated based on the associated user identifier, and the first identifier includes first part and the Two parts, the first part are used to indicate the user identifier type, and the second part is based on the associated user The content of mark is obtained with predefined mapping algorithm.
Wherein, further include:Duplicate removal processing is carried out based on the first identifier that user identifier described in associated same type generates.
A kind of information-pushing method, including:
Based on the trigger request for carrying out user terminal, Location Request is sent to location-server, the trigger request carries User identifier, the Location Request carry the user identifier;
The first information from the location-server is received, the first information is for determining geographical location;
The pushed information that the first information matches is inquired, and the pushed information is provided to the user terminal.
Wherein, the pushed information that the inquiry first information matches, including:
Information push request is sent to push server, described information push request carries the first information;
Receive the pushed information to match with the first information that the push server returns.
Wherein, before the transmission Location Request to location-server, further include:It has verified whether to receive from described Whether the timeliness of the location data of user terminal and the location data meets predetermined condition;
It is described to send Location Request to location-server, including:The positioning number from the user terminal is not being received According to or the timeliness of the location data be unsatisfactory for the predetermined condition when, send Location Request to location-server.
Wherein, the location data for verifying whether to receive from the user terminal and the location data After whether timeliness meets predetermined condition, further include:
When receiving the location data and the location data meets the predetermined condition, the location data is inquired The pushed information that middle global positioning satellite GPS information matches, and provide the pushed information to the user terminal.
Wherein, the predetermined condition is to report the duration of time gap current time without departing from scheduled duration.
A kind of determining device in user geographical location, including:
Generation module, for generating geographical location rope based on the associated at least one user's history data of user identifier Draw, the geographic index includes for determining the first information in geographical location, the first information and the user identifier Mapping relations;
First receiving module, for receiving the Location Request for carrying user identifier;
Enquiry module, the geographic index for inquiring user identifier in the corresponding Location Request;
First provides module, the geographic index for being inquired according to, to the requesting party of the Location Request The first information is provided.
A kind of determining device in user geographical location, including processor and memory, the memory are stored with computer Executable instruction, the computer executable instructions realize following method when being executed by the processor:
Geographic index, the geographical location are generated based on the associated at least one user's history data of user identifier Index is comprising for determining the first information in geographical location, the mapping relations of the first information and the user identifier;
Receive the Location Request for carrying user identifier;
The geographic index of user identifier in the corresponding Location Request of inquiry;
According to the geographic index inquired, the first information is provided to the requesting party of the Location Request.
A kind of information push-delivery apparatus, including:
Sending module, it is described for based on the trigger request for carrying out user terminal, Location Request to be sent to location-server Trigger request carries user identifier, and the Location Request carries the user identifier;
Second receiving module, for receiving the first information from the location-server, the first information is for true Determine geographical location;
Second provides module, the pushed information to match for inquiring the first information, and is carried to the user terminal For the pushed information.
A kind of information push-delivery apparatus, including processor and memory, the memory are stored with computer executable instructions, The computer executable instructions realize following method when being executed by the processor:
Based on the trigger request for carrying out user terminal, Location Request is sent to location-server, the trigger request carries User identifier, the Location Request carry the user identifier;
The first information from the location-server is received, the first information is for determining geographical location;
The pushed information that the first information matches is inquired, and the pushed information is provided to the user terminal.
The application includes following advantages:
On the one hand, the geographic position determination method and device of the application, in conjunction with user historical data (such as transaction data, Browse data, using data etc.) to be formed include geographic index, and it can be when the location data of user can not be got or user Location data timeliness deficiency when, based on user identifier querying geographical position index, pass through first in geographic index Information determines the current geographical location of user, not only coverage rate, accuracy and reliability higher, but also not by usage scenario Limitation, it is convenient and efficient.
On the other hand, the information-pushing method and device of the application is related by inquiring user identifier to location-server Geographic index determine the geographical location of user, then provide corresponding push letter to user terminal based on the geographical location Breath, the precision higher of information push, to effectively improve the user experience of information push.Also, use can not got When the location data at family or when the location data timeliness deficiency of user (such as user masks the positioning function of mobile terminal, Can not be positioned when using electronic equipments such as PC), it can also be based on user location into the push of row information, not by electronic equipment The limitation of function, coverage area is wider when information pushes.
Certainly, implementing any product of the application must be not necessarily required to reach all the above advantage simultaneously.
Description of the drawings
Fig. 1 is the determination method flow schematic diagram in the application geographical location;
Fig. 2 is the structural schematic diagram of the application distributed system;
Fig. 3 is the specific implementation flow schematic diagram of the application geographic position determination method;
Fig. 4 is the flow diagram of the application information-pushing method;
Fig. 5 is the composed structure schematic diagram of the determining device in the application geographical location;
Fig. 6 is the composed structure schematic diagram of the application information push-delivery apparatus;
Fig. 7 is the configuration diagram of one application scenarios of the application.
Specific implementation mode
The technical solution of the application is described in detail below in conjunction with accompanying drawings and embodiments.
It should be noted that if do not conflicted, each feature in the embodiment of the present application and embodiment can be tied mutually It closes, within the protection domain of the application.In addition, though logical order is shown in flow charts, but in certain situations Under, it can be with the steps shown or described are performed in an order that is different from the one herein.
In a typical configuration, the computing device of client or server may include one or more processors (CPU), input/output interface, network interface and memory (memory).
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.Memory may include module 1, module 2 ... ..., module N (N is the integer more than 2).
Computer-readable medium includes permanent and non-permanent, removable and non-movable storage medium.Storage medium It can be accomplished by any method or technique information storage.Information can be computer-readable instruction, data structure, program mould Block or other data.The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static random-access is deposited Reservoir (SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), fast flash memory bank or other memory techniques, CD-ROM are read-only Memory (CD-ROM), digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage or Other magnetic storage apparatus or any other non-transmission medium can be used for storage and can be accessed by a computing device information.According to Herein defines, and computer-readable medium does not include non-temporary computer readable media (transitory media), is such as modulated Data-signal and carrier wave.
In geographic position determination method provided by the embodiments of the present application, can be previously stored with it is associated with user identifier extremely A kind of few user's history data can be based on the user and mark when receiving the Location Request for carrying the user identifier of certain user Know all user's history data of the inquiry associated user of the user identifier, and can determine user's based on the historical data Position.This method can not be determined in the geographical location of user by localization methods such as global positioning system, movable positioning systems In the case of, it can be based on the historical use data of user, to determine the position of user, so as to provide different clothes to the user Business.
In practical application, can in the position for receiving Location Request and being determined later based on the historical data of user user, The geographical location of user can also be first determined according to the historical data of user, to after receiving the request of user, so that it may with The geographical location of user is obtained directly by way of inquiry.It will illustrate present techniques side with specific example below Case.
Embodiment one
A kind of determination method in geographical location, as shown in Figure 1, including the following steps:
Step 101, the associated at least one user's history data of user identifier are based on and generate geographic index, it is described Geographic index includes for determining that the first information in geographical location, the first information and the mapping of the user identifier are closed System;
Step 102, the Location Request for carrying user identifier is received;
Step 103, inquiry corresponds to the geographic index of user identifier in the Location Request;
Step 104, according to the geographic index inquired, described the is provided to the requesting party of the Location Request One information.
In the present embodiment, historical data (such as transaction data browses data, using data) formation in conjunction with user includes Geographic index can be based on when that can not get the location data of user or when the location data timeliness deficiency of user User identifier querying geographical position indexes, and the current geographical location of user is determined by the first information in geographic index, Not only coverage rate, accuracy and reliability higher, but also do not limited by usage scenario, it is convenient and efficient.
In the present embodiment, the first information can be one of following:Ship-to information, global positioning satellite GPS letters The location information of breath, corresponding IP address;At least one user's history data can be one of following or its arbitrary combination:It hands over Easy data, using data, browsing data.
In practical application, transaction data can be obtained from trading server or application server, or clear by parsing user Daily record or application log are look to obtain, transaction data can include user in electric business website or provide the applications of transactional services The user identifier (registered in such as electric business website or application program User ID, telephone number) registered in program, user provide Personal information (such as ship-to information), the relevant information of merchandise items (such as category, quantity).
In practical application, user is primarily referred to as using data caused by application program on mobile terminal using data, is answered It can be obtained from the server for providing corresponding application programs with data or be obtained by parsing the application log of user, answered With data can include user registered in application program user identifier (User ID that such as user registers in application program, The telephone number etc. filled in), the function that is provided using application program of global positioning satellite (GPS) information and user is (as Figure, navigation, instant messaging, shopping etc.) when the information that generates.
In practical application, browsing data are primarily referred to as user and pass through caused by the equipment browses webpage such as mobile terminal or PC Data, browsing data can be obtained by parsing user's travel log, can also be obtained to corresponding application server, browsed User identifier that data generate when including user identifier browsing webpage (User ID of such as user's registration, Cookie ID, IP address, Mac ID etc.), access time information (such as access duration, access time section), webpage relevant information (such as network address, Web page classifying, Web page contents) etc..
In some implementations, geographic index can be generated in the following way:It is associated based on user identifier At least one user's history data, obtain the first information;It is given birth to using the first information and its corresponding user identifier At the geographic index.
In the present embodiment, the associated user's history data of user identifier refer to representing multiple user identifiers of same user Corresponding user's history data.In practical application, the user's history data of user identifier can be carried by statistical analysis (on i.e. One of browsing data, transaction data or application data for stating), the relevance between each user identifier is identified, so that it is determined that going out Which user identifier is to represent same user.For example, same user can be determined by the browsing data of statistical analysis user ID is corresponding with multiple Cookie ID, multiple IP address, multiple Mac ID, then illustrating the User ID, multiple Cookie ID, more There are relevances between a IP address, multiple Mac ID, actually represent same user.
In practical application, user's history data have certain timeliness, lower first letter of poor in timeliness, frequency of use It is poor to cease Reliability comparotive.Therefore, it can be obtained based on nearest apart from current time, the higher user's history data of frequency of use It takes the first information, in the present embodiment, after obtaining the first information, first letter got can also be filtered Breath generates the geographic index using the filtered first information and its corresponding user identifier.In this way, can be by portion Point poor in timeliness, the lower first information of frequency of use filter out, select that timeliness is higher, higher first letter of frequency of use It ceases to generate the geographic index, to enhance the reliability of the geographic index.
In the present embodiment, during generating geographic index, the priority of the first information can also be configured.It can With the priority of the first information in the geographic index that inquires according to, from the geographic index inquired It extracts the first information and is supplied to the requesting party of the Location Request.Pass through the accurate of the first information described in priority indication Property, the priority value of the first information the high, illustrates that its accuracy is higher, in this way, accuracy can precisely be locked based on priority value The high first information, to improve the accuracy in user geographical location.
In some implementations, the priority of the configuration first information, including one of following or two groups It closes:1) when including a plurality of first information in the geographic index, according to pre-defined rule by the geographic index In a plurality of first information sequence, the priority of the first information is configured according to the result of the sequence;2) describedly When managing in location index comprising the first information, the priority for configuring the first information is predetermined value.
In practical application, the different predetermined values can be configured for the different types of first information, for example, the first letter Breath is configurable to second predetermined value when being the location information of corresponding IP address, the first information is configurable to when being GPS information Third predetermined value, the first information is configurable to first predetermined value when being ship-to information, in this way, higher for accuracy Certain class first information can configure higher priority, for accuracy compare certain lower class first information can configure compared with Low priority, so that the higher first information of subsequently selected accuracy determines the current geographical location of user.
In practical application, when a plurality of first information in the geographic index being sorted according to pre-defined rule, It can be ranked up using different pre-defined rules for the different types of first information.For example, for ship-to information, it can To be ranked up according to features such as the frequency of use, timeliness, area attribute of ship-to information;For GPS information, Ke Yigen It is ranked up according to its timeliness, frequency of use, using duration etc.;Location information corresponding for IP address, can be according at that time The features such as effect property, frequency of use, access duration, access time section are ranked up.Based on the different types of first information itself Accuracy can configure the different types of first information different priority limits, then the sequence knot based on the first information Fruit configures specific priority value.
In some implementations, it when the first information is ship-to information, can generate in the following way Geographic index:Ship-to information is extracted from the transaction data of the same user identifier of correspondence, and with the user identifier Corresponding first identifier is key, the filtered ship-to information is that value forms the geographic index.
Wherein, when the ship-to information is a plurality of, can also according to renewal time of the ship-to information, One of geographic area attribute, access times are multinomial, configure the priority of the ship-to information;In the ship-to When information is one, the priority of the ship-to information can also be configured with first predetermined value.
It in some implementations, can be by as follows when the first information is the location information of corresponding IP address Mode generates geographic index:IP address information library, the IP address information library are established before generating geographic index In include IP address, location information and its mapping relations;IP address in browsing data based on the same user identifier of correspondence, with And the access time information of each IP address, the position letter of the corresponding IP address is inquired from the IP address information library Breath, and using the corresponding first identifier of the user identifier, access time information, IP address as key, at least one IP address Corresponding location information is that value forms the geographic index.
Wherein, the location information that the IP address is corresponded to described in two or more pieces is included in the geographic index When, the location information can also be sorted according to the access duration of each IP address, be configured according to the result of the sequence The priority of the location information;When in the geographic index comprising a location information for corresponding to the IP address, The priority of the location information of the corresponding IP address can also be configured with second predetermined value.
In some implementations, when the first information is GPS information, geographical position can be generated in the following way Set index:Based on the same user identifier of correspondence using the GPS information and access time information in data, marked with the user Know corresponding first identifier, access time information is key, the GPS information is that value forms the geographic index.
It wherein, can also be according to described in the geographic index comprising described in two or more pieces when GPS information The corresponding access duration of GPS information sorts to the GPS information, and the excellent of the GPS information is configured according to the result of the sequence First grade;When including a GPS information in the geographic index, the GPS can also be configured with third predetermined value The priority of information.
It is described to generate the geographic index in the present embodiment, can also include:Identification browsing data, transaction data Or the relevance between user identifier described in application data;First mark is generated based on the associated user identifier Know, the first identifier includes first part and second part, and the first part is used to indicate the user identifier type, institute Content of the second part based on the associated user identifier is stated to obtain with predefined mapping algorithm.
In some implementations, be also based on first identifier that user identifier described in associated same type generates into Row duplicate removal processing.In the present embodiment, the associated same type user identifier refers to coming from same type user's history data , there are the user identifiers of relevance.For example, by the browsing data of statistical analysis user, determine that same User ID is corresponding with Multiple Cookie ID, multiple IP address, multiple Mac ID, then with illustrating the User ID, multiple Cookie ID, multiple IP There are relevances between location, multiple Mac ID, actually represent same user, need to correspond to the User ID, multiple respectively Cookie ID, multiple IP address, multiple first identifiers of multiple Mac ID carry out duplicate removal processing.
In the present embodiment, it can be protected the geographic index as off-line data after generating geographic index It deposits, for example, can be stored in database or memory, convenient for inquiring at any time.In practical application, the storage of geographic index It can respectively store, can also be stored jointly according to its form difference.For example, can IP be stored in the first geographic index In address information library, the second geographic index is preserved by specified first database, by third geographic index library Preserved by the second specified database etc..For the specific storage mode of geographic index, it is not restricted herein.
The generating process of first identifier in the present embodiment is described in detail in exemplary fashion below:
First identifier is generated according to agreement format, and all user identifiers for identifying same user are mapped to described in one First identifier.That is, the first identifier corresponds to a kind of user identifier of a user, the user identifier may include but It is not limited to:The User ID (user ID) of user's registration, phone number, international mobile equipment identification number (International Mobile Equipment Identity, IMEI), Mac ID, Cookie ID etc..
In practical application, first identifier can be generated in the following way:The first identifier includes two parts, a part It is configured to identity category identification code, the content of another part user identifier is obtained with predefined mapping algorithm.In this way, can will be same Multiple same type user identifiers of one user map to a first identifier.The class of identity category identification code identity user mark Type, for example, when same User ID corresponds to multiple phone numbers in transaction data, then multiple phone number belongs to multiple similar Multiple phone number is mapped to the same first identifier by type user identifier, and first part is that instruction is used in the first identifier Family is identified as the identity category identification code such as 002 of phone number, and second part includes multiple identifiers, and each identifier corresponds to one A phone number, the identifier are obtained based on the content of phone number with predefined mapping algorithm.
For example, first identifier can be generated according to following format:A first identifier is indicated with 64 data, first Mark is named as NID (normalization id), is two parts by NID points:A part is preceding 8 bit, is configured to identity class Other identification code;Another part is rear 56 bit, and rear 56 bit is incremented by since 0x00000000000001, can be marked by user The content of knowledge is obtained with predefined mapping algorithm.In this way, can be one the by the fellow users identity map of same user One mark.
It,, can be with to ensure a first identifier accurately corresponding user after first identifier generation in the present embodiment Duplicate removal processing is carried out to first identifier.For example, being generated respectively for user ID and the Cookie ID of same user different When first identifier, that can determine user ID and the Cookie ID, there are when correspondence, will correspond to user ID first to mark Know the first identifier for overriding the corresponding Cookie ID.For example, it was discovered that in the account of user's S historical logs, Cookie ID It is AAA, user ID are BBB, then can determine that AAA and BBB represent the same type user identifier of the same user S, then, The first identifier NID2 coverings that the first identifier NID1 that can be AAA by Cookie ID is BBB by user ID, cover it Afterwards, the second part of first identifier NID2 is obtained based on " Cookie ID are AAA " and " user ID are BBB " mapping.
In practical application, if the corresponding first identifier of certain type user of user has existed, and the user It, then can be with the mapping between synchronized update user identifier and first identifier when the type user identifier updates.For example, can basis Updated user identifier changes the second part in the first identifier so that first identifier and updated user identifier it Between establish mapping.
The generating process of geographic index in the present embodiment is described in detail in exemplary fashion below:
In practical application, the geographic index can exist in the form of following three kinds:
1) using IP address as key, to correspond to the location information of IP address as value;
2) using correspond to the first identifier of user identifier as key, using ship-to information as value;
3) believe using the first identifier, IP address and access time as key, with the position of GPS information or corresponding IP address Breath is value.
Above-mentioned geographic index can be generated and be preserved in the following way:
1) the browsing data based on user generate the first geographic index:
The user identifier is User ID, Cookie ID or the media access control mark that user registers on webpage When (Mac ID), there are binding relationships for the User ID, Cookie ID or Mac ID and IP address;At this point it is possible to will be described The corresponding location information of IP address is the first information, is generated using the IP address as key (Key), with the correspondence IP address Location information be worth (Value) the first geographic index.Here, IP address can be right with the addresses IPv4, the addresses IPv6 etc. It is not restricted herein in the concrete form of IP address.
In some implementations, the corresponding location information of IP address can be obtained from outside.For example, can be to for managing Manage the database or the corresponding position letter of server (server of such as operator) timing acquisition IP address of IP address relevant information Breath.
In some implementations, above-mentioned first geographic index can be stored in dedicated information bank.For example, IP address information library can be established, first geographic index is stored in the IP address information library.
In addition to this it is possible to match for the geographical location information for corresponding to IP address in first geographic index acquiescence Specified priority is set, can be each first information in the first geographic index for example, when priority is up to 100 All default setting priority is second predetermined value, which is taken as 10.
Wherein, the IP address can be the addresses IPv4, the addresses IPv6 etc..
2) transaction data based on user generates the second geographic index:
Extraction corresponds to the ship-to information of same user identifier from transaction data, to correspond to same user identifier Ship-to information as the first information corresponding with the user identifier;Inquire corresponding first mark of the user identifier Know;It generates using the first identifier as key, with the second geographic index that the ship-to information is value.
Wherein, the ship-to information can include but is not limited to user and above be carried to trading server or application server The information such as the ship-to of confession, common address.
In practical application, the ship-to is believed according to the degree of access times and usage time close to current time Breath is ranked up, according to the result member-retaining portion ship-to information of sequence, using the part ship-to information of reservation as use The first information at family.For example, when ship-to information is more than certain amount, retain the preceding a certain number of ship-to that sort Information, other ship-to information are rejected, and the ship-to information retained can be directly as the first information.
May have long-term not used corpse address in the ship-to information of user can to promote treatment effeciency After extracting ship-to information, before being ranked up to ship-to information, frequency is used according to ship-to information Rate carries out coarse filtration to ship-to information, such as can not will have used ship-to to believe in 3 months from current time Breath directly filters.Ship-to information can also be filtered using other modes in practical application.For specifically filtering Condition or filter type, are not restricted herein.
In practical application, each ship-to information configuration priority can also be ordered as according to described.Specifically, can be with It is high preferential for the ship-to information configuration time of sequence second for the ship-to information configuration highest priority of sequence first Grade, the ship-to information configuration third high priority for the third that sorts, sequence are minimum excellent in last ship-to information configuration First grade.In some implementations, it may be used when configuration preference level and specific priority be set in such a way that sequence is successively decreased Value.Specifically, a predetermined difference value is differed between secondary high priority and highest priority, third high priority and time high priority Between differ a predetermined difference value, in this way, matching for each ship-to information in such a way that order priority is successively decreased Set priority.Certainly, other modes can also be used for ship-to information configuration priority in practical application, in this regard, herein It is not restricted.
For example, the ship-to information that the last time uses and access times are most can be made number one, it is square according to this After formula sequence, sequence is only retained if ship-to information is more than 10 described in first 10 ship-to information conducts The first information, for sequence first ship-to information configuration priority be 10, sort second ship-to information configuration it is excellent First grade is 9, is successively decreased successively, and the ship-to information configuration priority of sequence the tenth is 1.
In practical application, the type of ship-to information can also be set, according to the type of ship-to information and worked as The attribute dynamic of preceding time adjusts the priority of the ship-to information.For example, when current time is festivals or holidays, by type Increase a fixed value for the ship-to information priorities of family's property, type is excellent for the ship-to information of unit property First grade reduces a fixed value, the concrete numerical value of the fixed value can flexible configuration according to actual needs, configured for different situations Different numerical value, or an empirical value can be determined based on empirical data.For example, if current time is festivals or holidays, The ship-to information priorities of family's property are increased by 1, the ship-to information priorities of corresponding unit property subtract 1.Such as Fruit current time is working day, then subtracting 1 by the ship-to information priorities of family's property, corresponding unit property is received Address information priority increases by 1.
It here, can be according to the other information of user or the area of ship-to information after extracting ship-to information Domain Properties determine the type of ship-to information, for example, the area attribute of ship-to information is defaulted as family when being cell Matter, the area attribute of ship-to information are defaulted as unit property when being office building.For another example user is providing its ship-to If the type (such as home address, unit address) of the ship-to information is marked when information, with the type of user's mark Subject to.
The second geographical position can be generated in practical application, when using ship-to information as the first information in the following way Set index:It is that Value forms the second geographic index with the first identifier of user for Key, with ship-to information, wherein Each Value is configured with priority, and the mapping between the Key and Value can be one-to-one, one-to-many etc., that is to say, that one A Key can correspond to a Value, can also be one group of Value, and each Value is a ship-to for carrying priority Information.For one group of Value, multiple Value in the group can be sorted from high to low according to priority.
3) the application data based on user or browsing data generate third geographic index:
From the browsing extracting data user identifier (Cookie in User ID that such as user registers on webpage, webpage ID, Mac ID etc.), IP address and access time;Inquire the corresponding first identifier of the user identifier;Inquire the IP address Corresponding location information;It is the third of Value with first identifier+IP address+access time for Key, with geographical location information Manage location index.
Wherein, with first identifier+IP address+access time for Key, to correspond to the location information of IP address as Value's In third geographic index, the part of IP address can be full section IP address in Key, can also be part IP address (such as IP First two sections of address).With first identifier+IP address+access time for Key, to correspond to the location information of IP address as Value's In data, access time can be time segment information (such as morning 8 in Key:00-10:00), duration information (such as 3 hours).Example Such as, an example of Key can be:Two sections+3 hours before first identifier+IP address.
When user uses the application program of mobile terminal, mobile terminal can acquire the GPS information of user, the GPS information It can be included in the application data of user.From using the extracting data user identifier (use that such as user registers in application program Family ID etc.), access time, GPS information;If having existed the first identifier of the corresponding user identifier, institute can be inquired State the corresponding first identifier of user identifier;It generates with the first identifier+access time and is for Key, with the GPS information The third geographic index of Value.
In third geographic index, Key and Value can be one-to-one, one-to-many mapping relations.For one Key corresponds to the case where multiple Value, that is to say, that when Value is multivalue, Value can be ranked up according to duration is accessed, According to obtained order member-retaining portion Value and the priority for indicating retained Value of sorting.For example, when according to accessing Length is ranked up Value, retains preceding 10 Value, and priority is respectively configured, and first Value configuration preference level is 10, Second Value configuration preference level is 9, and third Value configuration preference levels are 8, are successively decreased successively, and the tenth Value configuration is excellent First grade is 1.
In practical application, the browsing data of the user can be obtained by acquiring the travel log of same user.It can The application data of the user are obtained to acquire the nearly 1 month application log of user.By the statistics of mass data and Retain the relatively high partial data of probability of happening after relatively, which is cached.It, can be with root in practical application It needs periodically to resurvey travel log and application log according to business to update above-mentioned geographic index, it is above-mentioned to ensure Geographic index has higher timeliness and accuracy.
In practical application, the above method of the application can be realized by distributed system or computer cluster, the distribution Can include Distributed Message Queue node, LBS nodes, control node, front end interaction node in formula system or computer cluster Deng.
Wherein, Distributed Message Queue nodal cache is distributed formula message queue, comprising next in the Distributed Message Queue The geographical location information of user terminal, Distributed Message Queue node can pass through application server with application server communication The geographical location information that each user terminal reports is obtained, which passes through positioning function (such as GPS by user terminal Deng) obtain.
Wherein, LBS nodes are responsible for providing LBS functions, can be based on user identifier to the Distributed Message Queue node The geographic index of its caching is inquired, which can carry out under the control of control node, can also be to receive It is executed after the request of arrival user terminal.
Wherein, front end interaction node is responsible for interacting with user terminal, and future, the information push request of user terminal provided Determine that the information of push is supplied to user terminal to control node, and by control node.
Wherein, the control node is responsible for pushing the information and push strategy that request determination to be pushed based on information, specifically For, control node can push the user identifier in request by LBS querying node geographic indexes according to information, obtain The first information, then the pre-defined rule collection to match is inquired based on the first information, it is determined according to the pre-defined rule collection inquired Pushed information and push strategy, are finally provided the pushed information by the front end interaction node according to the push strategy To user terminal.
In the present embodiment, it can be generated by LBS nodes and preserve the first identifier.
Alternatively, as shown in Fig. 2, identity switching node, the identity can be arranged in distributed system or computer cluster Switching node is responsible for generating first identifier and stores the first identifier and its mapping between each user identifier, identity conversion Node can be communicated with above-mentioned LBS nodes, control node, and control node, LBS nodes respectively can be according to user identifiers to body Part switching node inquires the first identifier, and the newer first identifier of timing can also be synchronized to above-mentioned by identity switching node LBS nodes, control node etc., so that above-mentioned LBS nodes, control node can update the relevant data of first identifier simultaneously.
In practical application, can by control node always user terminal information push request in extract user identifier, And give to identity switching node, identity switching node collects a variety of user identifiers of same user in this way, in turn Establish the mapping of a variety of user identifiers and the first identifier.In addition to this, identity switching node can also by with it is external The communications such as application server or trading server obtain above-mentioned a variety of user identifiers of user.Certainly, identity switching node is also A variety of user identifiers that user can be got by other means, in this regard, not being restricted herein.
In practical application, which can be set by more calculating existing for a computing device or distribution It is standby to realize.
In the present embodiment, above-mentioned geographic index can be stored in LBS nodes, be stored in the ground being separately provided It manages location index and handles node, geographic index processing node is responsible for the generation of above-mentioned geographic index, updates and deposit Storage etc..In practical application, as shown in Fig. 2, geographic index processing node belongs to above-mentioned distributed system or computer collection Group can be realized by multiple computing devices existing for a computing device or distribution.
In practical application, the geographic index processing node can be communicated with above-mentioned identity switching node.Specifically , geographic index processing node can inquire the first identifier to form above-mentioned geographical location to identity switching node The newer first identifier of timing can be synchronized to the geographic index and handle node by index, identity switching node.
The geographic index processing node can be communicated with the LBS nodes, and LBS nodes can be actively to the geography Location index handles the above-mentioned geographic index of querying node, and node timing can also be handled from geographic index and is saved to LBS Point pushes above-mentioned geographic index.
In practical application, above-mentioned distributed system or computer cluster can also include other nodes, in this regard, herein not It is restricted.Other functions can also be provided in addition to above-mentioned function in above-mentioned each node.It can be based on for example, control node is removed Except its matched pre-defined rule collection of user's geographic location information query, it can also be based on such as individual subscriber characteristic, user preferences Other users information inquires its matched pre-defined rule collection.LBS nodes can also be responsible for other in addition to having the function of LBS With the relevant business of user's geographical location information, such as the pre-defined rule collection that is matched based on user's geographic location information query Deng.The function of above-mentioned each node is not restricted herein.
In practical application, above-mentioned each node can be set respectively by more calculating of a computing device or distributed connection It is standby to realize.
As shown in figure 3, LBS nodes determine that the flow in user geographical location may include steps of in the present embodiment:
Step 301, Location Request is received, the request carries user identifier;
In practical application, it is described come user terminal request sent out by user terminal, via front end interaction node and control It is sent to the LBS nodes after node processed.It may be transmitted by different data channel in the transmittance process of the request, The content and data mode for including in being asked so in transmit process might have difference, but no matter interior perhaps form have why not It is had in common that comprising user identifier with it.
Step 302, to Distributed Message Queue querying node location data corresponding with the user identifier;
Step 303, verify whether there is location data corresponding with the user identifier, if it is present continuing to walk Rapid 304, if there is no then continuing step 306;
Step 304, judge whether have exceeded pre- timing with the duration to call time to current time in the location data Long (for example, 12 hours) if it is continue step 306, if not then continuing step 305;
Step 305, the GPS information in the location data is supplied to the requesting party of the Location Request.
Step 306, corresponding first identifier is inquired to identity switching node according to the user identifier;
Step 307, querying node geographic index is handled to geographic index according to the first identifier inquired, and The first information is extracted from the geographic index, and the first information is supplied to the requesting party of the Location Request.
In practical application, the requesting party of the Location Request can be user terminal, application server, above-mentioned control section Point, information push side push server etc..
Embodiment two
A kind of information-pushing method, as shown in figure 4, may include:
Step 401, based on the trigger request for carrying out user terminal, Location Request, the triggering are sent to location-server Request carries user identifier, and the Location Request carries the user identifier;
Step 402, the first information from the location-server is received, the first information is for determining geographical position It sets;
Step 403, the pushed information that the first information matches is inquired, and the push is provided to the user terminal Information.
Specifically, the pushed information that the inquiry first information matches, may include:It is sent to push server Information push request, described information push request carry the first information;Receive that the push server returns with it is described The pushed information that the first information matches.In practical application, which can be to provide the third of the pushed information Control node in square server or system shown in Figure 3.In practical application, push server can inquire the first information The pre-defined rule collection matched, and the pushed information and its push strategy are determined according to the pre-defined rule collection and returned, to use The pushed information is supplied to the user terminal by the push strategy.
In some implementations, it before the transmission Location Request to location-server, can also verify whether to connect Whether the timeliness for receiving the location data from the user terminal and the location data meets predetermined condition;It is not connecing When receiving the timeliness of the location data from the user terminal or the location data and being unsatisfactory for the predetermined condition, Xiang Ding Position server sends Location Request.
In practical application, the location data for verifying whether to receive from the user terminal and the positioning After whether the timeliness of data meets predetermined condition, can also include:Receiving the location data and the positioning number When according to meeting the predetermined condition, the pushed information that global positioning satellite GPS information matches in the location data is inquired, and The pushed information is provided to the user terminal.
In some implementations, the predetermined condition can be to report the duration of time gap current time without departing from pre- Timing is long.In practical application, the predetermined condition can also include other content, and particular content can according to actual needs certainly By setting, it is not restricted herein.
In the present embodiment, above- mentioned information method for pushing can control node, leading portion interaction node etc. in system as shown in Figure 2 Realize, above-mentioned location-server can be LBS nodes, geographic index in system shown in Figure 2 handle one of node or The combination of the two.
In the present embodiment, by inquiring the ground that the relevant geographic index of user identifier determines user to location-server Position is managed, then based on the geographical location to the corresponding pushed information of user terminal offer, the precision higher that information pushes, to Effectively improve the user experience of information push.Also, when the location data of user can not be got or the positioning number of user According to timeliness deficiency when (such as user masks the positioning function of mobile terminal, using PC electronic equipments when can not determine Position), it can not also be limited to by electronic functionalities based on user location into the push of row information, information covers model when pushing It encloses wider.
Embodiment three
As shown in figure 5, a kind of determining device in user geographical location, it may include:
Generation module 51, for generating geographical location rope based on the associated at least one user's history data of user identifier Draw, the geographic index includes for determining the first information in geographical location, the first information and the user identifier Mapping relations;
First receiving module 52, for receiving the Location Request for carrying user identifier;
Enquiry module 53, the geographic index for inquiring user identifier in the corresponding Location Request;
First provides module 54, the geographic index for being inquired according to, the request to the Location Request Side provides the first information.
In the present embodiment, above-mentioned enquiry module 53 be responsible in above-mentioned apparatus to external node (such as identity switching node) or Local search is corresponded to the first identifier of the user identifier and is inquired the portion of the geographic index based on the first identifier Point, can be the combination of software, hardware or both.
In the present embodiment, the generation module 51 is the generation for being responsible for geographic index in above-mentioned apparatus, updates and deposit The part of the processing such as storage, can be the combination of software, hardware or both.
In the present embodiment, the first offer module 54 is that external node, (such as control node, front end are handed in above-mentioned apparatus Mutual node, push server, application server etc.) part that provides the first information for determining geographical location can be soft The combination of part, hardware or both.
In the present embodiment, first receiving module 52 be in above-mentioned apparatus be responsible for receive external node (such as control node, Front end interaction node, push server, application server etc.) Location Request part, can be the knot of software, hardware or both It closes.
The above-mentioned determining device of the present embodiment can be, but not limited to be set to distributed system described in embodiment one or In computer cluster.In some implementations, above-mentioned generation module 51 can be distributed in the LBS sections of system shown in Figure 2 structure In point, geographic index processing node, identity switching node, the first receiving module 52, enquiry module 53, first provide module 54 may be disposed in the LBS nodes of system shown in Figure 2 structure.
Other realization details of the present embodiment can refer to embodiment one.
Example IV
A kind of determining device in user geographical location, including processor and memory, the memory are stored with computer Executable instruction, the computer executable instructions realize following method when being executed by the processor:
Geographic index, the geographical location are generated based on the associated at least one user's history data of user identifier Index is comprising for determining the first information in geographical location, the mapping relations of the first information and the user identifier;
Receive the Location Request for carrying user identifier;
The geographic index of user identifier in the corresponding Location Request of inquiry;
According to the geographic index inquired, the first information is provided to the requesting party of the Location Request.
The above-mentioned determining device of the present embodiment can be, but not limited to be set to distributed system described in embodiment one or In computer cluster.In some implementations, the above-mentioned determining device of the present embodiment can be by being distributed described in embodiment one LBS nodes in formula system or computer cluster realize, or by LBS nodes, geographic index handle node and Identity switching node is realized.
Other realization details of the present embodiment can refer to embodiment one.
Embodiment five
As shown in fig. 6, a kind of information push-delivery apparatus, including:
Sending module 61, for based on the trigger request for carrying out user terminal, Location Request, institute to be sent to location-server It states trigger request and carries user identifier, the Location Request carries the user identifier;
Second receiving module 62, for receiving the first information from the location-server, the first information is used for Determine geographical location;
Second provides module 63, the pushed information to match for inquiring the first information, and to the user terminal The pushed information is provided.
In the present embodiment, above-mentioned sending module 61 is responsible in above-mentioned apparatus to external node (such as LBS nodes, geographical position Set index process node) it asks indicating the information (such as the GPS information in the first information or location data) in user geographical location Part can be the combination of software, hardware or both.
In the present embodiment, second receiving module 62 is to be responsible for receiving from external node (such as LBS sections in above-mentioned apparatus Point, geographic index handle node) instruction user geographical location the information (GPS in such as first information or location data Information) part, can be the combination of software, hardware or both.
In the present embodiment, the second offer module 63 is that external node, (such as front end interaction node is answered in above-mentioned apparatus With server, user terminal etc.) provide pushed information part, can be the combination of software, hardware or both.
The above- mentioned information pusher of the present embodiment can be, but not limited to be set to the distributed system described in embodiment one In system or computer cluster.In some implementations, above-mentioned sending module 61, the second receiving module 62, second provide mould Block 63 may be disposed in control node or the front end interaction node of system shown in Figure 2 structure.
Other realization details of the present embodiment can refer to embodiment two.
Embodiment six
A kind of information push-delivery apparatus, including processor and memory, the memory are stored with computer executable instructions, The computer executable instructions realize following method when being executed by the processor:
Based on the trigger request for carrying out user terminal, Location Request is sent to location-server, the trigger request carries User identifier, the Location Request carry the user identifier;
The first information from the location-server is received, the first information is for determining geographical location;
The pushed information that the first information matches is inquired, and the pushed information is provided to the user terminal.
The above-mentioned determining device of the present embodiment can be, but not limited to be set to distributed system described in embodiment one or In computer cluster.In some implementations, the above-mentioned determining device of the present embodiment can be by being distributed described in embodiment one Control node or front end interaction node in formula system or computer cluster are realized.
Other realization details of the present embodiment can refer to embodiment two.
A kind of application scenarios of the application are to push commodity object information to user based on the current geographical location of user Process:
Second user as businessman needs that current geographic will be pushed in the commodity object information of oneself at the appointed time section First user of the position near oneself shop.
As shown in fig. 7, second user submits the first request by second user terminal to push server, described first asks The customized commodity object information M1 of middle carrying second user and push strategy are asked, when including first in the push strategy Between segment information (for example, 8 points to 10 points of afternoon) and the first geographical range information (for example, comprising shop geographical location L1 and away from From range information 3km).
Push server receives first request, is verified to the identity of the second user, after being verified, It extracts the commodity object information M1 and push strategy in first request and preserves, return and submit to the second user terminal Success response.
First user opens the application program A provided by application server using the first user terminal at 9 points in the afternoon, but works as The positioning function of preceding first user terminal has been closed, then the first user terminal sends trigger request to the application server, The user identifier ID1 that first user registers on the application program A is carried in the trigger request, application server connects It receives the trigger request and send to distributed system.
Control node in distributed system receives the trigger request, parses the trigger request and gets the ID1, It inquires in the trigger request and does not carry the location data of the first user, inquire the first use in local Distributed Message Queue node The location data submitted before family, find the location data on call time and had exceeded pre- timing to the duration at current time It grows (such as 3 hours), then the control node in distributed system sends Location Request to LBS nodes, is carried in the Location Request The ID1.
LBS nodes in distributed system parse ID1 from the Location Request, inquire corresponding first marks of ID1 Know NID1, then it includes the geographic index that the period in NID1 and Key includes current time (at 9 points in afternoon) to inquire Key, is looked into After asking the geographic index, the first information of highest priority is extracted from the geographic index (for example, ground The GPS information of position L2 is managed, L2 is apart from shop geographical location L1 about 1.5km), and the first information is returned into the control Node.Here, which generated based on 1 associated historical usage data of the first User ID, geographical location Index is Value for Key, at least one first information with the NID1+ periods, which is first User ID 1 GPS information of the usage time in the Key in the period, every first information are configured in associated historical usage data Priority.The priority is configured according to access times, and the most first information of access times configures highest priority, with this Analogize.
Control node receives the first information (for example, GPS information of geographical location L2), is sent out to the push server Breath of delivering letters push request, information push request carry the first information (for example, GPS information of geographical location L2).
Push server receives described information push request, inquires the first information and matches the first geographical position range letter It ceases (i.e. geographical location L2 is apart from shop geographical location L1 about 1.5km), then by correspondence the first geographical position range information Commodity object information M1 returns to the control node.
Control node receives the commodity object information M1 that the push server returns, and the commodity object information M1 is carried The application server is supplied, the commodity object information M1 is supplied to first user whole by the application server again End, the first user terminal show the commodity object information M1 in the user interface of the application program A.
One of ordinary skill in the art will appreciate that all or part of step in the above method can be instructed by program Related hardware is completed, and described program can be stored in computer readable storage medium, such as read-only memory, disk or CD Deng.Optionally, all or part of step of above-described embodiment can also be realized using one or more integrated circuits.Accordingly Ground, the form that hardware may be used in each module/unit in above-described embodiment are realized, the shape of software function module can also be used Formula is realized.The application is not limited to the combination of the hardware and software of any particular form.
Certainly, the application can also have other various embodiments, ripe without departing substantially from the application spirit and its essence Various corresponding change and deformations, but these corresponding changes and change ought can be made according to the application by knowing those skilled in the art Shape should all belong to the protection domain of claims hereof.

Claims (23)

1. a kind of determination method in geographical location, including:
Geographic index, the geographic index are generated based on the associated at least one user's history data of user identifier Including for determining the first information in geographical location, the mapping relations of the first information and the user identifier;
Receive the Location Request for carrying user identifier;
The geographic index of user identifier in the corresponding Location Request of inquiry;
According to the geographic index inquired, the first information is provided to the requesting party of the Location Request.
2. determining method according to claim 1, which is characterized in that described to be based on the associated at least one of user identifier User's history data generate geographic index, including:
Based on the associated at least one user's history data of user identifier, the first information is obtained;
The geographic index is generated using the first information and its corresponding user identifier.
3. determining method according to claim 2, which is characterized in that
It is described to generate the geographic index using the first information and its corresponding user identifier, including:Described in filtering The first information got generates the geographical location rope using the filtered first information and its corresponding user identifier Draw.
4. determining method according to claim 1, which is characterized in that
It is described to generate geographic index based on the associated at least one user's history data of user identifier, further include:Configuration The priority of the first information;
The geographic index inquired described in the basis provides geographical location information to the requesting party of the Location Request, Including:
According to the priority of the first information in the geographic index inquired, from the geographic index inquired The middle requesting party for extracting the first information and being supplied to the Location Request.
5. determining method according to claim 4, which is characterized in that
The priority of the configuration first information, including one of following or two combinations:
It, will be in the geographic index according to pre-defined rule when in the geographic index including a plurality of first information A plurality of first information sequence, the priority of the first information is configured according to the result of the sequence;
When in the geographic index including the first information, the priority for configuring the first information is predetermined Value.
6. determining method according to any one of claims 1 to 5, which is characterized in that
The first information is one of following:The position of ship-to information, global positioning satellite GPS information, corresponding IP address Information;
At least one user's history data are one of following or its arbitrary combination:Transaction data, using data, browsing number According to.
7. determining method according to claim 1, which is characterized in that the generation geographic index, including:
Ship-to information is extracted from the transaction data of the same user identifier of correspondence, and with the user identifier corresponding first It is identified as key, the filtered ship-to information is that value forms the geographic index.
8. determining method according to claim 7, which is characterized in that the generation geographic index further includes:
When the ship-to information is a plurality of, according to the renewal time of the ship-to information, geographic area attribute, make With one of number or multinomial, the priority of the ship-to information is configured;
When the ship-to information is one, the priority of the ship-to information is configured with first predetermined value.
9. determining method according to claim 1, which is characterized in that
Before the generation geographic index, further include:IP address information library is established, includes IP in the IP address information library Address, location information and its mapping relations;
The generation geographic index, including:IP address in browsing data based on the same user identifier of correspondence and each The access time information of the IP address inquires the location information of the corresponding IP address from the IP address information library, and It is corresponding as key, at least one IP address using the corresponding first identifier of the user identifier, access time information, IP address Location information is that value forms the geographic index.
10. determining method according to claim 9, which is characterized in that it is described to generate the geographic index, also wrap It includes:
When in the geographic index comprising the location information of the IP address is corresponded to described in two or more pieces, according to each institute The access duration for stating IP address sorts the location information, and the preferential of the location information is configured according to the result of the sequence Grade;
When in the geographic index comprising a location information for corresponding to the IP address, with second predetermined value configuration pair Answer the priority of the location information of the IP address.
11. determining method according to claim 1, which is characterized in that the generation geographic index, including:
Based on the same user identifier of correspondence using the GPS information and access time information in data, with the user identifier Corresponding first identifier, access time information are key, the GPS information is that value forms the geographic index.
12. determining method according to claim 10, which is characterized in that it is described to generate the geographic index, also wrap It includes:
When including GPS information described in two or more pieces in the geographic index, according to the corresponding access of the GPS information Duration sorts to the GPS information, and the priority of the GPS information is configured according to the result of the sequence;
When including a GPS information in the geographic index, the excellent of the GPS information is configured with third predetermined value First grade.
13. determining method according to claim 7 to 12 any one of them, which is characterized in that described to generate the geographical location It indexes, further includes:
Relevance between user identifier described in identification browsing data, transaction data or application data;
The first identifier is generated based on the associated user identifier, the first identifier includes first part and second Point, the first part is used to indicate the user identifier type, and the second part is based on the associated user identifier Content obtained with predefined mapping algorithm.
14. determining method according to claim 13, which is characterized in that further include:
Duplicate removal processing is carried out based on the first identifier that user identifier described in associated same type generates.
15. a kind of information-pushing method, including:
Based on the trigger request for carrying out user terminal, Location Request is sent to location-server, the trigger request carries user Mark, the Location Request carry the user identifier;
The first information from the location-server is received, the first information is for determining geographical location;
The pushed information that the first information matches is inquired, and the pushed information is provided to the user terminal.
16. information-pushing method according to claim 15, which is characterized in that the inquiry first information matches Pushed information, including:
Information push request is sent to push server, described information push request carries the first information;
Receive the pushed information to match with the first information that the push server returns.
17. information-pushing method according to claim 15, which is characterized in that
Before the transmission Location Request to location-server, further include:It has verified whether to receive from the user terminal Location data and the timeliness of the location data whether meet predetermined condition;
It is described to send Location Request to location-server, including:Do not receive location data from the user terminal or When the timeliness of the location data is unsatisfactory for the predetermined condition, Location Request is sent to location-server.
18. information-pushing method according to claim 17, which is characterized in that described to have verified whether to receive from institute After whether the timeliness of the location data and the location data of stating user terminal meets predetermined condition, further include:
When receiving the location data and the location data meets the predetermined condition, inquire complete in the location data The pushed information that ball satellite positioning GPS information matches, and provide the pushed information to the user terminal.
19. the information-pushing method according to claim 17 or 18, which is characterized in that the predetermined condition is above to call time Duration apart from current time is without departing from scheduled duration.
20. a kind of determining device in user geographical location, including:
Generation module, for generating geographic index, institute based on the associated at least one user's history data of user identifier State the mapping that geographic index includes the first information, the first information and the user identifier for determining geographical location Relationship;
First receiving module, for receiving the Location Request for carrying user identifier;
Enquiry module, the geographic index for inquiring user identifier in the corresponding Location Request;
First provides module, and the geographic index for being inquired according to is provided to the requesting party of the Location Request The first information.
21. a kind of determining device in user geographical location, including processor and memory, which is characterized in that the memory is deposited Computer executable instructions are contained, the computer executable instructions realize following method when being executed by the processor:
Geographic index, the geographic index are generated based on the associated at least one user's history data of user identifier Including for determining the first information in geographical location, the mapping relations of the first information and the user identifier;
Receive the Location Request for carrying user identifier;
The geographic index of user identifier in the corresponding Location Request of inquiry;
According to the geographic index inquired, the first information is provided to the requesting party of the Location Request.
22. a kind of information push-delivery apparatus, including:
Sending module, for based on the trigger request for carrying out user terminal, Location Request, the triggering to be sent to location-server Request carries user identifier, and the Location Request carries the user identifier;
Second receiving module, for receiving the first information from the location-server, the first information is for definitely Manage position;
Second provides module, the pushed information to match for inquiring the first information, and provides institute to the user terminal State pushed information.
23. a kind of information push-delivery apparatus, including processor and memory, which is characterized in that the memory is stored with computer Executable instruction, the computer executable instructions realize following method when being executed by the processor:
Based on the trigger request for carrying out user terminal, Location Request is sent to location-server, the trigger request carries user Mark, the Location Request carry the user identifier;
The first information from the location-server is received, the first information is for determining geographical location;
The pushed information that the first information matches is inquired, and the pushed information is provided to the user terminal.
CN201710011366.2A 2017-01-06 2017-01-06 Geographic position determining method and device and information pushing method and device Active CN108282508B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710011366.2A CN108282508B (en) 2017-01-06 2017-01-06 Geographic position determining method and device and information pushing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710011366.2A CN108282508B (en) 2017-01-06 2017-01-06 Geographic position determining method and device and information pushing method and device

Publications (2)

Publication Number Publication Date
CN108282508A true CN108282508A (en) 2018-07-13
CN108282508B CN108282508B (en) 2021-08-03

Family

ID=62801067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710011366.2A Active CN108282508B (en) 2017-01-06 2017-01-06 Geographic position determining method and device and information pushing method and device

Country Status (1)

Country Link
CN (1) CN108282508B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108881309A (en) * 2018-08-14 2018-11-23 北京奇虎科技有限公司 Access method, device, electronic equipment and the readable storage medium storing program for executing of big data platform
CN109151088A (en) * 2018-08-20 2019-01-04 下代互联网重大应用技术(北京)工程研究中心有限公司 The statistical method of IPv6 access user's geographical distribution ranking based on Http log
CN110138892A (en) * 2019-05-31 2019-08-16 秒针信息技术有限公司 Determine the method and device of equipment regional information
CN111061691A (en) * 2019-12-25 2020-04-24 秒针信息技术有限公司 Method and device for determining fixed member
CN111372193A (en) * 2020-03-06 2020-07-03 深圳市和讯华谷信息技术有限公司 Method and device for accurately positioning activity area of user in rest period
CN111523569A (en) * 2018-09-04 2020-08-11 阿里巴巴集团控股有限公司 User identity determination method and device and electronic equipment
CN112150317A (en) * 2020-08-21 2020-12-29 广州市标准化研究院 Tourist information management system and method based on O2O information cloud platform
CN115905445A (en) * 2022-12-16 2023-04-04 河南大学 Road element simplification method based on Seq2Seq model

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103259877A (en) * 2013-04-15 2013-08-21 北京百度网讯科技有限公司 IP address geographic position determination method and system
CN103297551A (en) * 2012-02-29 2013-09-11 腾讯科技(深圳)有限公司 Method, server and system for automatically obtaining address
CN106210163A (en) * 2016-06-30 2016-12-07 百度在线网络技术(北京)有限公司 IP address-based localization method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297551A (en) * 2012-02-29 2013-09-11 腾讯科技(深圳)有限公司 Method, server and system for automatically obtaining address
CN103259877A (en) * 2013-04-15 2013-08-21 北京百度网讯科技有限公司 IP address geographic position determination method and system
CN106210163A (en) * 2016-06-30 2016-12-07 百度在线网络技术(北京)有限公司 IP address-based localization method and device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108881309A (en) * 2018-08-14 2018-11-23 北京奇虎科技有限公司 Access method, device, electronic equipment and the readable storage medium storing program for executing of big data platform
CN109151088A (en) * 2018-08-20 2019-01-04 下代互联网重大应用技术(北京)工程研究中心有限公司 The statistical method of IPv6 access user's geographical distribution ranking based on Http log
CN111523569A (en) * 2018-09-04 2020-08-11 阿里巴巴集团控股有限公司 User identity determination method and device and electronic equipment
CN111523569B (en) * 2018-09-04 2023-08-04 创新先进技术有限公司 User identity determination method and device and electronic equipment
CN110138892A (en) * 2019-05-31 2019-08-16 秒针信息技术有限公司 Determine the method and device of equipment regional information
CN110138892B (en) * 2019-05-31 2021-12-07 秒针信息技术有限公司 Method and device for determining equipment regional information
CN111061691A (en) * 2019-12-25 2020-04-24 秒针信息技术有限公司 Method and device for determining fixed member
CN111372193A (en) * 2020-03-06 2020-07-03 深圳市和讯华谷信息技术有限公司 Method and device for accurately positioning activity area of user in rest period
CN112150317A (en) * 2020-08-21 2020-12-29 广州市标准化研究院 Tourist information management system and method based on O2O information cloud platform
CN115905445A (en) * 2022-12-16 2023-04-04 河南大学 Road element simplification method based on Seq2Seq model
CN115905445B (en) * 2022-12-16 2023-08-25 河南大学 Road element simplifying method based on Seq2Seq model

Also Published As

Publication number Publication date
CN108282508B (en) 2021-08-03

Similar Documents

Publication Publication Date Title
CN108282508A (en) Determination method and device, information-pushing method and the device in geographical location
CN106062731B (en) Use space and time analysis are with by data source and the associated system and method for mobile device
CN104067563B (en) Data distribution platform
CN104135715B (en) The implementation method of location-based service, a device, and system
CN105007171A (en) User data analysis system and method based on big data in communication field
CN103763149B (en) Real-time statistical method for network user number
CN103942221B (en) Search method and equipment
CN103957282B (en) Terminal user's domain name mapping acceleration system and its method in a kind of domain
CN104408043A (en) Information processing method and server
CN104040539B (en) Date storage method and device, data manipulation method, system and access server
CN106534392A (en) Positioning information acquiring method, positioning method and apparatus
CN107835132B (en) Method and device for tracking flow source
CN110162292A (en) Voice broadcast method and device
CN104427519A (en) Method and device for managing attributions of IP (Internet Protocol) addresses
CN109963259A (en) A kind of note transmission method and device
US8494565B2 (en) Method of providing location-based service in a communication system
CN111782897A (en) User rights management method, server, system, device, and medium
WO2002029640A1 (en) Data synchronization method and apparatus
CN106789147B (en) Flow analysis method and device
CN112328760B (en) Service providing method, device and system
CN112069416B (en) Cross-social network user identity recognition method based on community discovery
CN106326280A (en) Data processing method, apparatus and system
WO2015062652A1 (en) Technique for data traffic analysis
CN106326296A (en) Data query method and device
CN105791334A (en) Multimedia data processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1258130

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant