CN105930412B - The method and apparatus for generating pushed information - Google Patents
The method and apparatus for generating pushed information Download PDFInfo
- Publication number
- CN105930412B CN105930412B CN201610239770.0A CN201610239770A CN105930412B CN 105930412 B CN105930412 B CN 105930412B CN 201610239770 A CN201610239770 A CN 201610239770A CN 105930412 B CN105930412 B CN 105930412B
- Authority
- CN
- China
- Prior art keywords
- demand
- item
- entry
- pushed
- amount
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/951—Indexing; Web crawling techniques
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
This application discloses a kind of method and apparatus for generating pushed information.One specific embodiment of the method includes: acquisition demand information, wherein the demand information includes at least one requirement item, and each requirement item includes demand;Matching relationship based on the demand with the respectively amount of can provide that can provide item of entry to be pushed, from described wait push the candidate entries for choosing predetermined number in entry;For each candidate entries, demand guaranteed discharge is calculated by the amount of can provide that can provide item corresponding with the requirement item;Candidate entries corresponding to minimum value in each demand guaranteed discharge are determined as target entry;Pushed information is generated according to the minimum value and the target entry.The validity for generating pushed information can be improved in the embodiment.
Description
Technical field
This application involves field of computer technology, and in particular to information advancing technique field, more particularly to generate push letter
The method and apparatus of breath.
Background technique
Push can generally indicate people or electronic equipment actively to being pushed object (such as potential commodity purchaser, terminal
User etc.) process of information is provided, here, provided information is properly termed as pushed information.People or electronic equipment often can be with
By pushing difference preference, demand etc. of object to being pushed Object Push information.In the existing method for generating pushed information,
It is analyzed often through the demand manually to object is pushed, or the matching life of simple requirement item is passed through by electronic equipment
At pushed information.In the case where some more complex, for example, large-scale IT enterprises volume procurement difference purposes computer, cloud storage
Server system increases situations such as number of servers etc., if requirement item is more, for example including hard-disk capacity, CPU (Central
Processing Unit, central processing unit) multiple requirement items such as frequency, memory size, and each requirement item is quantized, to every
The meet demand of a requirement item has different priority again when, artificial calculating operation is cumbersome, calculation amount is larger, easy
Certain requirement items are missed, and simple requirement item matching is usually unable to the quantization demand of meet demand item.Therefore, existing method is deposited
In the not high problem of the validity for generating pushed information.
Summary of the invention
The purpose of the application is to propose a kind of improved generation pushed information method and apparatus, to solve background above skill
The technical issues of art part is mentioned.
On the one hand, this application provides a kind of generation pushed information methods, which comprises demand information is obtained,
In, the demand information includes at least one requirement item, and each requirement item includes demand;Based on the demand with respectively wait push away
The matching relationship for sending the amount of can provide that can provide item of entry, from described wait push the candidate item for choosing predetermined number in entry
Mesh;For each candidate entries, demand guaranteed discharge is calculated by the amount of can provide that can provide item corresponding with the requirement item;
Candidate entries corresponding to minimum value in each demand guaranteed discharge are determined as target entry;According to the minimum value and described
Target entry generates pushed information.
In some embodiments, each requirement item further includes weight coefficient, and, it is described based on the demand with respectively to
The matching relationship for pushing the amount of can provide that can provide item of entry, from described wait push the candidate item for choosing predetermined number in entry
Mesh includes: the matching that the demand with the respectively amount of can provide that can provide item of entry to be pushed are calculated based on the weight coefficient
Degree;Respectively entry to be pushed is ranked up according to the descending sequence of the matching degree, obtains and arranges forward predetermined number
Entry to be pushed as candidate entries.
In some embodiments, described based on the demand and the respectively amount of can provide that can provide item of entry to be pushed
Matching relationship includes: first calculated between each demand from the candidate entries wait push selection predetermined number in entry
Relating value;Calculate the second relating value respectively wait push the amount of can provide that can provide item corresponding with each requirement item in entry;It will
First relating value and second relating value compare, and choose second relating value and most connect with first relating value
The entry to be pushed of close predetermined number is as candidate entries.
In some embodiments, described to be directed to each candidate entries, it can provide item by corresponding with the requirement item
The amount of can provide calculate demand guaranteed discharge include: for each candidate entries, calculate separately it is corresponding with each requirement item can
Item is provided and meets minimum essential requirement quantity required when the demand of the requirement item;Choose the maximum in the minimum essential requirement quantity
Value, the demand guaranteed discharge as the candidate entries.
It is in some embodiments, described that generate pushed information according to the minimum value and the target entry include: by institute
It states minimum value and is compared with can receive amount;If the minimum value is greater than the receivable amount, according to the receivable amount and
The target entry generates pushed information.
Second aspect, this application provides a kind of generation pushed information device, described device includes: acquisition module, configuration
For obtaining demand information, wherein the demand information includes at least one requirement item, and each requirement item includes demand;?
With module, it is configured to the matching relationship based on the demand with the respectively amount of can provide that can provide item of entry to be pushed, from
The candidate entries wait push selection predetermined number in entry;Computing module is configured to pass through for each candidate entries
The amount of can provide that can provide item corresponding with the requirement item calculates demand guaranteed discharge;Determining module, being configured to will be each
Candidate entries corresponding to minimum value in demand guaranteed discharge are determined as target entry;Generation module is configured to according to
Minimum value and the target entry generate pushed information.
In some embodiments, each requirement item further includes weight coefficient, and, the matching module includes: matching degree
Computing unit, be configured to calculate the demand and respectively entry to be pushed based on the weight coefficient can provide mentioning for item
For the matching degree of amount;Target entry obtains module, is configured to according to the descending sequence of the matching degree to respectively wait push
Entry is ranked up, and obtains the entry to be pushed for arranging forward predetermined number as target entry.
In some embodiments, the matching module includes: the first relating value computing unit, is configured to calculate each demand
The first relating value between amount;Second relating value computing unit, be configured to calculate respectively wait push in entry with each requirement item phase
Second relating value of the corresponding amount of can provide that can provide item;Target entry determination unit is configured to be associated with described first
Value and second relating value compare, and choose second relating value and the immediate predetermined number of the first relating value
Entry to be pushed as target entry.
In some embodiments, the computing module includes: minimum essential requirement quantity determination unit, is configured to for each
Candidate entries calculate separately the item that can provide corresponding with each requirement item and meet minimum required when the demand of the requirement item
Quantity required;Demand guaranteed discharge determination unit is configured to choose the maximum value in the minimum essential requirement quantity, as the candidate
The demand guaranteed discharge of entry.
In some embodiments, the generation module includes: comparison unit, is configured to the minimum value and can receive
Amount compares;Generation unit, if being configured to the minimum value greater than the receivable amount, according to the receivable amount and
The target entry generates pushed information.
Generation pushed information method and apparatus provided by the present application pass through and obtain demand information, wherein demand information includes
At least one requirement item, each requirement item include demand, then can provide item based on demand and each entry to be pushed
Then the matching relationship for the amount of can provide is directed to each candidate entries from wait push the candidate entries for choosing predetermined number in entry,
Demand guaranteed discharge is calculated by the amount of can provide that can provide item corresponding with requirement item, it then will be in each demand guaranteed discharge
Candidate entries corresponding to minimum value are determined as target entry, and generate pushed information according to above-mentioned minimum value and target entry.
Due to automatically generating and pushing away according to the demand of each requirement item and the matching relationship of the amount of can provide that can provide item of entry to be pushed
It delivers letters breath, and has fully considered the quantization demand of requirement item, generation can be improved in this method and apparatus for generating pushed information
The validity of pushed information.
Detailed description of the invention
By reading the detailed description referring to made by the following drawings to non-limiting embodiment, other spies of the application
Sign, objects and advantages will become more apparent upon:
Fig. 1 shows the exemplary system architecture that can apply the embodiment of the present application;
Fig. 2 is the flow chart according to one embodiment of the generation pushed information method of the application;
Fig. 3 is an application scenarios schematic diagram according to one embodiment of the generation pushed information method of the application;
Fig. 4 is the flow chart according to another embodiment of the generation pushed information method of the application;
Fig. 5 is the structural schematic diagram according to one embodiment of the generation pushed information device of the application;
Fig. 6 is adapted for the structural schematic diagram for the computer system for realizing the electronic equipment of the embodiment of the present application.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to
Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 shows the exemplary system architecture 100 that can apply 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.Network
103 between terminal device 101,102 and server 104 to provide the medium of communication link.Network 103 may include various
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 104, to receive or send message etc..Terminal
Various telecommunication customer end applications can be installed, such as push class is applied, shopping class is applied, browser is answered in equipment 101,102
With, positioning class application, map class application, financing class application, searching class application, social platform application, mailbox client, Instant Messenger
Letter tool etc..
Terminal device 101,102 can be the various electronics for supporting the application of push class, shopping class application etc. to be mounted thereon
Equipment, including but not limited to smart phone, smartwatch, tablet computer, personal digital assistant, E-book reader, MP3 are played
Device (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level
3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio layer
Face 4) player, pocket computer on knee and desktop computer etc..
Server 104 can be to provide the server of various services.Such as server 104 can be to terminal device 101,
The background server etc. that the offers such as 102 push class is applied, shopping class is applied are supported.Server can to the data received into
The processing such as row storage, generation, and processing result is fed back into terminal device.
It should be noted that the method for generating pushed information provided by the embodiment of the present application both can be by server 104
It executes, can also be executed by terminal device 101,102, can also be executed jointly by server 104 and terminal device 101,102,
The application does not limit this.When the method for generation pushed information provided herein is executed by terminal device 101,102,
It is also not necessary to networks 103 and server 104 to provide support.Correspondingly, push letter is generated provided by the embodiment of the present application
The device of breath can be set in server 104, also can be set in terminal device 101,102, can be with a part of module
It is arranged in server 104, another part module is arranged in terminal device 101,102.
It should be understood that the number of terminal device, network and server in Fig. 1 is only schematical.According to realization need
It wants, can have any number of terminal device, network and server.
Referring to FIG. 2, it illustrates the processes 200 of the one embodiment for the method for generating pushed information.The present embodiment master
To be applied to come in the electronic equipment for having certain operational capability for example, the electronic equipment for example can be Fig. 1 in this way
The terminal device 101,102 shown or server 104 etc..The method of the generation pushed information, comprising the following steps:
Step 201, demand information is obtained.
In the present embodiment, the demand information of electronic equipment user available first.Here, demand information can be use
Indicate the information of demand of the user to information to be pushed, every demand information may include at least one requirement item, Mei Gexu
Seeking item may include demand.Wherein, demand can be the quantization means to requirement item.
For example, for the computer of different model, the demand information of user may include CPU frequency 2.3GHz
(Giga Hz, gigahertz), hard-disk capacity 300T (Terabyte, terabyte) etc..Wherein, CPU frequency, hard-disk capacity
A respectively requirement item, 2.3GHz are the demands of requirement item CPU frequency, and 300T is the demand of requirement item hard-disk capacity.
Electronic equipment can be from the demand information for locally or remotely obtaining user.Specifically, when electronic equipment is push
When the operations terminal devices thereon such as class application, electronic equipment can obtain these demand informations from local;Work as electronic equipment
It is that when providing the background server of support for push class application etc., wired connection mode or radio connection can be passed through
The demand information of user is obtained from above-mentioned terminal device.Above-mentioned radio connection includes but is not limited to 3G/4G connection, WiFi company
Connect, bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection and other it is currently known or will
Come the radio connection developed.
Wherein, demand information can input electronic equipment by modes such as character, voices by user, can also be set by electronics
Standby provided the user in the form of list etc. selects to input for user, and the application does not limit this.
Step 202, the matching relationship based on demand with the respectively amount of can provide that can provide item of entry to be pushed, from wait push away
Send the candidate entries that predetermined number is chosen in entry.
In the present embodiment, electronic equipment can obtain each requirement item in demand information by various comparisons or calculation method
Demand and each amount of can provide that can provide item of entry to be pushed matching relationship, and based on the matching relationship from wait push
The candidate entries of predetermined number are chosen in entry.
Here, entry to be pushed can be the detailed catalogue that information to be pushed is arranged by content point, such as computer,
It can be computer model etc..The item that can provide of entry to be pushed can be wait push the characteristic item in entry, such as one
A computer model, can provide item may include CPU frequency, hard-disk capacity etc..Correspondingly, it is possible to provide amount can be to can
The quantization means of item are provided.Such as the amount of can provide of CPU frequency is 2.3GHz, the amount of can provide of hard-disk capacity is 500G
(Gigabyte, gigabytes) etc..
In the present embodiment, electronic equipment can by demand information requirement item and item to be pushed now can provide item
Matched, and further by the requirement item to match, can provide corresponding demand and the amount of can provide in item and carry out
Match, the matching relationship of demand information Yu entry to be pushed is determined by the matching relationship of demand and the amount of can provide.As one
Example, demand information are hard-disk capacity 300T, then requirement item is hard-disk capacity, and 300T is demand, it is assumed that entry packet to be pushed
3 computer models are included, such as A type, Type B, c-type, their corresponding amounts of can provide that can provide item " hard-disk capacity " are respectively
15T, 18T, 30T, i.e. every A type computer available " hard-disk capacity " are 15T, every available " hard disk of Type B computer
Capacity " is 18T, every c-type computer available " hard-disk capacity " is 30T.At this point, electronic equipment can by 300T and 15T,
18T, 30T are matched respectively.It is appreciated that computer is whole calculating, and therefore, in the exemplary a kind of realization, electricity
Sub- equipment can be by the ratio of demand and the corresponding amount of can provide that can provide item of single computer in each computer model
As matching reference value, ratio determines that demand matches with the corresponding amount of can provide when being integer.Such as demand 300T and A
Type, Type B, c-type the ratio of the corresponding amount of can provide 15T, 18T, 30T be respectively 20,50/3,10, then can determine A type, c-type
The amount of can provide matches with demand, further, it is determined that A type, c-type are the computer model to match with demand information.?
During other are realized, Type B lesser in the above ratio, c-type computer can also be determined as and demand information phase by electronic equipment
Matched computer model (entry i.e. to be pushed), the application does not limit this.
Further, electronic equipment can choose predetermined number (example wait push from what demand information matched in entry
Such as 2) entry to be pushed as candidate entries.For example, in the examples described above, electronic equipment can choose meet demand information
When the demand of middle requirement item, the least c-type of computer number of units is provided, (corresponding ratio can take the small of 50/3 calculated value to Type B
The larger integer 17 at number both ends) entry to be pushed is as candidate entries.
In some optional implementations of the present embodiment, requirement item can also include weight coefficient.Wherein, weight coefficient
It can be used to indicate the significance level of each requirement item in a demand information.Further, when requirement item has it is multiple when, if
Entry to be pushed can provide item and may not be able to fully meet each requirement item in demand information, or corresponding respectively the amount of can provide cannot
Consistently meet corresponding demand, at this point, electronic equipment can be preferential when judging matching relationship of the demand with the amount of can provide
Consideration meets the biggish requirement item of weight coefficient.In practice, electronic equipment can based on weight coefficient calculate demand with respectively to
The matching degree of the amount of can provide that can provide item of entry is pushed, and according to the descending sequence of matching degree to respectively entry to be pushed
It is ranked up, obtains the entry to be pushed for arranging forward predetermined number as candidate entries.Wherein, matching degree can be demand
The quantization means of amount and the respectively matching degree of the amount of can provide that can provide item of entry to be pushed.For example, in the examples described above, such as
Fruit demand information includes requirement item hard-disk capacity 300T and memory 80G, and weight coefficient is respectively 0.9,0.1, and entry to be pushed
In, the corresponding amount of can provide that can provide item " hard-disk capacity " of A type, Type B, c-type computer is respectively 15T, 18T, 30T, can be mentioned
The amount of can provide for item " memory " is respectively 8G, 4G, 16G, then a kind of calculation of matching degree can be the power of each requirement item
The adduction of the product reciprocal of weight coefficient and the ratio of corresponding demand amount and the amount of can provide, such as: demand and entry A to be pushed
Matching degree=0.9 × 1/ (300T/15T)+0.1 × 1/ (80G/8G) of the amount of can provide that can provide item of type;Matching degree it is another
A kind of calculation is also possible to the weight coefficient and the adduction of the accordingly product of the numerical value for the amount of can provide of each requirement item, such as: needing
Matching degree=0.9 × 15+0.1 × 8 of the amount of can provide that can provide item of the amount of asking and entry A type to be pushed;Etc..Here,
It can be calculated by the various rational methods for meeting user demand with degree, the application does not limit this.
Step 203, for each candidate entries, being calculated by the amount of can provide that can provide item corresponding with requirement item is needed
Seek guaranteed discharge.
In the present embodiment, electronic equipment can further directed to each candidate entries, by the demand of requirement item with
The corresponding amount of can provide that can provide item of requirement item calculates demand guaranteed discharge.Here, demand guaranteed discharge can be through the time
When selecting the demand of each requirement item in entry meet demand information, to be offered can guarantee in meet demand information respectively is at least needed
The number of the amount of can provide corresponding to the candidate entries of the demand of requirement item.For example, requirement item includes hard-disk capacity 300T,
Wait push in entry, the corresponding amount of can provide that can provide item " hard-disk capacity " of Type B computer is 18T, then passes through Type B computer
The amount of the can provide meet demand item hard-disk capacity 300T that can provide item when to need the number of the amount of can provide to be offered be 300T/
18T=16.666 ..., however for computer, it is possible to provide the number of amount is integer, so Type B computer at least needs to mention
For 17 parts of amounts of can provide, i.e., the demand guaranteed discharge of Type B computer is 17 in this.
In some optional implementations of the present embodiment, requirement item has multiple, and electronic equipment can be by the following method
It calculates the demand guaranteed discharge of candidate entries: for each candidate entries, calculating separately can provide corresponding with each requirement item
Item meets minimum essential requirement quantity required when the demand of the requirement item, then chooses the maximum value in minimum essential requirement quantity, makees
For the demand guaranteed discharge of the candidate entries.For example, in the examples described above, requirement item includes hard-disk capacity 300T and memory 80G, to
It pushes in entry, the corresponding amount of can provide that can provide item " hard-disk capacity " of A type computer is 15T, it is possible to provide item " memory "
The amount of can provide is 8G, then A type computer is by can provide the amount of the can provide meet demand item hard-disk capacity of item " hard-disk capacity "
Minimum essential requirement quantity when 300T is 300T/15T=20, and A type computer is met by can provide the amount of can provide of item " memory "
Minimum essential requirement quantity 80G/8G=10 when requirement item memory 80G, to meet hard-disk capacity 300T and memory 80G simultaneously, then A
It is maximum value 20 in 20 and 10, i.e. candidate entries A type computer that type computer, which at least needs the number of the amount of can provide to be offered,
Demand guaranteed discharge be 20.
Step 204, candidate entries corresponding to the minimum value in each demand guaranteed discharge are determined as target entry.
In the present embodiment, the demand guaranteed discharge to each candidate entries obtains minimum value therein by comparison, and will
Candidate entries corresponding to minimum value are determined as target entry.It is appreciated that candidate corresponding to the minimum value of demand guaranteed discharge
Entry can provide the number of the least amount of can provide for the demand of each requirement item in meet demand information.For example, above-mentioned
In example, demand information is hard-disk capacity 300T, it is assumed that candidate entries include 3 computer model A types, Type Bs, c-type, they are right
It is respectively 15T, 18T, 30T that answers, which can provide the amount of can provide of item " hard-disk capacity ", and what need to be provided in meet demand amount mentions
Number for amount is respectively 20,50/3 (be rounded is 17), 10, that is, A type, Type B, c-type are respectively necessary for when meeting hard-disk capacity 300T
The computer number of units of offer is 20,17,10, then 10 corresponding c-types can be determined as target entry by electronic equipment.
Step 205, pushed information is generated according to above-mentioned minimum value and target entry.
In the present embodiment, electronic equipment may further generate pushed information according to above-mentioned minimum value and target entry.
Above-mentioned minimum value and target entry directly can be generated the example provided in pushed information, such as step 204 by electronic equipment, raw
At pushed information can be " c-type, 10 ";Electronic equipment can also be with reference in conjunction with it with above-mentioned minimum value and target entry
He generates pushed information at constraint condition, for example, the price of 10 c-type computers is 80,000 yuan, electronic equipment receives user's input
70,000 yuan of budget amount, then budget amount can at most bear the valence of 70,000 yuan/(80,000 yuan/10)=8.75 c-type computer
Lattice, the pushed information of generation can be " c-type, 8 ";Etc..
In some optional implementations of the present embodiment, electronic equipment can be carried out above-mentioned minimum value and receivable amount
Comparison generates pushed information according to receivable amount and target entry if minimum value is greater than the amount of can receive.Here, it can receive amount
It can be used to indicate that intended recipient accommodates quantity to the maximum of number of the amount of can provide provided by target entry.For example, right
For computer, intended recipient can be computer room, and computer room can accommodate computer by seat in the plane.Then if computer room can receive
When amount is 5, the maximum quantity that accommodates to computer is 5, then according to the example provided above, target entry is c-type, above-mentioned
Minimum value is 10, can receive amount according to computer room at this time and target entry c-type generates pushed information " c-type, 5 ".
Referring to FIG. 3, Fig. 3 gives an application scenarios 300 of the present embodiment.The application scenarios 300 can be adapted for
The generating process of buying order in computer adoption process, wherein pushed information may include buying order information, and entry to be pushed can
To include computer model, each computer model is corresponding with respective model configuration information of computer (such as hard-disk capacity, memory
Deng), these computer models can be stored in advance on electronic equipment 3002, can also be from user 3001 to electronic equipment 3002
Input.
As shown in figure 3, first by step 301, user 3001 can be to electronic equipment 3002 in the application scenarios 300
Input the demand information, such as hard-disk capacity 300T, memory 80G etc. to computer, wherein can install on electronic equipment 3002
There is computer buying order to generate class application;In step 302, electronic equipment 3002 can generate class by computer buying order and answer
With equal demand information for obtaining user 3001 and inputting;Then, in step 303, electronic equipment 3002 can be adopted by computer
Buying order generates demand and each model configuration information of computer of the class using the requirement item in the demand information for inputting user
It is matched, and the computer model of predetermined number (such as 5) is chosen as candidate model based on obtained matching relationship;
Then, in step 304, electronic equipment 3002 can generate class by computer buying order and apply for each candidate model,
It at least needs to provide when calculating the demand that each candidate model includes in the demand information for guaranteeing to meet the input of user 3001
Computer number of units (i.e. demand guaranteed discharge);Then, in step 305, electronic equipment 3002 can be raw by computer buying order
Select the smallest computer model of demand guaranteed discharge as the target model to be purchased at class application;Then, in step 306
In, electronic equipment 3002 can generate class by computer buying order and apply the demand guaranteed discharge of target model and target model
It generates buying order (i.e. pushed information);Then, in step 307, buying order generated is pushed to by electronic equipment 3002
3001.In some implementations, user 3001 can also input the slot number of computer room to electronic equipment 3002, then in step
In 306, electronic equipment 3002 can by computer buying order generate class Comparison study target model demand guaranteed discharge and can
With the size of seat in the plane number, if slot number is less than the demand guaranteed discharge of target model, electronic equipment 3002 is by object type
Number and slot number generate buying order.In other realizations, user 3001 can also be to 3002 different type of electronic equipment
Slot number of computer room, such as the slot number of storage-type computer room, the slot number of calculation type computer room etc., electronic equipment
The requirement item of 3002 demand informations that can also be inputted according to user 3001 judges which kind of class the computer that user to be purchased belongs to
Type (such as can item according to demand weight, hard-disk capacity weight is judged as storage-type etc. when larger), and give birth within step 306
At the computer room and quantity that can place after the computer of target model being purchased when buying order generate buying order together.
Above-described embodiment of the application can provide can provide for item according to the demand of each requirement item and entry to be pushed
The matching relationship of amount automatically generates pushed information, and has fully considered the quantization demand of requirement item, therefore generation can be improved and push away
It delivers letters the validity of breath.
With further reference to Fig. 4, it illustrates the processes of another embodiment of the method for the generation pushed information of the application
400.The process 400 the following steps are included:
Step 401, demand information is obtained.
In the present embodiment, the demand information of electronic equipment user available first.Here, demand information can be use
Indicate the information of demand of the user to information to be pushed, every demand information may include at least one requirement item, Mei Gexu
Seeking item may include demand.Wherein, demand can be the quantization means to requirement item.Electronic equipment can be from locally or far
Obtain to journey the demand information of user.
Step 402, the first relating value between each demand is calculated.
In the present embodiment, electronic equipment can then for each requirement item of acquired demand information demand it
Between the first relating value.Wherein, the first relating value can be used to indicate that the incidence relation between each demand phase.The incidence relation can
To be indicated by a variety of methods, for example, the comparison between the numerical value of the demand of each requirement item, using ratio as the first association
Value.For example, when demand information includes hard-disk capacity 300T and memory 80G, number that electronic equipment can be measured according to demand
It is 300/80=15/4 that value, which calculates the first relating value,.
Step 403, it calculates respectively wait push second of the amount of can provide that can provide item corresponding with each requirement item in entry
Relating value.
In the present embodiment, electronic equipment can also further calculate respectively corresponding with each requirement item in entry wait push
It can provide the second relating value of the amount of can provide of item.Wherein, the second relating value can be used to indicate that it is corresponding with each requirement item can
Incidence relation between item is provided.Electronic equipment can first pass through the method for Keywords matching, keyword retrieval etc from respectively to
Push entry in obtain it is corresponding with each requirement item can provide item and its amount of can provide, then can by in step 402
Calculate consistent method the second relating value of calculating of the method for the first relating value.For example, entry to be pushed includes computer model,
Respective model configuration information of computer includes hard-disk capacity 15T, memory 8G, then passes through the ratio table of the respectively numerical value for the amount of can provide
The second relating value shown is 15/8.
Step 404, the first relating value and the second relating value are compared, chooses the second relating value and the first relating value most
The entry to be pushed of close predetermined number is as candidate entries.
In the present embodiment, electronic equipment can then by the first relating value and respectively the second relating value of entry to be pushed into
Row comparison, and the entry to be pushed of the second relating value and the immediate predetermined number of the first relating value is chosen as candidate entries.
It is appreciated that the second relating value and the first relating value are closer, entry to be pushed respectively can provide can provide for item
It is more close to measure the number needed when the demand of each requirement item in meet demand information, is all expired in the demand of each requirement item
When sufficient, the extra amount of can provide that accordingly can provide item offer is fewer.For example, requirement item has two A, B, obtaining the first relating value is
15/4, the second relating value of the first entry to be pushed is 15/4, then the amount of can provide that respectively can provide item of the first entry to be pushed
It is 1:1 that portion rate to be offered is needed when meeting the demand of A requirement item and B requirement item, and the second of the second entry to be pushed is closed
Connection value is 30/4, then the amount of can provide that respectively can provide item of the first entry to be pushed is the needs of meeting A requirement item and B requirement item
It is 1:2 that portion rate to be offered is needed when amount, it is assumed that when the demand of A, B requirement item is all satisfied, the first entry to be pushed and
The amount of can provide that respectively can provide item of second push entry for example all at least needs 2 parts, then the first push entry is provided
The amount of can provide that can provide item just all meets the demand of A requirement item and B requirement item, and the second entry to be pushed needs A
It is extra for asking the corresponding amount of can provide that can provide item of item to have 1 part.
Therefore, electronic equipment can choose the second relating value and the immediate predetermined number of the first relating value in the present embodiment
Entry to be pushed as candidate entries.In practice, electronic equipment can compare the second relating value and first by a variety of methods
Relating value.Such as in some implementations, the second relating value is compared with the absolute value of the difference of the first relating value, absolute value is got over
Small, then the second relating value and the first relating value are closer.In other realizations, electronic equipment can also will be used to indicate multinomial
Ratio relating value in after items are normalized, further relatively the second relating value and the first relating value are every unanimously
Property.The method for normalizing of one of method for normalizing, which can be, becomes 1 for the one of them of relating value.Such as first relating value
For 24:15:4, the second relating value is 30:30:4, then the first relating value and the second relating value can be carried out normalizing by electronic equipment
Change handles to obtain: the first relating value becomes 6:3.75:1, and the second relating value becomes 7.5:7.5:1.To the first relating value 6:3.75:
One of method that 1 and 7.5:7.5:1 carries out comparison of coherence can be with are as follows: calculates every variance, such as ((6-7.5)2+
(3.75-7.5)2+(1-1)2)1/2, variance is smaller, and consistency is bigger, and further, the second relating value more connects with the first relating value
Closely, electronic equipment can take the entry to be pushed of the smallest predetermined number of the variance of the second relating value and the first relating value as time
Select entry.Here normalization and consistency calculating can also take other well known or those skilled in the art to be readily apparent that
Method no longer enumerates herein.
Step 405, for each candidate entries, being calculated by the amount of can provide that can provide item corresponding with requirement item is needed
Seek guaranteed discharge.
In the present embodiment, electronic equipment can further directed to each candidate entries, by the demand of requirement item with
The corresponding amount of can provide that can provide item of requirement item calculates demand guaranteed discharge.Here, demand guaranteed discharge can be through the time
When selecting the demand of each requirement item in entry meet demand information, to be offered can guarantee in meet demand information respectively is at least needed
The number of the amount of can provide corresponding to the candidate entries of the demand of requirement item.
Step 406, candidate entries corresponding to the minimum value in each demand guaranteed discharge are determined as target entry.
In the present embodiment, the demand guaranteed discharge to each candidate entries obtains minimum value therein by comparison, and will
Candidate entries corresponding to minimum value are determined as target entry.It is appreciated that candidate corresponding to the minimum value of demand guaranteed discharge
Entry can provide the number of the least amount of can provide for the demand of each requirement item in meet demand information.
Step 407, pushed information is generated according to above-mentioned minimum value and target entry.
In the present embodiment, electronic equipment may further generate pushed information according to above-mentioned minimum value and target entry.
Above-mentioned minimum value and target entry directly can be generated pushed information by electronic equipment, can also be with above-mentioned minimum value and target item
Mesh is to generate pushed information with reference in conjunction with other constraint conditions, and the application does not limit this.
In the present embodiment, the step 401 in above-mentioned implementation process, step 405, step 406, step 407 respectively with it is preceding
Step 201, step 203, step 204, the step 205 stated in embodiment are essentially identical, and details are not described herein.
Figure 4, it is seen that the generation pushed information side unlike embodiment corresponding from Fig. 2, in the present embodiment
The process 400 of method is by step 402,403,404 instead of step 202.By step 402,403,404, the present embodiment passes through
Between each requirement item, the relating value that can provide between item treat push entry and screened to obtain candidate entries, can abundant benefit
With between a requirement item, can provide relevance between item, improve matching efficiency.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides a kind of generation push to believe
One embodiment of the device of breath, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, which can specifically answer
For in electronic equipment.
As shown in figure 5, the device 500 of generation pushed information described in the present embodiment includes: to obtain module 501, matching mould
Block 502, computing module 503, determining module 504 and generation module 505.Wherein, acquisition module 501 may be configured to obtain and need
Seek information, wherein demand information may include at least one requirement item, and each requirement item includes demand;Matching module 502 can
To be configured to the matching relationship based on demand with the respectively amount of can provide that can provide item of entry to be pushed, from entry to be pushed
The middle candidate entries for choosing predetermined number;Computing module 503 may be configured to for each candidate entries, by with requirement item
The corresponding amount of can provide that can provide item calculates demand guaranteed discharge;Determining module 504 may be configured to protect each demand
Candidate entries corresponding to minimum value in card amount are determined as target entry;Generation module 505 may be configured to according to above-mentioned
Minimum value and above-mentioned target entry generate pushed information.
In some optional implementations of the present embodiment, each requirement item further includes weight coefficient.At this point, matching module
502 may include: matching degree computing unit (not shown), may be configured to based on weight coefficient calculate demand with respectively wait push away
Send the matching degree of the amount of can provide that can provide item of entry;Target entry obtain module (not shown), may be configured to according to
The descending sequence of above-mentioned matching degree is ranked up respectively entry to be pushed, obtain arrange forward predetermined number wait push
Entry is as target entry.
In some optional implementations of the present embodiment, matching module 502 may include: the first relating value computing unit
(not shown) may be configured to calculate the first relating value between each demand;Second relating value computing unit (not shown),
It may be configured to calculate the second association respectively wait push the amount of can provide that can provide item corresponding with each requirement item in entry
Value;Target entry determination unit (not shown) may be configured to carry out above-mentioned first relating value and above-mentioned second relating value
Comparison chooses the entry to be pushed of the second relating value and the immediate predetermined number of the first relating value as target entry.
In some optional implementations of the present embodiment, computing module 503 may include: that minimum essential requirement quantity determines list
First (not shown), may be configured to for each candidate entries, and calculating separately corresponding with each requirement item can provide item
Meet minimum essential requirement quantity required when the demand of the requirement item;Demand guaranteed discharge determination unit (not shown), can configure
Demand guaranteed discharge for choosing the maximum value in minimum essential requirement quantity, as the candidate entries.
In some optional implementations of the present embodiment, the generation module 505 may include: that comparison unit (is not shown
Out), it may be configured to compare above-mentioned minimum value with can receive amount;Generation unit (not shown), may be configured to
If above-mentioned minimum value is greater than the amount of can receive, pushed information is generated according to receivable amount and target entry.
It is worth noting that generating all modules recorded in the device 500 of pushed information or unit and with reference to Fig. 2 description
Each step in method is corresponding.The operation above with respect to method description and feature are equally applicable to generate push letter as a result,
The device 500 of breath and module wherein included or unit, details are not described herein.
It will be understood by those skilled in the art that the device 500 of above-mentioned generation pushed information further includes some other known knots
Structure, such as processor, memory etc., in order to unnecessarily obscure embodiment of the disclosure, these well known structures in Fig. 5 not
It shows.
Below with reference to Fig. 6, it illustrates the computer systems 600 for the electronic equipment for being suitable for being used to realize the embodiment of the present application
Structural schematic diagram.
As shown in fig. 6, computer system 600 includes central processing unit (CPU) 601, it can be read-only according to being stored in
Program in memory (ROM) 602 or be loaded into the program in random access storage device (RAM) 603 from storage section 608 and
Execute various movements appropriate and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data.
CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to always
Line 604.
I/O interface 605 is connected to lower component: the importation 606 including keyboard, mouse etc.;It is penetrated including such as cathode
The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 608 including hard disk etc.;
And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 via such as because
The network of spy's net executes communication process.Driver 610 is also connected to I/O interface 605 as needed.Detachable media 611, such as
Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 610, in order to read from thereon
Computer program be mounted into storage section 608 as needed.
Particularly, according to an embodiment of the present application, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiments herein includes a kind of computer program product comprising be tangibly embodied in machine readable
Computer program on medium, the computer program include the program code for method shown in execution flow chart.At this
In the embodiment of sample, which can be downloaded and installed from network by communications portion 609, and/or from removable
Medium 611 is unloaded to be mounted.
Involved module and unit can be realized by way of software in the embodiment of the present application, can also be by hard
The mode of part is realized.Described module also can be set in the processor, for example, can be described as: a kind of processor packet
It includes and obtains module, matching module, computing module, determining module and identification module.Wherein the title of these modules is in certain situation
Under do not constitute restriction to the module itself, be also described as " being configured to obtain demand information for example, obtaining module
Module ".
As on the other hand, present invention also provides a kind of computer readable storage medium, the computer-readable storage mediums
Matter can be computer readable storage medium included in device described in above-described embodiment;It is also possible to individualism, not
The computer readable storage medium being fitted into terminal.The computer-readable recording medium storage have one or more than one
Program, when described program is executed by one or more than one processor, so that the equipment: demand information is obtained,
In, the demand information includes at least one requirement item, and each requirement item includes demand;Based on the demand with respectively wait push away
The matching relationship for sending the amount of can provide that can provide item of entry, from described wait push the candidate item for choosing predetermined number in entry
Mesh;For each candidate entries, demand guaranteed discharge is calculated by the amount of can provide that can provide item corresponding with the requirement item;
Candidate entries corresponding to minimum value in each demand guaranteed discharge are determined as target entry;According to the minimum value and described
Target entry generates pushed information.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art
Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from the inventive concept, it is carried out by above-mentioned technical characteristic or its equivalent feature
Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein
Can technical characteristic replaced mutually and the technical solution that is formed.
Claims (10)
1. a kind of method for generating pushed information, which comprises
Obtain demand information, wherein the demand information includes at least one requirement item, and each requirement item includes demand;
Matching relationship based on the demand with the respectively amount of can provide that can provide item of entry to be pushed, from the item to be pushed
The candidate entries of predetermined number are chosen in mesh;
For each candidate entries, demand is calculated by the amount of can provide that can provide item corresponding with the requirement item and is guaranteed
Amount;
Candidate entries corresponding to minimum value in each demand guaranteed discharge are determined as target entry;
Pushed information is generated according to the minimum value and the target entry.
2. the method according to claim 1, wherein each requirement item further includes weight coefficient, and
The matching relationship based on the demand with the respectively amount of can provide that can provide item of entry to be pushed, from described wait push away
Send in entry choose predetermined number candidate entries include:
The matching degree of the demand with the respectively amount of can provide that can provide item of entry to be pushed is calculated based on the weight coefficient;
Respectively entry to be pushed is ranked up according to the descending sequence of the matching degree, obtains and arranges forward predetermined number
Entry to be pushed as candidate entries.
3. the method according to claim 1, wherein it is described based on the demand and each entry to be pushed can
The matching relationship of the amount of can provide of item is provided, includes: from the candidate entries wait push selection predetermined number in entry
Calculate the first relating value between each demand;
Calculate the second relating value respectively wait push the amount of can provide that can provide item corresponding with each requirement item in entry;
First relating value and second relating value are compared, second relating value is chosen and is associated with described first
It is worth the entry to be pushed of immediate predetermined number as candidate entries.
4. the method according to claim 1, wherein it is described be directed to each candidate entries, by with the demand
The corresponding amount of can provide that can provide item of item calculates demand guaranteed discharge and includes:
For each candidate entries, the demand that can provide item and meet the requirement item corresponding with each requirement item is calculated separately
The minimum essential requirement quantity of Shi Suoxu;
The maximum value in the minimum essential requirement quantity is chosen, the demand guaranteed discharge as the candidate entries.
5. method according to any one of claims 1-4, which is characterized in that described according to the minimum value and the target
Entry generates pushed information
The minimum value is compared with can receive amount;
If the minimum value is greater than the receivable amount, push letter is generated according to the receivable amount and the target entry
Breath.
6. a kind of device for generating pushed information, described device include:
Module is obtained, is configured to obtain demand information, wherein the demand information includes at least one requirement item, Mei Gexu
Seeking item includes demand;
Matching module is configured to close based on the matching of the demand and the respectively amount of can provide that can provide item of entry to be pushed
System, from described wait push the candidate entries for choosing predetermined number in entry;
Computing module is configured to can provide mentioning for item by corresponding with the requirement item for each candidate entries
For measuring calculating demand guaranteed discharge;
Determining module is configured to candidate entries corresponding to the minimum value in each demand guaranteed discharge being determined as target item
Mesh;
Generation module is configured to generate pushed information according to the minimum value and the target entry.
7. device according to claim 6, which is characterized in that each requirement item further includes weight coefficient, and
The matching module includes:
Matching degree computing unit is configured to calculate mentioning for the demand and respectively entry to be pushed based on the weight coefficient
For the matching degree of the amount of can provide of item;
Target entry obtains module, is configured to arrange respectively entry to be pushed according to the descending sequence of the matching degree
Sequence obtains the entry to be pushed for arranging forward predetermined number as target entry.
8. device according to claim 6, which is characterized in that the matching module includes:
First relating value computing unit is configured to calculate the first relating value between each demand;
The second relating value computing unit is configured to calculate respectively wait push the item that can provide corresponding with each requirement item in entry
Second relating value of the amount of can provide;
Target entry determination unit is configured to compare first relating value and second relating value, chooses institute
The entry to be pushed of the second relating value and the immediate predetermined number of the first relating value is stated as target entry.
9. device according to claim 6, which is characterized in that the computing module includes:
Minimum essential requirement quantity determination unit is configured to calculate separately corresponding with each requirement item each candidate entries
The item that can provide meet minimum essential requirement quantity required when the demand of the requirement item;
Demand guaranteed discharge determination unit is configured to choose the maximum value in the minimum essential requirement quantity, as the candidate entries
Demand guaranteed discharge.
10. according to the device any in claim 6-9, which is characterized in that the generation module includes:
Comparison unit is configured to compare the minimum value with can receive amount;
Generation unit, if being configured to the minimum value greater than the receivable amount, according to the receivable amount and the mesh
It marks entry and generates pushed information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610239770.0A CN105930412B (en) | 2016-04-18 | 2016-04-18 | The method and apparatus for generating pushed information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610239770.0A CN105930412B (en) | 2016-04-18 | 2016-04-18 | The method and apparatus for generating pushed information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105930412A CN105930412A (en) | 2016-09-07 |
CN105930412B true CN105930412B (en) | 2019-05-24 |
Family
ID=56839244
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610239770.0A Active CN105930412B (en) | 2016-04-18 | 2016-04-18 | The method and apparatus for generating pushed information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105930412B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108334958A (en) * | 2018-01-29 | 2018-07-27 | 任天民 | A kind of utilization method and its application of discarded paper |
CN108230117A (en) * | 2018-01-29 | 2018-06-29 | 任天民 | A kind of utilization method and system of discarded paper |
CN111723024B (en) * | 2019-03-18 | 2024-05-07 | 阿里云计算有限公司 | Data processing method, device and system, client server and storage server |
CN112396289A (en) * | 2020-10-12 | 2021-02-23 | 中国兵器科学研究院 | Equipment system logistics support capability assessment method, device, equipment and medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102214346A (en) * | 2011-07-22 | 2011-10-12 | 深圳市财富万方信息技术有限公司 | Product supply chain optimization-based network community group buying system and implementation method thereof |
CN102289766A (en) * | 2011-07-29 | 2011-12-21 | 东北大学 | Method for scheduling grid resources based on continuous two-way auction mechanism |
CN102622675A (en) * | 2012-03-14 | 2012-08-01 | 浙江大学 | Method and system for realizing interoperation of enterprises under cluster supply chain environment |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103853771B (en) * | 2012-12-03 | 2018-12-14 | 百度在线网络技术(北京)有限公司 | A kind of method for pushing and system of search result |
CN105100182B (en) * | 2015-01-30 | 2018-12-14 | 成都友窗科技有限公司 | A kind of method and system for seeking lost contact live based on mobile Internet |
CN105354018B (en) * | 2015-09-29 | 2019-05-21 | 小米科技有限责任公司 | For replacing the method, device and equipment of display background |
-
2016
- 2016-04-18 CN CN201610239770.0A patent/CN105930412B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102214346A (en) * | 2011-07-22 | 2011-10-12 | 深圳市财富万方信息技术有限公司 | Product supply chain optimization-based network community group buying system and implementation method thereof |
CN102289766A (en) * | 2011-07-29 | 2011-12-21 | 东北大学 | Method for scheduling grid resources based on continuous two-way auction mechanism |
CN102622675A (en) * | 2012-03-14 | 2012-08-01 | 浙江大学 | Method and system for realizing interoperation of enterprises under cluster supply chain environment |
Also Published As
Publication number | Publication date |
---|---|
CN105930412A (en) | 2016-09-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105930412B (en) | The method and apparatus for generating pushed information | |
CN110363604B (en) | Page generation method and device | |
CN109993568A (en) | The method and apparatus of information push | |
CN105117491B (en) | Page push method and apparatus | |
CN108228906B (en) | Method and apparatus for generating information | |
CN107909261A (en) | Order method for pushing and device | |
CN108595628A (en) | Method and apparatus for pushed information | |
CN110084658B (en) | Method and device for matching articles | |
CN107451832A (en) | The method and apparatus of pushed information | |
CN107911449A (en) | Method and apparatus for pushed information | |
CN107169077A (en) | Method and apparatus for pushed information | |
CN109785072A (en) | Method and apparatus for generating information | |
CN110020112A (en) | Object Push method and its system | |
CN109190123A (en) | Method and apparatus for output information | |
CN105488027B (en) | The method for pushing and device of keyword | |
CN109426998A (en) | Information-pushing method and device | |
CN112667770A (en) | Method and device for classifying articles | |
CN110766488A (en) | Method and device for automatically determining theme scene | |
CN110838019A (en) | Method and device for determining trial supply distribution crowd | |
CN107483595A (en) | Information-pushing method and device | |
CN110363558A (en) | A kind of method and apparatus generating commodity association message | |
CN110019531A (en) | A kind of method and apparatus obtaining analogical object set | |
CN107920100A (en) | Information-pushing method and device | |
CN107256244A (en) | Data processing method and system | |
CN109903107A (en) | Method and apparatus for generating information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |