CN110110196A - A kind of information push method and device - Google Patents

A kind of information push method and device Download PDF

Info

Publication number
CN110110196A
CN110110196A CN201711417558.XA CN201711417558A CN110110196A CN 110110196 A CN110110196 A CN 110110196A CN 201711417558 A CN201711417558 A CN 201711417558A CN 110110196 A CN110110196 A CN 110110196A
Authority
CN
China
Prior art keywords
client
specific region
area label
geographic coordinate
coordinate information
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.)
Pending
Application number
CN201711417558.XA
Other languages
Chinese (zh)
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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201711417558.XA priority Critical patent/CN110110196A/en
Publication of CN110110196A publication Critical patent/CN110110196A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24552Database cache management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries

Abstract

The invention discloses a kind of information push method and devices, are related to field of computer technology.One specific embodiment of this method includes: to report information according to client, establishes the corresponding relationship of the client and specific region, and each specific region has an area label;According to the corresponding relationship, determining has the corresponding all clients in specific region of preselected area label, to obtain destination client set;Each client of the destination client set will be pushed to PUSH message.It can be needed to carry out PUSH message according to specific region according to scene, message batch is pointedly pushed to each equipment for being located at specific region in real time, improved the conversion ratio of PUSH message and benefit from rate.

Description

A kind of information push method and device
Technical field
The present invention relates to field of computer technology more particularly to a kind of information push methods and device.
Background technique
Push mobile internet era prevailing in message, all kinds of App (application program) operation personnel daily all to Family sends the marketing message of thousands of items.Crew's broadcast is substantially when operation personnel's PUSH message, or according to user's Label pushes corresponding message to different users, few to be pushed based on user geographical location.
Existing message push system can push a piece of news to mobile phone or other terminals, pass through DeviceToken (equipment Token) one terminal device of unique identification can be used to, it can be answered by AppID (application program identification) with unique identification one With in this way can an App (application program) in one terminal of unique identification with DeviceToken and AppID combination. DeviceToken and AppID is distributed by Push (push) server-side and is generated.When terminal device is connected with Push Service end, Message successfully can be pushed to terminal by server-side.
In realizing process of the present invention, at least there are the following problems in the prior art for inventor's discovery:
It can not support to carry out regional PUSH message according to specified geographical location.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of information push method and device, can be needed according to scene according to Specific region carries out PUSH message, and message batch is pointedly pushed to each equipment for being located at specific region in real time, and raising pushes away It send the conversion ratio of message and benefits from rate.
To achieve the above object, according to an aspect of an embodiment of the present invention, a kind of information push method is provided.
A kind of information push method, comprising: information is reported according to client, establishes the client and specific region Corresponding relationship, each specific region have an area label;According to the corresponding relationship, determining has preselected area label The corresponding all clients in specific region, with obtain destination client set;The target visitor will be pushed to PUSH message Each client of family end set.
Optionally, described to report information include the facility information and geographic coordinate information of the client, according to client The step of reporting information, establish the corresponding relationship of the client and specific region, comprising: according to the geography of the client Coordinate information, the area label of specific region where obtaining the client;Establish the facility information of the client with it is described Corresponding relationship where client between the area label of specific region.
Optionally, according to the geographic coordinate information of the client, the region of specific region where obtaining the client The step of label, comprising: the geographic coordinate information is pre-processed, and judges whether had and pretreated geography The corresponding area label of coordinate information, if so, the area label deposited is read, otherwise, from default map datum The corresponding specific region of the pretreated geographic coordinate information is searched, the region mark of the specific region found is obtained Label.
Optionally, according to the geographic coordinate information of the client, the region of specific region where obtaining the client The step of label, comprising: the geographic coordinate information is pre-processed, and judges whether had and pretreated geography The corresponding area label of coordinate information, if so, the area label deposited is read, otherwise, in each given zone deposited The geographical coordinate boundary including the geographic coordinate information is searched in the geographical coordinate data boundary in domain, obtains the geographical coordinate The area label of the corresponding specific region in boundary.
Optionally, the step of reading the area label deposited, comprising: judge to have whether there is this in buffer queue The area label deposited, if so, the area label deposited is read from the buffer queue, otherwise, by database In the area label deposited be cached to the buffer queue, then read the area deposited from the buffer queue Domain label.
Optionally, pretreated step is carried out to the geographic coordinate information, comprising: by the essence of the geographic coordinate information Degree processing is default precision.
Optionally, after the step of establishing the corresponding relationship of the client and specific region, comprising: by the client Buffer queue is saved in the corresponding relationship of specific region.
According to another aspect of an embodiment of the present invention, a kind of message driving means is provided.
A kind of message driving means, comprising: establish module, for reporting information according to client, establish the client The corresponding relationship at end and specific region, each specific region have an area label;Determining module, for according to described right It should be related to, determining has the corresponding all clients in specific region of preselected area label, to obtain destination client set;It pushes away Module is sent, for each client of the destination client set will to be pushed to PUSH message.
Optionally, described to report information include the facility information and geographic coordinate information of the client, described to establish mould Block is also used to: according to the geographic coordinate information of the client, the area label of specific region where obtaining the client;It builds Found the corresponding relationship between the facility information of the client and the area label of client place specific region.
Optionally, the module of establishing includes the first acquisition submodule, is used for: being located in advance to the geographic coordinate information Reason, and judge whether there has been area label corresponding with pretreated geographic coordinate information, if so, reading what this had been deposited Otherwise the area label searches the corresponding given zone of the pretreated geographic coordinate information from default map datum Domain obtains the area label of the specific region found.
Optionally, the module of establishing includes the second acquisition submodule, is used for: being located in advance to the geographic coordinate information Reason, and judge whether there has been area label corresponding with pretreated geographic coordinate information, if so, reading what this had been deposited The area label, otherwise, searching in the geographical coordinate data boundary for each specific region deposited includes the geographical coordinate The geographical coordinate boundary of information obtains the area label of the corresponding specific region in the geographical coordinate boundary.
Optionally, first acquisition submodule or second acquisition submodule include reading unit, are used for: judgement is slow It deposits with the presence or absence of the area label deposited in queue, if so, reading the area deposited from the buffer queue Otherwise the area label deposited in database is cached to the buffer queue by domain label, then from the caching team Column read the area label deposited.
Optionally, first acquisition submodule or second acquisition submodule include pretreatment unit, are used for: by institute The precision processing of geographic coordinate information is stated as default precision.
Optionally, further include cache module, be used for: the corresponding relationship of the client and specific region is saved in caching Queue.
Another aspect according to an embodiment of the present invention, provides a kind of electronic equipment.
A kind of electronic equipment, comprising: one or more processors;Memory works as institute for storing one or more programs When stating one or more programs and being executed by one or more of processors, so that one or more of processors realize this hair The information push method of bright offer.
Another aspect according to an embodiment of the present invention, provides a kind of computer-readable medium.
A kind of computer-readable medium is stored thereon with computer program, realizes this when described program is executed by processor The information push method provided is provided.
One embodiment in foregoing invention has the following advantages that or the utility model has the advantages that reports information according to client, builds The corresponding relationship of vertical client and specific region, each specific region have an area label;According to corresponding relationship, determination has The corresponding all clients in the specific region of preselected area label, to obtain destination client set;It will be pushed to PUSH message Each client gathered to destination client.It can be needed to carry out PUSH message according to specific region according to scene, pointedly Message batch is pushed to each equipment for being located at specific region in real time, improve the conversion ratio of PUSH message and benefits from rate.Also, benefit The corresponding relationship and client of geographic coordinate information and area label and the corresponding relationship of specific region are cached with buffer queue, Allow to preferentially read data from caching, improve information push efficiency, in addition, being by the precision processing of geographic coordinate information Default precision, reduces the scale of construction of storing data, to promote storage performance, saves the cost of data store query, and improve Search efficiency.
Further effect possessed by above-mentioned non-usual optional way adds hereinafter in conjunction with specific embodiment With explanation.
Detailed description of the invention
Attached drawing for a better understanding of the present invention, does not constitute an undue limitation on the present invention.Wherein:
Fig. 1 is the key step schematic diagram of information push method according to an embodiment of the present invention;
Fig. 2 is the main modular schematic diagram of message driving means according to an embodiment of the present invention;
Fig. 3 is message push system configuration diagram according to an embodiment of the present invention;
Fig. 4 is that the embodiment of the present invention can be applied to exemplary system architecture figure therein;
Fig. 5 is adapted for the structural schematic diagram for the computer system for realizing the server of the embodiment of the present invention.
Specific embodiment
Below in conjunction with attached drawing, an exemplary embodiment of the present invention will be described, including the various of the embodiment of the present invention Details should think them only exemplary to help understanding.Therefore, those of ordinary skill in the art should recognize It arrives, it can be with various changes and modifications are made to the embodiments described herein, without departing from scope and spirit of the present invention.Together Sample, for clarity and conciseness, descriptions of well-known functions and structures are omitted from the following description.
Fig. 1 is the key step schematic diagram of information push method according to an embodiment of the present invention.
As shown in Figure 1, the information push method of the embodiment of the present invention mainly includes the following steps, namely S101 to step S103.
Step S101: information is reported according to client, establishes the corresponding relationship of client and specific region.
Wherein, each specific region has an area label.Specific region such as school, cell, CBD (center commercial affairs Area), popular quotient area, administrative region etc..Area label is used for some specific region of unique identification, for example, the area of Beijing international trade Domain label can be " international trade CBD ", and Pekinese's area label can be " Beijing ".
It is each log in Push (push) system client report information to the server-side of Push system, specifically on notify Breath may include the facility information and geographic coordinate information of client, can also include AppID (the application program mark of client Know).Facility information can be DeviceToken (device token).Server-side reports information according to client, establishes client With the corresponding relationship of specific region.
Step S101 is specific can include: according to the geographic coordinate information of client, specific region where obtaining client Area label;Establish the corresponding relationship between the facility information of client and the area label of client place specific region.
Geographic coordinate information can be the longitude and latitude data of client position.
Wherein, in embodiment 1, according to the geographic coordinate information of client, specific region where obtaining client The step of area label, can specifically include: pre-processing to geographic coordinate information, and judges whether to have had and pre-process The corresponding area label of geographic coordinate information afterwards, if so, the area label deposited is read, otherwise, from default map number The corresponding specific region of pretreated geographic coordinate information is searched according to middle, obtains the region mark of the specific region found Label.
It is then read according to embodiment one when there being area label corresponding with pretreated geographic coordinate information The area label that this has been deposited is taken, specifically, it can be determined that it whether there is the area label deposited in buffer queue, if so, The area label deposited is read from buffer queue, otherwise, the area label deposited in database is cached to caching team Column, then the area label deposited is read from buffer queue.Since data volume is larger, the data in database need a point library to divide table It stores, the mainly hot spot data (number being read in the data being read recently, such as 1 hour stored in buffer queue According to).
When there not being area label corresponding with pretreated geographic coordinate information, then looked into from default map datum The corresponding specific region of pretreated geographic coordinate information is looked for, the area label of the specific region found is obtained, and is protected Deposit the corresponding relationship of the pretreated geographic coordinate information and the area label of the specific region.Specifically, it can call existing Some map interfaces when calling these API, need incoming longitude and latitude such as the API (application programming interfaces) of third party's map system Data are as parameter, since the longitude and latitude data that client reports are many and widely different, if server database storage note Every longitude and latitude data are recorded, then the data volume that will lead to storage is huge, in order to solve this technical problem, the embodiment of the present invention pair Geographic coordinate information is pre-processed, i.e., is default precision by the precision processing of geographic coordinate information.It specifically, can be by longitude and latitude Degree carries out the processing that rounds up, so that the precision of longitude and latitude data is accurate to 2 significant digits, i.e., distance is above accurate to a public affairs In within, about 30,000,000 longitude and latitude data (CHINESE REGION) are obtained, so as to reduce the scale of construction of storing data, to be promoted Storage performance, save the cost while, also improve search efficiency.Also, the geographical coordinate that will be obtained from third party's map system Corresponding relationship between the area label of information specific region corresponding with the geographic coordinate information is stored in database or slow It deposits in queue, by the accumulation of certain time, the geographic coordinate information (such as longitude and latitude data) of acquisition can fully meet demand, Corresponding specific region can quickly and easily be inquired according to the geographic coordinate information (such as longitude and latitude data) deposited in this way Area label, and support the concurrently inquiry of magnanimity.
In the second embodiment, according to the geographic coordinate information of client, the region of specific region where obtaining client The step of label, can specifically include: geographic coordinate information is pre-processed, and judge whether to have had with it is pretreated The corresponding area label of geographic coordinate information, if so, the area label deposited is read, otherwise, in each spy deposited Determine to search the geographical coordinate boundary including the geographic coordinate information in the geographical coordinate data boundary in region, obtains geographical coordinate side The area label of the corresponding specific region in boundary.
Wherein, the step of reading the area label deposited, can specifically include: judge whether deposit in buffer queue In the area label deposited, if so, the area label deposited is read from buffer queue, otherwise, by being somebody's turn to do in database The area label deposited is cached to buffer queue, then reads the area label deposited from buffer queue.
Geographic coordinate information is pre-processed, can be specifically default precision by the processing of the precision of geographic coordinate information. Specific precision treatment process is discussed in detail in embodiment 1, and details are not described herein again.
It, can be with when there not being area label corresponding with pretreated geographic coordinate information according to embodiment two The geographical coordinate boundary including the geographic coordinate information is searched in the geographical coordinate data boundary for each specific region deposited, and is obtained Obtain the area label of the corresponding specific region in geographical coordinate boundary.Wherein, the geographical coordinate number of boundary for each specific region deposited According to the geographical coordinate data boundary for each specific region that is by map interface pre-rendered and saving, such as each specific region Longitude and latitude boundary.The geographical coordinate boundary including the geographic coordinate information is searched, that is, searches the corresponding point of the geographic coordinate information Which fall in the range of longitude and latitude boundary.
After step S101, the corresponding relationship of client and specific region can be saved in buffer queue.
The buffer queue of the embodiment of the present invention is specifically as follows Redis cluster.Believed using buffer queue caching geographical coordinate Breath and the corresponding relationship of area label and the corresponding relationship of client and specific region, allow to preferentially read from caching Data improve information push efficiency.
The all devices set under the Sorted Set type storage specific region in Redis can be used, wherein key (key) is the area label of specific region, and value (value) is the set of all clients equipment, and client device set can be by It sorts according to score, which is a parameter in Redis, is set as time when client logs in Push system here Stamp.It thus can use the timestamp, report the time of information easily to safeguard caching according to client device the last time Queue, such as the data cached of the equipment that information is not reported in some time (specific time range can be customized) is rejected, Or the client device for reporting information of reading within an hour recently is data cached.
Step S102: according to corresponding relationship, determining has the corresponding all clients in specific region of preselected area label, To obtain destination client set.
Preselected area label is one or more area labels that the demand pre-selection pushed according to message is selected.
Step S103: each client of destination client set will be pushed to PUSH message.
According to the solutions of the embodiments of the present invention, to the client gathering geographic position information of each equipment, and being capable of basis Geographical location information positions the popular quotient area of administrative region or place where each device clients, the equipment for establishing client The reciprocal correspondence relationship of information and specific region.Operation personnel can specify specific region (such as province, city and region or popular quotient area) It carries out targetedly message to push, improves the conversion ratio of PUSH message and benefit from rate.
Fig. 2 is the main modular schematic diagram of message driving means according to an embodiment of the present invention.
As shown in Fig. 2, the message driving means 200 of the embodiment of the present invention specifically includes that and establishes module 201, determining module 202, pushing module 203.
Module 201 is established for reporting information according to client, establishes the corresponding relationship of client and specific region, often A specific region has an area label.
Reporting information may include the facility information and geographic coordinate information of client.
Module 201 is established specifically for the geographic coordinate information according to client, obtains client place specific region Area label;Establish the corresponding relationship between the facility information of client and the area label of client place specific region.
Establishing module 201 may include the first acquisition submodule, be used for: pre-processing, and judges to geographic coordinate information Whether with pretreated geographic coordinate information corresponding area label has been had, if so, the area label deposited is read, Otherwise, the corresponding specific region of pretreated geographic coordinate information is searched from default map datum, obtains what this found The area label of specific region.
Establishing module 201 may include the second acquisition submodule, be used for: pre-processing, and judges to geographic coordinate information Whether with pretreated geographic coordinate information corresponding area label has been had, if so, the area label deposited is read, Otherwise, the geographical coordinate side including geographic coordinate information is searched in the geographical coordinate data boundary for each specific region deposited Boundary obtains the area label of the corresponding specific region in geographical coordinate boundary.
First acquisition submodule or the second acquisition submodule may include reading unit, be used for: judge in buffer queue whether There are the area labels deposited, if so, the area label deposited is read from buffer queue, it otherwise, will be in database The area label deposited is cached to buffer queue, then reads the area label deposited from buffer queue.
First acquisition submodule or the second acquisition submodule may also include pretreatment unit, be used for: by geographic coordinate information Precision processing be default precision.
Message driving means 200 can also cache module, it is slow for the corresponding relationship of client and specific region to be saved in Deposit queue.
Determining module 202 is used for according to corresponding relationship, and determining has the specific region of preselected area label corresponding all Client, to obtain destination client set.
Pushing module 203 is used to be pushed to each client of destination client set to PUSH message.
The specific implementation content of message driving means in embodiments of the present invention, in information push method described above It is described in detail, therefore no longer illustrates in this duplicate contents.
The information push method of the embodiment of the present invention and the system architecture of message driving means is described below, Fig. 3 is basis The message push system configuration diagram of the embodiment of the present invention.
As shown in figure 3, Back Administration Module major function is to offset in the message push system framework of the embodiment of the present invention Breath is managed, and specifically includes the creation, audit and the displaying of relevant statistics of message.Push (push) server-side is main It is responsible for the common functions such as the maintenance of facility information, the transmission of message, the record for sending data and statistics.Disappear when client logs on to When ceasing the system of push, other than reporting equipment information, the longitude and latitude data of equipment where also needing to report client, in client The information of report is stored in client data module.LBS (service based on geographical location information) module is according to longitude and latitude data The specific region where user can be quickly navigated to, Push server-side establishes the facility information of client and the area of specific region Then the corresponding relationship is stored in buffer queue (such as Redis cluster) by the corresponding relationship between the label of domain.The present invention is implemented The LBS Module of example can provide the geographical location information of client device, be needed also according to geographical location information and business scenario More services can be provided, corresponding popular quotient area in the administrative region, the place as where the place etc..
Longitude and latitude data module is used to store the corresponding relationship between the area label of specific region and longitude and latitude data, area Domain device data module is used to store the corresponding relationship between the area label of specific region and facility information.It is with specific region For administrative region and popular quotient area, longitude and latitude data module can store the corresponding relationship of longitude and latitude data and province, city and region, with And the corresponding relationship of longitude and latitude and popular quotient area, area equipment data module can store in a province, city and region or popular quotient area The information for all devices for including in real time.After client has reported longitude and latitude data, LBS service is first requested, obtains client The area label of specific region (such as administrative region or popular quotient area) where corresponding device, then the equipment of the client is believed Breath is stored in the caching of area equipment data module, and Push server-side establishes the facility information of client and the area of specific region Corresponding relationship between the label of domain.Message data module is for storing message to be pushed.
The message that the message push system framework of the embodiment of the present invention shown in Fig. 3 is based on geographical location information (LBS) pushes away Scheme is sent, allows the information push method and/or device of operation personnel through the embodiment of the present invention in some scenarios One time pushed accurate and practical message to user, and then that improves message benefits from rate or conversion ratio, is applicable in a variety of applied fields Scape, such as news item message is pushed to the user in some city, such as push a businessman to the people in some commerce area Preferential alive messages, or to the region for having other characteristic labels, such as in real time to the client of school, cell, CBD etc. Equipment Selective ground batch PUSH message.
Fig. 4 is shown can be using the information push method of the embodiment of the present invention or the exemplary system of message driving means Framework 400.
As shown in figure 4, system architecture 400 may include terminal device 401,402,403, network 404 and server 405. Network 404 between terminal device 401,402,403 and server 405 to provide the medium of communication link.Network 404 can be with Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 401,402,403 and be interacted by network 404 with server 405, to receive or send out Send message etc..Various telecommunication customer end applications, such as the application of shopping class, net can be installed on terminal device 401,402,403 The application of page browsing device, searching class application, instant messaging tools, mailbox client, social platform software etc..
Terminal device 401,402,403 can be the various electronic equipments with display screen and supported web page browsing, packet Include but be not limited to smart phone, tablet computer, pocket computer on knee and desktop computer etc..
Server 405 can be to provide the server of various services, such as utilize terminal device 401,402,403 to user The shopping class website browsed provides the back-stage management server supported.Back-stage management server can believe the product received The data such as breath inquiry request carry out the processing such as analyzing, and processing result (such as target push information, product information) is fed back to Terminal device.
It should be noted that information push method provided by the embodiment of the present invention is generally executed by server 405, accordingly Ground, message driving means are generally positioned in server 405.
It should be understood that the number of terminal device, network and server in Fig. 4 is only schematical.According to realization need It wants, can have any number of terminal device, network and server.
Below with reference to Fig. 5, it illustrates the computer systems 500 for the server for being suitable for being used to realize the embodiment of the present application Structural schematic diagram.Server shown in Fig. 5 is only an example, should not function and use scope band to the embodiment of the present application Carry out any restrictions.
As shown in figure 5, computer system 500 includes central processing unit (CPU) 501, it can be read-only according to being stored in Program in memory (ROM) 502 or be loaded into the program in random access storage device (RAM) 503 from storage section 508 and Execute various movements appropriate and processing.In RAM 503, also it is stored with system 500 and operates required various programs and data. CPU 501, ROM 502 and RAM 503 are connected with each other by bus 504.Input/output (I/O) interface 505 is also connected to always Line 504.
I/O interface 505 is connected to lower component: the importation 506 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 507 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 508 including hard disk etc.; And the communications portion 509 of the network interface card including LAN card, modem etc..Communications portion 509 via such as because The network of spy's net executes communication process.Driver 510 is also connected to I/O interface 505 as needed.Detachable media 511, such as Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 510, in order to read from thereon Computer program be mounted into storage section 508 as needed.
Particularly, disclosed embodiment according to the present invention, can be by above with reference to the process of key step schematic diagram description It is embodied as computer software programs.For example, embodiment disclosed by the invention includes a kind of computer program product comprising carrying Computer program on a computer-readable medium, the computer program include for executing side shown in key step schematic diagram The program code of method.In such embodiments, the computer program can be downloaded from network by communications portion 509 and Installation, and/or be mounted from detachable media 511.When the computer program is executed by central processing unit (CPU) 501, hold The above-mentioned function of being limited in the system of row the application.
It should be noted that computer-readable medium shown in the present invention can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In this application, computer readable storage medium can be it is any include or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this In application, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. are above-mentioned Any appropriate combination.
Key step schematic diagram and block diagram in attached drawing, illustrate according to the system of the various embodiments of the application, method and The architecture, function and operation in the cards of computer program product.In this regard, in key step schematic diagram or block diagram Each box can represent a part of a module, program segment or code, one of above-mentioned module, program segment or code Subpackage is containing one or more executable instructions for implementing the specified logical function.It should also be noted that at some as replacement Realization in, function marked in the box can also occur in a different order than that indicated in the drawings.For example, two in succession The box that ground indicates can actually be basically executed in parallel, they can also be executed in the opposite order sometimes, this is according to involved And function depending on.It is also noted that each box and block diagram or key step in block diagram or key step schematic diagram The combination of box in schematic diagram, can the dedicated hardware based systems of the functions or operations as defined in executing realize, Or it can realize using a combination of dedicated hardware and computer instructions.
Being described in module involved in the embodiment of the present invention can be realized by way of software, can also be by hard The mode of part is realized.Described module also can be set in the processor, for example, can be described as: a kind of processor packet It includes and establishes module 201, determining module 202, pushing module 203.Wherein, the title of these modules is not constituted under certain conditions Restriction to the module itself is also described as " for reporting information according to client, building for example, establishing module 201 The module of the corresponding relationship of vertical client and specific region ".
As on the other hand, the present invention also provides a kind of computer-readable medium, which be can be Included in equipment described in above-described embodiment;It is also possible to individualism, and without in the supplying equipment.Above-mentioned calculating Machine readable medium carries one or more program, when said one or multiple programs are executed by the equipment, makes Obtaining the equipment includes: to report information according to client, establishes the corresponding relationship of the client and specific region, each described Specific region has an area label;According to the corresponding relationship, determining has the specific region of preselected area label corresponding All clients, to obtain destination client set;Each client of the destination client set will be pushed to PUSH message End.
Technical solution according to an embodiment of the present invention reports information according to client, establishes client and specific region Corresponding relationship, each specific region have an area label;According to corresponding relationship, determining has the specific of preselected area label The corresponding all clients in region, to obtain destination client set;Destination client set will be pushed to PUSH message Each client.It can be needed to carry out PUSH message according to specific region according to scene, message batch is pointedly pushed to reality When positioned at specific region each equipment, improve PUSH message conversion ratio and benefit from rate.Also, it is cached using buffer queue geographical The corresponding relationship and client of coordinate information and area label and the corresponding relationship of specific region, allow to preferentially from caching Middle reading data improve information push efficiency, in addition, being default precision by the precision processing of geographic coordinate information, reduce and deposit The scale of construction of storage data saves the cost of data store query to promote storage performance, and improves search efficiency.
Above-mentioned specific embodiment, does not constitute a limitation on the scope of protection of the present invention.Those skilled in the art should be bright It is white, design requirement and other factors are depended on, various modifications, combination, sub-portfolio and substitution can occur.It is any Made modifications, equivalent substitutions and improvements etc. within the spirit and principles in the present invention, should be included in the scope of the present invention Within.

