CN107977382A - Method and apparatus for pushed information - Google Patents
Method and apparatus for pushed information Download PDFInfo
- Publication number
- CN107977382A CN107977382A CN201610939812.1A CN201610939812A CN107977382A CN 107977382 A CN107977382 A CN 107977382A CN 201610939812 A CN201610939812 A CN 201610939812A CN 107977382 A CN107977382 A CN 107977382A
- Authority
- CN
- China
- Prior art keywords
- information
- push
- targeted customer
- user
- pushed
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
This application discloses the method and apparatus for pushed information.One embodiment of the method includes:Receive information push request, wherein, described information push request includes intending push number and information to be pushed;Determine the respective index for being indicated at least one user information group, wherein, an index is used to indicate a user information group;Index is randomly selected from the respective index to index as target;The plan push number bar target user information is randomly selected in targeted customer's information group indicated from target index;The information to be pushed is pushed to the user terminal indicated by targeted customer's information.The embodiment realizes the information push of real-time high-efficiency.
Description
Technical field
This application involves field of computer technology, and in particular to Internet technical field, more particularly, to pushed information
Method and apparatus.
Background technology
With becoming increasingly popular for mobile Internet, network is into an indispensable part in for people's lives.It is in general, objective
Family can push user's information interested to user on one's own initiative by network, help user expeditiously to excavate valuable letter
Breath;Can also be by being investigated to user's pushed information (such as investigating questionnaire) to work on marketing.
But existing information-pushing method typically first reads all user informations, afterwards in all user informations
In randomly select targeted customer's information, then to the user terminal pushed information indicated by targeted customer's information.Above- mentioned information pushes away
Although delivery method can realize that information pushes, there is the defects of cannot real-time and efficiently completing information push.
The content of the invention
In a first aspect, this application provides a kind of method for pushed information, the described method includes:Receive information pushes
Request, wherein, described information push request includes intending push number and information to be pushed;Determine to be used to believe at least one user
The respective index that breath group is indicated, wherein, an index is used to indicate a user information group;From the respective index with
Machine Selecting Index is indexed as target;The plan is randomly selected in targeted customer's information group indicated from target index to push away
Send number bar target user information;The information to be pushed is pushed to the user terminal indicated by targeted customer's information.
In certain embodiments, the respective index determined for being indicated at least one user information group, bag
Include:All user informations are obtained from the database connected;Acquired user information is divided at least one user
Information group, and the respective index for being used for being indicated at least one user information group is set, wherein, it is described at least one
The number for the user information that each user information group in user information group includes is not more than preset user information number.
In certain embodiments, the push request includes push mode;It is and described from indicated by target index
Targeted customer's information group in randomly select it is described intend push number bar target user information, including:Calculate the push mode
Number and the product for intending pushing number, calculated the ratio of preset user information number and the product as first
Value;A random number is produced as random reduced value into the number range of first calculated value from zero, wherein, zero to described
The number range of first calculated value includes first calculated value, not including zero;Following steps are performed to choose each target
User information, until the number of selected targeted customer's information, which reaches described, intends push number:By targeted customer's information
The number for the user information that group currently includes is with the ratio for intending pushing number as the second calculated value;From zero to described second
A random number is produced in the number range of calculated value as candidate value, wherein, zero to second calculated value number range
Including second calculated value, not including zero;It is equal to the random reduced value in response to the candidate value, chooses the candidate value
Indicated user information records selected targeted customer's information and by selected targeted customer as targeted customer's information
Information is removed from targeted customer's information group.
In certain embodiments, push letter is treated described in the user terminal push to indicated by targeted customer's information
Breath, including:It is that the user terminal is randomly assigned push mode from the push mode;Using the push mode distributed to
The user terminal pushes the information to be pushed.
In certain embodiments, the database is supports by distributed structured query language query engine into line number
It is investigated that the database ask.
Second aspect, this application provides a kind of device for pushed information, described device includes:Receiving unit, matches somebody with somebody
Put for receive information push request, wherein, described information push request includes intending push number and information to be pushed;Determine single
Member, is configured to determine the respective index for indicating at least one user information group, wherein, an index is used to refer to
Show a user information group;First chooses unit, is configured to randomly select index from the respective index and is used as target rope
Draw;Second chooses unit, is configured to randomly select the plan from the indicated targeted customer's information group of target index
Push number bar target user information;Push unit, is configured to push away to the user terminal indicated by targeted customer's information
Send the information to be pushed.
In certain embodiments, the determination unit includes:Subelement is obtained, is configured to obtain from the database connected
Take all user informations;Subelement is set, is configured to acquired user information being divided at least one user's letter
Breath group, and the respective index for being used for being indicated at least one user information group is set, wherein, at least one use
The number for the user information that each user information group in the information group of family includes is not more than preset user information number.
In certain embodiments, the push request includes push mode;And the second selection unit includes:First
Calculated value determination subelement, is configured to calculate the number of the push mode and the product for intending pushing number, will be preset
The ratio of user information number and the product is as the first calculated value;Random reduced value determination subelement, is configured to from zero
A random number is produced into the number range of first calculated value as random reduced value, wherein, zero to described first meter
The number range of calculation value includes first calculated value, not including zero;Targeted customer's information chooses subelement, is configured to carry out
Following steps choose each targeted customer's information, until the number of selected targeted customer's information, which reaches described, intends push
Number:The number for the user information that targeted customer's information group is currently included is used as the with the ratio for intending pushing number
Two calculated values;A random number is produced as candidate value into the number range of second calculated value from zero, wherein, zero to institute
Stating the number range of the second calculated value includes second calculated value, not including zero;In response to the candidate value be equal to it is described with
Machine reduced value, chooses the user information indicated by the candidate value as targeted customer's information, records selected targeted customer
Information simultaneously removes selected targeted customer's information from targeted customer's information group.
In certain embodiments, the push unit includes:Distribute subelement, be configured to from the push mode be
The user terminal is randomly assigned push mode;Subelement is pushed, is configured to use distributed push mode to the use
Family terminal pushes the information to be pushed.
In certain embodiments, the database is supports by distributed structured query language query engine into line number
It is investigated that the database ask.
The method and apparatus for pushed information that the application provides, by determining to use after information push request is received
In the respective index indicated at least one user information group, to randomly select index conduct in above-mentioned respective index
Target indexes, and randomly selects plan push number bar target from the indicated targeted customer's information group of above-mentioned target index afterwards and uses
Family information, finally pushes information to be pushed, so as to be effectively utilized mesh to the user terminal indicated by above-mentioned targeted customer's information
The equiprobability for marking user information group and targeted customer's information is chosen, and realizes the information push of real-time high-efficiency.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, the application's is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is that this application can be applied to exemplary system architecture figure therein;
Fig. 2 is the flow chart according to one embodiment of the method for pushed information of the application;
Fig. 3 is the schematic diagram according to an application scenarios of the method for pushed information of the application;
Fig. 4 is the flow chart according to another embodiment of the method for pushed information of the application;
Fig. 5 is the structure diagram according to one embodiment of the device for pushed information of the application;
Fig. 6 is adapted for the structure diagram of the computer system of the server for realizing the embodiment of the present application.
Embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to
It illustrate only easy to describe, in attached drawing and invent relevant part with related.
It should be noted that in the case where there is no conflict, the feature in embodiment and embodiment in the application can phase
Mutually combination.Describe the application in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 shows the implementation of the method for pushed information that can apply the application or the device for pushed information
The exemplary system architecture 100 of example.
As shown in Figure 1, system architecture 100 can include client 101,102,103, network 104 and server 105.Net
Network 104 between client 101,102,103 and server 105 provide communication link medium.Network 104 can include
Various connection types, such as wired, wireless communication link or fiber optic cables etc..
Client can be interacted using client 101,102,103 by network 104 with server 105, to receive or send
Message etc..Various telecommunication customer end applications can be installed in client 101,102,103, such as web browser applications, asked
Volume investigation application, instant messaging tools, mailbox client, social platform software etc..
Client 101,102,103 can be the various electronic equipments for having display screen, include but not limited to smart mobile phone,
Tablet computer, pocket computer on knee and desktop computer etc..
Server 105 can be to provide the server of various services, such as to information that client 101,102,103 is sent
Push request provides the background server supported.Background server can automatically be selected according to the information push request received
Targeted customer's information is taken, and the information to be pushed that above-mentioned request is included is pushed to the user indicated by above-mentioned targeted customer's information
Terminal (not shown).
It should be noted that the method for pushed information that the embodiment of the present application is provided generally is held by server 105
OK, correspondingly, the device for pushed information is generally positioned in server 105.
It should be understood that the number of the client, network and server in Fig. 1 is only schematical.According to realizing needs,
Can have any number of client, network and server.
With continued reference to Fig. 2, the flow of one embodiment of the method for pushed information according to the application is shown
200.The method for pushed information, comprises the following steps:
Step 201, receive information push request.
In the present embodiment, method operation electronic equipment (such as the service shown in Fig. 1 thereon for pushed information
Device 105) can be pushed by wired connection mode or radio connection from client using it into row information terminal (such as
Client 101 shown in Fig. 1,102,103) receive information push request, wherein, above- mentioned information push request can be pushed away including plan
Send number and information to be pushed.Here, the number that push number is targeted customer's information to be chosen is intended;The lattice of information to be pushed
Formula can be html, txt, doc etc..It should be noted that above-mentioned radio connection can include but is not limited to 3G/4G companies
Connect, WiFi connections, bluetooth connection, WiMAX connections, Zigbee connections, UWB (ultra wideband) connections and other are existing
In known or exploitation in the future radio connection.
Step 202, the respective index for being indicated at least one user information group is determined.
In the present embodiment, if to above-mentioned electronic equipment be stored with the database of network connection above-mentioned corresponding
Index, above-mentioned electronic equipment can directly read above-mentioned respective index from above-mentioned database.Wherein, an index is used to indicate
One user information group.Here, above-mentioned database can be local data base, or be remotely connected with above-mentioned electronic equipment
Database.
In some optional implementations of the present embodiment, if above-mentioned respective index is not stored in above-mentioned database,
Above-mentioned electronic equipment can obtain all user informations from the database connected, and acquired user information is divided at least
One user information group, and the respective index for being used for being indicated at least one user information group divided is set.Wherein,
The number for the user information that each user information group in above-mentioned at least one user information group includes is not more than preset user
Information number (such as 100,000).As an example, if acquired user information is 10,000,000, preset user information number is 10
Ten thousand, then above-mentioned electronic equipment acquired user information can be divided into 100 user information groups, each user information group bag
Containing 100,000 user informations.
It should be noted that above-mentioned preset user information number can artificially be set, and can be according to actual need
Ask and be adjusted.Alternatively, for each user information group in above-mentioned at least one user information group, the user's information group
In user information can be ranked up according to creation time, above-mentioned electronic equipment can be by the originating subscriber of the user's information group
The mark of information and starting of the mark respectively as the index for being indicated the user's information group for terminating user information
Call number and end call number.Here, above-mentioned electronic equipment set index can also be stored in local data base or with
The database that above-mentioned electronic equipment remotely connects.
It is pointed out that above-mentioned connected database can be to support to pass through distributed structured query language
(Structured Query Language, SQL) query engine Presto carries out the database of data query.Presto can be with
Inquired about suitable for interactive analysis, can data more than 250PB (Petabytes, petabyte) be carried out with rapidly interactive point
Analysis.Here, acquired all user informations can be stored in the memory of above-mentioned electronic equipment by above-mentioned electronic equipment.
In some optional implementations of the present embodiment, above-mentioned electronic equipment can be in each update cycle (example
Such as 7 days are a update cycle) perform the flow being once configured to above-mentioned respective index.Wherein, the update cycle can be
Artificially set, the duration of each update cycle can be adjusted according to the actual requirements.Alternatively, in each new renewal
When cycle arrives, all user informations obtained in the previous update cycle stored in memory can be automatically cleared.
Step 203, index is randomly selected from respective index to index as target.
In the present embodiment, above-mentioned electronic equipment can randomly select index from above-mentioned respective index and be used as target rope
Draw.If as an example, the number of above-mentioned respective index be 5, it is corresponding with above-mentioned respective index be identified as 1,2,3,4 and
5, above-mentioned electronic equipment can be produced using randomizer (random) in zero to 5 number range one it is random whole
Number, such as caused random integers are 5, then above-mentioned electronic equipment can choose the index for being identified as 5 as target index.
Wherein, zero to 5 number range can include 5, not including zero.
Step 204, plan push number bar target is randomly selected from the indicated targeted customer's information group of target index to use
Family information.
In the present embodiment, above-mentioned electronic equipment can utilize randomizer zero to above-mentioned targeted customer's information group
Comprising user information number number range in produce the mutually different random number of above-mentioned plan push number, and choose institute
User information indicated by the random number of generation is as targeted customer's information.Wherein, zero include to above-mentioned targeted customer's information group
The number range of number of user information can include the number of user information that above-mentioned targeted customer's information group includes, do not wrap
Include zero.
Step 205, information to be pushed is pushed to the user terminal indicated by targeted customer's information.
In the present embodiment, above-mentioned electronic equipment can be used indicated by the push mode to above-mentioned targeted customer of acquiescence
User terminal pushes above-mentioned information to be pushed.Wherein, the information push mode of acquiescence can be short message push, application message, postal
Part push etc..
With continued reference to Fig. 3, Fig. 3 is a signal according to the application scenarios of the method for pushed information of the present embodiment
Figure.In the application scenarios of Fig. 3, client initiates an information push request first, wherein, above- mentioned information push request can wrap
Include plan push number 200 and information to be pushed;Afterwards, as shown in label 301, background server can receive above- mentioned information push
Request;Then, as shown in label 302, above-mentioned background server can read out stored be used for 5 in the local database
The respective index that a user information group is indicated;Then, as shown in label 303, above-mentioned background server can utilize random
Number generator produces a random integers in zero to 5 number range, such as caused random integers are 5, above-mentioned electronics
Equipment can choose user information group indicated by random integers 5 as targeted customer's information group, wherein, zero to 5 numerical value model
5 can be included by enclosing, not including zero;Followed by as shown in label 304, above-mentioned electronic equipment can be existed using randomizer
Generation 200 is mutual not in the number range of the number (such as 100,000) of zero user information included to above-mentioned targeted customer's information group
Identical random number, and the user information caused by selection indicated by 200 mutually different random numbers is as targeted customer
Information, wherein, zero to 100,000 number range can include 100,000, not including zero;Finally, as shown in label 305, above-mentioned electronics
Equipment can use the user terminal push indicated by the push mode to 200 selected target user informations of acquiescence above-mentioned
Information to be pushed.
The method that above-described embodiment of the application provides by it is identified be used at least one user information group into
Index is randomly selected in the respective index of row instruction to index as target, afterwards in the indicated user information group of target index
Plan push number bar user information is randomly selected as targeted customer's information, it is then whole to the user indicated by targeted customer's information
End push information to be pushed, avoids and is carrying out that when targeted customer's information is chosen all user informations will be read each time,
The real-time of user information reading is improved, so that the grade for being effectively utilized targeted customer's information group and targeted customer's information is general
Rate is chosen, and realizes the information push of real-time high-efficiency.
With further reference to Fig. 4, it illustrates the flow 400 of another embodiment of the method for pushed information.The use
In the flow 400 of the method for pushed information, comprise the following steps:
Step 401, receive information push request.
In the present embodiment, method operation electronic equipment (such as the service shown in Fig. 1 thereon for pushed information
Device 105) can be pushed by wired connection mode or radio connection from client using it into row information terminal (such as
Client 101 shown in Fig. 1,102,103) receive information push request, wherein, above- mentioned information push request can be pushed away including plan
Send number and information to be pushed.Here, the number that push number is targeted customer's information to be chosen is intended;The lattice of information to be pushed
Formula can be html, txt, doc etc..
Step 402, the respective index for being indicated at least one user information group is determined.
In the present embodiment, if to above-mentioned electronic equipment be stored with the database of network connection above-mentioned corresponding
Index, above-mentioned electronic equipment can directly read above-mentioned respective index from above-mentioned database.Wherein, an index is used to indicate
One user information group.Here, above-mentioned database can be local data base, or be remotely connected with above-mentioned electronic equipment
Database.
Step 403, index is randomly selected from respective index to index as target.
In the present embodiment, above-mentioned electronic equipment can randomly select index from above-mentioned respective index and be used as target rope
Draw.If as an example, the number of above-mentioned respective index be 5, it is corresponding with above-mentioned respective index be identified as 1,2,3,4 and
5, above-mentioned electronic equipment can produce a random integers, such as institute using randomizer in zero to 5 number range
The random integers of generation are 5, then above-mentioned electronic equipment can choose the index for being identified as 5 as target index.Wherein, zero to
5 number range can include 5, not including zero.
Step 404, calculate push mode number with intend push number product, by preset user information number with it is above-mentioned
The ratio of product is as the first calculated value.
In the present embodiment, above-mentioned electronic equipment can calculate the number and above-mentioned plan push number of above-mentioned push mode
Product, and using the ratio of preset user information number and above-mentioned product as the first calculated value.Above-mentioned electronic equipment can afterwards
To perform step 405.
In some optional implementations of the present embodiment, the ratio of above-mentioned preset user information number and above-mentioned product
Can be the ratio after rounding.
Step 405, a random number is produced from the number range of zero to the first calculated value as random reduced value.
In the present embodiment, above-mentioned electronic equipment can utilize randomizer from zero to above-mentioned first calculated value number
It is worth in scope and produces a random number as random reduced value.Wherein, zero can wrap to the number range of above-mentioned first calculated value
Above-mentioned first calculated value is included, not including zero.Afterwards, above-mentioned electronics can perform step 406.
Step 406, following steps are performed to choose each targeted customer's information, until selected targeted customer's information
Number reach plan push number.
In the present embodiment, above-mentioned electronic equipment can perform following steps to choose each targeted customer's information, directly
Number to selected targeted customer's information reaches above-mentioned plan push number:Above-mentioned electronic equipment first can use above-mentioned target
The number for the user information that family information group currently includes pushes the ratio of number as the second calculated value with above-mentioned plan;Afterwards, on
A random number can be produced as candidate value from zero into the number range of above-mentioned second calculated value by stating electronic equipment, wherein,
Zero can include above-mentioned second calculated value to the number range of above-mentioned second calculated value, not including zero;In response to above-mentioned candidate value
Equal to above-mentioned random reduced value, the user information that above-mentioned electronic equipment can choose indicated by above-mentioned candidate value is believed for targeted customer
Breath, records selected targeted customer's information and moves selected targeted customer's information from above-mentioned targeted customer's information group
Remove.
Step 407, it is that above-mentioned user terminal is randomly assigned push mode from above-mentioned push mode.
In the present embodiment, above-mentioned electronic equipment can be that above-mentioned user terminal is randomly assigned to push away from above-mentioned push mode
Send mode.As an example, above-mentioned user terminal can have corresponding numbering, such as 001,002 and 003, wherein, above-mentioned use
The numbering of family terminal can be the mark of corresponding user information;Above-mentioned push mode can have corresponding numbering,
Such as 1,2 and 3;The user terminal distribution push mode that it is 001 that if above-mentioned electronic equipment, which will be numbering, above-mentioned electronic equipment can
To produce a random number in zero to 3 number range, such as caused random number is 2, then above-mentioned electronic equipment can be with
The push mode that numbering indicated by random number 2 is 2 is distributed into the user terminal that numbering is 001, wherein, zero to 3 numerical value
Scope can include 3, not including zero.
Step 408, information to be pushed is pushed to above-mentioned user terminal using the push mode distributed.
In the present embodiment, above-mentioned electronic equipment can use distributed push mode to be treated to the push of above-mentioned user terminal
Pushed information.As an example, if above-mentioned user terminal is respectively to number the user terminal for being 001,002,003 and 004, at random
The push mode for distributing to the user terminal that numbering is 001 is short message push, is randomly assigned to the user terminal that numbering is 002
Push mode is mail push, and the push mode for being randomly assigned to the user terminal that numbering is 003 and numbering is 004 is all should
With message, then above-mentioned electronic equipment can use short message to push to numbering and push information to be pushed for 001 user terminal, can be with
Mail push is used to " numbering pushes information to be pushed for 002 user terminal, can use application message to numbering for 003
And the user terminal push information to be pushed that numbering is 004.
Figure 4, it is seen that compared with the corresponding embodiments of Fig. 2, the method for pushed information in the present embodiment
Flow 400 highlight the step of being chosen to targeted customer's information and to user terminal push information to be pushed step
Suddenly.Thus, the scheme of the present embodiment description can realize the real-time query to user information and avoid the repetition of identical data from looking into
Ask, can further realize to the selection of the efficient equiprobability of targeted customer's information, by for each targeted customer information institute
The user terminal of instruction, which is randomly assigned push mode, can ensure to push the fairness and randomness of result.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, it is used to push letter this application provides one kind
One embodiment of the device of breath, the device embodiment is corresponding with the embodiment of the method shown in Fig. 2, which can specifically answer
For in various electronic equipments.
As shown in figure 5, the device 500 for pushed information described in the present embodiment includes:Receiving unit 501, determine list
Member 502, first, which chooses unit 503, second, chooses unit 504 and push unit 505.Wherein, receiving unit 501 is configured to connect
Breath push of collecting mail is asked, wherein, above- mentioned information push request includes intending push number and information to be pushed;Determination unit 502 is matched somebody with somebody
Put for determining the respective index for being indicated at least one user information group, wherein, an index is used to indicate one
A user information group;First selection unit 503 is configured to randomly select index from above-mentioned respective index as target index;
Second selection unit 504, which is configured to randomly select above-mentioned plan from the indicated targeted customer's information group of above-mentioned target index, to be pushed away
Send number bar target user information;And push unit 505 is configured to the user terminal indicated by above-mentioned targeted customer's information
Push above-mentioned information to be pushed.
In the present embodiment, in the device 500 of pushed information:Receiving unit 501, determination unit 502, first chooses
Unit 503, second is chosen unit 504 and the specific beneficial effect for handling and its bringing of push unit 505 and can be corresponded to referring to Fig. 2
The associated description of the implementation of step 201, step 202, step 203, step 204 and step 205 in embodiment, herein not
Repeat again.
In some optional implementations of the present embodiment, above-mentioned determination unit 502 can include:Obtain subelement
(not shown), is configured to obtain all user informations from the database connected;Subelement (not shown) is set,
It is configured to acquired user information being divided into above-mentioned at least one user information group, and sets and be used for above-mentioned at least one
The respective index that a user information group is indicated, wherein, each user information in above-mentioned at least one user information group
The number for the user information that group includes is not more than preset user information number.
In some optional implementations of the present embodiment, above-mentioned push request can include push mode;On and
Stating the second selection unit 504 can include:First calculated value determination subelement (not shown), is configured to calculate above-mentioned push away
The product of the number and above-mentioned plan push number of mode is sent, using the ratio of preset user information number and above-mentioned product as first
Calculated value;Random reduced value determination subelement (not shown), is configured to the numerical value model from zero to above-mentioned first calculated value
One random number of middle generation is enclosed as random reduced value, wherein, zero to above-mentioned first calculated value number range can include upper
The first calculated value is stated, not including zero;Targeted customer's information chooses subelement (not shown), is configured to carry out following steps
To choose each targeted customer's information, until the number of selected targeted customer's information reaches above-mentioned plan push number:Will
The number for the user information that above-mentioned targeted customer's information group currently includes and the ratio of above-mentioned plan push number are calculated as second
Value;A random number is produced as candidate value into the number range of above-mentioned second calculated value from zero, wherein, zero to above-mentioned second
The number range of calculated value can include above-mentioned second calculated value, not including zero;It is equal in response to above-mentioned candidate value above-mentioned random
Reduced value, chooses the user information indicated by above-mentioned candidate value as targeted customer's information, records selected targeted customer's letter
Cease and remove selected targeted customer's information from above-mentioned targeted customer's information group.
In some optional implementations of the present embodiment, above-mentioned push unit 505 can include:Distribute subelement
(not shown), is configured to from above-mentioned push mode be that above-mentioned user terminal is randomly assigned push mode;Push is single
First (not shown), is configured to push above-mentioned information to be pushed to above-mentioned user terminal using distributed push mode.
In some optional implementations of the present embodiment, above-mentioned database passes through distributed structured inquiry for support
Language inquiry engine carries out the database of data query.
Below with reference to Fig. 6, it illustrates suitable for for realizing the computer system 600 of the server of the embodiment of the present application
Structure diagram.
As shown in fig. 6, computer system 600 includes central processing unit (CPU) 601, it can be read-only according to being stored in
Program in memory (ROM) 602 or be loaded into program in random access storage device (RAM) 603 from storage part 608 and
Perform various appropriate actions and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data.
CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to always
Line 604.
I/O interfaces 605 are connected to lower component:Importation 606 including keyboard, mouse etc.;Penetrated including such as cathode
The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage part 608 including hard disk etc.;
And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 via such as because
The network of spy's net performs communication process.Driver 610 is also according to needing to be connected to I/O interfaces 605.Detachable media 611, such as
Disk, CD, magneto-optic disk, semiconductor memory etc., are installed on driver 610, in order to read from it as needed
Computer program be mounted into as needed storage part 608.
Especially, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product, it includes being tangibly embodied in machine readable
Computer program on medium, the computer program include the program code for being used for the method shown in execution flow chart.At this
In the embodiment of sample, which can be downloaded and installed by communications portion 609 from network, and/or from removable
Medium 611 is unloaded to be mounted.When the computer program is performed by central processing unit (CPU) 601, perform in the present processes
The above-mentioned function of limiting.
Flow chart and block diagram in attached drawing, it is illustrated that according to the system of the various embodiments of the application, method and computer journey
Architectural framework in the cards, function and the operation of sequence product.At this point, each square frame in flow chart or block diagram can generation
The part of one module of table, program segment or code, a part for the module, program segment or code include one or more
The executable instruction of logic function as defined in being used for realization.It should also be noted that some as replace realization in, institute in square frame
The function of mark can also be with different from the order marked in attached drawing generation.For example, two square frames succeedingly represented are actual
On can perform substantially in parallel, they can also be performed in the opposite order sometimes, this is depending on involved function.Also
It is noted that the combination of each square frame and block diagram in block diagram and/or flow chart and/or the square frame in flow chart, Ke Yiyong
The dedicated hardware based systems of functions or operations as defined in execution is realized, or can be referred to specialized hardware and computer
The combination of order is realized.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard
The mode of part is realized.Described unit can also be set within a processor, for example, can be described as:A kind of processor bag
Include receiving unit, determination unit, the first selection unit, the second selection unit and push unit.Wherein, the title of these units exists
The restriction to the unit in itself is not formed in the case of certain, " receive information pushes for example, receiving unit is also described as
The unit of request ".
As on the other hand, present invention also provides a kind of nonvolatile computer storage media, the non-volatile calculating
Machine storage medium can be nonvolatile computer storage media included in device described in above-described embodiment;Can also be
Individualism, without the nonvolatile computer storage media in supplying terminal.Above-mentioned nonvolatile computer storage media is deposited
One or more program is contained, when one or more of programs are performed by an equipment so that the equipment:Receive
Information push request, wherein, above- mentioned information push request includes intending push number and information to be pushed;Determine to be used at least one
The respective index that a user information group is indicated, wherein, an index is used to indicate a user information group;From above-mentioned corresponding
Index is randomly selected in index to index as target;Randomly selected in targeted customer's information group indicated from above-mentioned target index
Above-mentioned plan pushes number bar target user information;Wait to push to the user terminal push indicated by above-mentioned targeted customer's information is above-mentioned
Information.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.People in the art
Member should be appreciated that invention scope involved in the application, however it is not limited to the technology that the particular combination of above-mentioned technical characteristic forms
Scheme, while should also cover in the case where not departing from the inventive concept, carried out by above-mentioned technical characteristic or its equivalent feature
The other technical solutions for being combined and being formed.Such as features described above has similar work(with (but not limited to) disclosed herein
The technical solution that the technical characteristic of energy is replaced mutually and formed.
Claims (10)
- A kind of 1. method for pushed information, it is characterised in that the described method includes:Receive information push request, wherein, described information push request includes intending push number and information to be pushed;Determine the respective index for being indicated at least one user information group, wherein, an index is used to indicate one User information group;Index is randomly selected from the respective index to index as target;Plan push number bar targeted customer's letter is randomly selected in targeted customer's information group indicated from target index Breath;The information to be pushed is pushed to the user terminal indicated by targeted customer's information.
- 2. according to the method described in claim 1, it is characterized in that, described determine to be used to carry out at least one user information group The respective index of instruction, including:All user informations are obtained from the database connected;Acquired user information is divided at least one user information group, and sets and is used at least one use The respective index that family information group is indicated, wherein, each user information group bag at least one user information group The number of the user information contained is not more than preset user information number.
- 3. according to the method described in one of claim 1-2, it is characterised in that the push request includes push mode;AndThe push number bar target of intending is randomly selected in targeted customer's information group indicated from target index to use Family information, including:The number of the push mode and the product for intending pushing number are calculated, by preset user information number and the product Ratio as the first calculated value;A random number is produced as random reduced value into the number range of first calculated value from zero, wherein, zero to institute Stating the number range of the first calculated value includes first calculated value, not including zero;Following steps are performed to choose each targeted customer's information, until the number of selected targeted customer's information reaches institute State plan push number:The number for the user information that targeted customer's information group is currently included and the ratio for intending pushing number Value is used as the second calculated value;A random number is produced as candidate value into the number range of second calculated value from zero, its In, zero to second calculated value number range includes second calculated value, not including zero;In response to described candidate value etc. In the random reduced value, user information indicated by the candidate value is chosen as targeted customer's information, is recorded selected Targeted customer's information simultaneously removes selected targeted customer's information from targeted customer's information group.
- It is 4. according to the method described in claim 3, it is characterized in that, described whole to the user indicated by targeted customer's information End pushes the information to be pushed, including:It is that the user terminal is randomly assigned push mode from the push mode;The information to be pushed is pushed to the user terminal using the push mode distributed.
- 5. according to the method described in claim 2, it is characterized in that, the database passes through distributed structured inquiry for support Language inquiry engine carries out the database of data query.
- 6. a kind of device for pushed information, it is characterised in that described device includes:Receiving unit, is configured to receive information push request, wherein, described information push request includes intending push number and treats Pushed information;Determination unit, is configured to determine the respective index for indicating at least one user information group, wherein, one Index is used to indicate a user information group;First chooses unit, is configured to randomly select index from the respective index as target index;Second chooses unit, is configured to randomly select the plan from the indicated targeted customer's information group of target index Push number bar target user information;Push unit, is configured to push the information to be pushed to the user terminal indicated by targeted customer's information.
- 7. device according to claim 6, it is characterised in that the determination unit includes:Subelement is obtained, is configured to obtain all user informations from the database connected;Subelement is set, is configured to acquired user information being divided at least one user information group, and set For the respective index indicated at least one user information group, wherein, at least one user information group The number of user information that includes of each user information group be not more than preset user information number.
- 8. according to the device described in one of claim 6-7, it is characterised in that the push request includes push mode;AndThe second selection unit includes:First calculated value determination subelement, the number for being configured to calculate the push mode intend multiplying for push number with described Product, using the ratio of preset user information number and the product as the first calculated value;Random reduced value determination subelement, is configured to produce one at random into the number range of first calculated value from zero Number is used as random reduced value, wherein, zero to first calculated value number range includes first calculated value, does not include Zero;Targeted customer's information chooses subelement, is configured to carry out following steps to choose each targeted customer's information, until The number of selected targeted customer's information reaches described and intends push number:The use that targeted customer's information group is currently included The number of family information is with the ratio for intending pushing number as the second calculated value;From zero to second calculated value numerical value model One random number of middle generation is enclosed as candidate value, wherein, zero to second calculated value number range includes the described second meter Calculation value, not including zero;It is equal to the random reduced value in response to the candidate value, chooses user's letter indicated by the candidate value Breath be used as targeted customer's information, record selected by targeted customer's information and by selected targeted customer's information from the target Removed in user information group.
- 9. device according to claim 8, it is characterised in that the push unit includes:Subelement is distributed, is configured to from the push mode be that the user terminal is randomly assigned push mode;Subelement is pushed, is configured to push the information to be pushed to the user terminal using distributed push mode.
- 10. device according to claim 7, it is characterised in that the database is looked into for support by distributed structured Ask the database that language inquiry engine carries out data query.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610939812.1A CN107977382B (en) | 2016-10-25 | 2016-10-25 | Method and device for pushing information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610939812.1A CN107977382B (en) | 2016-10-25 | 2016-10-25 | Method and device for pushing information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107977382A true CN107977382A (en) | 2018-05-01 |
CN107977382B CN107977382B (en) | 2022-02-01 |
Family
ID=62004108
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610939812.1A Active CN107977382B (en) | 2016-10-25 | 2016-10-25 | Method and device for pushing information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107977382B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101184019A (en) * | 2006-11-14 | 2008-05-21 | 中兴通讯股份有限公司 | System for delivering dynamically service information to a plurality of terminals |
CN101520878A (en) * | 2009-04-03 | 2009-09-02 | 华为技术有限公司 | Method, device and system for pushing advertisements to users |
CN101866341A (en) * | 2009-04-17 | 2010-10-20 | 华为技术有限公司 | Information push method, device and system |
CN103530339A (en) * | 2013-10-08 | 2014-01-22 | 北京百度网讯科技有限公司 | Mobile application information push method and device |
CN104579912A (en) * | 2013-10-29 | 2015-04-29 | 深圳市腾讯计算机系统有限公司 | Method and device for data pushing |
CN104917834A (en) * | 2015-06-09 | 2015-09-16 | 北京金山安全软件有限公司 | Information pushing method and device |
US20150288776A1 (en) * | 2012-12-28 | 2015-10-08 | Tencent Technology (Shenzhen) Company Limited | Pushing Messages for Web Applications |
-
2016
- 2016-10-25 CN CN201610939812.1A patent/CN107977382B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101184019A (en) * | 2006-11-14 | 2008-05-21 | 中兴通讯股份有限公司 | System for delivering dynamically service information to a plurality of terminals |
CN101520878A (en) * | 2009-04-03 | 2009-09-02 | 华为技术有限公司 | Method, device and system for pushing advertisements to users |
CN101866341A (en) * | 2009-04-17 | 2010-10-20 | 华为技术有限公司 | Information push method, device and system |
US20150288776A1 (en) * | 2012-12-28 | 2015-10-08 | Tencent Technology (Shenzhen) Company Limited | Pushing Messages for Web Applications |
CN103530339A (en) * | 2013-10-08 | 2014-01-22 | 北京百度网讯科技有限公司 | Mobile application information push method and device |
CN104579912A (en) * | 2013-10-29 | 2015-04-29 | 深圳市腾讯计算机系统有限公司 | Method and device for data pushing |
CN104917834A (en) * | 2015-06-09 | 2015-09-16 | 北京金山安全软件有限公司 | Information pushing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN107977382B (en) | 2022-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109460513A (en) | Method and apparatus for generating clicking rate prediction model | |
CN111125574B (en) | Method and device for generating information | |
CN106845999A (en) | Risk subscribers recognition methods, device and server | |
CN108491267A (en) | Method and apparatus for generating information | |
CN106407425A (en) | A method and a device for information push based on artificial intelligence | |
CN107944481A (en) | Method and apparatus for generating information | |
CN107369055A (en) | The picking distribution method and device of order messages | |
CN107832941A (en) | Order processing method and device | |
CN109146533B (en) | Information pushing method and device | |
CN109685301A (en) | Method for managing resource, device, equipment and readable storage medium storing program for executing | |
CN107845011A (en) | Method and apparatus for handling order | |
CN107911449A (en) | Method and apparatus for pushed information | |
CN105488205A (en) | Page generation method and page generation apparatus | |
CN110392155A (en) | It has been shown that, processing method, device and the equipment of notification message | |
CN107977678A (en) | Method and apparatus for output information | |
CN108804433A (en) | Information-pushing method and device | |
CN107451869A (en) | Method and apparatus for pushed information | |
CN107704357B (en) | Log generation method and device | |
CN108737486A (en) | Information-pushing method and device | |
CN105786941B (en) | Information mining method and device | |
CN107249041B (en) | Information pushing method and device | |
CN114297476A (en) | Questionnaire survey method, system, electronic equipment and storage medium based on user tags | |
CN108512674A (en) | Method, apparatus and equipment for output information | |
CN107708076A (en) | Method and apparatus for pushing access information | |
CN112507141A (en) | Investigation task generation method and device, computer equipment and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |