CN109960758A - Prize information method for pushing, device and electronic equipment - Google Patents
Prize information method for pushing, device and electronic equipment Download PDFInfo
- Publication number
- CN109960758A CN109960758A CN201910185024.1A CN201910185024A CN109960758A CN 109960758 A CN109960758 A CN 109960758A CN 201910185024 A CN201910185024 A CN 201910185024A CN 109960758 A CN109960758 A CN 109960758A
- Authority
- CN
- China
- Prior art keywords
- prize
- information
- array
- winning event
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
It includes: the generation in response to prize-winning event that the application, which provides a kind of prize information method for pushing, device and electronic equipment, a specific embodiment of the method, obtains target information, the target information includes the corresponding winnings information of the prize-winning event;The corresponding target score of the prize-winning event is determined based on the target information;If it is determined that meeting preset condition, it is based on the target score, is recorded in the array being pre-created using the corresponding prize information of the prize-winning event as an element;Selected part or whole prize informations are pushed from the array.The embodiment considers the corresponding winnings information of prize-winning event, carries out the push of prize information, to realize targetedly information push, improves the reasonability and validity of information push.
Description
Technical field
This application involves technical field of internet application, in particular to a kind of prize information method for pushing, device and electronics
Equipment.
Background technique
In some sweepstakes Internet-based, it usually needs push prize information to user in real time.For at present,
Usually periodically newly generated prize information is stored into caching, and takes out prize information from caching and is carried out to user
Push.But due to being periodically to be cached, therefore, it is impossible to the prize information that timely updates, so that some important prize-winning letters
Breath can not be pushed at the first time user.Also, the randomness of pushed information is excessive, it is difficult to realize targeted information
Push, to reduce the reasonability and validity of information push.
Summary of the invention
In order to solve the above-mentioned technical problem one of, the application provides a kind of prize information method for pushing, device and electronics and sets
It is standby.
According to the embodiment of the present application in a first aspect, providing a kind of prize information method for pushing, comprising:
In response to the generation of prize-winning event, target information is obtained, the target information includes that the prize-winning event is corresponding
Winnings information;
The corresponding target score of the prize-winning event is determined based on the target information;
If it is determined that meet preset condition, be based on the target score, using the corresponding prize information of the prize-winning event as
One element is recorded in the array being pre-created;
Selected part or whole prize informations are pushed from the array.
It is optionally, described that the corresponding target score of the prize-winning event is determined based on the target information, comprising:
The corresponding weight relevant parameter of the prize-winning event is determined based on the target information;
It determines and is greater than 0 and the random number less than 1;
The target score is determined based on the weight relevant parameter and the random number, wherein the weight is related
Parameter and the target score are negatively correlated, and the random number and the target score are positively correlated.
Optionally, the winnings information includes:
The corresponding prize quantity in stock of the prize-winning event;And/or
The corresponding prize price parameter of the prize-winning event.
Optionally, if the winnings information includes the prize quantity in stock, the weight relevant parameter and the prize library
Storage is positively correlated;
If the winnings information includes the prize price parameter, the weight relevant parameter and the prize price parameter
It is negatively correlated.
Optionally, the target information further include:
The equivalent coefficient of the corresponding user of the prize-winning event;And/or
The number of days of the time of origin distance movable time started of the prize-winning event.
Optionally, if the target information includes the equivalent coefficient, the weight relevant parameter and the equivalent coefficient
It is negatively correlated;
If the target information includes the number of days, the weight relevant parameter and the number of days are negatively correlated.
Optionally, the method also includes:
If element number is less than predetermined number in presently described array, it is determined that meet preset condition;Or
If element number is more than or equal to predetermined number in presently described array, and the target score is greater than in the array
Element corresponding to minimum score value, it is determined that meet preset condition.
Optionally, described to be based on the target score, using the corresponding prize information of the prize-winning event as an element
It is recorded in the array being pre-created, comprising:
If element number is less than predetermined number in presently described array, according to score value corresponding to element in the array
Sequence from small to large is inserted into the corresponding prize information of the prize-winning event as an element in the array;
If element number is more than or equal to predetermined number in presently described array, and the target score is greater than in the array
Element corresponding to minimum score value, then the element for corresponding to minimum score value in the array is deleted, and according to the array
The sequence of score value corresponding to middle element from small to large is inserted into using the corresponding prize information of the prize-winning event as an element
In the array.
According to the second aspect of the embodiment of the present application, a kind of prize information driving means is provided, comprising:
Module is obtained, for the generation in response to prize-winning event, obtains target information, the target information includes in described
The corresponding winnings information of prize event;
Determining module, for determining the corresponding target score of the prize-winning event based on the target information;
Logging modle, it is for if it is determined that meet preset condition, being based on the target score, the prize-winning event is corresponding
Prize information is recorded in the array being pre-created as an element;
Pushing module is pushed for the selected part from the array or whole prize informations.
According to the third aspect of the embodiment of the present application, a kind of computer readable storage medium is provided, the storage medium is deposited
Computer program is contained, the computer program realizes side described in any one of above-mentioned first aspect when being executed by processor
Method.
According to the fourth aspect of the embodiment of the present application, a kind of electronic equipment is provided, including memory, processor and be stored in
On memory and the computer program that can run on a processor, the processor realize above-mentioned first party when executing described program
Method described in any one of face.
The technical solution that embodiments herein provides can include the following benefits:
The prize information method for pushing and device that embodiments herein provides are obtained in response to the generation of prize-winning event
Target information, the target information include the corresponding winnings information of prize-winning event, determine the prize-winning event pair based on target information
The target score answered.Determine meet preset condition when, be based on target score, using the corresponding prize information of prize-winning event as
One element is recorded in the array being pre-created, and selected part or whole prize informations are pushed from the array.By
The corresponding winnings information of prize-winning event is considered in the present embodiment, carries out the push of prize information, to realize targetedly
Information push, improves the reasonability and validity of information push.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The application can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the application
Example, and together with specification it is used to explain the principle of the application.
Fig. 1 is the exemplary system architecture schematic diagram using the embodiment of the present application;
Fig. 2 is a kind of the application flow chart of prize information method for pushing shown according to an exemplary embodiment;
Fig. 3 is the flow chart of the application another prize information method for pushing shown according to an exemplary embodiment;
Fig. 4 is the flow chart of the application another prize information method for pushing shown according to an exemplary embodiment;
Fig. 5 is a kind of the application block diagram of prize information driving means shown according to an exemplary embodiment;
Fig. 6 is the block diagram of the application another prize information driving means shown according to an exemplary embodiment;
Fig. 7 is the block diagram of the application another prize information driving means shown according to an exemplary embodiment;
Fig. 8 is the structural schematic diagram of the application a kind of electronic equipment shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the application.
It is only to be not intended to be limiting the application merely for for the purpose of describing particular embodiments in term used in this application.
It is also intended in the application and the "an" of singular used in the attached claims, " described " and "the" including majority
Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps
It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application
A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from
In the case where the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determination ".
Referring to Fig. 1, for using the exemplary system architecture schematic diagram of the embodiment of the present application:
As shown in Figure 1, system architecture 100 may include terminal device 101,102, network 103 and server 104.It should
Understand, the number or type of terminal device, network and server in Fig. 1 are only schematical.It, can be with according to needs are realized
Terminal device, network and server with arbitrary number or type.
Network 103 between terminal device, server for providing the medium of communication link.Network 103 may include each
Kind connection type, such as wired, wireless communication link or fiber optic cables etc..
Terminal device 101,102 can be interacted by network 103 with server, to receive or send request or information
Deng.Terminal device 101,102 can be various electronic equipments, and including but not limited to smart phone, tablet computer, intelligence wearing is set
Standby and personal digital assistant etc..
Server 104 can be to provide the server of various services.Server can store the data received,
The processing such as analysis can also send control command or request etc. to terminal device or other servers.Server can respond
In user service request and service is provided.It is appreciated that a server can provide one or more services, same clothes
Business can also be provided by multiple servers.
The application is described in detail below in conjunction with specific embodiments.
As shown in Fig. 2, Fig. 2 is a kind of flow chart of prize information method for pushing shown according to an exemplary embodiment,
This method can be applied in server.Method includes the following steps:
In step 201, in response to the generation of prize-winning event, target information is obtained, which includes the prize-winning thing
The corresponding winnings information of part.
In the present embodiment, prize-winning event can be user and draw any prize in sweepstake Internet-based
Event.When prize-winning event occurs, the available target information of server, the target information at least may include the prize-winning event
Corresponding winnings information (i.e. user drawn in the prize event the information of prize).Wherein, above-mentioned winnings information may include
It is one or more below: the corresponding prize quantity in stock of the prize-winning event, the corresponding prize price parameter of the prize-winning event, the prize-winning
The corresponding prize type parameter of event.Optionally, above-mentioned target information can also include following one or more: the prize-winning event
The equivalent coefficient of corresponding user, the number of days of the time of origin distance movable time started of the prize-winning event, the prize-winning event pair
The default adjusting parameter answered.
In step 202, which is determined based on target information.
In the present embodiment, the corresponding target score of prize-winning event can be determined based on target information.Wherein, the target
Score value is bigger, and the probability that prize information corresponding to the prize-winning event is pushed is bigger.Specifically, in a kind of implementation
In, the corresponding weight relevant parameter of prize-winning event can be determined based on the target information, the weight relevant parameter is smaller, and indicating should
The probability that prize information corresponding to prize-winning event is pushed is bigger.Then, conventional processing is carried out to the weight relevant parameter,
The corresponding target score of prize-winning event is obtained, keeps the weight relevant parameter and target score negatively correlated.For example, can will preset
Be greater than 0 and the fixed constant less than 1 is used as the truth of a matter, using the weight relevant parameter as index, progress power operation, by what is obtained
As a result it is used as the target score.
In another implementation, it is also based on the target information and determines the corresponding weight correlation ginseng of prize-winning event
Number, the weight relevant parameter is smaller, and the probability for indicating that prize information corresponding to the prize-winning event is pushed is bigger.And it is random true
Surely it is greater than 0 and the random number less than 1.Then, target score is determined based on the weight relevant parameter and the random number.Wherein,
The weight relevant parameter and target score are negatively correlated, and the random number and target score are positively correlated.
It is appreciated that the corresponding target score of prize-winning event can also be determined by other any reasonable manners, this
Application to not limiting in this respect.
In step 203, however, it is determined that meet preset condition, be based on target score, the corresponding prize-winning of the prize-winning event is believed
Breath is recorded in the array being pre-created as an element.
In the present embodiment, an array can be pre-created before sweepstake starts, after sweepstake starts,
When prize-winning event occurs, however, it is determined that meet preset condition, then target score can be based on, by the corresponding prize-winning of prize-winning event
Information is recorded in the array being pre-created as an element.Wherein, each element in the array is a prize-winning event
Corresponding prize information, i.e., each corresponding prize-winning event of element.
In the present embodiment, the corresponding prize information of prize-winning event can be any information for needing to push to user, example
Such as, which can include but is not limited to prize rank, prize title, the identification information of prize winner, prize residue library
Storage etc..It is appreciated that the prize information can also include other any reasonable information, the application is to unlimited in this respect
It is fixed.
In the present embodiment, if the number of element is less than predetermined number in current array, the default item of satisfaction can be determined
Part.Alternatively, if element number is more than or equal to predetermined number in current array, and the corresponding target score of above-mentioned prize-winning event is greater than
Minimum score value corresponding to element in the array, then can also determine and meet preset condition.
In step 204, selected part or whole prize informations are pushed from the array.
In the present embodiment, it when there is user to log in the prize drawing page or inquiry prize information, can be selected from the array
Part or all of prize information is taken to be pushed to user.
The prize information method for pushing provided by the above embodiment of the application obtains mesh in response to the generation of prize-winning event
Information is marked, which includes the corresponding winnings information of prize-winning event, determines that the prize-winning event is corresponding based on target information
Target score.When determination meets preset condition, it is based on target score, using the corresponding prize information of prize-winning event as one
A element is recorded in the array being pre-created, and selected part or whole prize informations are pushed from the array.Due to
The present embodiment considers the corresponding winnings information of prize-winning event, carries out the push of prize information, targetedly believes to realize
Breath push, improves the reasonability and validity of information push.
As shown in figure 3, Fig. 3 is the process of another prize information method for pushing shown according to an exemplary embodiment
Figure, This embodiment describes the process for determining target score, this method be can be applied in server, comprising the following steps:
In step 301, in response to the generation of prize-winning event, target information is obtained, which includes the prize-winning thing
The corresponding winnings information of part.
In step 302, the corresponding weight relevant parameter of the prize-winning event is determined based on the target information.
In the present embodiment, the corresponding weight relevant parameter of the prize-winning event can be determined based on the target information, wherein
The weight relevant parameter is smaller, and the probability for indicating that prize information corresponding to the prize-winning event is pushed is bigger.
In the present embodiment, above-mentioned winnings information may include: the corresponding prize quantity in stock of the prize-winning event, and/or should
The corresponding prize price parameter of prize-winning event.If the winnings information includes prize quantity in stock, which can be with
The prize quantity in stock is positively correlated.If the winnings information includes the prize price parameter, which can be with the prize
Product price parameter is negatively correlated.For example, if above-mentioned winnings information include the corresponding prize quantity in stock a of the prize-winning event and this in
The corresponding prize price parameter b of prize event, weight relevant parameter c can be indicated are as follows: c=a/b.
In the present embodiment, above-mentioned winnings information can also include other information, for example, it is also possible to include the prize-winning thing
The corresponding prize type parameter of part, the prize type parameter can be for prize type and pre-set parameter.Wherein, should
Prize type can include but is not limited to coupons type, virtual object type, type in kind etc..
In the present embodiment, above-mentioned target information can further include other than including above-mentioned winnings information: should
The number of days of the time of origin distance movable time started of the equivalent coefficient and/or the prize-winning event of the corresponding user of prize-winning event.
If above-mentioned target information includes the equivalent coefficient, which can be with equivalent coefficient negative correlation.If above-mentioned
Target information includes above-mentioned number of days, which can be negatively correlated with above-mentioned number of days.For example, if above-mentioned target information
It further include the equivalent coefficient c and the prize-winning event of the corresponding user of the prize-winning event other than including above-mentioned winnings information
The number of days d of time of origin distance movable time started.Also, above-mentioned winnings information includes the corresponding prize inventory of the prize-winning event
The a and corresponding prize price parameter b of the prize-winning event is measured, weight relevant parameter e can be indicated are as follows: e=a/ (b*c*d).
In the present embodiment, above-mentioned target information can also include other information, for example, it is also possible to include the prize-winning thing
The corresponding default adjusting parameter of part, the default adjusting parameter can be for prize and pre-set adjusting parameter.This is default
Adjusting parameter can be used for according to the actual situation, adjusting the corresponding weight relevant parameter of the prize-winning event.
In step 303, it determines and is greater than 0 and the random number less than 1.
In the present embodiment, it can determine one generated at random and be greater than 0 and the random number less than 1.
In step 304, target score is determined based on the weight relevant parameter and the random number, wherein the weight phase
It closes parameter and target score is negatively correlated, the random number and target score are positively correlated.
In the present embodiment, target score can be determined based on the weight relevant parameter and the random number, wherein the power
Weight relevant parameter and target score are negatively correlated, and the random number and target score are positively correlated.For example, can be determined by following formula
Target score:
S=RW
Wherein, S is target score, and R is the random number, and W is the weight relevant parameter.
It is appreciated that can also be true based on the weight relevant parameter and the random number by other any reasonable manners
Set the goal score value, and the application to not limiting in this respect.
In step 305, however, it is determined that meet preset condition, be based on target score, the corresponding prize-winning of the prize-winning event is believed
Breath is recorded in the array being pre-created as an element.
Within step 306, selected part or whole prize informations are pushed from the array.
It should be noted that no longer going to live in the household of one's in-laws on getting married in above-mentioned Fig. 3 embodiment for the step identical with Fig. 2 embodiment
It states, related content can be found in Fig. 2 embodiment.
The prize information method for pushing provided by the above embodiment of the application obtains mesh in response to the generation of prize-winning event
Information is marked, which includes the corresponding winnings information of prize-winning event, determines the prize-winning event pair based on the target information
The weight relevant parameter answered determines and is greater than 0 and the random number less than 1, is determined based on the weight relevant parameter and the random number
Target score, wherein the weight relevant parameter and target score are negatively correlated, and the random number and target score are positively correlated.If it is determined that
Meet preset condition, is based on target score, preparatory wound is recorded using the corresponding prize information of prize-winning event as an element
In the array built, and selected part or whole prize informations are pushed from the array.Since the present embodiment passes through prize-winning thing
The corresponding weight relevant parameter of part and random number determine score value, and carry out prize information based on the corresponding score value of prize-winning event
Therefore push not only realizes targetedly information push, also enhances the flexibility of information push, further improve letter
Cease the reasonability and validity of push.
As shown in figure 4, Fig. 4 is the process of another prize information method for pushing shown according to an exemplary embodiment
The process for determining and meeting preset condition is described in detail in figure, the embodiment, and this method can be applied in server, including following
Step:
In step 401, in response to the generation of prize-winning event, target information is obtained, which includes the prize-winning thing
The corresponding winnings information of part.
In step 402, which is determined based on target information.
In step 403a, if element number is less than predetermined number in the array being currently pre-created, it is determined that meet pre-
If condition.
In step 403b, if element number is more than or equal to predetermined number, and target point in the array being currently pre-created
Value is greater than minimum score value corresponding to the element in the array, it is determined that meets preset condition.
In the present embodiment, the array being pre-created can be before sweepstake starts, and an array is pre-created,
After sweepstake starts, addition element, each element a prize-winning event can be corresponded to constantly into the array.
It in the present embodiment, can be first when the generation of prize-winning event, and after the determining corresponding target score of prize-winning event
Compare the size relation of the number of element and predetermined number in current array.If element number is less than default in current array
Number, then can determine and meet preset condition.Alternatively, if element number is more than or equal to predetermined number in current array, it can
With further by the corresponding target score of above-mentioned prize-winning event, (each element is equal in array with minimum score value corresponding in array
A corresponding prize-winning event, each prize-winning event correspond to a score value) it is compared.If target score is greater than in the array
Element corresponding to minimum score value, then can also determine and meet preset condition.
In step 404, however, it is determined that meet preset condition, be based on target score, the corresponding prize-winning of the prize-winning event is believed
Breath is recorded in the array being pre-created as an element.
In the present embodiment, each element corresponds to a score value in array, and the element in array is according to score value from small
It is arranged to big sequence.It therefore, can be according in array if element number is less than predetermined number in current array
The sequence of score value corresponding to element from small to large, using the corresponding prize information of prize-winning event as an element, insert number
In group.If element number is more than or equal to predetermined number in current array, and the corresponding target score of prize-winning event is greater than number
The corresponding minimum score value of element in group, then can delete the element for corresponding to minimum score value in array, and according in array
The sequence of score value corresponding to element from small to large, using the corresponding prize information of prize-winning event as an element, insert number
In group.
In step 405, selected part or whole prize informations are pushed from above-mentioned array.
In the present embodiment, it when there is user to log in the prize drawing page or inquiry prize information, can be selected from the array
Part or all of prize information is taken to be pushed to user.For example, can randomly select part prize information is pushed to user.It can also be with
According to the sequence of score value from big to small, the prize information for choosing preset quantity is pushed to user.Letter of all getting the winning number in a bond can also be chosen
Breath is pushed to user.It is appreciated that can also choose prize information otherwise is pushed to user, the application is in this respect
It does not limit.
It should be noted that for the step identical with Fig. 2 and Fig. 3 embodiment, in above-mentioned Fig. 4 embodiment no longer into
Row repeats, and related content can be found in Fig. 2 and Fig. 3 embodiment.
The prize information method for pushing provided by the above embodiment of the application obtains mesh in response to the generation of prize-winning event
Information is marked, which includes the corresponding winnings information of prize-winning event, determines that the prize-winning event is corresponding based on target information
Target score, if element number is less than predetermined number in current array, it is determined that meet preset condition, if current
Element number is more than or equal to predetermined number in array, and target score is greater than minimum score value corresponding to the element in the array,
Then determination meets preset condition.If it is determined that meeting preset condition, it is based on target score, by the corresponding prize information of prize-winning event
It is recorded in the array being pre-created as an element, and selected part or whole prize informations are pushed away from above-mentioned array
It send.Since the present embodiment considers the corresponding winnings information of prize-winning event, so that it is determined that the corresponding score value of prize event, and it is based on
The corresponding score value of prize event screens prize information to be pushed, and therefore, helps to realize targetedly information push, further mentions
The high reasonability and validity of information push.
Although should be noted that in the above-described embodiments, the operation of the application method is described with particular order, this
These operations must be executed in this particular order by not requiring that or implying, or is had to carry out and operated just shown in whole
It is able to achieve desired result.On the contrary, the step of describing in flow chart can change and execute sequence.It additionally or alternatively, can be with
Certain steps are omitted, multiple steps are merged into a step and are executed, and/or a step is decomposed into execution of multiple steps.
Corresponding with aforementioned prize information method for pushing embodiment, present invention also provides the realities of prize information driving means
Apply example.
As shown in figure 5, Fig. 5 is a kind of the application prize information driving means frame shown according to an exemplary embodiment
Figure, the apparatus may include: obtain module 501, determining module 502, logging modle 503 and pushing module 504.
Wherein, module 501 is obtained, for the generation in response to prize-winning event, obtains target information, which includes
The corresponding winnings information of prize-winning event.
Determining module 502, for determining the corresponding target score of prize-winning event based on target information.
Logging modle 503, it is for being based on target score when determination meets preset condition, the prize-winning event is corresponding
Prize information is recorded in the array being pre-created as an element.
Pushing module 504 is pushed for the selected part from the array or whole prize informations.
As shown in fig. 6, Fig. 6 is the application another prize information driving means frame shown according to an exemplary embodiment
Figure, for the embodiment on the basis of aforementioned embodiment illustrated in fig. 7, determining module 502 may include: parameter determination submodule 601,
Random number determines that submodule 602 and score value determine submodule 603.
Wherein, parameter determination submodule 601, for determining that the corresponding weight correlation of the prize-winning event is joined based on target information
Number.
Random number determines submodule 602, is greater than 0 and the random number less than 1 for determining.
Score value determines submodule 603, for determining target score based on the weight relevant parameter and the random number,
In, the weight relevant parameter and target score are negatively correlated, and the random number and target score are positively correlated.
In some optional embodiments, which may include: the corresponding prize quantity in stock of prize-winning event;With/
Or, the corresponding prize price parameter of the prize-winning event.
In other optional embodiments, if the winnings information includes the prize quantity in stock, the weight relevant parameter with
The prize quantity in stock is positively correlated.If the winnings information includes the prize price parameter, the weight relevant parameter and the prize price
Parameter is negatively correlated.
In other optional embodiments, the target information can also include: the corresponding user of the prize-winning event etc.
Grade coefficient;And/or the number of days of the time of origin distance movable time started of the prize-winning event.
In other optional embodiments, if the target information includes above-mentioned equivalent coefficient, the weight relevant parameter with
Above-mentioned equivalent coefficient is negatively correlated.If the target information includes above-mentioned number of days, the weight relevant parameter and above-mentioned number of days are negatively correlated.
As shown in fig. 7, Fig. 7 is the application another prize information driving means frame shown according to an exemplary embodiment
Figure, on the basis of aforementioned embodiment illustrated in fig. 5, which can further include the embodiment: judgment module 505.
Wherein, judgment module 505 are preset for determining to meet when element number is less than predetermined number in current array
Condition;Or element number is more than or equal to predetermined number in current array, and target score is greater than the element institute in the array
When corresponding minimum score value, determination meets preset condition.
In other optional embodiments, logging modle 503 is configured for: element number is less than in current array
When predetermined number, according to the sequence of score value corresponding to element in array from small to large, the corresponding prize-winning of the prize-winning event is believed
Breath is as in an element insertion array.Element number is more than or equal to predetermined number in current array, and target score is greater than
When minimum score value corresponding to the element in array, the element that minimum score value is corresponded in array is deleted, and according in array
The corresponding prize information of prize-winning event is inserted into array by the sequence of score value corresponding to element from small to large
In.
It should be appreciated that above-mentioned apparatus can be preset in the server, can also be loaded by modes such as downloadings
In server.Corresponding module in above-mentioned apparatus can cooperate with the module in server to realize prize information push side
Case.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with
It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual
The purpose for needing to select some or all of the modules therein to realize application scheme.Those of ordinary skill in the art are not paying
Out in the case where creative work, it can understand and implement.
The embodiment of the present application also provides a kind of computer readable storage medium, which is stored with computer journey
Sequence, computer program can be used for executing the prize information method for pushing that above-mentioned Fig. 2 is provided to Fig. 4 any embodiment.
Corresponding to above-mentioned prize information method for pushing, the embodiment of the present application also proposed shown in Fig. 8 according to the application
An exemplary embodiment electronic equipment schematic configuration diagram.Referring to FIG. 8, the electronic equipment includes place in hardware view
Device, internal bus, network interface, memory and nonvolatile memory are managed, is also possible that required for other business certainly
Hardware.Processor is from the then operation into memory of corresponding computer program is read in nonvolatile memory, in logic level
Upper formation prize information driving means.Certainly, other than software realization mode, other implementations are not precluded in the application,
Such as logical device or the mode of software and hardware combining etc., that is to say, that the executing subject of following process flow is not limited to
Each logic unit is also possible to hardware or logical device.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the application
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the application, these modifications, purposes or
Person's adaptive change follows the general principle of the application and including the undocumented common knowledge in the art of the application
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the application are by following
Claim is pointed out.
It should be understood that the application is not limited to the precise structure that has been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.Scope of the present application is only limited by the accompanying claims.
Claims (11)
1. a kind of prize information method for pushing, which is characterized in that the described method includes:
In response to the generation of prize-winning event, target information is obtained, the target information includes the corresponding prize of the prize-winning event
Information;
The corresponding target score of the prize-winning event is determined based on the target information;
If it is determined that meeting preset condition, it is based on the target score, using the corresponding prize information of the prize-winning event as one
Element is recorded in the array being pre-created;
Selected part or whole prize informations are pushed from the array.
2. the method according to claim 1, wherein described determine the prize-winning event based on the target information
Corresponding target score, comprising:
The corresponding weight relevant parameter of the prize-winning event is determined based on the target information;
It determines and is greater than 0 and the random number less than 1;
The target score is determined based on the weight relevant parameter and the random number, wherein the weight relevant parameter
Negatively correlated with the target score, the random number and the target score are positively correlated.
3. according to the method described in claim 2, it is characterized in that, the winnings information includes:
The corresponding prize quantity in stock of the prize-winning event;And/or
The corresponding prize price parameter of the prize-winning event.
4. according to the method described in claim 3, it is characterized in that, if the winnings information includes the prize quantity in stock, institute
It states weight relevant parameter and the prize quantity in stock is positively correlated;
If the winnings information includes the prize price parameter, the weight relevant parameter and the prize price parameter negative
It closes.
5. the method according to any one of claim 2-4, which is characterized in that the target information further include:
The equivalent coefficient of the corresponding user of the prize-winning event;And/or
The number of days of the time of origin distance movable time started of the prize-winning event.
6. described according to the method described in claim 5, it is characterized in that, if the target information includes the equivalent coefficient
Weight relevant parameter and the equivalent coefficient are negatively correlated;
If the target information includes the number of days, the weight relevant parameter and the number of days are negatively correlated.
7. the method according to claim 1, wherein the method also includes:
If element number is less than predetermined number in presently described array, it is determined that meet preset condition;Or
If element number is more than or equal to predetermined number in presently described array, and the target score is greater than the member in the array
Minimum score value corresponding to element, it is determined that meet preset condition.
8. the method according to the description of claim 7 is characterized in that described be based on the target score, by the prize-winning event
Corresponding prize information is recorded in the array being pre-created as an element, comprising:
If element number is less than predetermined number in presently described array, according to score value corresponding to element in the array from small
To big sequence, it is inserted into the corresponding prize information of the prize-winning event as an element in the array;
If element number is more than or equal to predetermined number in presently described array, and the target score is greater than the member in the array
Minimum score value corresponding to element then deletes the element for corresponding to minimum score value in the array, and according to first in the array
The sequence of score value corresponding to element from small to large, using the corresponding prize information of the prize-winning event as described in an element insertion
In array.
9. a kind of prize information driving means, which is characterized in that described device includes:
Module is obtained, for the generation in response to prize-winning event, obtains target information, the target information includes the prize-winning thing
The corresponding winnings information of part;
Determining module, for determining the corresponding target score of the prize-winning event based on the target information;
Logging modle, for if it is determined that meeting preset condition, based on the target score, by the corresponding prize-winning of the prize-winning event
Information is recorded in the array being pre-created as an element;
Pushing module is pushed for the selected part from the array or whole prize informations.
10. a kind of computer readable storage medium, which is characterized in that the storage medium is stored with computer program, the meter
Method described in any one of the claims 1-8 is realized when calculation machine program is executed by processor.
11. a kind of electronic equipment including memory, processor and stores the calculating that can be run on a memory and on a processor
Machine program, which is characterized in that the processor realizes side described in any one of the claims 1-8 when executing described program
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910185024.1A CN109960758A (en) | 2019-03-12 | 2019-03-12 | Prize information method for pushing, device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910185024.1A CN109960758A (en) | 2019-03-12 | 2019-03-12 | Prize information method for pushing, device and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109960758A true CN109960758A (en) | 2019-07-02 |
Family
ID=67024240
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910185024.1A Pending CN109960758A (en) | 2019-03-12 | 2019-03-12 | Prize information method for pushing, device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109960758A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115936735A (en) * | 2023-02-15 | 2023-04-07 | 深圳市思为软件技术有限公司 | Event processing method and device based on event validity check |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101009026A (en) * | 2006-01-24 | 2007-08-01 | 赵频 | Automatic notification system for lottery winner and method thereof |
CN102799887A (en) * | 2012-06-19 | 2012-11-28 | 上海地铁盾构设备工程有限公司 | Automatic calibration method of structural distortion detection image sensor sensitivity |
CN102819804A (en) * | 2011-06-07 | 2012-12-12 | 阿里巴巴集团控股有限公司 | Goods information pushing method and device |
CN104899768A (en) * | 2015-06-25 | 2015-09-09 | 北京奇虎科技有限公司 | Prize information generation method, device and system |
CN105488161A (en) * | 2015-11-30 | 2016-04-13 | 百度在线网络技术(北京)有限公司 | Information pushing method and apparatus |
CN106899770A (en) * | 2015-12-21 | 2017-06-27 | 北京奇虎科技有限公司 | The method and apparatus for pushing incoming call comment information |
CN107222526A (en) * | 2017-05-16 | 2017-09-29 | 百度在线网络技术(北京)有限公司 | Push method, device, equipment and the computer-readable storage medium of promotion message |
-
2019
- 2019-03-12 CN CN201910185024.1A patent/CN109960758A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101009026A (en) * | 2006-01-24 | 2007-08-01 | 赵频 | Automatic notification system for lottery winner and method thereof |
CN102819804A (en) * | 2011-06-07 | 2012-12-12 | 阿里巴巴集团控股有限公司 | Goods information pushing method and device |
CN102799887A (en) * | 2012-06-19 | 2012-11-28 | 上海地铁盾构设备工程有限公司 | Automatic calibration method of structural distortion detection image sensor sensitivity |
CN104899768A (en) * | 2015-06-25 | 2015-09-09 | 北京奇虎科技有限公司 | Prize information generation method, device and system |
CN105488161A (en) * | 2015-11-30 | 2016-04-13 | 百度在线网络技术(北京)有限公司 | Information pushing method and apparatus |
CN106899770A (en) * | 2015-12-21 | 2017-06-27 | 北京奇虎科技有限公司 | The method and apparatus for pushing incoming call comment information |
CN107222526A (en) * | 2017-05-16 | 2017-09-29 | 百度在线网络技术(北京)有限公司 | Push method, device, equipment and the computer-readable storage medium of promotion message |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115936735A (en) * | 2023-02-15 | 2023-04-07 | 深圳市思为软件技术有限公司 | Event processing method and device based on event validity check |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9032306B2 (en) | Promoting participation of low-activity users in social networking system | |
CN105630977B (en) | Application program recommended method, apparatus and system | |
US20180211480A1 (en) | Computer system for multiple user, multiple event real-time online wagering | |
CN111659126B (en) | Distribution method, device, server, terminal and storage medium of matching process | |
CN110474820B (en) | Flow playback method and device and electronic equipment | |
CN112734498B (en) | Task rewarding acquisition method, device, terminal and storage medium | |
WO2014146441A1 (en) | Method, server and system for processing task data | |
CN111259019A (en) | Resource allocation method, device, equipment and storage medium | |
CN105100242A (en) | Data processing method and system | |
CN104468399A (en) | Data transmission method and device and server | |
CN111659125B (en) | Friend recommendation method and device based on game and computer readable storage medium | |
CN109960758A (en) | Prize information method for pushing, device and electronic equipment | |
CN104239519A (en) | Information recommendation method and related equipment and system | |
CN110324364A (en) | A kind of offline lottery drawing method and electric terminal | |
CN106899558A (en) | The treating method and apparatus of access request | |
CN112381234A (en) | Resource distribution method, device, equipment and computer readable storage medium | |
US11797697B1 (en) | Sharing with multiple people access to one or more resources each conveyed in a single NFT | |
CN110354496B (en) | Electronic athletic event processing method and device, storage medium and electronic equipment | |
CN110059175A (en) | A kind of method and device of information on services processing | |
CN110287025A (en) | A kind of resource allocation methods, device and equipment | |
CN109492149A (en) | Crawler task processing method and device | |
CN112035736B (en) | Information pushing method, device and server | |
CN106776947A (en) | Resource acquiring method, device and terminal | |
CN114169920A (en) | Virtual resource pushing method, device, equipment and storage medium | |
CN110089076B (en) | Method and device for realizing information interaction |
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 |