CN105930412A - Push information generation method and apparatus - Google Patents

Push information generation method and apparatus Download PDF

Info

Publication number
CN105930412A
CN105930412A CN201610239770.0A CN201610239770A CN105930412A CN 105930412 A CN105930412 A CN 105930412A CN 201610239770 A CN201610239770 A CN 201610239770A CN 105930412 A CN105930412 A CN 105930412A
Authority
CN
China
Prior art keywords
demand
entry
pushed
item
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.)
Granted
Application number
CN201610239770.0A
Other languages
Chinese (zh)
Other versions
CN105930412B (en
Inventor
彭珊
季永锋
张春雨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201610239770.0A priority Critical patent/CN105930412B/en
Publication of CN105930412A publication Critical patent/CN105930412A/en
Application granted granted Critical
Publication of CN105930412B publication Critical patent/CN105930412B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; 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

The invention discloses a push information generation method and apparatus. An embodiment of the method comprises the steps of obtaining demand information, wherein the demand information comprises at least one demand item and each demand item comprises a demand quantity; based on a matching relationship between the demand quantity and an available quantity of available items of each to-be-pushed entry, selecting a preset number of candidate entries from the to-be-pushed entries; for each candidate entry, calculating a demand guarantee quantity through the available quantity of the available items corresponding to the demand items; determining the candidate entry corresponding to a minimum value in the demand guarantee quantities as a target entry; and generating push information according to the minimum value and the target entry. According to the embodiment, the effectiveness of generating the push information can be improved.

Description

The method and apparatus generating pushed information
Technical field
The application relates to field of computer technology, is specifically related to information advancing technique field, especially Relate to the method and apparatus generating pushed information.
Background technology
Push, typically can represent that people or electronic equipment are (the most potential to pushed object Commodity purchaser, terminal use etc.) provide information process, here, the information provided can With referred to as pushed information.People or electronic equipment often can by push object difference preference, Demands etc. are to pushed Object Push information.In the method for existing generation pushed information, often By manually the demand of pushed object being analyzed, or by electronic equipment by simple Requirement item coupling generate pushed information.In the case of some are more complicated, such as, large-scale IT Enterprise's volume procurement difference purposes computer, cloud storage server system increase number of servers etc. Etc. situation, if requirement item is more, such as, include hard-disk capacity, CPU (Central Processing Unit, central processing unit) multiple requirement item such as frequency, memory size, and each requirement item quilt Quantify, each requirement item is met demand and has again when different priority, manually Calculate complex operation, amount of calculation and more greatly, easily miss some requirement item, and simple requirement item Coupling usually can not meet the quantization demand of requirement item.Therefore, there is generation propelling movement in existing method The problem that the effectiveness of information is the highest.
Summary of the invention
The purpose of the application is to propose the generation pushed information method and apparatus of a kind of improvement, comes Solve the technical problem that background section above is mentioned.
On the one hand, this application provides a kind of generation pushed information method, described method includes: Obtaining demand information, wherein, described demand information includes at least one requirement item, each demand Item includes demand;Thering is provided of provided item based on described demand and entry to be pushed The matching relationship of amount, chooses the candidate entries of predetermined number from described entry to be pushed;For Each candidate entries, is calculated by the provided amount of the provided item corresponding with described requirement item Demand guaranteed discharge;Candidate entries corresponding to minima in each demand guaranteed discharge is defined as Target entry;Pushed information is generated according to described minima and described target entry.
In certain embodiments, each requirement item also includes weight coefficient, and, described based on The matching relationship of the provided amount of the provided item of described demand and entry to be pushed, from institute State and entry to be pushed is chosen the candidate entries of predetermined number include: based on described weight coefficient meter The matching degree of described demand and the provided amount of the provided item of entry to be pushed is provided;According to Entry to be pushed is ranked up by the descending order of described matching degree, obtains arrangement forward The entry to be pushed of predetermined number as candidate entries.
In certain embodiments, described based on described demand and entry to be pushed provide The matching relationship of the provided amount of item, chooses the candidate of predetermined number from described entry to be pushed Entry includes: calculate the first relating value between each demand;Calculate in entry to be pushed with Second relating value of the provided amount of the provided item that each requirement item is corresponding;Close described first Connection value and described second relating value contrast, and choose described second relating value and close with described first The entry to be pushed of the immediate predetermined number of connection value is as candidate entries.
In certain embodiments, described for each candidate entries, by with described requirement item phase The thered is provided amount calculating demand guaranteed discharge of corresponding provided item includes: for each candidate entries, The thered is provided item corresponding with each requirement item is provided respectively and meets the demand time institute of this requirement item The minimum essential requirement quantity needed;Choose the maximum in described minimum essential requirement quantity, as this candidate The demand guaranteed discharge of entry.
In certain embodiments, described generation according to described minima and described target entry pushes Information includes: by described minima with can the amount of reception contrast;If described minima is more than The described amount of reception, generates pushed information according to the described amount of reception and described target entry.
Second aspect, this application provides a kind of generation pushed information device, and described device includes: Acquisition module, is configured to obtain demand information, and wherein, described demand information includes at least one Individual requirement item, each requirement item includes demand;Matching module, is configured to based on described need The amount of asking and the matching relationship of the provided amount of the provided item of entry to be pushed, push away from described waiting Send the candidate entries choosing predetermined number in entry;Computing module, is configured to wait for each Select entry, protected by the provided amount calculating demand of the provided item corresponding with described requirement item Card amount;Determine module, be configured to the time corresponding to the minima in each demand guaranteed discharge Entry is selected to be defined as target entry;Generation module, is configured to according to described minima and described Target entry generates pushed information.
In certain embodiments, each requirement item also includes weight coefficient, and, described coupling Module includes: matching degree computing unit, is configured to calculate described need based on described weight coefficient The matching degree of the provided amount of the provided item of the amount of asking and entry to be pushed;Target entry obtains Module, is configured to the order according to described matching degree is descending and carries out entry to be pushed Sequence, obtains the entry to be pushed of the forward predetermined number of arrangement as target entry.
In certain embodiments, described matching module includes: the first relating value computing unit, joins Put the first relating value for calculating between each demand;Second relating value computing unit, configuration For calculating the provided amount of provided item corresponding with each requirement item in entry to be pushed Second relating value;Target entry determines unit, is configured to described first relating value and described Second relating value contrasts, and chooses described second relating value closest with described first relating value The entry to be pushed of predetermined number as target entry.
In certain embodiments, described computing module includes: minimum essential requirement quantity determines unit, It is configured to for each candidate entries, provide corresponding with each requirement item is provided respectively Item meets minimum essential requirement quantity required during the demand of this requirement item;Demand guaranteed discharge determines list Unit, is configured to choose the maximum in described minimum essential requirement quantity, as this candidate entries Demand guaranteed discharge.
In certain embodiments, described generation module includes: contrast unit, is configured to institute State minima and can the amount of reception contrast;Signal generating unit, if being configured to described minima More than the described amount of reception, generate pushed information according to the described amount of reception and described target entry.
The generation pushed information method and apparatus that the application provides, by obtaining demand information, its In, demand information includes that at least one requirement item, each requirement item include demand, then base In the matching relationship of demand Yu the provided amount of the provided item of entry to be pushed, push away from waiting Send the candidate entries choosing predetermined number in entry, then for each candidate entries, by with The thered is provided amount calculating demand guaranteed discharge of the provided item that requirement item is corresponding, then needs each The candidate entries corresponding to the minima in guaranteed discharge is asked to be defined as target entry, and according to above-mentioned Minima and target entry generate pushed information.Due to the demand according to each requirement item with wait to push away The matching relationship sending the provided amount of the provided item of entry automatically generates pushed information, and fully Considering the quantization demand of requirement item, the method and apparatus of this generation pushed information can improve Generate the effectiveness of pushed information.
Accompanying drawing explanation
The detailed description to non-limiting example made with reference to the following drawings by reading, this The other features, objects and advantages of application 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 of an embodiment of the generation pushed information method according to the application;
Fig. 3 is an application of an embodiment of the generation pushed information method according to the application Scene schematic diagram;
Fig. 4 is the flow process of another embodiment of the generation pushed information method according to the application Figure;
Fig. 5 is the structural representation of an embodiment of the generation pushed information device according to the application Figure;
Fig. 6 is adapted for the knot of the computer system of the electronic equipment for realizing the embodiment of the present application Structure schematic diagram.
Detailed description of the invention
With embodiment, the application is described in further detail below in conjunction with the accompanying drawings.It is appreciated that , specific embodiment described herein is used only for explaining related invention, rather than to this Bright restriction.It also should be noted that, for the ease of describe, accompanying drawing illustrate only with About the part that invention is relevant.
It should be noted that in the case of not conflicting, the embodiment in the application and embodiment In feature can be mutually combined.Describe this below with reference to the accompanying drawings and in conjunction with the embodiments in detail Application.
Fig. 1 shows the exemplary system architecture 100 that can apply the embodiment of the present application.
As it is shown in figure 1, system architecture 100 can include terminal unit 101,102, network 103 With server 104.Network 103 is in order between terminal unit 101,102 and server 104 The medium of communication link is provided.Network 103 can include various connection type, the most wired, Wireless communication link or fiber optic cables etc..
Terminal unit 101,102 can be mutual with server 104 by network 103, to receive Or send message etc..The application of various telecommunication customer end can be installed on terminal unit 101,102, Such as push class application, shopping class application, browser application, the application of location class, map class should With, financing class application, searching class application, social platform application, mailbox client, IMU Letter instrument etc..
Terminal unit 101,102 can be to support that pushing class application, shopping class application etc. is installed on Various electronic equipment thereon, include but not limited to smart mobile phone, intelligent watch, panel computer, Personal digital assistant, E-book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio frequency aspect 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert compresses mark Quasi-audio frequency aspect 4) player, pocket computer on knee and desk computer etc..
Server 104 can be to provide the server of various service.Such as server 104 is permissible It is that the application of the propelling movement class to terminal unit 101,102, shopping class application etc. provide the backstage supported Server etc..The data received can be stored by server, generation etc. processes, and will Result feeds back to terminal unit.
It should be noted that the method for generation pushed information that the embodiment of the present application is provided both may be used To be performed by server 104, it is also possible to performed by terminal unit 101,102, it is also possible to by taking Business device 104 and terminal unit 101,102 perform jointly, and this is not limited by the application.When this When the method for the generation pushed information that application is provided is performed by terminal unit 101,102, it is possible to Need not network 103 and server 104 offer support.Correspondingly, the embodiment of the present application institute The device of the generation pushed information provided can be arranged in server 104, it is also possible to is arranged on In terminal unit 101,102, it is also possible to a part of module is arranged in server 104, another Part of module is arranged in terminal unit 101,102.
It should be understood that the number of terminal unit, network and the server in Fig. 1 is only signal Property.According to realizing needs, can have any number of terminal unit, network and server.
Refer to Fig. 2, it illustrates the flow process of an embodiment of the method generating pushed information 200.The present embodiment is applied in the electronic equipment of certain operational capability lift the most in this way Example illustrates, this electronic equipment can be such as the terminal unit 101,102 shown in Fig. 1 or service Device 104 etc..The method of this generation pushed information, comprises the following steps:
Step 201, obtains demand information.
In the present embodiment, first electronic equipment can obtain the demand information of user.Here, Demand information can be used to indicate that user's information to the demand of information to be pushed, every demand Information can include that at least one requirement item, each requirement item can 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 can include CPU Dominant frequency 2.3GHz (Giga Hz, gigahertz), hard-disk capacity 300T (Terabyte, tril Byte) etc..Wherein, CPU frequency, hard-disk capacity are respectively a requirement item, 2.3GHz Being the demand of requirement item CPU frequency, 300T is the demand of requirement item hard-disk capacity.
Electronic equipment can be from the demand information locally or remotely obtaining user.Specifically, when Electronic equipment is to push class application etc. when running on terminal unit thereon, and electronic equipment can be from Local these demand informations of acquisition;After electronic equipment is for pushing the offer supports such as class application During station server, it can be by wired connection mode or radio connection from above-mentioned terminal Equipment obtains the demand information of user.Above-mentioned radio connection includes but not limited to that 3G/4G is even Connect, WiFi connects, bluetooth connects, WiMAX connects, Zigbee connects, UWB (ultra Wideband) connection and other currently known or exploitation in the future radio connection.
Wherein, demand information can be inputted electronic equipment by user by the mode such as character, voice, Confession user can also be provided the user with by electronic equipment with forms such as lists and select input, this Shen Please this is not limited.
Step 202, provided amount based on demand and the provided item of entry to be pushed Matching relationship, chooses the candidate entries of predetermined number from entry to be pushed.
In the present embodiment, electronic equipment can obtain demand by various contrasts or computational methods In information the provided amount of the provided item of the demand of each requirement item and entry to be pushed Join relation, and from entry to be pushed, choose the candidate entries of predetermined number based on this matching relationship.
Here, entry to be pushed can be that information to be pushed divides the detailed catalogue of row by content, such as For computer, it can be computer model etc..The thered is provided item of entry to be pushed is permissible Be the characteristic item in entry to be pushed, such as, for a computer model, it can provide the item can To include CPU frequency, hard-disk capacity etc..Correspondingly, it is possible to provide amount can be to providing The quantization means of item.Such as the provided amount of CPU frequency is 2.3GHz, hard-disk capacity can Offer amount is 500G (Gigabyte, GB) etc..
In the present embodiment, electronic equipment can be by the requirement item in demand information and bar to be pushed Thered is provided item now mates, and further by the requirement item matched, can provide in item Demand corresponding respectively and can the amount of offer mating, by demand and can the amount of offer The relation of joining determines the matching relationship of demand information and entry to be pushed.As an example, demand Information is hard-disk capacity 300T, then requirement item is hard-disk capacity, and 300T is demand, it is assumed that Entry to be pushed includes 3 computer model, such as A type, Type B, c-type, they correspondences The thered is provided amount that can provide item " hard-disk capacity " is respectively 15T, 18T, 30T, i.e. every A Type computer available " hard-disk capacity " is 15T, every Type B computer is available " hard Dish capacity " be 18T, every c-type computer available " hard-disk capacity " be 30T.This Time, 300T with 15T, 18T, 30T can be mated by electronic equipment respectively.Can manage Solving, computer is whole calculating, therefore, in a kind of realization of this example, and electronic equipment Carrying of item can be provided to the corresponding of single computer in each computer model by demand Supply the ratio of amount as coupling reference value, determine demand when ratio is for integer and can provide accordingly Amount matches.Such as demand 300T and A type, Type B, the corresponding amount of the offer 15T of c-type, The ratio of 18T, 30T is respectively 20,50/3,10, then may determine that A type, c-type can Offer amount matches with demand, further, it is determined that A type, c-type are and demand information phase The computer model of coupling.In other realize, electronic equipment can also be by above ratio Less Type B, c-type computer are defined as the computer model that matches with demand information (i.e. Entry to be pushed), this is not limited by the application.
Further, electronic equipment can select from the entry to be pushed matched with demand information Take the entry to be pushed of predetermined number (such as 2) as candidate entries.Such as, above-mentioned In example, when electronic equipment can choose the demand meeting requirement item in demand information, it is provided that The minimum c-type of computer number of units, Type B (corresponding ratio can take 50/3 the decimal of value of calculation The bigger integer 17 at two 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 can be used to represent the significance level of each requirement item in a demand information. Further, when requirement item has multiple, if the provided item of entry to be pushed may not Fully meet each requirement item in demand information, or respectively can the amount of offer can not as one man meet accordingly Corresponding demand, now, electronic equipment judge demand with can the matching relationship of the amount of offer time Can pay the utmost attention to meet the requirement item that weight coefficient is bigger.In practice, electronic equipment can be with base Mating of the demand the provided amount with the provided item of entry to be pushed is calculated in weight coefficient Degree, and according to the order that matching degree is descending, entry to be pushed is ranked up, the row of acquisition Arrange the entry to be pushed of forward predetermined number as candidate entries.Wherein, matching degree can be The quantization table of the matching degree of the provided amount of the provided item of demand and entry to be pushed Show.Such as, in the examples described above, if demand information includes requirement item hard-disk capacity 300T With internal memory 80G, weight coefficient is respectively in 0.9,0.1, and entry to be pushed, A type, B Type, the provided amount of the provided item " hard-disk capacity " that c-type computer is corresponding be respectively 15T, 18T, 30T, it is possible to provide the provided amount of item " internal memory " is respectively 8G, 4G, 16G, then A kind of calculation of matching degree can be each requirement item weight coefficient and corresponding demand amount and Can the amount of offer ratio product reciprocal add and, such as: demand and entry A type to be pushed Matching degree=0.9 × 1/ (300T/15T)+0.1 × 1/ of provided amount of provided item (80G/8G);The another kind of calculation of matching degree can also be the weight coefficient of each requirement item With accordingly can the amount of offer numerical value product add and, such as: demand and entry A type to be pushed Matching degree=0.9 × 15+0.1 × 8 of provided amount of provided item;Etc..Here, coupling Degree can be calculated by the various rational methods meeting user's request, and this is not done by the application Limit.
Step 203, for each candidate entries, by the provided item corresponding with requirement item Provided amount calculating demand guaranteed discharge.
In the present embodiment, electronic equipment can be further directed to each candidate entries, by needing The thered is provided amount calculating demand seeking the demand of item the provided item corresponding with requirement item ensures Amount.Here, demand guaranteed discharge can be to meet each demand in demand information by this candidate entries Demand time, at least need provide to can ensure that and meet each requirement item in demand information The number of this provided amount corresponding to candidate entries of demand.Such as, requirement item includes firmly Dish capacity 300T, in entry to be pushed, the provided item " hard-disk capacity " that Type B computer is corresponding Provided amount be 18T, then meet need by the provided amount of the provided item of Type B computer The number needing the provided amount provided when seeking hard-disk capacity 300T is 300T/18T=16.666 ..., but for computer, it is possible to provide the number of amount is integer, So Type B computer at least need to provide 17 parts can Type B computer in the amount of offer, i.e. this example Demand guaranteed discharge be 17.
In some optional implementations of the present embodiment, requirement item has multiple, and electronic equipment can To calculate the demand guaranteed discharge of candidate entries by the following method: for each candidate entries, point Provided item that Ji Suan be not corresponding with each requirement item meets during the demand of this requirement item required Minimum essential requirement quantity, then choose the maximum in minimum essential requirement quantity, as this candidate's bar Purpose demand guaranteed discharge.Such as, in the examples described above, requirement item includes hard-disk capacity 300T With internal memory 80G, in entry to be pushed, the provided item " hard-disk capacity " that A type computer is corresponding Provided amount be 15T, it is possible to provide the provided amount of item " internal memory " is 8G, then A type calculate Machine is by providing the provided amount of item " hard-disk capacity " to meet requirement item hard-disk capacity 300T Time minimum essential requirement quantity be 300T/15T=20, A type computer by item " internal memory " can be provided Provided amount minimum essential requirement quantity 80G/8G=10 when meeting requirement item internal memory 80G, to Meet hard-disk capacity 300T and internal memory 80G, then A type computer at least needs offer simultaneously Can the number of the amount of offer be the maximum 20 in 20 and 10, i.e. candidate entries A type computer Demand guaranteed discharge is 20.
Step 204, determines the candidate entries corresponding to the minima in each demand guaranteed discharge For target entry.
In the present embodiment, the demand guaranteed discharge to each candidate entries, obtain it by contrast In minima, and the candidate entries corresponding to minima is defined as target entry.Can manage Solving, the candidate entries corresponding to the minima of demand guaranteed discharge can be to meet in demand information respectively The demand of requirement item provides the number of minimum provided amount.Such as, in the examples described above, Demand information is hard-disk capacity 300T, it is assumed that candidate entries include 3 computer model A types, Type B, c-type, the provided amount of the provided item " hard-disk capacity " of they correspondences be respectively 15T, 18T, 30T, the number of the provided amount that need to provide when meeting demand is respectively 20,50/3 (round is 17), 10, when i.e. meeting hard-disk capacity 300T, A type, Type B, c-type are respectively required for Computer number of units to be provided is 20,17,10, then electronic equipment can be by 10 corresponding C Type is defined as target entry.
Step 205, generates pushed information according to above-mentioned minima and target entry.
In the present embodiment, electronic equipment further can be according to above-mentioned minima and target entry Generate pushed information.Above-mentioned minima and target entry directly can be generated and push by electronic equipment The example be given in information, such as step 204, the pushed information of generation can be " c-type, 10 ";Electronic equipment can also combine other about with above-mentioned minima and target entry for reference Bundle condition generates pushed information, and such as, the price of 10 c-type computers is 80,000 yuan, electronics Equipment receives user and have input budget amount 70,000 yuan, then budget amount at most can bear 7 The price of ten thousand yuan/(80,000 yuan/10)=8.75 c-type computers, the pushed information of generation can Think " c-type, 8 ";Etc..
In some optional implementations of the present embodiment, electronic equipment can be by above-mentioned minima With can the amount of reception contrast, if minima more than can the amount of reception, according to can the amount of reception and mesh Mark entry generates pushed information.Here, the amount of reception can be used to indicate that intended recipient is to mesh The maximum of the number of the provided amount that mark entry is provided accommodates quantity.Such as, for computer For, intended recipient can be machine room, and machine room can accommodate computer by seat in the plane.The most such as Really machine room can the amount of reception when being 5, it is 5 to the maximum quantity that accommodates of computer, then basis The example be given above, target entry is c-type, and above-mentioned minima is 10, now can root Can the amount of reception and target entry c-type generation pushed information " c-type, 5 " according to machine room.
Refer to Fig. 3, Fig. 3 and give an application scenarios 300 of the present embodiment.This applied field Scape 300 goes for the generation process of buying order in computer adoption process, wherein, pushes Information can include that buying order information, entry to be pushed can include computer model, Mei Geji Calculate type number to there being respective model configuration information of computer (such as hard-disk capacity, internal memory etc.), These computer model can be stored in advance on electronic equipment 3002, it is also possible to by user 3001 Input to electronic equipment 3002.
As it is shown on figure 3, in this application scenarios 300, first pass through step 301, user 3001 The demand information to computer can be inputted to electronic equipment 3002, such as hard-disk capacity 300T, Internal memory 80G etc., wherein, electronic equipment 3002 can be provided with computer buying order and generate Class is applied;In step 302, electronic equipment 3002 can generate class by computer buying order Application etc. obtain the demand information of user 3001 input;Then, in step 303, electronics sets Standby 3002 can be generated in the demand information that user is inputted by class application by computer buying order The demand of requirement item mate with each model configuration information of computer, and based on gained To matching relationship choose the computer model of predetermined number (such as 5) as candidate's model; Then, in step 304, electronic equipment 3002 can be answered by computer buying order generation class With for each candidate's model, calculate each candidate's model and meet user 3001 input in guarantee Computer number of units (the demand guarantee provided at least is provided during the demand comprised in demand information Amount);Then, in step 305, electronic equipment 3002 can be raw by computer buying order Become the computer model of class application selection demand guaranteed discharge minimum as object type to be purchased Number;Then, within step 306, electronic equipment 3002 can be generated by computer buying order The demand guaranteed discharge of target model and target model is generated buying order and (i.e. pushes letter by class application Breath);Then, in step 307, the buying order generated is pushed to by electronic equipment 3002 3001.In some implementations, user 3001 can also input machine room to electronic equipment 3002 Slot number, the most within step 306, electronic equipment 3002 can pass through computer buying order Generate demand guaranteed discharge and the size of slot number of class Comparison study target model, if can With seat in the plane number less than the demand guaranteed discharge of target model, then electronic equipment 3002 by target model and Slot number generates buying order.In other realize, user 3001 can also set to electronics The slot number of standby 3002 dissimilar machine rooms, the slot number of such as storage-type machine room, The slot number etc. of calculation type machine room, electronic equipment 3002 can also be defeated according to user 3001 The requirement item of the demand information entered judges which kind of type the computer that user is to be purchased belongs to (such as Can the weight of item according to demand, hard-disk capacity weight is judged as storage-type etc. time bigger), and The machine room that can place after the computer of target model being purchased when generating buying order in step 306 and Quantity generates buying order together.
Above-described embodiment of the application is according to the demand of each requirement item and carrying of entry to be pushed Matching relationship for the provided amount of item automatically generates pushed information, and has taken into full account requirement item Quantization demand, therefore can improve generate pushed information effectiveness.
With further reference to Fig. 4, it illustrates method another of the generation pushed information of the application The flow process 400 of individual embodiment.This flow process 400 comprises the following steps:
Step 401, obtains demand information.
In the present embodiment, first electronic equipment can obtain the demand information of user.Here, Demand information can be used to indicate that user's information to the demand of information to be pushed, every demand Information can include that at least one requirement item, each requirement item can include demand.Wherein, Demand can be the quantization means to requirement item.Electronic equipment can be from locally or remotely obtaining Take the demand information at family.
Step 402, calculates the first relating value between each demand.
In the present embodiment, electronic equipment can respectively needing then for acquired demand information Seek the first relating value between the demand of item.Wherein, the first relating value can be used to indicate that respectively Incidence relation between demand phase.This incidence relation can pass through multiple method representation, such as, Comparison between the numerical value of the demand of each requirement item, using ratio as the first relating value.Citing For, when demand information includes hard-disk capacity 300T and internal memory 80G, electronic equipment is permissible Numerical computations the first relating value measured according to demand is 300/80=15/4.
Step 403, calculates provided item corresponding with each requirement item in entry to be pushed Can the second relating value of the amount of offer.
In the present embodiment, electronic equipment can also calculate in entry to be pushed further with each Second relating value of the provided amount of the provided item that requirement item is corresponding.Wherein, the second association Value can be used to indicate that the incidence relation between the provided item corresponding with each requirement item.Electronics sets For first passing through the method for Keywords matching, keyword retrieval etc from entry to be pushed Obtain the provided item corresponding with each requirement item and can the amount of offer, then can by with step The method calculating the method for the first relating value in rapid 402 consistent calculates the second relating value.Such as, Entry to be pushed includes that computer model, respective model configuration information of computer include that hard disk holds Amount 15T, internal memory 8G, then by respectively can the second relating value of representing of the ratio of numerical value of the amount of offer It is 15/8.
Step 404, contrasts the first relating value and the second relating value, chooses the second association The entry to be pushed of value and the first immediate predetermined number of relating value is as candidate entries.
In the present embodiment, electronic equipment can be then by the first relating value and entry to be pushed The second relating value contrast, and choose the second relating value and the first relating value is immediate pre- If the entry to be pushed of number is as candidate entries.
It is appreciated that the second relating value and the first relating value are closer to, respectively may be used of entry to be pushed The number of needs when the demand of provided amount each requirement item in meeting demand information of item is provided The most close, when the demand of each requirement item is all satisfied, can provide that item provides accordingly is unnecessary Can the amount of offer the fewest.Such as, requirement item has two A, B, and obtaining the first relating value is 15/4, Second relating value of the first entry to be pushed is 15/4, then respectively can the providing of the first entry to be pushed The thered is provided amount of the item number that needs provide when meeting the demand of A requirement item and B requirement item Ratio is 1:1, and the second relating value of the second entry to be pushed is 30/4, then the first entry to be pushed Provided amount needs when meeting the demand of A requirement item and B requirement item that item respectively can be provided The portion rate provided is 1:2, it is assumed that when the demand of A, B requirement item is all satisfied, the One entry to be pushed and the second provided amount of item that respectively can provide pushing entry the most at least need Want 2 parts, then A is just needed by the first provided amount pushing the provided item that entry provides The demand asking item and B requirement item is the most satisfied, and the second entry to be pushed is corresponding to A requirement item The provided amount of provided item have 1 part to be unnecessary.
Therefore, in the present embodiment, electronic equipment can choose the second relating value and the first relating value The entry to be pushed of close predetermined number is as candidate entries.In practice, electronic equipment is permissible The second relating value and the first relating value is compared by multiple method.The most in some implementations, will The absolute value of the difference of the second relating value and the first relating value compares, and absolute value is the least, then and Two relating values and the first relating value closer to.In other realize, electronic equipment can also be by In the relating value representing multinomial ratio every be normalized after, compare further Second relating value and the every concordance of the first relating value.The normalization of one of which method for normalizing Method can be that the one of which of relating value is become 1.Such as first relating value is 24:15:4, Second relating value is 30:30:4, then the first relating value and the second relating value can be entered by electronic equipment Row normalized obtains: the first relating value becomes 6:3.75:1, and the second relating value becomes 7.5:7.5:1.First relating value 6:3.75:1 and 7.5:7.5:1 is carried out wherein the one of comparison of coherence The method of kind can be: calculates every variance, such as ((6-7.5)2+(3.75-7.5)2+(1-1)2)1/2, variance is the least, and concordance is the biggest, further, and the second relating value and the first relating value Closer to, electronic equipment can take minimum the presetting of variance of the second relating value and the first relating value The entry to be pushed of number is as candidate entries.Here normalization and concordance calculate all right Take other known or method that those skilled in the art are readily apparent that, example the most one by one at this Lift.
Step 405, for each candidate entries, by the provided item corresponding with requirement item Provided amount calculating demand guaranteed discharge.
In the present embodiment, electronic equipment can be further directed to each candidate entries, by needing The thered is provided amount calculating demand seeking the demand of item the provided item corresponding with requirement item ensures Amount.Here, demand guaranteed discharge can be to meet each demand in demand information by this candidate entries Demand time, at least need provide to can ensure that and meet each requirement item in demand information The number of this provided amount corresponding to candidate entries of demand.
Step 406, determines the candidate entries corresponding to the minima in each demand guaranteed discharge For target entry.
In the present embodiment, the demand guaranteed discharge to each candidate entries, obtain it by contrast In minima, and the candidate entries corresponding to minima is defined as target entry.Can manage Solving, the candidate entries corresponding to the minima of demand guaranteed discharge can be to meet in demand information respectively The demand of requirement item provides the number of minimum provided amount.
Step 407, generates pushed information according to above-mentioned minima and target entry.
In the present embodiment, electronic equipment further can be according to above-mentioned minima and target entry Generate pushed information.Above-mentioned minima and target entry directly can be generated and push by electronic equipment Information, it is also possible to combine other constraints with above-mentioned minima and target entry for reference and generate Pushed information, this is not limited by the application.
In the present embodiment, above-mentioned realize in flow process step 401, step 405, step 406, Step 407 respectively with the step 201 in previous embodiment, step 203, step 204, step 205 is essentially identical, does not repeats them here.
Figure 4, it is seen that unlike the embodiment corresponding from Fig. 2, in the present embodiment The flow process 400 of generation pushed information method by step 402,403,404 instead of step 202.By step 402,403,404, the present embodiment by between each requirement item, can provide Relating value between Xiang is treated propelling movement entry and is carried out screening and obtain candidate entries, can make full use of Between individual requirement item, provided item between relatedness, improve matching efficiency.
With further reference to Fig. 5, as to the realization of method shown in above-mentioned each figure, the application provides A kind of embodiment of the device generating pushed information, this device embodiment with shown in Fig. 2 Embodiment of the method corresponding, this device specifically can apply in electronic equipment.
As it is shown in figure 5, the device 500 of the generation pushed information described in the present embodiment includes: obtain Delivery block 501, matching module 502, computing module 503, determine module 504 and generation module 505.Wherein, acquisition module 501 may be configured to obtain demand information, and wherein, demand is believed Breath can include that at least one requirement item, each requirement item include demand;Matching module 502 May be configured to the provided amount based on demand and the provided item of entry to be pushed Join relation, from entry to be pushed, choose the candidate entries of predetermined number;Computing module 503 can To be configured to for each candidate entries, by the provided item corresponding with requirement item can Offer amount calculates demand guaranteed discharge;Determine module 504 to may be configured to each demand to ensure The candidate entries corresponding to minima in amount is defined as target entry;Generation module 505 is permissible It is configured to generate pushed information according to above-mentioned minima and above-mentioned target entry.
In some optional implementations of the present embodiment, each requirement item also includes weight coefficient. Now, matching module 502 may include that matching degree computing unit (not shown), can configure For calculating the provided amount of demand and the provided item of entry to be pushed based on weight coefficient Matching degree;Target entry acquisition module (not shown), may be configured to according to above-mentioned coupling Spend descending order entry to be pushed is ranked up, obtain and arrange forward default The entry to be pushed of number is as target entry.
In some optional implementations of the present embodiment, matching module 502 may include that One relating value computing unit (not shown), may be configured to calculate first between each demand Relating value;Second relating value computing unit (not shown), may be configured to calculate and respectively waits to push Second relating value of the provided amount of provided item corresponding with each requirement item in entry;Target Entry determines unit (not shown), may be configured to above-mentioned first relating value and above-mentioned second Relating value contrasts, and chooses the second relating value and the immediate predetermined number of the first relating value Entry to be pushed is as target entry.
In some optional implementations of the present embodiment, computing module 503 may include that Little quantity required determines unit (not shown), may be configured to for each candidate entries, point Provided item that Ji Suan be not corresponding with each requirement item meets during the demand of this requirement item required Minimum essential requirement quantity;Demand guaranteed discharge determines unit (not shown), may be configured to choose Maximum in minimum essential requirement quantity, as the demand guaranteed discharge of this candidate entries.
In some optional implementations of the present embodiment, described generation module 505 may include that Contrast unit (not shown), may be configured to by above-mentioned minima with can the amount of reception contrast; Signal generating unit (not shown), if may be configured to above-mentioned minima more than can the amount of reception, root According to the amount of reception and target entry generating pushed information.
What deserves to be explained is, generate all modules described in device 500 or the unit of pushed information Corresponding with each step in the method described with reference to Fig. 2.Thus, retouch above with respect to method The operation stated and feature are equally applicable to the device 500 generating pushed information and the mould wherein comprised Block or unit, do not repeat them here.
It will be understood by those skilled in the art that the device 500 of above-mentioned generation pushed information also includes Some other known features, such as processor, memorizer etc., in order to unnecessarily obscure these public affairs The embodiment opened, structure known to these is the most not shown.
Below with reference to Fig. 6, it illustrates the electronic equipment be suitable to for realizing the embodiment of the present application The structural representation of computer system 600.
As shown in Figure 6, computer system 600 includes CPU (CPU) 601, its Can be according to the program being stored in read only memory (ROM) 602 or from storage part 608 It is loaded into the program in random access storage device (RAM) 603 and performs various suitable action And process.In RAM 603, also storage has system 600 to operate required various program sums According to.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 bus 604.
It is connected to I/O interface 605: include the importation 606 of keyboard, mouse etc. with lower component; Including such as cathode ray tube (CRT), liquid crystal display (LCD) etc. and speaker etc. Output part 607;Storage part 608 including hard disk etc.;And include such as LAN card, The communications portion 609 of the NIC of modem etc..Communications portion 609 is via such as The network of the Internet performs communication process.Driver 610 is connected to I/O interface also according to needs 605.Detachable media 611, such as disk, CD, magneto-optic disk, semiconductor memory etc., Be arranged on as required in driver 610, in order to the computer program read from it according to Needs are mounted into storage part 608.
Especially, according to embodiments herein, the process described above with reference to flow chart is permissible It is implemented as computer software programs.Such as, embodiments herein includes a kind of computer journey Sequence product, it includes the computer program being tangibly embodied on machine readable media, described meter Calculation machine program comprises the program code for performing the method shown in flow chart.In such enforcement In example, this computer program can be downloaded and installed from network by communications portion 609, And/or be mounted from detachable media 611.
Module involved in the embodiment of the present application and unit can be real by the way of software Existing, it is also possible to realize by the way of hardware.Described module can also be arranged on process In device, for example, it is possible to be described as: a kind of processor includes acquisition module, matching module, meter Calculate module, determine module and identification module.Wherein the title of these modules is the most also Not constituting the restriction to this module itself, such as, acquisition module is also described as " configuration use In the module obtaining demand information ".
As on the other hand, present invention also provides a kind of computer-readable recording medium, this meter Calculation machine readable storage medium storing program for executing can be that computer included in device described in above-described embodiment can Read storage medium;Can also be individualism, be unkitted the computer-readable storage allocating in terminal Medium.Described computer-readable recording medium storage has one or more than one program, works as institute When program of stating is performed by one or more than one processor so that described equipment: obtain and need Seeking information, wherein, described demand information includes that at least one requirement item, each requirement item include Demand;Thered is provided amount based on described demand and the provided item of entry to be pushed Join relation, from described entry to be pushed, choose the candidate entries of predetermined number;Wait for each Select entry, protected by the provided amount calculating demand of the provided item corresponding with described requirement item Card amount;Candidate entries corresponding to minima in each demand guaranteed discharge is defined as target bar Mesh;Pushed information is generated according to described minima and described target entry.
Above description is only the preferred embodiment of the application and saying institute's application technology principle Bright.It will be appreciated by those skilled in the art that invention scope involved in the application, do not limit In the technical scheme of the particular combination of above-mentioned technical characteristic, also should contain simultaneously without departing from In the case of described inventive concept, above-mentioned technical characteristic or its equivalent feature carry out combination in any And other technical scheme formed.Such as features described above and (but not limited to) disclosed herein The technical characteristic with similar functions is replaced mutually and the technical scheme that formed.

Claims (10)

1. the method generating pushed information, described method includes:
Obtaining demand information, wherein, described demand information includes at least one requirement item, each Requirement item includes demand;
Thered is provided amount based on described demand and the provided item of entry to be pushed mate pass System, chooses the candidate entries of predetermined number from described entry to be pushed;
For each candidate entries, by carrying of the provided item corresponding with described requirement item For amount calculating demand guaranteed discharge;
Candidate entries corresponding to minima in each demand guaranteed discharge is defined as target bar Mesh;
Pushed information is generated according to described minima and described target entry.
Method the most according to claim 1, it is characterised in that each requirement item also includes Weight coefficient, and
Described provided amount based on described demand and the provided item of entry to be pushed Joining relation, the candidate entries choosing predetermined number from described entry to be pushed includes:
The described demand the provided item with entry to be pushed is calculated based on described weight coefficient Can the matching degree of the amount of offer;
Entry to be pushed is ranked up by the order descending according to described matching degree, obtains Arrange the entry to be pushed of forward predetermined number as candidate entries.
Method the most according to claim 1, it is characterised in that described based on described demand Amount and the matching relationship of the provided amount of the provided item of entry to be pushed, push from described waiting The candidate entries choosing predetermined number in entry includes:
Calculate the first relating value between each demand;
The thered is provided amount of provided item corresponding with each requirement item in entry to be pushed is provided Second relating value;
Described first relating value and described second relating value are contrasted, chooses described second and close The entry to be pushed of connection value and the described first immediate predetermined number of relating value is as candidate's bar Mesh.
Method the most according to claim 1, it is characterised in that described for each candidate Entry, is ensured by the provided amount calculating demand of the provided item corresponding with described requirement item Amount includes:
For each candidate entries, calculate the provided item corresponding with each requirement item respectively full Required minimum essential requirement quantity during the demand of this requirement item of foot;
Choosing the maximum in described minimum essential requirement quantity, the demand as this candidate entries ensures Amount.
5. according to described method arbitrary in claim 1-4, it is characterised in that described basis Described minima and described target entry generate pushed information and include:
By described minima with can the amount of reception contrast;
If described minima is more than the described amount of reception, according to the described amount of reception and described mesh Mark entry generates pushed information.
6. generating a device for pushed information, described device includes:
Acquisition module, be configured to obtain demand information, wherein, described demand information include to A few requirement item, each requirement item includes demand;
Matching module, is configured to provided item based on described demand Yu entry to be pushed The matching relationship of provided amount, from described entry to be pushed, choose candidate's bar of predetermined number Mesh;
Computing module, is configured to for each candidate entries, by relative with described requirement item The thered is provided amount calculating demand guaranteed discharge of the provided item answered;
Determine module, be configured to the candidate corresponding to the minima in each demand guaranteed discharge Entry is defined as target entry;
Generation module, is configured to generate according to described minima and described target entry push letter Breath.
Device the most according to claim 6, it is characterised in that each requirement item also includes Weight coefficient, and
Described matching module includes:
Matching degree computing unit, be configured to based on described weight coefficient calculate described demand with The matching degree of the provided amount of the provided item of entry to be pushed;
Target entry acquisition module, is configured to the order according to described matching degree is descending right Entry to be pushed is ranked up, and obtains the entry conduct to be pushed of the forward predetermined number of arrangement Target entry.
Device the most according to claim 6, it is characterised in that described matching module includes:
First relating value computing unit, is configured to the first relating value calculating between each demand;
Second relating value computing unit, is configured to calculate in entry to be pushed and each requirement item Second relating value of the provided amount of corresponding provided item;
Target entry determines unit, is configured to associate described first relating value with described second Value contrasts, and chooses immediate with described first relating value default of described second relating value The entry to be pushed of number is as target entry.
Device the most according to claim 6, it is characterised in that described computing module includes:
Minimum essential requirement quantity determines unit, is configured to, for each candidate entries, calculate respectively The thered is provided item corresponding with each requirement item meets minimum required during the demand of this requirement item Quantity required;
Demand guaranteed discharge determines unit, is configured to choose the maximum in described minimum essential requirement quantity Value, as the demand guaranteed discharge of this candidate entries.
10. according to described device arbitrary in claim 6-9, it is characterised in that described life Module is become to include:
Contrast unit, be configured to by described minima with can the amount of reception contrast;
Signal generating unit, if being configured to described minima to be more than the described amount of reception, according to institute Stating can the amount of reception and described target entry generation pushed information.
CN201610239770.0A 2016-04-18 2016-04-18 The method and apparatus for generating pushed information Active CN105930412B (en)

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 true CN105930412A (en) 2016-09-07
CN105930412B 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108230117A (en) * 2018-01-29 2018-06-29 任天民 A kind of utilization method and system of discarded paper
CN108334958A (en) * 2018-01-29 2018-07-27 任天民 A kind of utilization method and its application of discarded paper
CN111723024A (en) * 2019-03-18 2020-09-29 阿里巴巴集团控股有限公司 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 (6)

* Cited by examiner, † Cited by third party
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
CN103853771A (en) * 2012-12-03 2014-06-11 百度在线网络技术(北京)有限公司 Search result pushing method and search result pushing system
CN105100182A (en) * 2015-01-30 2015-11-25 南京思欧通讯科技有限公司 Lost live searching method and system based on mobile internet
CN105354018A (en) * 2015-09-29 2016-02-24 小米科技有限责任公司 Method, apparatus and device for replacing display background

Patent Citations (6)

* Cited by examiner, † Cited by third party
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
CN103853771A (en) * 2012-12-03 2014-06-11 百度在线网络技术(北京)有限公司 Search result pushing method and search result pushing system
CN105100182A (en) * 2015-01-30 2015-11-25 南京思欧通讯科技有限公司 Lost live searching method and system based on mobile internet
CN105354018A (en) * 2015-09-29 2016-02-24 小米科技有限责任公司 Method, apparatus and device for replacing display background

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108230117A (en) * 2018-01-29 2018-06-29 任天民 A kind of utilization method and system of discarded paper
CN108334958A (en) * 2018-01-29 2018-07-27 任天民 A kind of utilization method and its application of discarded paper
CN111723024A (en) * 2019-03-18 2020-09-29 阿里巴巴集团控股有限公司 Data processing method, device and system, client server and storage server
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

Also Published As

Publication number Publication date
CN105930412B (en) 2019-05-24

Similar Documents

Publication Publication Date Title
CN110363604B (en) Page generation method and device
CN107909261A (en) Order method for pushing and device
CN105930412A (en) Push information generation method and apparatus
CN107451785B (en) Method and apparatus for outputting information
CN109993568A (en) The method and apparatus of information push
CN107911449A (en) Method and apparatus for pushed information
CN111599022A (en) House display method and device and electronic equipment
CN112884405A (en) Inquiry system and scheduling method thereof
CN109862100A (en) Method and apparatus for pushed information
CN109785072A (en) Method and apparatus for generating information
CN112035753A (en) Recommendation page generation method and device, electronic equipment and computer readable medium
CN114429365A (en) Article sales information generation method and device, electronic equipment and computer medium
CN109426998B (en) Information pushing method and device
CN107844932B (en) Order processing method and device
CN107977876B (en) Method and device for processing order information
CN110826948B (en) Warehouse selecting method and device
CN110858209B (en) Business object access/release method, device and system and electronic equipment
CN112446768B (en) Item information recommendation method and device, electronic equipment and computer readable medium
CN110838019A (en) Method and device for determining trial supply distribution crowd
US20140258043A1 (en) Comparable product matching: system and method
CN107483595A (en) Information-pushing method and device
CN111199437A (en) Data processing method and device
CN109903107A (en) Method and apparatus for generating information
CN113744005A (en) Method and device for processing and displaying article data
CN109961304A (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