Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, it is rightThe present invention is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the present invention, notFor limiting the present invention.
It is appreciated that term " first " used in the present invention, " second " etc. can be used to describe various elements herein,But these elements are not limited by these terms.These terms are only used to distinguish first element and another element.CitingFor, without departing from the scope of the invention, first time period can be known as to second time period, and similarly, it canSecond time period is known as first time period.First time period and second time period both periods, but it is not samePeriod.
The product information method for pushing that the embodiment of the present invention is provided, can be applied in application environment as shown in Figure 1.GinsengAccording to Fig. 1, which includes server 102 and terminal 104.Terminal 104 can be divided at least two classes, for example terminal 104a can beThe terminal of mobile APP is installed, terminal 104b can be the terminal for being equipped with browser.Terminal 104a and terminal 104b can also be sameOne terminal.Wherein, terminal 104 includes but not limited to mobile phone, tablet computer or personal digital assistant or Wearable etc., clothesBusiness device 102 can be the server cluster that independent physical server or multiple physical servers are formed.Server102 can be used for performing the product information method for pushing that each embodiment of the present invention is provided.Server 102 and 104 network of terminalConnection, server 102 can send data to terminal 104 by network connection.Such as server 102 can receive terminal 104 and send outThe logging request sent;Product information can also be pushed to terminal 104 by server 102.Wherein, network connection includes but not limited to nothingGauze network, cable network etc..
In one embodiment, as shown in Fig. 2, providing a kind of product information method for pushing, this method can be used for such as Fig. 1Server 102 in shown application environment, this method includes:
Step S202 obtains the log-on message set of multiple product push channels.
Product push channel refers to push the channel of product information.Push product information can be directed to, multiple product push are providedChannel, product push channel include but not limited to mobile APP (Application, mobile application service, aiming at terminal thisKind of mobile connection is to business or the wireless network card business of internet and the application program service developed), webpage, third party loginPlatform (for example, wechat public platform) etc..All can access in each product push channel has multiple terminals, such as, such as Fig. 1 institutesShow, may include multiple terminal 104a for being equipped with mobile APP under mobile APP products push channel, web page product is pushed under channelIt may include multiple terminal 104b for being equipped with browser.Log-on message set is to log in the login note that product push channel is formedThe set of record.Wherein, it is complete to refer to that user pushes channel by products such as mobile APP, webpage, wechat public platforms every time for login recordThe record formed into register.It may include login time, user information and channel mark in each login record.
In one embodiment, login record can be obtained from each pre-set product push channel and form log-on message respectivelySet.Such as multiple products can be directed to and push channel, a unified interface is provided, multiple products are pushed into the end under channelBy unified interface Connection Service device, the terminal that different product pushes under channel needs to transmit phase when calling unified interface at endThe parameter answered, can be using channel mark corresponding with product push channel as the parameter transmitted.When user passes through product from terminalWhen pushing channel completion register, the login record for including login time, user information and channel mark can be formed.
Step S204, according to login time, user information and the channel mark in login record each in log-on message setKnow, in the login record for counting identical channel mark, in preset time period in user information each user type login quantityDistribution.
Login time refers to that user completes the time of register.User information refers to complete the phase of the user of registerClose information, including but not limited to the one or more of which correlation letter such as user's gender, age of user, user's occupation and home addressThe combination of breath.Channel mark refer to complete register by product push channel corresponding to mark, channel mark canWith for the coding being made of letter, number, punctuation mark etc..Such as the channel mark corresponding to wechat public platform can be PA-EGIS-001, the channel mark corresponding to mobile APP can be PA-EGIS-002, and the channel mark corresponding to webpage can be PA-EGIS-003.Login time can be used for judging the preset time period belonging to login record.Such as daily 6 can be preset:00 to10:00 is first time period, 10:00 to 14:00 is second time period, 14:00 to 18:00 is the third period, when logging inBetween be 15:When 00, which belongs to the third period.User information can be used for judging the user class corresponding to login recordType.It logs in distributed number and refers to the quantity that the quantity of the login record corresponding to each user type of each user type is formedDistribution.
In one embodiment, user information can be user's gender.It is the first user type when user's gender is male,It is second user type when user's gender is women.The first login record of the first user type in preset time period can be countedQuantity, i.e. user's gender are the quantity of male's login record and the second login record quantity of second user type, i.e. family genderQuantity for women login record.It is formed in preset time period according to the first login record quantity and the second login record quantityLog in distributed number.
Step S206 according to distributed number is logged in, obtains the product information to match with each preset time period.
It is distributed by counting obtained login record, the distribution feelings of user type in each preset time period can be obtainedCondition.Since different user types is different to the matching degree of different product information, each preset time period is being obtainedUnder the distribution situation of interior user type, it may be determined that the product information to match with each preset time period.Such as due to womenUser is partial to the investment of steady row, then can be directed to the product informations such as female user push " plan of children's education gold ".For another example,The user that high risk occupation can be directed to pushes product informations such as " accident insurances ".
In one embodiment, can will log in distributed number with the user type institute of the quantity of login record for maximum valueMatched product information, as the product information to match with the preset time period.For example, user information can be age of user.Can user type be divided by young user, middle aged user and old user according to age of user.According to preset time periodIn the login distributed number that the login record of identical channel mark counts, during the quantity of the login record of young user is more thanThe quantity of the login record of year user and old user, then can recommend with the matched product information of young user, for example, returning for a long timeThe also information of type life insurance.
Step S208, the product information that will be matched in each preset time period push to and corresponding channel mark pairUnder the product push channel answered.
After getting the product information to match with each preset time period, product information can be pushed away in preset time periodIt send to corresponding product and pushes under channel.For example, when getting in the login record with mobile APP channel marks,Preset time period 18:00 to 22:In 00, the product information to match is long-term return type life insurance, then can be in preset time periodLong-term return type life insurance information is pushed to the terminal for being equipped with mobile APP.Wherein, product information push can be according to different productionsProduct push channel takes different products to push mode.Such as push channel for web page product, can with messaging list orPlay the push that box form carries out product information.For mobile APP products push channel, can different step on be generated according to product informationInterface or push interface are recorded, corresponding login interface is pushed to terminal in preset time period or can also be in user's loginThe corresponding push interface of pop-up before.
It in one embodiment, can be using the interlude of preset time period as the time of push product information;It can be withThe distribution situation of the online quantity of user in preset time period is counted, and using the online quantity of user most time as push productThe time of information;The distribution situation of user's login time in preset time period can also be counted, and identical login time institute is rightThat answers logs in time of the most login time of record quantity as push product information, but not limited to this.
In above-described embodiment, the log-on message collection formed by multiple login records is obtained by pushing channel from multiple productsIt closes, and login time, user information and channel mark in each login record, counts the login note of identical channel markIn record, in preset time period in user information each user type login distributed number, by counting obtained login quantityDistribution, it may be determined that the product information to match with each period, by matched product information in corresponding preset time periodIt inside pushes under corresponding product push channel, product push channel is determined by channel mark.Pass through channel mark areaDivide the login record under different product push channel, the preset time period belonging to login record is judged, then lead to by login timeIt crosses the login distributed number that counting user information obtains and obtains matched product information, refinement point is carried out to logon information setAnalysis, so as to fulfill the accurate push of product information.
In one embodiment, as shown in figure 3, login time in login record each in log-on message set,User information and channel mark, in the login record for counting identical channel mark, each in user information is used in preset time periodThe login distributed number of family type, including:
Step S302, in the login record for extracting identical channel mark, login time belongs in identical preset time periodUser information in login record.
After login record is classified according to channel mark, can by the login record comprising identical channel mark according toLogin time is further classified, and extracts user's letter that login time belongs in the login record in identical preset time periodBreath.Wherein, user information can be the combination of the one or more of which such as user's gender, age of user and user's occupation.Citing comesIt says, can be in the login record that there will be mobile APP channel marks, login time is in preset time period 18:00 to 22:In 00Login record filter out after, extraction screening after login record corresponding to user information.
Step S304 determines the corresponding user type of user information of extraction.
In one embodiment, user information includes age of user, and step S304 includes:The age of user institute of Detection and ExtractionThe default age bracket at place;The corresponding user type of age of user of extraction is determined according to default age bracket.It will can each presetAge bracket is as a kind of user type.
In one embodiment, user information includes user's gender.It can be using male user and female user as oneKind user type.
Step S306 is counted in identical preset time period, has the login record of identical channel mark and user typeQuantity is logged in, obtains logging in distributed number.
For example, age of user can be counted, and will each preset age bracket according to the default age bracket of divisionAs the type corresponding to age of user.For example, as shown in table 1, age of user can be divided into multiple default age brackets, by basisLogin time and the user information of channel mark extraction are counted, and obtain stepping on identical channel mark in preset time periodIn record record, belong to quantity p, q, r, s, t of the login record of different user types.P represents that age of user is in 18 to 25The quantity of login record;Q represents that age of user is in the quantity of 25 to 35 login record;R represent age of user be in 35 toThe quantity of 45 login record;S represents that age of user is in the quantity of 45 to 55 login record;T represents that age of user is inThe quantity of 55 to 65 login record.
Table 1
| Age bracket | 18-25 | 25-35 | 35-45 | 45-55 | 55-65 |
| Quantity | p | q | r | s | t |
In one embodiment, according to distributed number is logged in, the product information to match with each preset time period is obtained,Including:Obtain the matching weights of each user type and each product information;It is weighed according to logging in distributed number and matching accordinglyValue is calculated, and generates the product preference value in each preset time period and corresponding to each product information;According to product preferenceValue determines the product information to match with each preset time period.
Matching weights refer to the preset weights of matching degree according to each user type and each product information.Wherein,It is bigger to match weights, illustrates that the product information and the user demand corresponding to the user type are properer.Product preference value refers toThe numerical value obtained by logging in distributed number with matching weight computing, represents the login user in preset time period to accordingly producingThe synthesis preference of product information.Wherein, it logs in and the login record corresponding to different user types is contained in distributed numberQuantity, can be by the way that the matching weights corresponding to like products information be multiplied by the quantity of corresponding login record after, summationObtain the product preference value of each product information in preset time period.Can using the highest product information of product preference value as withThe product information that the preset time period matches.
For example, in the case of for there are multiple product informations that can be pushed, age bracket work will can each be presetFor a kind of user type, as shown in table 2, predeterminable different default age brackets and the matching weights of each product information.For example, needleTo the product A of insurance for old-age class, default age bracket that can be bigger to age of user assigns bigger matching weights, for old youthInsure the product B of class, default age bracket that can be smaller to age of user assigns bigger matching weights.
Table 2
It, can after getting quantity p, q, r, s, t and the corresponding matching weights of the login record of different user typesUser can be calculated in each period to the product preference value of each product information by weighted calculation.The preference of product ADegree QA=p*1+q*1+r*2+s*3+t*3;The preference QB=p*3+q*3+r*2+s*1+t*1 of product B;Products C it is inclinedGood degree QC=p*1+q*2+r*4+s*2+t*1.The production for determining to match with the preset time period according to the size of QA, QB and QCProduct information, such as, when QA is maximum value, the product information of product A can be pushed in corresponding preset time period withAccordingly under the corresponding product push channel of channel mark.
In one embodiment, product push channel can be webpage.As shown in figure 4, before step S202, further include:
Step S402 receives the webpage logging request that terminal is sent by browser.
Webpage logging request can be the request for being used to complete register that terminal is sent by browser.Wherein, terminalCan be the terminal 104b in application environment as shown in Figure 1.Webpage channel mark is included in webpage logging request.Webpage channel markRefer to channel mark corresponding with web page product push channel.
Step S404 sends log-on webpage to terminal according to webpage logging request.
After server receives the webpage logging request of terminal transmission, corresponding webpage login response, webpage can be generatedIt may include preset log-on webpage in login response.Terminal can parse this after receiving the webpage login response of server transmissionWebpage login response, and show log-on webpage.
Step S406 obtains account and password, and account and password are verified by log-on webpage.
Terminal can receive account input by user and password by log-on webpage, and can account and password be sent to serviceDevice is verified.Server can verify account and password by right discriminating system that the database purchase in right discriminating system hasAll effective accounts and password can match the account of acquisition and password with effective account and password, and successful match is thenExplanation is verified.When account and password authentification by when, perform step S408.
Step S408 obtains login time and user information corresponding with account is obtained from database.
When account and password authentification by when, then explanation logins successfully.Can obtain account and password authentification by timeAs login time.In database, each related user information of account, the user information can be user in registration when instituteThe information of input.
Step S410 according to login time, user information and webpage channel mark, is generated and is stored login record.
In one embodiment, in account and password authentification by later, can also login record be written Session(session control, attribute and configuration information needed for the storage specific user's session of Session objects, in this way, when user is in connection phaseDuring with being redirected between the webpage of server, the variable being stored in Session objects will not be lost, but in entire user's meetingAlways existed down in words), and Session is stored into database.Wherein, database can be Redis (one increase income makeWrite with ANSI C languages, support network, can based on memory also can persistence log type, Key-Value databases).It can be withDefault Session expired times, if it exceeds preset time does not have the page any operation, then need user to re-start and step onRecord.It, then can Sessionid corresponding to each terminal distribution when an account has logged in multiple terminals;When a terminal simultaneouslyMultiple accounts have been logged in, i.e., when a Sessionid corresponds to multiple accounts, then can be directed to different accounts and Session is setDifferent Key-Value.
In one embodiment, channel is pushed for wechat public platform product, web page interlinkage can be put into the wechat publicNumber customized menu can also be put into the original read of push article or web page interlinkage is generated Quick Response Code and by twoDimension is piled up into the article of wechat public platform push.When terminal by the web page interlinkage in wechat public platform send out webpage log in pleaseAfter asking, the channel mark corresponding to wechat public platform is may include in the webpage log on request.
In one embodiment, product push channel can be mobile APP.Before step S202, further include:Terminal is received to lead toIt crosses and moves APP sending application logging requests, request includes account, password and using channel mark;Account and password are testedCard;When account and password authentification by when, obtain login time and user information corresponding with account simultaneously obtained from database;RootAccording to login time, user information and using channel mark, generate and store login record.
Can be the request for being used to complete register that terminal is sent by mobile APP using logging request.Wherein, terminalCan be the terminal 104a in application environment as shown in Figure 1.Using including account, password and using channel mark in logging request.Refer to channel mark corresponding with mobile APP products push channel using channel mark.When account and password authentification by when, thenExplanation logins successfully, and can generate corresponding login record.
In one embodiment, it before the application logging request that terminal is sent by mobile APP is received, further includes:It connectsThe service invocation request that terminal is sent by mobile APP is received, token is included in service invocation request;Token is verified;When token authentication faileds, login response is sent again to terminal, and login response is used to indicate terminal and passes through mobile APP againIt shows login interface, and account and password is obtained by login interface.
Service invocation request refers to the request generated according to call operation is taken.Wherein, service call operation is included but notIt is limited to the clicking operation for the functionality controls that user is acted in terminal on mobile APP.Server receive service invocation request itAfterwards, the token (token represents the object for the right for performing certain operations) included in service invocation request is can extract, and is verifiedThe validity of token.When token authentication faileds, illustrate that token is expired, such as the login away from last login recordTime alreadys exceed default effective time, then server return will again login response to terminal so that user can re-startRegister.When logging in again and account number cipher is proved to be successful, new token can be generated and be sent to terminal, and this is newToken be updated to token databases.Token can be one section of random unduplicated character string, such as" daf32da456hfdh " can establish a mapping table reflection token and the correspondence of user information, such as token wordsSymbol string " daf32da456hfdh " and user id " 5 " are mapped.
In one embodiment, signing messages can also be added in token, and pass through when server generation tokenKey pair token is encrypted, and encrypted token is sent to mobile APP.Mobile APP saves token as tuneWith the verification of service.After token is sent to server by mobile APP, server can first pass through key pair token and be solvedIt is close, then token is verified according to the signing messages of the server-side included in token.After token is proved to be successful, serviceDevice can just return to the data of request to client.
In one embodiment, the related data at Webpage or application APP interfaces can be stored in the server, including butIt is not limited to CSS (Cascading Style Sheets, cascading style sheets, a kind of computer for being used for showing page file patternLanguage), JS (JavaScript, a kind of literal translation formula script), XML (ExtensibleMarkup Language, it is expansibleMarkup language) and the front end pages data such as HTML (HyperText Markup Language, hypertext markup language).CitingFor, the push that can be directed to product information provides the H5 pages, and can configure good product relevant parameter, such as commercially available quantity, rateDeng.Multiple product push channels can obtain the H5 pages, and show the H5 pages by corresponding form by unified interface.ThanTerminal as corresponding to web page product push channel can be by the browser-presented H5 pages, mobile APP products push channel instituteCorresponding terminal can pass through the mobile APP showing interfaces H5 pages.
In one embodiment, it is further included before obtaining the log-on message set of multiple product push channels, by multiple productionsUser information under product push channel carries out data cleansing.Due to user can multiple products push channel under repeated registration accountNumber, it can be according to user informations such as address name, user's gender, age of user, cell-phone number, identification card numbers, by identical user instituteThe account of registration merges, and self-existent user information is retained.For example, a user with two accounts respectively in webpageOn bought M products, N products have been bought on mobile APP, when carrying out data cleansing to user information, when detecting two accountsNumber corresponding ID card information it is consistent when, the two accounts of user can be merged into a unified account number, and two accountsUnder user information and product purchase information be also merged under the unified account number, by unified account number, user purchase can be inquiredBought M products and N products.
In one embodiment, as shown in figure 5, providing a kind of product information pusher 500, which includes:It steps onInformation aggregate acquisition module 502 is recorded, for obtaining the log-on message set of multiple product push channels, log-on message set is to step onThe set of login record that record product push channel is formed;Distributed number statistical module 504 is logged in, for according to log-on messageLogin time, user information and channel mark in set in each login record count the login record of identical channel markIn, in preset time period in user information each user type login distributed number;Obtaining product information module 506, is used forAccording to distributed number is logged in, the product information to match with each preset time period is obtained;Product information pushing module 508 is usedIn the product information that will be matched in each preset time period, product push channel corresponding with corresponding channel mark is pushed toUnder.
In one embodiment, distributed number statistical module 504 is logged in include:User information extraction unit, for carryingIn the login record for taking identical channel mark, login time belongs to user's letter in the login record in identical preset time periodBreath;User type determination unit, for determining the corresponding user type of user information of extraction;It is single to log in distributed number statisticsMember for counting in identical preset time period, has the login quantity of the login record of identical channel mark and user type, obtainsTo login distributed number.
In one embodiment, user information includes age of user, and user type determination unit is additionally operable to Detection and ExtractionDefault age bracket residing for age of user;The corresponding user type of age of user of extraction is determined according to default age bracket.
In one embodiment, obtaining product information module 506 is additionally operable to obtain each user type and each product letterThe matching weights of breath;According to distributed number is logged in and corresponding matching weights are calculated, generate in each preset time period withProduct preference value corresponding to each product information;The product for determining to match with each preset time period according to product preference valueInformation.
In one embodiment, as shown in fig. 6, providing another product information pusher 600, which also wrapsIt includes:Login record generation module 602, for receiving the webpage logging request that terminal is sent by browser, webpage logging requestIn include webpage channel mark;Log-on webpage is sent to terminal according to webpage logging request;By log-on webpage obtain account andPassword, and account and password are verified;When account and password authentification by when, obtain login time and simultaneously obtained from databaseTake user information corresponding with account;According to login time, user information and webpage channel mark, generate and store login noteRecord.
In one embodiment, login record generation module 602 is additionally operable to receive terminal is stepped on by mobile APP sending applicationsRecord request, request include account, password and using channel mark;Account and password are verified;When account and password authentificationBy when, obtain login time and corresponding with account user information simultaneously obtained from database;According to login time, user informationWith using channel mark, generate and store login record.
In one embodiment, login record generation module 602 is additionally operable to receive the service that terminal is sent by mobile APPCall request includes token in service invocation request;Token is verified;When token authentication faileds, transmission is stepped on againRecord response to terminal, again login response is used to indicate terminal and shows login interface, and pass through login interface and obtain by mobile APPTake account and password.
Above-mentioned product information pusher can be implemented as a kind of form of computer program, and computer program can be such asIt is run on computer equipment shown in Fig. 7.
Modules in above-mentioned product information pusher can come fully or partially through software, hardware and combinations thereofIt realizes.Above-mentioned each module can be embedded in or in the form of hardware independently of in the memory of computer equipment, can also be with software shapeFormula is stored in the memory of computer equipment, and the corresponding operation of more than modules is performed in order to which processor calls.At thisIt can be central processing unit (CPU), microprocessor, microcontroller etc. to manage device.
In one embodiment, a kind of computer readable storage medium is provided, is stored thereon with computer program, the journeyFollowing steps are realized when sequence is executed by processor:Obtain the log-on message set of multiple product push channels, log-on message setIt is to log in the set of login record that product push channel is formed;Stepping in login record each in log-on message setTime, user information and channel mark are recorded, in the login record for counting identical channel mark, in preset time period in user informationThe login distributed number of each user type;According to distributed number is logged in, the product to match with each preset time period is obtainedInformation;The product information that will be matched in each preset time period pushes to product push corresponding with corresponding channel markUnder channel.
In one embodiment, when which is executed by processor, that is realized each steps on according in log-on message setLogin time, user information and channel mark in record record, in the login record for counting identical channel mark, preset time periodIn interior user information the step of the login distributed number of each user type, including:Extract the login record of identical channel markIn, login time belongs to the user information in the login record in identical preset time period;Determine that the user information of extraction corresponds toUser type;It counts in identical preset time period, there is the login number of the login record of identical channel mark and user typeAmount obtains logging in distributed number.
In one embodiment, user information includes age of user, and when which is executed by processor, that is realized determinesThe step of user information of extraction corresponding user type, including:Default age bracket residing for the age of user of Detection and Extraction;RootThe corresponding user type of age of user of extraction is determined according to default age bracket.
In one embodiment, when which is executed by processor, realized according to distributed number is logged in, obtain with it is everyThe step of product information that a preset time period matches, including:Obtain the matching of each user type and each product informationWeights;According to distributed number is logged in and corresponding matching weights are calculated, generate in each preset time period with each productProduct preference value corresponding to information;The product information for determining to match with each preset time period according to product preference value.
In one embodiment, when which is executed by processor, in the multiple product push channels of acquisition realizedBefore the step of log-on message set, further include:The webpage logging request that terminal is sent by browser is received, webpage logs in pleaseWebpage channel mark is included in asking;Log-on webpage is sent to terminal according to webpage logging request;Account is obtained by log-on webpageAnd password, and account and password are verified;When account and password authentification by when, obtain login time and from databaseObtain user information corresponding with account;According to login time, user information and webpage channel mark, generate and store login noteRecord.
In one embodiment, when which is executed by processor, in the multiple product push channels of acquisition realizedBefore the step of log-on message set, further include:Terminal is received by mobile APP sending application logging requests, request includes accountNumber, password and using channel mark;Account and password are verified;When account and password authentification by when, obtain when logging inBetween and obtain from database corresponding with account user information;It is raw according to login time, user information and using channel markInto and store login record.
In one embodiment, it when which is executed by processor, is sent in the reception terminal realized by mobile APPApplication logging request the step of before, further include:The service invocation request that terminal is sent by mobile APP is received, service is adjustedWith in request include token;Token is verified;When token authentication faileds, login response is sent again to terminal, weightNew login response is used to indicate terminal and shows login interface, and obtain account and password by login interface by mobile APP.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage on a memoryAnd the computer program that can be run on a processor, processor realize following steps when performing program:Multiple products are obtained to push awayThe log-on message set of channel is sent, log-on message set is to log in the set of login record that product push channel is formed;RootAccording to login time, user information and the channel mark in login record each in log-on message set, identical channel mark is countedLogin record in, in preset time period in user information each user type login distributed number;Divide according to quantity is logged inCloth obtains the product information to match with each preset time period;The product information that will be matched in each preset time period,It pushes under product push channel corresponding with corresponding channel mark.
In one embodiment, when above-mentioned processor performs program, that is realized each steps on according in log-on message setLogin time, user information and channel mark in record record, in the login record for counting identical channel mark, preset time periodIn interior user information the step of the login distributed number of each user type, including:Extract the login record of identical channel markIn, login time belongs to the user information in the login record in identical preset time period;Determine that the user information of extraction corresponds toUser type;It counts in identical preset time period, there is the login number of the login record of identical channel mark and user typeAmount obtains logging in distributed number.
In one embodiment, user information includes age of user, and when above-mentioned processor performs program, that is realized determinesThe step of user information of extraction corresponding user type, including:Default age bracket residing for the age of user of Detection and Extraction;RootThe corresponding user type of age of user of extraction is determined according to default age bracket.
In one embodiment, when above-mentioned processor performs program, realized according to distributed number is logged in, obtain with it is everyThe step of product information that a preset time period matches, including:Obtain the matching of each user type and each product informationWeights;According to distributed number is logged in and corresponding matching weights are calculated, generate in each preset time period with each productProduct preference value corresponding to information;The product information for determining to match with each preset time period according to product preference value.
In one embodiment, when above-mentioned processor performs program, in the multiple product push channels of acquisition realizedBefore the step of log-on message set, further include:The webpage logging request that terminal is sent by browser is received, webpage logs in pleaseWebpage channel mark is included in asking;Log-on webpage is sent to terminal according to webpage logging request;Account is obtained by log-on webpageAnd password, and account and password are verified;When account and password authentification by when, obtain login time and from databaseObtain user information corresponding with account;According to login time, user information and webpage channel mark, generate and store login noteRecord.
In one embodiment, when above-mentioned processor performs program, in the multiple product push channels of acquisition realizedBefore the step of log-on message set, further include:Terminal is received by mobile APP sending application logging requests, request includes accountNumber, password and using channel mark;Account and password are verified;When account and password authentification by when, obtain when logging inBetween and obtain from database corresponding with account user information;It is raw according to login time, user information and using channel markInto and store login record.
In one embodiment, it when above-mentioned processor performs program, is sent in the reception terminal realized by mobile APPApplication logging request the step of before, further include:The service invocation request that terminal is sent by mobile APP is received, service is adjustedWith in request include token;Token is verified;When token authentication faileds, login response is sent again to terminal, weightNew login response is used to indicate terminal and shows login interface, and obtain account and password by login interface by mobile APP.
Fig. 7 is the internal structure schematic diagram of one embodiment Computer equipment.The computer equipment can be applied to Fig. 1'sServer 102 in application environment.The computer equipment includes the processor connected by system bus, non-volatile memories are situated betweenMatter, built-in storage and network interface.Wherein, for the processor of the computer equipment for providing calculating and control ability, support is wholeThe operation of a computer equipment.The non-volatile memory medium of computer equipment is stored with operating system, database and computerProgram.It is relevant that a kind of product information method for pushing that each embodiment more than being used to implement is provided is stored in the databaseData, such as log-on message set, the data such as effective account and corresponding password.The computer program can be held by processorRow, a kind of product information method for pushing provided for the above each embodiment of realization.Memory storage in computer equipmentDevice provides the running environment of cache for operating system, database and the computer program in non-volatile memory medium.NetNetwork interface can be Ethernet card or wireless network card etc., for terminal or server the progress network connection with outside, such as withTerminal 104 in the application environment of Fig. 1 carries out network connection, receives the webpage logging request that terminal 104 is sent by browserOr using logging request, matched product information can be also sent to terminal 104 by server 102.
It will be understood by those skilled in the art that the structure of the computer equipment shown in Fig. 7, only and application schemeThe block diagram of relevant part-structure does not form the restriction for the computer equipment being applied thereon to application scheme, specificallyComputer equipment can include than components more or fewer in figure either combine certain components or have different portionsPart is arranged.Such as the computer equipment may also include display screen, display screen can be touch screen, for example be capacitance plate or electricitySon screen can act on the clicking operation of the control of the touch screen display by reception, generate corresponding instruction.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be withRelevant hardware is instructed to complete by computer program, the program can be stored in a non-volatile computer and can be readIn storage medium, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage is situated betweenMatter can be magnetic disc, CD, read-only memory (Read-OnlyMemory, ROM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned realityIt applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not depositedIn contradiction, it is all considered to be the range of this specification record.
Embodiment described above only expresses the several embodiments of the present invention, and description is more specific and detailed, but simultaneouslyIt cannot therefore be construed as limiting the scope of the patent.It should be pointed out that those of ordinary skill in the art are comeIt says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present inventionRange.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.