CN105809475A - Commodity recommendation method compatible with O2O applications in internet plus tourism environment - Google Patents

Commodity recommendation method compatible with O2O applications in internet plus tourism environment Download PDF

Info

Publication number
CN105809475A
CN105809475A CN201610113832.3A CN201610113832A CN105809475A CN 105809475 A CN105809475 A CN 105809475A CN 201610113832 A CN201610113832 A CN 201610113832A CN 105809475 A CN105809475 A CN 105809475A
Authority
CN
China
Prior art keywords
commodity
weight
recommendation
num
represent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610113832.3A
Other languages
Chinese (zh)
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.)
Nanjing University
Original Assignee
Nanjing University
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 Nanjing University filed Critical Nanjing University
Priority to CN201610113832.3A priority Critical patent/CN105809475A/en
Publication of CN105809475A publication Critical patent/CN105809475A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0251Targeted advertisements
    • G06Q30/0255Targeted advertisements based on user history
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0277Online advertisement
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/14Travel agencies
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • G06F18/2413Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on distances to training or reference patterns
    • G06F18/24147Distances to closest patterns, e.g. nearest neighbour classification

Landscapes

  • Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Human Resources & Organizations (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a commodity recommendation method compatible with O2O applications in an internet plus tourism environment. The method can be realized through the following steps. First, a tourist chooses a scenic spot to be visited and accesses all available commodities there from the scenic spot inquiring data base. The weight of each commodity is then initialized by the consideration of their click conversion rate and recorded sales. Records of commodities the tourist has browsed, purchased, added to his favorite or disliked will also be checked so as to update the weights of all the commodities. A collaborative filtering recommendation algorithm will be adopted to further update the weights of the commodities. The commodities are then listed in piles according to their weights from high to low and a certain amount of commodities enjoying the highest weights are then chosen as recommended commodities in a temporary list. Then an Apriori algorithm, a basic algorithm of frequent set of items mining method, will be adopted for possible packages of commodities to be purchased. The temporary list with recommended commodities is divided into two halves where the recommended commodities can be all browsed from high weights to low weights and each commodity will be re-listed so that the commodities at the first top half of the temporary list are the final ones to be recommended to the tourist.

Description

The Method of Commodity Recommendation of O2O application is supported under " the Internet+tourism " environment
Technical field
The present invention relates to the particularly computer network travel information service data processing field of the Internet, particularly under " the Internet+tourism " environment, support the Method of Commodity Recommendation of O2O application.
Background technology
In recent years, along with the raising of social progress and people's living standard, tourism is just becoming a kind of pastime become more and more popular.But when people arrive a sight spot, in the face of commodity varied, diversified, visitor is difficult to know the commodity that oneself really needs, and even has a lot of people to be spoofed when selecting commodity.Therefore, the commercial product recommending based on the tourist attractions of mobile app just can help visitor to find the commodity oneself being likely to need, and can also greatly reduce oneself cheated probability with reference to conventional commodity purchasing and evaluation.On the other hand, for sight spot, it is also possible to improve the overall profit of oneself.In sum, research has become a significantly thing based on the Method of Commodity Recommendation of the tourist attractions of mobile app.
The Method of Commodity Recommendation of tourist attractions belongs to typical commending system problem, has a great difference also.For a client, in the face of the article set of enormous amount, how to be quickly found oneself article interested and just become a problem, it is recommended that the appearance of system to solve this problem just.Such as web film adopts film commending system to recommend the film that may like to user, and shopping website adopts commercial product recommending system to be likely to the commodity wanting to buy to lead referral.Commending system is through existing selection course or similarity relationships excavates the object interested that each user is potential, and then carries out personalized recommendation.Be summed up, the difference according to proposed algorithm, it is presently recommended that system can be divided into following a few class: content-based recommendation system, Collaborative Filtering Recommendation System, structure Network Based commending system and mixing commending system.The core concept of content-based recommendation system is respectively user and article to be set up configuration file, buy or browsed content by analyzing, set up or update the configuration file of user, system can compare the similarity of user and product configuration file, and directly recommends the product most like with its configuration file to user.Collaborative Filtering Recommendation System core concept is to utilize the historical information of user calculate the similarity between user and utilize the neighbours higher with targeted customer's similarity to the evaluation of other products to predict that targeted customer to the fancy grade of specific products and recommends.The core concept of the commending system of structure Network Based is to be left out the content character of user and product, and only they is regarded as abstract node, and the information that all algorithms utilize all is hidden among the choice relation of user and product.The core concept of mixing commending system is the pluses and minuses in conjunction with above-mentioned commending system, maximizes favourable factors and minimizes unfavourable ones.
Many Method of Commodity Recommendations for different field are had to have been achieved for some achievements at present.Chinese patent " the recommendation method and system of a kind of product information ", application number: 201010273633.1, Authorization Notice No. 102385601A discloses the recommendation method and system of a kind of product information, the method carries out commercial product recommending only according to this user historical record, it does not have use the hobby data of similar users to recommend.Chinese patent " a kind of e-commerce website Method of Commodity Recommendation based on keyword ", application number: 201210050057.3, Authorization Notice No. 102629257A discloses a kind of e-commerce website Method of Commodity Recommendation based on keyword, the method carries out commercial product recommending only according to this user historical record, the recommendation order of commodity is not carried out data process, also without considering that the data sold between commodity influence each other relation.
But, the commercial product recommending system based on sight spot is understood the place along with visitor arrives due to each recommendable commodity set and be changed, rather than the commodity set only one of which of whole commending system.On the other hand, it is contemplated that between commodity, would be likely to occur the tendency that multiple commodity are bought together, these commodity are put together and is likely to improve the desire to buy of visitor, and the two aspect factor that above-mentioned various commending system need not consider just.Therefore existing commending system can not directly apply to the commercial product recommending based on sight spot.
Summary of the invention
Goal of the invention: present invention is generally directed to the commercial product recommending based on sight spot, make up existing article proposed algorithm deficiency under this is suitable for background, there is provided and under a kind of " the Internet+tourism " environment, support O2O (OnlineToOffline, on line under the line) Method of Commodity Recommendation applied.
In order to solve above-mentioned technical problem, the invention discloses the Method of Commodity Recommendation supporting O2O application under " the Internet+tourism " environment, comprise the following steps:
Step 1, according to the sight spot being about to visit that visitor selects, obtains, by scenery spot query data base, all commodity that this sight spot is commercially available, and carries out recommending weights initialisation according to click conversion ratio and historical sales to each commodity;
Step 2, inquires about the inventory records browsing, buy, collect and not liking that this visitor is conventional, uses content-based recommendation algorithm to update the recommendation weight of all commodity in this sight spot;
Step 3, adopts the Collaborative Filtering Recommendation Algorithm based on user to update commercial product recommending weight, namely first uses k nearest neighbor algorithm, finds the user similar to this visitor, then updates the recommendation weight of all commodity in this sight spot according to the hobby of these users;
All commodity at this sight spot are carried out heapsort according to recommendation weight, select and recommend a number of commodity that weight is the highest to form interim Recommendations list by step 4 from high to low;
Step 5, inquires about the record that the different commodity at this sight spot are bought by same user simultaneously, adopts Apriori Frequent Itemsets Mining Algorithm, calculate the commodity set being likely to be bought together;
Step 6, interim Recommendations list is divided into two parts that quantity is equal, interim Recommendations list is traveled through from high to low by commercial product recommending weight, for each commodity, if its commodity purchased possibly together are not in the first half of interim Recommendations list, then the commodity that this is purchased possibly together are adjusted the first half of interim Recommendations list, finally using the first half of interim Recommendations list as final Recommendations list.
In the present invention, when visitor arrives some specific sight spot, recommendable commodity set is just determined therewith, and in step 1, the set ItemSet of all commodity is expressed as ItemSet={item1, item2..., itemi..., itemn, wherein itemiRepresenting i-th commodity, 1≤i≤n, n represents total number of commodity, item in commodity seti=(itemidi, classi, salesvolumei, clicknumi, weighti), wherein itemidiRepresent id, the class of i-th commodityiRepresent the classification of i-th commodity, salesvolumeiRepresent i-th commodity sales volume up to now, clicknumiRepresent the number of visits of i-th commodity, weightiRepresent the recommendation weight of i-th commodity;Then pass through following steps to carry out recommending weights initialisation:
Step 1-1, calculates the click conversion ratio clickconvrate of i-th commodity by equation belowi:
clickconvrate i = salesvolume i clicknum i ,
Step 1-2, by the equation below recommendation weight weight to i-th commodityiInitialize:
weighti=salesvolumei*clickconvratei
Step 2 comprises the steps:
Step 2-1, inquires about the inventory records set ItemHistorySet={h browsing, buy, collect and not liking of this visitor1, h2..., ha..., hm, m represents total number of inventory records, wherein haRepresenting a article inventory records, 1≤a≤m, each inventory records is expressed as ha=(classa, feela), wherein classaRepresent the classification of a commodity, feelaRepresent this visitor's fancy grade to a commodity, feelaValue set be that { 1,2,3,4}, correspondence does not like, browses, collects and buys respectively;
Step 2-2, travels through each inventory records h in the inventory records set of this visitora, all commodity are found out the commodity identical with the merchandise classification of this inventory records in this sight spot, as similar commodity, the then feel according to this inventory recordsaField updates the recommendation weight of similar commodity: if feelaEqual to 1, the recommendation weight weight of these similar commoditygDeduct 1,1≤g≤Numa, NumaRepresent and commodity haSimilar commodity amount;If feelaEqual to 3, the recommendation weight weight of these similar commoditygPlus 1;If feelaEqual to 4, the recommendation weight weight of these similar commoditygPlus 2, thus obtain the commercial product recommending weight after first time renewal.
In step 3, adopt the Collaborative Filtering Recommendation Algorithm second time based on user to update the weight of all commodity, comprise the steps:
Step 3-1, the information userinfo of visitor is expressed as userinfo=(userid, age, gender, class1num, class2num, ...), wherein userid represents visitor id, age represents the age, gender represents sex, class1num represents the quantity purchase of the 1st class commodity, class2num represents the quantity purchase of the 2nd class commodity, below by that analogy, then, adopt k nearest neighbor algorithm, find out k the neighbours closest with this visitor, as k most like visitor, wherein the value of k is set by the user using this Method of Commodity Recommendation, general k value 5 < k < 10;
Step 3-2, inquires about this k the similar visitor historical record to all commodity at this sight spot, and the c log is shown as item_historyc=(classc, feelc), wherein classcRepresenting the classification of c commodity, the upper limit of c is the sum of historical record, feelcRepresent this visitor's fancy grade to c commodity, feelcValue set be that { 1,2,3,4}, correspondence does not like, browses, collects and buys respectively;
With class in lookup inventory records set ItemHistorySetcThe commodity that field is equal, as similar commodity, the then feel according to every recordcField updates the recommendation weight of similar commodity: if feelcEqual to 1, by the weight weight of described commodityhDeduct 1,1≤h≤Numc, NumcRepresent and classcThe quantity of the commodity that field is equal;If feelcEqual to 3, by the weight weight of described commodityhPlus 1;If feelcEqual to 4, by the weight weight of described commodityhPlus 2, thus obtain the commercial product recommending weight after second time updates.
In step 4, adopting 2q the commodity that heapsort obtains weight maximum to form orderly interim Recommendations list ItemList, wherein q is the number of consequently recommended commodity, specifically includes following steps:
Step 4-1, initializes empty interim Recommendations list ItemList={}, reconstructs according to the advowson of all commodity at this sight spot and builds a most raft, and the heap top element in most raft is commodity;
Step 4-2, the heap top element every time taking out most raft is saved in interim Recommendations list ItemList afterbody, and last element of heap is put into heap top, readjusts and forms it into new most raft;
Step 4-3, repeats step 4-2, until having 2q heap top element or heap in interim Recommendations list ItemList is sky.
In step 5, if interim Recommendations list ItemList is only less than q element, then direct using the commodity in ItemList as recommendation results, otherwise perform following steps:
Step 5-1, inquires about the record that in interim Recommendations list ItemList, each commodity are bought by user, forms set RecordSet={r1, r2..., rf..., rr, wherein 1≤f≤r, r is purchaser record bar number, and the f article purchaser record rf=(useridf, itemidf), wherein useridfRepresent the id of f visitor, itemidfRepresent the id of the commodity of the f visitor's purchase;
Different records in set RecordSet are carried out cartesian product operation according to userid, form new set NewRecordSet={nr by step 5-21, nr2..., nrg..., nrs, wherein 1≤g≤s, s is new purchaser record bar number, and the g purchaser record nrgFor being expressed as nrg=(num1, num2..., numb..., numt), wherein numbRepresent in interim Recommendations list ItemList, whether the b commodity is bought, and t represents the commodity number in interim Recommendations list ItemList, numbValue is 1 or 0, numbRepresent that equal to 1 these commodity are purchased, numbRepresent that equal to 0 these commodity are not purchased;
Step 5-3, implements Apriori Frequent Itemsets Mining Algorithm to set NewRecordSet and obtains the commodity being likely to simultaneously be bought, and the results set calculated is expressed as RelationSet={re1, re2..., reo..., reu, wherein 1≤e≤u, u is the bar number of relation, each record re in setoIt is expressed as: reo=(numO, 1, numO, 2..., numO, u..., numO, t), wherein numO, uIt is calculated by Apriori Frequent Itemsets Mining Algorithm to obtain, if commodity o and commodity u is likely to be bought simultaneously, then corresponding numO, uIt is 1, is otherwise 0.
Step 6 comprises the steps:
Step 6-1, travel through interim Recommendations list ItemList, if starting point index=1 to be visited, terminal endj=q to be visited, interim Recommendations list ItemList is divided into two parts that quantity is equal, interim Recommendations list ItemList is traveled through from high to low according to commercial product recommending weight, if these commodity occur on a record in set of relationship RelationSet, then other commodity in this record are adjusted the first half of interim Recommendations list ItemList, if namely other commodity are at the first half of ItemList, its position remains unchanged, otherwise these other commodity are put into forward from endj, and endj is deducted the commodity number put into;
Step 6-2, repeats step 6-1 until index is equal to endj, finally using front q the commodity of interim Recommendations list ItemList as final commercial product recommending list.
Compared with prior art, the invention have the advantages that:
(1) relevant commodity candidate collection can be recommended along with sight spot change.
(2) have employed Apriori algorithm and excavate the commodity that visitor buys possibly together, improve visitor and buy the desire of secondary commodities.
(3) evaluation to commodity " not liking " is introduced so that recommend to avoid some unlikely commodity.
Accompanying drawing explanation
Below in conjunction with the drawings and specific embodiments the present invention being done and further illustrate, the above-mentioned and/or otherwise advantage of the present invention will become apparent.
Fig. 1 is the flow chart of the inventive method.
Detailed description of the invention
Below in conjunction with accompanying drawing, the present invention is illustrated.It it is noted that described embodiment is solely for the purpose of illustration, rather than limitation of the scope of the invention.
The invention discloses the Method of Commodity Recommendation supporting O2O application under " the Internet+tourism " environment, the method flow chart is as it is shown in figure 1, comprise the following steps:
Step 1, according to the sight spot being about to visit that visitor selects, obtains, by scenery spot query data base, all commodity that this sight spot is commercially available, and carries out recommending weights initialisation according to click conversion ratio and historical sales to each commodity;
Step 2, inquires about the inventory records browsing, buy, collect and not liking that this visitor is conventional, uses content-based recommendation algorithm to update the recommendation weight of all commodity in this sight spot;
Step 3, adopts the Collaborative Filtering Recommendation Algorithm based on user to update commercial product recommending weight, namely first uses k nearest neighbor algorithm, finds the user similar to this visitor, then updates the recommendation weight of all commodity in this sight spot according to the hobby of these users;
All commodity at this sight spot are carried out heapsort according to recommendation weight, select and recommend a number of commodity that weight is the highest to form interim Recommendations list by step 4 from high to low;
Step 5, inquires about the record that the different commodity at this sight spot are bought by same user simultaneously, adopts Apriori Frequent Itemsets Mining Algorithm, calculate the commodity set being likely to be bought together;
Step 6, interim Recommendations list is divided into two parts that quantity is equal, interim Recommendations list is traveled through from high to low by commercial product recommending weight, for each commodity, if its commodity purchased possibly together are not in the first half of interim Recommendations list, then the commodity that this is purchased possibly together are adjusted the first half of interim Recommendations list, finally using the first half of interim Recommendations list as final Recommendations list.
In the present invention, when visitor arrives some specific sight spot, recommendable commodity set is just determined therewith, and in step 1, the set ItemSet of all commodity is expressed as ItemSet={item1, item2..., itemi..., itemn, wherein itemiRepresenting i-th commodity, 1≤i≤n, n represents total number of commodity, item in commodity seti=(itemidi, classi, salesvolumei, clicknumi, weighti), wherein itemidiRepresent id, the class of i-th commodityiRepresent the classification of i-th commodity, salesvolumeiRepresent i-th commodity sales volume up to now, clicknumiRepresent the number of visits of i-th commodity, weightiRepresent the recommendation weight of i-th commodity;Then pass through following steps to carry out recommending weights initialisation:
Step 1-1, calculates the click conversion ratio clickconvrate of i-th commodity by equation belowi:
clickconvrate i = salesvolume i clicknum i ,
Step 1-2, by the equation below recommendation weight weight to i-th commodityiInitialize:
weighti=salesvolumei*clickconvratei
Step 2 comprises the steps:
Step 2-1, inquires about the inventory records set ItemHistorySet={h browsing, buy, collect and not liking of this visitor1, h2..., ha..., hm, m represents total number of inventory records, wherein haRepresenting a article inventory records, 1≤a≤m, each inventory records is expressed as ha=(classa, feela), wherein classaRepresent the classification of a commodity, feelaRepresent this visitor's fancy grade to a commodity, feelaValue set be that { 1,2,3,4}, correspondence does not like, browses, collects and buys respectively;
Step 2-2, travels through each inventory records h in the inventory records set of this visitora, all commodity are found out the commodity identical with the merchandise classification of this inventory records in this sight spot, as similar commodity, the then feel according to this inventory recordsaField updates the recommendation weight of similar commodity: if feelaEqual to 1, the recommendation weight weight of these similar commoditygDeduct 1,1≤g≤Numa, NumaRepresent and commodity haSimilar commodity amount;If feelaEqual to 3, the recommendation weight weight of these similar commoditygPlus 1;If feelaEqual to 4, the recommendation weight weight of these similar commoditygPlus 2, thus obtain the commercial product recommending weight after first time renewal.
In step 3, adopt the Collaborative Filtering Recommendation Algorithm second time based on user to update the weight of all commodity, comprise the steps:
Step 3-1, the information userinfo of visitor is expressed as userinfo=(userid, age, gender, class1num, class2num, ...), wherein userid represents visitor id, age represents the age, gender represents sex, class1num represents the quantity purchase of the 1st class commodity, class2num represents the quantity purchase of the 2nd class commodity, below by that analogy, then, adopt k nearest neighbor algorithm, find out k the neighbours closest with this visitor, as k most like visitor, wherein the value of k is set by the user using this Method of Commodity Recommendation, general k value 5 < k < 10;
Step 3-2, inquires about this k the similar visitor historical record to all commodity at this sight spot, and the c log is shown as item_historyc=(classc, feelc), wherein classcRepresent the classification of c commodity, feelcRepresent this visitor's fancy grade to c commodity, feelcValue set be that { 1,2,3,4}, correspondence does not like, browses, collects and buys respectively;
With class in lookup inventory records set ItemHistorySetcThe commodity that field is equal, as similar commodity, the feel according to every recordcField updates the recommendation weight of similar commodity: if feelcEqual to 1, by the weight weight of described commodityhDeduct 1,1≤h≤Numc, NumcRepresent and classcThe quantity of the commodity that field is equal;If feelcEqual to 3, by the weight weight of described commodityhPlus 1;If feelcEqual to 4, by the weight weight of described commodityhPlus 2, thus obtain the commercial product recommending weight after second time updates.
In step 4, adopting 2q the commodity that heapsort obtains weight maximum to form orderly interim Recommendations list ItemList, wherein q is the number of consequently recommended commodity, specifically includes following steps:
Step 4-1, initializes empty interim Recommendations list ItemList={}, reconstructs according to the advowson of all commodity at this sight spot and builds a most raft, and the heap top element in most raft is commodity;
Step 4-2, the heap top element every time taking out most raft is saved in interim Recommendations list ItemList afterbody, and last element of heap is put into heap top, readjusts and forms it into new most raft;
Step 4-3, repeats step 4-2, until having 2q heap top element or heap in interim Recommendations list ItemList is sky.
In step 5, if interim Recommendations list ItemList is only less than q element, then direct using the commodity in ItemList as recommendation results, otherwise perform following steps:
Step 5-1, inquires about the record that in interim Recommendations list ItemList, each commodity are bought by user, forms set RecordSet={r1, r2 ..., rf..., rr, wherein 1≤f≤r, r is purchaser record bar number, and the f article purchaser record rf=(useridf, itemidf), wherein useridfRepresent the id of f visitor, itemidfRepresent the id of the commodity of the f visitor's purchase;
Different records in set RecordSet are carried out cartesian product operation according to userid, form new set NewRecordSet={nr by step 5-21, nr2..., nrg..., nrs, wherein 1≤g≤s, s is new purchaser record bar number, and the g purchaser record nrgFor being expressed as nrg=(num1, num2..., numb..., numt), wherein numbRepresent in interim Recommendations list ItemList, whether the b commodity is bought, and t represents the commodity number in interim Recommendations list ItemList, numbValue is 1 or 0, numbRepresent that equal to 1 these commodity are purchased, numbRepresent that equal to 0 these commodity are not purchased;
Step 5-3, implements Apriori Frequent Itemsets Mining Algorithm to set NewRecordSet and obtains the commodity being likely to simultaneously be bought.
The groundwork of Apriori Frequent Itemsets Mining Algorithm is on a data set, finds out the item collection meeting certain frequently degree.Frequent degree in the present invention refers to that different commodity often frequently occur on the degree of same purchaser record together.The present invention uses this algorithm to carry out in set of computations NewRecordSet the frequent degree between different commodity, obtains, with this, the commodity set that is likely to simultaneously buy.The results set calculated is expressed as RelationSet={re1, re2..., reo..., reu, wherein 1≤e≤u, u is the bar number of relation, each record re in setoIt is expressed as: reo=(numO, 1, numO, 2..., numO, u..., numo,t), wherein numo,uCalculated by Apriori Frequent Itemsets Mining Algorithm, if commodity o and commodity u is likely to be bought simultaneously, then corresponding numo,uIt is 1, is otherwise 0.
Step 6 comprises the steps:
Step 6-1, travel through interim Recommendations list ItemList, if starting point index=1 to be visited, terminal endj=q to be visited, interim Recommendations list ItemList is divided into two parts that quantity is equal, interim Recommendations list ItemList is traveled through from high to low according to commercial product recommending weight, if these commodity occur on a record in set of relationship RelationSet, then other commodity in this record are adjusted the first half of interim Recommendations list ItemList, if namely other commodity are at the first half of ItemList, its position remains unchanged, otherwise these other commodity are put into forward from endj, and endj is deducted the commodity number put into;
Step 6-2, repeats step 6-1 until index is equal to endj, finally using front q the commodity of interim Recommendations list ItemList as final commercial product recommending list.
Embodiment
The present embodiment employs some scene data of A city and tests.The id of visitor B is it is known that set and finally to recommend altogether 12 commodity, i.e. q=12, and it is available that this sight spot one has 100 commodity, ItemSet={item1, item2..., item100, itemi=(itemidi, classi, salesvolumei, clicknumi, weighti)。
First each commodity being calculated and click conversion ratio: if salesvolume is 0, corresponding weight is the minimum positive number of Double type;Otherwise,Then the weight of these commodity is initialized as weighti=salesvolumei*clickconvratei
Secondly inquire about this visitor's historical record according to the id of visitor B and constitute set ItemHistorySet={h1, h2..., ha..., hm, wherein haRepresent a article record ha=(classa, feela).For each ha, all commodity are found out the commodity equal with the class field of this record in this sight spot, as similar commodity, the feel according to this recordaField updates the weight of similar commodity, if feelaEqual to 1, the weight of these similar commoditygDeduct 1, if feelaEqual to 3, the weight of these similar commoditygPlus 1, if feelaEqual to 4, the weight of these similar commoditygPlus 2.
Then tourist information be expressed as userinfo=(userid, age, gender, class1num, class2num ...), adopt k nearest neighbor algorithm to calculate and most like 50 visitors of visitor B, the id recording them is SimilarUser={id1, id2..., id50, to each similar visitor, inquire about this visitor about the historical record of commodity in ItemSet, update the weight of these all commodity further according to the feel field of every inventory records.
Then ItemSet is carried out heapsort and finds out 24 commodity formation items list ItemList that now weight is maximum, and the element of ItemList is also by the high to Low sequence of weight.
Followed by the record that each commodity in inquiry ItemList are bought by certain user, form set RecordSet=RecordSet={r1, r2..., rf..., rr, and rf=(useridf, itemidf).The userid field of different elements therein is done cartesian product operation, forms new set NewRecordSet={nr1, nr2..., nrg..., nrs}.Again NewRecordSet is implemented Apriori algorithm and obtain the commodity being likely to simultaneously be bought, obtain set RelationSet={re1, re2..., reo..., reu, and reo=(numo,1,numo,2,…,numo,u..., numO, t)。
Finally make index=1, endj=12, from the beginning travel through ItemList, each index=index+1, if certain commodity occurs in reindexIn, but there are other commodity at reindexIn and do not appear in front 12 commodity, then these commodity are put into forward from endj successively in ItemList, endj deducts the commodity number put into, steps be repeated alternatively until index equal to endj time stop.Then front 12 commodity in ItemList are recommended as recommendation list.
The invention provides the Method of Commodity Recommendation supporting O2O application under " the Internet+tourism " environment; the method and the approach that implement this technical scheme are a lot; the above is only the preferred embodiment of the present invention; should be understood that; for those skilled in the art; under the premise without departing from the principles of the invention, it is also possible to make some improvements and modifications, these improvements and modifications also should be regarded as protection scope of the present invention.The all available prior art of each ingredient not clear and definite in the present embodiment is realized.

Claims (7)

1. under " the Internet+tourism " environment, support the Method of Commodity Recommendation of O2O application, it is characterised in that: comprise the following steps:
Step 1, according to the sight spot being about to visit that visitor selects, obtains, by scenery spot query data base, all commodity that this sight spot is commercially available, and carries out recommending weights initialisation according to click conversion ratio and historical sales to each commodity;
Step 2, inquires about the inventory records browsing, buy, collect and not liking that this visitor is conventional, uses content-based recommendation algorithm to update the recommendation weight of all commodity in this sight spot;
Step 3, adopts the Collaborative Filtering Recommendation Algorithm based on user to update commercial product recommending weight, namely first uses k nearest neighbor algorithm, finds the user similar to this visitor, then updates the recommendation weight of all commodity in this sight spot according to the hobby of these users;
All commodity at this sight spot are carried out heapsort according to recommendation weight, select and recommend a number of commodity that weight is the highest to form interim Recommendations list by step 4 from high to low;
Step 5, inquires about the record that the different commodity at this sight spot are bought by same user simultaneously, adopts Apriori Frequent Itemsets Mining Algorithm, calculate the commodity set being likely to be bought together;
Step 6, interim Recommendations list is divided into two parts that quantity is equal, interim Recommendations list is traveled through from high to low by commercial product recommending weight, for each commodity, if its commodity purchased possibly together are not in the first half of interim Recommendations list, then the commodity that this is purchased possibly together are adjusted the first half of interim Recommendations list, finally using the first half of interim Recommendations list as final Recommendations list.
2. support the Method of Commodity Recommendation of O2O application under " the Internet+tourism " environment according to claim 1, it is characterised in that in step 1, the set ItemSet of all commodity is expressed as ItemSet={item1, item2..., itemi..., itemn, wherein itemiRepresenting i-th commodity, 1≤i≤n, n represents total number of commodity, item in commodity seti=(itemidi, classi, salesvolumei, clicknumi, weighti), wherein itemidiRepresent id, the class of i-th commodityiRepresent the classification of i-th commodity, salesvolumeiRepresent i-th commodity sales volume up to now, clicknumiRepresent the number of visits of i-th commodity, weightiRepresent the recommendation weight of i-th commodity;
Carry out as follows recommending weights initialisation:
Step 1-1, calculates the click conversion ratio clickconvrate of i-th commodity by equation belowi:
clickconvrate i = salesvolume i clicknum i , ;
Step 1-2, by the equation below recommendation weight weight to i-th commodityiInitialize:
weighti=salesvolumei*clickconvratei
3. support the Method of Commodity Recommendation of O2O application under " the Internet+tourism " environment according to claim 2, it is characterised in that step 2 comprises the steps:
Step 2-1, inquires about the inventory records set ItemHistorySet={h browsing, buy, collect and not liking of this visitor1, h2..., ha..., hm, m represents total number of inventory records, wherein haRepresenting a article inventory records, 1≤a≤m, each inventory records is expressed as ha=(classa, feela), wherein classa represents the classification of a commodity, feelaRepresent this visitor's fancy grade to a commodity, feelaValue set be that { 1,2,3,4}, correspondence does not like, browses, collects and buys respectively;
Step 2-2, travels through each inventory records h in the inventory records set of this visitora, all commodity are found out the commodity identical with the merchandise classification of this inventory records in this sight spot, as similar commodity, the then feel according to this inventory recordsaField updates the recommendation weight of similar commodity: if feelaEqual to 1, the recommendation weight weight of these similar commoditygDeduct 1,1≤g≤Numa, NumaRepresent and commodity haSimilar commodity amount;If feelaEqual to 3, the recommendation weight weight of these similar commoditygPlus 1;If feelaEqual to 4, the recommendation weight weight of these similar commoditygPlus 2, thus obtain the commercial product recommending weight after first time renewal.
4. support the Method of Commodity Recommendation of O2O application under " the Internet+tourism " environment according to claim 3, it is characterised in that step 3 comprises the steps:
Step 3-1, the information userinfo of visitor is expressed as:
Userinfo=(userid, age, gender, class1num, class2num ...),
Wherein userid represents that visitor id, age represent that age, gender represent that sex, class1num represent the quantity purchase of the 1st class commodity, and class2num represents the quantity purchase of the 2nd class commodity;Adopt k nearest neighbor algorithm, find out k the neighbours closest with this visitor, as k most like visitor;
Step 3-2, inquires about this k the similar visitor historical record to all commodity at this sight spot, and the c log is shown as item_historyc=(classc, feelc), wherein classcRepresenting the classification of c commodity, the upper limit of c is the sum of historical record, feelcRepresent this visitor's fancy grade to c commodity, feelcValue set be that { 1,2,3,4}, correspondence does not like, browses, collects and buys respectively;
With class in lookup inventory records set ItemHistorySetcThe commodity that field is equal, as similar commodity, the feel according to every recordcField updates the recommendation weight of similar commodity: if feelcEqual to 1, by the weight weight of described commodityhDeduct 1,1≤h≤Numc, NumcRepresent and classcThe quantity of the commodity that field is equal;If feelcEqual to 3, by the weight weight of described commodityhPlus 1;If feelcEqual to 4, by the weight weight of described commodityhPlus 2, thus obtain the commercial product recommending weight after second time updates.
5. under " the Internet+tourism " environment according to claim 4, support the Method of Commodity Recommendation of O2O application, it is characterized in that, in step 4,2q the commodity that heapsort obtains weight maximum are adopted to form orderly interim Recommendations list ItemList, wherein q is the number of consequently recommended commodity, specifically includes following steps:
Step 4-1, initializes empty interim Recommendations list ItemList, reconstructs according to the advowson of all commodity at this sight spot and builds a most raft, and the heap top element in most raft is commodity;
Step 4-2, the heap top element every time taking out most raft is saved in interim Recommendations list ItemList afterbody, and last element of heap is put into heap top, readjusts and forms it into new most raft;
Step 4-3, repeats step 4-2, until having 2q heap top element or heap in interim Recommendations list ItemList is sky.
6. under " the Internet+tourism " environment according to claim 5, support the Method of Commodity Recommendation of O2O application, it is characterized in that, in step 5, if interim Recommendations list ItemList is only less than q element, then directly using the commodity in ItemList as recommendation results, otherwise perform following steps:
Step 5-1, inquires about the record that in interim Recommendations list ItemList, each commodity are bought by user, forms set RecordSet={r1, r2..., rf..., rr, wherein 1≤f≤r, r is purchaser record bar number, and the f article purchaser record rf=(useridf, itemidf), wherein useridfRepresent the id of f visitor, itemidfRepresent the id of the commodity of the f visitor's purchase;
Different records in set RecordSet are carried out cartesian product operation according to userid, form new set NewRecordSet={nr by step 5-21, nr2..., nrg..., nrs, wherein 1≤g≤s, s is new purchaser record bar number, and the g purchaser record nrgFor being expressed as nrg=(num1, num2..., numb..., numt), wherein numbRepresent in interim Recommendations list ItemList, whether the b commodity is bought, and t represents the commodity number in interim Recommendations list ItemList, numbValue is 1 or 0, numbRepresent that equal to 1 these commodity are purchased, numbRepresent that equal to 0 these commodity are not purchased;
Step 5-3, implements Apriori Frequent Itemsets Mining Algorithm to set NewRecordSet and obtains the commodity being likely to simultaneously be bought, and the results set calculated is expressed as RelationSet={re1, re2..., reo..., reu, wherein 1≤e≤u, u is the bar number of relation, each record re in setoIt is expressed as:
reo=(numO, 1, numO, 2..., numO, u..., numO, t),
Wherein numO, uIt is calculated by Apriori Frequent Itemsets Mining Algorithm to obtain, if commodity o and commodity u is likely to be bought simultaneously, then corresponding numO, uIt is 1, is otherwise 0.
7. support the Method of Commodity Recommendation of O2O application under " the Internet+tourism " environment according to claim 6, it is characterised in that step 6 comprises the steps:
Step 6-1, travel through interim Recommendations list ItemList, if starting point index=1 to be visited, terminal endj=q to be visited, interim Recommendations list ItemList is divided into two parts that quantity is equal, interim Recommendations list ItemList is traveled through from high to low according to commercial product recommending weight, if these commodity occur on a record in set of relationship RelationSet, then other commodity in this record are adjusted the first half of interim Recommendations list ItemList, if namely other commodity are at the first half of ItemList, its position remains unchanged, otherwise these other commodity are put into forward from endj, and endj is deducted the commodity number put into;
Step 6-2, repeats step 6-1 until index is equal to endj, finally using front q the commodity of interim Recommendations list ItemList as final commercial product recommending list.
CN201610113832.3A 2016-02-29 2016-02-29 Commodity recommendation method compatible with O2O applications in internet plus tourism environment Pending CN105809475A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610113832.3A CN105809475A (en) 2016-02-29 2016-02-29 Commodity recommendation method compatible with O2O applications in internet plus tourism environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610113832.3A CN105809475A (en) 2016-02-29 2016-02-29 Commodity recommendation method compatible with O2O applications in internet plus tourism environment

Publications (1)

Publication Number Publication Date
CN105809475A true CN105809475A (en) 2016-07-27

Family

ID=56465911

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610113832.3A Pending CN105809475A (en) 2016-02-29 2016-02-29 Commodity recommendation method compatible with O2O applications in internet plus tourism environment

Country Status (1)

Country Link
CN (1) CN105809475A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106210137A (en) * 2016-08-26 2016-12-07 成都鑫原羿天科技有限责任公司 The service supplying system of visitor's individualized fit
CN106408110A (en) * 2016-08-26 2017-02-15 上海斐讯数据通信技术有限公司 Method and system for scenic spot locking
CN106485577A (en) * 2016-11-01 2017-03-08 合肥华贝信息科技有限公司 A kind of tourism platform based on ecommerce
CN107590675A (en) * 2017-07-25 2018-01-16 广州智选网络科技有限公司 A kind of recognition methods of user's Shopping Behaviors, storage facilities and mobile terminal based on big data
CN107832365A (en) * 2017-10-25 2018-03-23 携程旅游信息技术(上海)有限公司 Multiclass travel products method for pushing, device, electronic equipment, storage medium
CN108133406A (en) * 2017-12-21 2018-06-08 北京小度信息科技有限公司 Method for information display, device, electronic equipment and computer readable storage medium
CN109255586A (en) * 2018-08-24 2019-01-22 安徽讯飞智能科技有限公司 A kind of online personalized recommendation method that E-Governance Oriented is handled affairs
CN109493192A (en) * 2018-12-17 2019-03-19 广州市位讯信息科技有限责任公司 A kind of method and system of intelligent recommendation commodity
CN109582876A (en) * 2018-12-19 2019-04-05 广州易起行信息技术有限公司 Tourism industry user portrait building method, device and computer equipment
CN109685614A (en) * 2018-12-19 2019-04-26 广州易起行信息技术有限公司 Travelling products recommended method, device, computer equipment and storage medium
CN109801094A (en) * 2018-12-07 2019-05-24 珠海中科先进技术研究院有限公司 The method and system of prediction model are recommended in a kind of business analysis management
CN110287410A (en) * 2019-06-05 2019-09-27 达疆网络科技(上海)有限公司 The fusion method of a variety of proposed algorithms of user under a kind of O2O electric business scene
CN111652738A (en) * 2020-04-17 2020-09-11 世纪保众(北京)网络科技有限公司 Insurance product recommendation method based on user behavior weight
CN114449038A (en) * 2022-04-12 2022-05-06 珠海市杰理科技股份有限公司 Information pushing method and device for diversion of facilities along way
CN114997956A (en) * 2022-06-14 2022-09-02 杭州洋驼网络科技有限公司 Mother and infant product intelligent recommendation system based on big data

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567899A (en) * 2011-12-27 2012-07-11 纽海信息技术(上海)有限公司 Goods recommending method based on geographic information
CN102902691A (en) * 2011-07-28 2013-01-30 上海拉手信息技术有限公司 Recommending method and recommending system
CN103533390A (en) * 2012-11-15 2014-01-22 Tcl集团股份有限公司 Method and system for recommending television programs based on social network information
CN104252456A (en) * 2013-06-25 2014-12-31 阿里巴巴集团控股有限公司 Method, device and system for weight estimation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902691A (en) * 2011-07-28 2013-01-30 上海拉手信息技术有限公司 Recommending method and recommending system
CN102567899A (en) * 2011-12-27 2012-07-11 纽海信息技术(上海)有限公司 Goods recommending method based on geographic information
CN103533390A (en) * 2012-11-15 2014-01-22 Tcl集团股份有限公司 Method and system for recommending television programs based on social network information
CN104252456A (en) * 2013-06-25 2014-12-31 阿里巴巴集团控股有限公司 Method, device and system for weight estimation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王树西等: "基于购物倾向的商品推荐方案研究", 《集成技术》 *

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106408110A (en) * 2016-08-26 2017-02-15 上海斐讯数据通信技术有限公司 Method and system for scenic spot locking
CN106210137A (en) * 2016-08-26 2016-12-07 成都鑫原羿天科技有限责任公司 The service supplying system of visitor's individualized fit
CN106485577A (en) * 2016-11-01 2017-03-08 合肥华贝信息科技有限公司 A kind of tourism platform based on ecommerce
CN107590675A (en) * 2017-07-25 2018-01-16 广州智选网络科技有限公司 A kind of recognition methods of user's Shopping Behaviors, storage facilities and mobile terminal based on big data
CN107832365A (en) * 2017-10-25 2018-03-23 携程旅游信息技术(上海)有限公司 Multiclass travel products method for pushing, device, electronic equipment, storage medium
CN108133406A (en) * 2017-12-21 2018-06-08 北京小度信息科技有限公司 Method for information display, device, electronic equipment and computer readable storage medium
CN109255586A (en) * 2018-08-24 2019-01-22 安徽讯飞智能科技有限公司 A kind of online personalized recommendation method that E-Governance Oriented is handled affairs
CN109255586B (en) * 2018-08-24 2022-03-29 安徽讯飞智能科技有限公司 Online personalized recommendation method for e-government affairs handling
CN109801094B (en) * 2018-12-07 2021-06-08 珠海中科先进技术研究院有限公司 Method and system for business analysis management recommendation prediction model
CN109801094A (en) * 2018-12-07 2019-05-24 珠海中科先进技术研究院有限公司 The method and system of prediction model are recommended in a kind of business analysis management
CN109493192A (en) * 2018-12-17 2019-03-19 广州市位讯信息科技有限责任公司 A kind of method and system of intelligent recommendation commodity
CN109582876A (en) * 2018-12-19 2019-04-05 广州易起行信息技术有限公司 Tourism industry user portrait building method, device and computer equipment
CN109685614A (en) * 2018-12-19 2019-04-26 广州易起行信息技术有限公司 Travelling products recommended method, device, computer equipment and storage medium
CN110287410A (en) * 2019-06-05 2019-09-27 达疆网络科技(上海)有限公司 The fusion method of a variety of proposed algorithms of user under a kind of O2O electric business scene
CN111652738A (en) * 2020-04-17 2020-09-11 世纪保众(北京)网络科技有限公司 Insurance product recommendation method based on user behavior weight
CN114449038A (en) * 2022-04-12 2022-05-06 珠海市杰理科技股份有限公司 Information pushing method and device for diversion of facilities along way
CN114997956A (en) * 2022-06-14 2022-09-02 杭州洋驼网络科技有限公司 Mother and infant product intelligent recommendation system based on big data
CN114997956B (en) * 2022-06-14 2023-01-10 杭州洋驼网络科技有限公司 Mother and infant product intelligent recommendation system based on big data

Similar Documents

Publication Publication Date Title
CN105809475A (en) Commodity recommendation method compatible with O2O applications in internet plus tourism environment
US20180197209A1 (en) Advertising and fulfillment system
US7908184B2 (en) Method of providing customized information of commodity for on-line shopping mall users
US7836051B1 (en) Predictive analysis of browse activity data of users of a database access system in which items are arranged in a hierarchy
Schafer et al. Recommender systems in e-commerce
US6489968B1 (en) System and method for exposing popular categories of browse tree
TWI670660B (en) Information processing device for issuing coupons, information processing method for issuing coupons, and information processing program products for issuing coupons
US10423999B1 (en) Performing personalized category-based product sorting
US20110282821A1 (en) Further Improvements in Recommendation Systems
JP6045750B1 (en) Information processing apparatus, information processing method, and information processing program
US20070271146A1 (en) Method and apparatus for matching and/or coordinating shoes handbags and other consumer products
CN104899763A (en) Personalized recommendation method based on bilateral diffusion of bipartite network
US20120330778A1 (en) Product comparison and feature discovery
JP2013512501A (en) System, apparatus and method for using context information
US20170186065A1 (en) System and Method of Product Selection for Promotional Display
KR100762829B1 (en) Intelligent searching service system and method in accordance with the customer?s personalized shopping preference
EP2755181B1 (en) Information processing device, information processing method, information processing program, and recording medium
KR101873319B1 (en) System for providing real time advertising and event service for small business owners
US20140207620A1 (en) Systems and Methods for Taxonomy-Based Price Adjustments and Product Location
Chiang et al. An analytic hierarchy process approach to assessing consumers' distribution channel preference
JP2013210964A (en) Information providing apparatus, information processing method, program, information storage medium, and information providing system
Choi et al. Online marketplace advertising
JP2020095561A (en) Device, method, and program for processing information
JP6779965B2 (en) Information processing equipment, information processing methods, and information processing programs
KR101983704B1 (en) Method for recommending information on websites using personalization algorithm and server using the same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160727

RJ01 Rejection of invention patent application after publication