Claims (16)

1. a kind of information push method characterized by comprising
Information is reported according to client, establishes the corresponding relationship of the client and specific region, each specific region With an area label;
According to the corresponding relationship, determining has the corresponding all clients in specific region of preselected area label, to obtain mesh Mark client set;
Each client of the destination client set will be pushed to PUSH message.
2. the method according to claim 1, wherein described, to report information include the facility information of the client And geographic coordinate information,
The step of reporting information according to client, establishing the corresponding relationship of the client and specific region, comprising:
According to the geographic coordinate information of the client, the area label of specific region where obtaining the client;
Establish the corresponding relationship between the facility information of the client and the area label of client place specific region.
3. according to the method described in claim 2, it is characterized in that, obtaining institute according to the geographic coordinate information of the client Where stating client the step of the area label of specific region, comprising:
The geographic coordinate information is pre-processed, and judges whether to have had corresponding with pretreated geographic coordinate information Area label,
If so, the area label deposited is read,
Otherwise, the corresponding specific region of the pretreated geographic coordinate information is searched from default map datum, is somebody's turn to do The area label of the specific region found.
4. according to the method described in claim 2, it is characterized in that, obtaining institute according to the geographic coordinate information of the client Where stating client the step of the area label of specific region, comprising:
The geographic coordinate information is pre-processed, and judges whether to have had corresponding with pretreated geographic coordinate information Area label,
If so, the area label deposited is read,
Otherwise, the geography including the geographic coordinate information is searched in the geographical coordinate data boundary for each specific region deposited Coordinate system obtains the area label of the corresponding specific region in the geographical coordinate boundary.
5. the method according to claim 3 or 4, which is characterized in that the step of reading the area label deposited, packet It includes:
Judge with the presence or absence of the area label deposited in buffer queue, if so, having read this from the buffer queue Otherwise the area label deposited in database is cached to the buffer queue by the area label deposited, then from The buffer queue reads the area label deposited.
6. the method according to claim 3 or 4, which is characterized in that carry out pretreated step to the geographic coordinate information Suddenly, comprising:
It is default precision by the precision processing of the geographic coordinate information.
7. the method according to claim 1, wherein establishing the corresponding relationship of the client and specific region After step, comprising:
The corresponding relationship of the client and specific region is saved in buffer queue.
8. a kind of message driving means characterized by comprising
Module is established, for reporting information according to client, establishes the corresponding relationship of the client and specific region, each The specific region has an area label;
Determining module, for according to the corresponding relationship, determining to have the corresponding all visitors in specific region of preselected area label Family end, to obtain destination client set;
Pushing module, for each client of the destination client set will to be pushed to PUSH message.
9. device according to claim 8, which is characterized in that described to report information include the facility information of the client And geographic coordinate information,
The module of establishing is also used to:
According to the geographic coordinate information of the client, the area label of specific region where obtaining the client;
Establish the corresponding relationship between the facility information of the client and the area label of client place specific region.
10. device according to claim 9, which is characterized in that the module of establishing includes the first acquisition submodule, is used In:
The geographic coordinate information is pre-processed, and judges whether to have had corresponding with pretreated geographic coordinate information Area label,
If so, the area label deposited is read,
Otherwise, the corresponding specific region of the pretreated geographic coordinate information is searched from default map datum, is somebody's turn to do The area label of the specific region found.
11. device according to claim 9, which is characterized in that the module of establishing includes the second acquisition submodule, is used In:
The geographic coordinate information is pre-processed, and judges whether to have had corresponding with pretreated geographic coordinate information Area label,
If so, the area label deposited is read,
Otherwise, the geography including the geographic coordinate information is searched in the geographical coordinate data boundary for each specific region deposited Coordinate system obtains the area label of the corresponding specific region in the geographical coordinate boundary.
12. device described in 0 or 11 according to claim 1, which is characterized in that first acquisition submodule described second obtains Taking submodule includes reading unit, is used for:
Judge with the presence or absence of the area label deposited in buffer queue, if so, having read this from the buffer queue Otherwise the area label deposited in database is cached to the buffer queue by the area label deposited, then from The buffer queue reads the area label deposited.
13. device described in 0 or 11 according to claim 1, which is characterized in that first acquisition submodule described second obtains Taking submodule includes pretreatment unit, is used for:
It is default precision by the precision processing of the geographic coordinate information.
14. device according to claim 8, which is characterized in that further include cache module, be used for:
The corresponding relationship of the client and specific region is saved in buffer queue.
15. a kind of electronic equipment characterized by comprising
One or more processors;
Memory, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors Realize the method as described in any in claim 1-7.
16. a kind of computer-readable medium, is stored thereon with computer program, which is characterized in that described program is held by processor The method as described in any in claim 1-7 is realized when row.
CN201711417558.XA 2017-12-25 2017-12-25 A kind of information push method and device Pending CN110110196A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711417558.XA CN110110196A (en) 2017-12-25 2017-12-25 A kind of information push method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711417558.XA CN110110196A (en) 2017-12-25 2017-12-25 A kind of information push method and device

Publications (1)

Publication Number Publication Date
CN110110196A true CN110110196A (en) 2019-08-09

Family

ID=67483431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711417558.XA Pending CN110110196A (en) 2017-12-25 2017-12-25 A kind of information push method and device

Country Status (1)

Country Link
CN (1) CN110110196A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110598110A (en) * 2019-09-16 2019-12-20 腾讯科技(深圳)有限公司 Service pushing method and device
CN111654879A (en) * 2020-06-02 2020-09-11 中国联合网络通信集团有限公司 Business pushing method and device, control equipment and storage medium
CN112788128A (en) * 2020-12-31 2021-05-11 青岛海尔科技有限公司 Business information pushing method and device, storage medium and electronic device
CN113190873A (en) * 2021-05-31 2021-07-30 中国银行股份有限公司 Activity information pushing method and device
CN113434553A (en) * 2021-06-30 2021-09-24 青岛海尔科技有限公司 Method, device, storage medium and computer equipment for acquiring information

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291435A (en) * 2011-07-15 2011-12-21 武汉大学 Mobile information searching and knowledge discovery system based on geographic spatiotemporal data
CN102779311A (en) * 2012-06-30 2012-11-14 深圳赛美无限科技有限公司 Method and system based on area and aging control and used for pushing information
US8819815B1 (en) * 2007-10-16 2014-08-26 Jpmorgan Chase Bank, N.A. Method and system for distributing and tracking information
CN104954410A (en) * 2014-03-31 2015-09-30 腾讯科技(北京)有限公司 Message pushing method, device thereof and server
CN107124476A (en) * 2017-07-04 2017-09-01 百度在线网络技术(北京)有限公司 Information-pushing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8819815B1 (en) * 2007-10-16 2014-08-26 Jpmorgan Chase Bank, N.A. Method and system for distributing and tracking information
CN102291435A (en) * 2011-07-15 2011-12-21 武汉大学 Mobile information searching and knowledge discovery system based on geographic spatiotemporal data
CN102779311A (en) * 2012-06-30 2012-11-14 深圳赛美无限科技有限公司 Method and system based on area and aging control and used for pushing information
CN104954410A (en) * 2014-03-31 2015-09-30 腾讯科技(北京)有限公司 Message pushing method, device thereof and server
CN107124476A (en) * 2017-07-04 2017-09-01 百度在线网络技术(北京)有限公司 Information-pushing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘红 等: "基于iBeacon技术的消息推送机制的应用于实现", 《上海电机学院学报》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110598110A (en) * 2019-09-16 2019-12-20 腾讯科技(深圳)有限公司 Service pushing method and device
CN111654879A (en) * 2020-06-02 2020-09-11 中国联合网络通信集团有限公司 Business pushing method and device, control equipment and storage medium
CN111654879B (en) * 2020-06-02 2023-02-28 中国联合网络通信集团有限公司 Business push method, device, control equipment and storage medium
CN112788128A (en) * 2020-12-31 2021-05-11 青岛海尔科技有限公司 Business information pushing method and device, storage medium and electronic device
CN113190873A (en) * 2021-05-31 2021-07-30 中国银行股份有限公司 Activity information pushing method and device
CN113190873B (en) * 2021-05-31 2024-04-16 中国银行股份有限公司 Activity information pushing method and device
CN113434553A (en) * 2021-06-30 2021-09-24 青岛海尔科技有限公司 Method, device, storage medium and computer equipment for acquiring information

Similar Documents

Publication Publication Date Title
CN110110196A (en) A kind of information push method and device
CN110019211A (en) The methods, devices and systems of association index
CN109684358A (en) The method and apparatus of data query
CN109683998A (en) Internationalize implementation method, device and system
CN110300084B (en) IP address-based portrait method and apparatus, electronic device, and readable medium
CN101512586A (en) Serving locally relevant advertisements
CN110472207A (en) List generation method and device
CN108989362A (en) A kind for the treatment of method and apparatus of static resource
CN110427438A (en) Data processing method and its device, electronic equipment and medium
CN109614402A (en) Multidimensional data query method and device
CN109889426A (en) Information processing method, apparatus and system based on instant messaging
CN108984553A (en) Caching method and device
CN112784152A (en) Method and device for marking user
CN110321252B (en) Skill service resource scheduling method and device
CN111881329A (en) Account balance management method and system
CN110895591A (en) Method and device for positioning self-picking point
CN111258988B (en) Asset management method, device, electronic equipment and medium
CN107729394A (en) Data Mart management system and its application method based on Hadoop clusters
CN111400520A (en) Construction method of face recognition library, face payment method, device and system
CN114461305B (en) Data source determination method and device
CN112633785A (en) Storage visualization method and device
CN115496544A (en) Data processing method and device
CN109614603A (en) Method and apparatus for generating information
CN110110197A (en) Information acquisition method and device
CN110399397A (en) A kind of data query method and system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190809

RJ01 Rejection of invention patent application after publication