CN104967643A - Method for acquiring transferred data, and apparatus thereof - Google Patents

Method for acquiring transferred data, and apparatus thereof Download PDF

Info

Publication number
CN104967643A
CN104967643A CN201410429575.5A CN201410429575A CN104967643A CN 104967643 A CN104967643 A CN 104967643A CN 201410429575 A CN201410429575 A CN 201410429575A CN 104967643 A CN104967643 A CN 104967643A
Authority
CN
China
Prior art keywords
user
transition rule
numerical value
transferring data
rule
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
CN201410429575.5A
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410429575.5A priority Critical patent/CN104967643A/en
Publication of CN104967643A publication Critical patent/CN104967643A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a method for acquiring transferred data, and an apparatus thereof, and belongs to the Internet communication field. The method comprises acquiring the user preference degree corresponding to each transfer rule included in a first transfer rule set, wherein the user preference degree corresponding to each transfer rule is used for expressing the preference degree of the user to the transfer rule; according to the user preference degree corresponding to each transfer rule, selecting at least one transfer rule in the first transfer rule set and forming the at least one transfer rule into a second transfer rule set; and according to the second transfer rule set, the first resource value of the second user and the second resource value of the first user, acquiring the first transferred data corresponding to the first user. The apparatus comprises a first acquiring module, a selection module and a second acquiring module. The method for acquiring transferred data, and the apparatus thereof can guarantee that the transfer rules included in the second transfer rule set are the preferred transfer rules of the first user so as to guarantee that transferred data can be generated.

Description

A kind of method and device obtaining transferring data
Technical field
The present invention relates to field of Internet communication, particularly a kind of method and device obtaining transferring data.
Background technology
At present, server often processes the user resources information of first user and the second user, from the user resources information of first user, deduct the first transferring data, and is increased in the user resources information of the second user by the first transferring data of deduction.The second transferring data may be produced in above-mentioned processing procedure.
Current, prior art provides the method for a kind of generation the second transferring data, comprise: server receives the first transferring data that first user sends, from the user resources information of first user, deduct the first transferring data, and the first transferring data of deduction is increased in the user resources information of the second user.Server obtains the transition rule that the second user formulates, if the first transferring data meets the transition rule that the second user formulates, then produces the second transferring data presetting size.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem:
The transition rule that server is formulated according to the second user produces the second transferring data, and the transition rule that the second user formulates may not be the transition rule that first user is liked, first transferring data that first user so can be caused to send does not meet the transition rule that the second user formulates, and then causes producing the second transferring data.
Summary of the invention
In order to ensure that transition rule is the transition rule that first user is liked, and then guaranteeing to produce transferring data, the invention provides a kind of method and the device that obtain transferring data.Described technical scheme is as follows:
Obtain a method for transferring data, described method comprises:
Obtain the user preference degree that each transition rule that the first transition rule set comprises is corresponding, user preference degree corresponding to transition rule is for showing the preference degree of user to described transition rule;
The user preference degree corresponding according to described each transition rule, selects at least one transition rule, at least one transition rule described is formed the second transition rule set from described first transition rule set;
According to described second transition rule set, the first resource numerical value of the second user and the Secondary resource numerical value of first user, obtain the first transferring data that described first user is corresponding.
Obtain a device for transferring data, described device comprises:
First acquisition module, for obtaining user preference degree corresponding to each transition rule that the first transition rule set comprises, user preference degree corresponding to transition rule is for showing the preference degree of user to described transition rule;
Select module, for the user preference degree corresponding according to described each transition rule, from described first transition rule set, select at least one transition rule, at least one transition rule described is formed the second transition rule set;
Second acquisition module, for according to described second transition rule set, the first resource numerical value of the second user and the Secondary resource numerical value of first user, obtains the first transferring data that described first user is corresponding.
In embodiments of the present invention, obtain the user preference degree that each transition rule that the first transition rule set comprises is corresponding, user preference degree corresponding to transition rule is for showing the preference degree of user to transition rule; The user preference degree corresponding according to each transition rule, selects at least one transition rule from the first transition rule set, at least one transition rule is formed the second transition rule set; According to the first resource numerical value of the second transition rule set, the second user and the Secondary resource numerical value of first user, obtain the first transferring data that first user is corresponding.Owing to obtaining user preference degree corresponding to each transition rule that the first transition rule set comprises, and the user preference degree corresponding according to each transition rule obtains the second transition rule set, so ensure that the transition rule in the second transition rule set is all the transition rule that first user is liked, and then ensure that the transferring data that can get first user according to the second transition rule.
Accompanying drawing explanation
Fig. 1 is a kind of method flow diagram obtaining transferring data that the embodiment of the present invention 1 provides;
Fig. 2 is a kind of method flow diagram obtaining transferring data that the embodiment of the present invention 2 provides;
Fig. 3 is a kind of method flow diagram obtaining transferring data that the embodiment of the present invention 3 provides;
Fig. 4 is a kind of apparatus structure schematic diagram obtaining transferring data that the embodiment of the present invention 4 provides;
Fig. 5 is the structural representation of a kind of server that the embodiment of the present invention 5 provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment 1
See Fig. 1, embodiments provide a kind of method obtaining transferring data, comprising:
Step 101: obtain the user preference degree that each transition rule that the first transition rule set comprises is corresponding, user preference degree corresponding to transition rule is for showing the preference degree of user to transition rule;
Step 102: the user preference degree corresponding according to each transition rule, selects at least one transition rule, at least one transition rule is formed the second transition rule set from the first transition rule set;
Step 103: according to the first resource numerical value of the second transition rule set, the second user and the Secondary resource numerical value of first user, obtains the first transferring data that first user is corresponding.
Preferably, obtain the user preference degree that each transition rule that the first transition rule set comprises is corresponding, comprising:
From the mark of transition rule and the corresponding relation of user ID, count the number of user ID corresponding to each transition rule that the first transition rule set comprises respectively;
The total number of the user ID that the statistics mark of transition rule and the corresponding relation of user ID comprise;
According to number and this total number of user ID corresponding to each transition rule, calculate the user preference degree that each transition rule that the first transition rule set comprises is corresponding respectively.
Further, before obtaining user preference degree corresponding to each transition rule that the first transition rule set comprises, also comprise:
The mark of transition rule that the user that receiving terminal sends selects and the user ID of user;
The mark of transition rule select user and the user ID of user are stored in the mark of transition rule and the corresponding relation of user ID.
Preferably, according to the first resource numerical value of the second transition rule set, the second user and the Secondary resource numerical value of first user, obtain the first transferring data that first user is corresponding, comprising:
According to the second transition rule set, determine the acquisition time obtaining transferring data;
The acquisition time determined, obtains the first resource numerical value of the second user and the Secondary resource numerical value of first user;
According to the first resource numerical value of the second transition rule set, the second user and the Secondary resource numerical value of first user, calculate the first transferring data that first user is corresponding.
Further, the method also comprises:
If detect that first user sends for resource link being shared the request in social networks, then the acquisition time determined, obtain the information resources numerical value that the contact person of first user in social networks produces;
According to the information resources numerical value that the first resource numerical value of the second transition rule set, the second user, the Secondary resource numerical value of first user and contact person produce, calculate the second transferring data that first user is corresponding.
Preferably, according to the information resources numerical value that the first resource numerical value of the second transition rule set, the second user, the Secondary resource numerical value of first user and contact person produce, calculate the second transferring data that first user is corresponding, comprising:
According to the first resource numerical value of the second transition rule set, the second user and the Secondary resource numerical value of first user, calculate the first increment size of the second transferring data;
According to the information resources numerical value that the second transition rule set and contact person produce, calculate the second increment size of the second transferring data;
According to the first increment size and the second increment size, calculate the second transferring data.
In embodiments of the present invention, obtain the user preference degree that each transition rule that the first transition rule set comprises is corresponding, user preference degree corresponding to transition rule is for showing the preference degree of user to transition rule; The user preference degree corresponding according to each transition rule, selects at least one transition rule from the first transition rule set, at least one transition rule is formed the second transition rule set; According to the first resource numerical value of the second transition rule set, the second user and the Secondary resource numerical value of first user, obtain the first transferring data that first user is corresponding.Owing to obtaining user preference degree corresponding to each transition rule that the first transition rule set comprises, and the user preference degree corresponding according to each transition rule obtains the second transition rule set, so ensure that the transition rule in the second transition rule set is all the transition rule that first user is liked, and then ensure that the transferring data that can get first user according to the second transition rule.
Embodiment 2
Embodiments provide a kind of method obtaining transferring data.
At present, second user provides resource frequently by network to first user, when the resource that first user is provided by Network Capture second user, server needs the user resources information processing first user and the second user, transferring data may be produced herein in reason process, the method that now server can be provided by the embodiment of the present invention obtains the transferring data of generation, is then transferred in the user resources information of first user by the transferring data of acquisition.
See Fig. 2, the method specifically comprises:
Step 201: the mark of transition rule that the user that receiving terminal sends selects and the user ID of this user;
Wherein, transition rule is the rule for determining transferring data.Second user can formulate multiple transition rule, also the mode such as questionnaire can obtain the transition rule that first user formulates by inquiry.Second user by formulate multiple transition rule and acquisition first user formulate transition rule form the first transition rule set, first transition rule set is published on server, after first user logon server, the first transition rule set can be checked and from the first transition rule set, select one or more transition rules of liking.
Wherein, the transition rule that the first transition rule set comprises can be divided into different regular classifications, such as, be divided into time rule, total amount rule and user policy etc.Each regular classification comprises at least one transition rule.The transition rule that time rule comprises is for showing scope and obtain the acquisition time of transferring data movable effective time, the transition rule that total amount rule comprises is for calculating the increment size of the transferring data due to total amount generation, the transition rule that user policy comprises is for calculating the increment size of the transferring data due to user's generation, such as, the transition rule that time rule comprises can for " effective time, scope was 12:00 to 12:00 on July 31 on July 1, at 12:00 acquisition on July 31 transferring data " etc., the transition rule that total amount rule comprises can for " when total amount be greater than the first default value, the increment size of the transferring data produced is the product of total amount and the first preset percentage ", the transition rule that user policy comprises can for " when resource numerical value corresponding to user be greater than the second default value, the increment size of transferring data produced is the product of resource numerical value corresponding to user and the second preset percentage ".Each selection transition rule liked each regular classification that first user can comprise from the first transition rule set.
Such as, suppose that the first transition rule set U1 comprises time rule, total amount rule and user policy three class, time rule comprises transition rule rule1 and rule2, and total amount rule comprises transition rule rule3 and rule4, and user policy comprises transition rule rule5 and rule6.Suppose that the time rule that user A likes is rule1, the total amount liked rule for rule3 and the user policy liked be rule5.Mark rule1, rule3 and rule5 of the transition rule that the user A that receiving terminal sends selects, and the user ID IM1 of user A.
Step 202: the mark of transition rule select user and the user ID of this user are stored in the mark of transition rule and the corresponding relation of user ID;
Such as, by mark rule1, rule3 and rule5 of the transition rule that user A selects, and the user ID IM1 of user A is stored in the mark of transition rule as shown in table 1 and the corresponding relation of user ID.
Table 1
The mark of transition rule User ID
Rule1, rule3 and rule5 IM1
Rule1, rule3 and rule5 IM2
Rule2, rule4 and rule6 IM3
Rule1, rule3 and rule5 IM4
…… ……
Wherein, for other users except this user, the transition rule liked can be selected from the first transition rule set, and be stored in the mark of transition rule as shown in table 1 and the corresponding relation of user ID with the user ID of other users with the mark of transition rule that other users select according to the operation of above-mentioned steps 201 and 202 by this user.
Further, a time range can be set in advance.If current time is in this time range, then the mark of transition rule that the user that receiving terminal sends selects and the user ID of this user.If current time is not in this time range, then the mark of transition rule that the user that no longer receiving terminal sends selects and the user ID of this user.And when the time lower limit that this time range comprises arrives, the operation of 203 and 204 obtains the second transition rule set as follows.Wherein, the transition rule that the second transition rule set comprises is the transition rule that user's preferences degree is the highest.
Step 203: obtain the user preference degree that each transition rule that the first transition rule set comprises is corresponding, user preference degree corresponding to transition rule is for showing the preference program of user to this transition rule;
Particularly, from the mark of transition rule and the corresponding relation of user ID, count the number of user ID corresponding to each transition rule that the first transition rule set comprises respectively.The total number of the user ID that the statistics mark of transition rule and the corresponding relation of user ID comprise.The number of user ID corresponding according to each transition rule and the total number of acquisition, calculate the user preference degree that each transition rule that the first transition rule set comprises is corresponding respectively.
Wherein, the user preference degree that each transition rule is corresponding can be calculated in the following way, be specially:
For each transition rule that the first transition rule set comprises, calculate the ratio of the number of user ID corresponding to this transition rule and the total number of acquisition, using the ratio that calculates as user preference degree corresponding to this transition rule.For other each transition rules except this transition rule that the first transition rule set comprises, with this transition rule in the manner described above, calculate the user preference degree that other each transition rules are corresponding respectively.
Such as, from the mark of transition rule as shown in table 1 and the corresponding relation of user ID, count the number of user ID corresponding to each transition rule that the first transition rule set U1 comprises respectively, the number of the user ID that transition rule rule1, rule2, rule3, rule4, rule5 and rule6 of counting are corresponding is respectively 3,1,3,1,3 and 1.The total number adding up the user ID that the mark of transition rule as shown in table 1 and the corresponding relation of user ID comprise is 4.The number 3 of user ID corresponding according to transition rule rule1 and the total number 4 of acquisition, calculating user preference degree corresponding to transition rule rule1 is 0.75.The number 1 of user ID corresponding according to transition rule rule2 and the total number 4 of acquisition, calculating user preference degree corresponding to transition rule rule2 is 0.25.The number 3 of user ID corresponding according to transition rule rule3 and the total number 4 of acquisition, calculating user preference degree corresponding to transition rule rule3 is 0.75.The number 1 of user ID corresponding according to transition rule rule4 and the total number 4 of acquisition, calculating user preference degree corresponding to transition rule rule4 is 0.25.The number 3 of user ID corresponding according to transition rule rule5 and the total number 4 of acquisition, calculating user preference degree corresponding to transition rule rule5 is 0.75.The number 1 of user ID corresponding according to transition rule rule6 and the total number 4 of acquisition, calculating user preference degree corresponding to transition rule rule6 is 0.25.
Wherein, after obtaining user preference degree corresponding to each transition rule that the first transition rule set comprises by the operation of step 203, the operation of 204 obtains the second transition rule set as follows.
Step 204: the user preference degree corresponding according to each transition rule, selects at least one transition rule from the first transition rule set, and at least one transition rule selected is formed the second transition rule set;
Particularly, the user preference degree corresponding according to each transition rule in each regular classification that the first transition rule set comprises, from each regular classification, select the transition rule that user preference degree is the highest respectively, the transition rule of selection is formed the second transition rule set.
Such as, the user preference degree 0.75 corresponding according to the transition rule rule1 in the time rule that the first transition rule set U1 comprises and user preference degree 0.25 corresponding to transition rule rule2, select the transition rule rule1 that user preference degree is the highest.The user preference degree 0.75 corresponding according to the transition rule rule3 in total amount rule and user preference degree 0.25 corresponding to transition rule rule4, select the transition rule rule3 that user preference degree is the highest.The user preference degree 0.75 corresponding according to the transition rule rule5 in user policy and user preference degree 0.25 corresponding to transition rule rule6, select the transition rule rule5 that user preference degree is the highest.Transition rule rule1, rule3 and rule5 of selection are formed the second transition rule set U2.
Wherein, after obtaining the second transition rule set by the operation of above-mentioned steps 201-204, the operation of 205 and 206 obtains the first transferring data of first user as follows.
Step 205: according to the second transition rule set, determines the acquisition time obtaining transferring data;
Particularly, from the second transition rule set, acquisition time rule, determines according to the time rule obtained the acquisition time obtaining transferring data.
Such as, second transition rule set U2 comprises time rule rule1, total amount rule rule3 and user policy rule5, suppose that time rule rule1 is for " effective time, scope was 12:00 to 12:00 on July 31 on July 1, the transferring data 12:00 acquisition on July 31 user ".Then according to time rule rule1, acquisition time rule rule1 from the second transition rule set U2, determines that the acquisition time obtaining transferring data is 12:00 on July 31.
Step 206: the acquisition time determined, obtains the first resource numerical value of the second user and the Secondary resource numerical value of first user;
Wherein, first resource numerical value is the resource numerical value accumulated in the user resources information of the second user within the effective time that time rule specifies.In the user resources information that Secondary resource numerical value is first user within the scope of effective time of specifying at time rule because obtaining the resource that the second user provides the resource numerical value reduced.
This step is specially, at the time upper limit of scope time rule specifies effective time, and the first numerical value that the user resources information obtaining the second user comprises.The acquisition time determined, the second value that the user resources information obtaining the second user comprises.Calculate the difference between second value and the first numerical value, using the difference that the obtains first resource numerical value as the second user.Within the effective time that time rule specifies, whenever detect that first user submits to for obtaining the request of the resource that the second user provides time, obtain the third value reduced in the user resources information of first user.The acquisition time determined, calculates all third value sums obtained, using the numerical value that the calculates Secondary resource numerical value as first user.
Such as, suppose that time rule rule1 is for " effective time, scope was 12:00 to 12:00 on July 31 on July 1, the transferring data 12:00 acquisition on July 31 user ".At the time upper limit 12:00 on July 1 of the scope effective time 12:00 on July 1 that time rule rule1 specifies to 12:00 on July 31, the first numerical value that the user resources information obtaining the second user B comprises, supposes that the first numerical value obtained is 10000.The acquisition time 12:00 on July 31 determined, the second value that the user resources information obtaining the second user B comprises, supposes that the second numeral obtained is 30000.The difference calculated between second value 30000 and the first numerical value 10000 is 20000, using the difference 20000 that the obtains first resource numerical value as the second user B.In the scope effective time 12:00 on July 1 that time rule rule1 specifies to July 31 12:00, whenever detect that first user A submits to for obtaining the request of the resource that the second user B provides time, the third value reduced in the user resources information of acquisition first user A, supposes within effective time, get two third values and the third value obtained is 100 and 300.The acquisition time 12:00 on July 31 determined, calculating third value 100 and 300 sum obtained is 400, using the numerical value 400 that the calculates Secondary resource numerical value as first user A.
Step 207: according to the first resource numerical value of the second transition rule set, the second user and the Secondary resource numerical value of first user, calculates the first transferring data that first user is corresponding;
Particularly, the total amount rule comprised according to the second transition rule set and the first resource numerical value of the second user, calculate the 3rd increment size of the first transferring data corresponding to first user.The user policy comprised according to the second transition rule set and the Secondary resource numerical value of first user, calculate the 4th increment size of the first transferring data corresponding to first user.Calculate the 3rd increment size and the 4th increment size sum, using the numerical value that calculates as the first transferring data corresponding to first user.
Such as, suppose that total amount rule rule3 is " when the first resource numerical value of the second user is greater than 15000; the increment size of the transferring data of generation is the product of first resource numerical value and 1% ", user policy rule5 is " when the Secondary resource numerical value of first user is greater than 200, the increment size of the transferring data of generation is the product of Secondary resource numerical value and 1% ".According to the first resource numerical value 20000 of the total amount rule rule3 and the second user B that the second transition rule set U2 comprises, the 3rd increment size calculating the first transferring data corresponding to first user A is 200.The user policy rule5 comprised according to the second transition rule set U2 and the Secondary resource numerical value 400 of first user A, the 4th increment size calculating the first transferring data corresponding to first user A is 4.Calculate the 3rd increment size 200 and the 4th increment size 4 sum is 204, using the numerical value 204 that calculates as the first transferring data corresponding to first user A.
Wherein, after obtaining the first transferring data corresponding to first user by the operation of above-mentioned steps 201-207, from the user resources information of the second user, deduct the first transferring data, and the first transferring data of deduction is increased in the user resources information of first user.
Further, the first transition rule set also comprises contact rule, and the transition rule that contact rule comprises is for calculating the increment size of the transferring data produced because resource link is shared social networks by user.Such as, contact rule can be " the resource numerical value produced during the resource link Gains resources that the contact person of first user in social networks is shared by first user is greater than the 3rd default value, then the increment size of the transferring data produced is product and the 4th default value sum of this resource numerical value and the 3rd preset percentage ".Obtain the user preference degree of each transition rule that contact rule comprises equally according to the method for above-mentioned steps 201-203, and obtain the highest contact rule of user preference degree, and this contact rule is added in the second transition rule set.
Wherein, if detect that user sends for resource link being shared the request in social networks, then need the operation of as follows 208 and 209 to obtain the second transferring data corresponding to user.
Step 208: if detect that first user sends for resource link being shared the request in social networks, then the acquisition time determined, obtain the information resources numerical value that the contact person of first user in social networks produces;
Wherein, information resources numerical value is owing to obtaining the resource numerical value sum that this resource reduces in the user resources information of the contact person of all resource link Gains resources shared by first user in social networks.
This step is specially, if detect that first user sends for resource link being shared the request in social networks, then within the effective time that time rule specifies, determine that the resource link shared by first user in social networks obtains the contact person of this resource, obtain the 4th numerical value reduced in the user resources information of the contact person determined.The acquisition time determined, calculates all 4th numerical value sums obtained, using the information resources numerical value that the numerical value that calculates produces as the contact person of first user in social networks.
Such as, if detect that first user A sends for resource link URL1 being shared the request in social networks, then in the scope effective time 12:00 on July 1 that time rule rule1 specifies to July 31 12:00, determine that the resource link URL1 shared by first user A in social networks obtains the contact person of this resource, suppose that the contact people determined is contact person C and D.Obtain the 4th numerical value reduced in the user resources information of contact person C and D determined, suppose that the 4th numerical value obtained is respectively 100 and 200.The acquisition time 12:00 on July 31 determined, calculating the 4th numerical value 100 and 200 sum obtained is 300, using the information resources numerical value that the numerical value 300 that calculates produces as contact person C and D of first user A in social networks.
Step 209: the information resources numerical value produced according to the first resource numerical value of the second transition rule set, the second user, the Secondary resource numerical value of first user and contact person, calculates the second transferring data that first user is corresponding.
Particularly, the total amount rule comprised according to the second transition rule set and user policy, the first resource numerical value of the second user and the Secondary resource numerical value of first user, calculate the first increment size of the second transferring data.The information resources numerical value that the contact rule comprised according to the second transition rule set and contact person produce, calculates the second increment size of the second transferring data.According to the first increment size and the second increment size, calculate the second transferring data that first user is corresponding.
Such as, suppose that total amount rule rule3 is " when the first resource numerical value of the second user is greater than 15000; the increment size of the transferring data of generation is the product of first resource numerical value and 1% ", user policy rule5 is " when the Secondary resource numerical value of first user is greater than 200, the increment size of the transferring data of generation is the product of Secondary resource numerical value and 1% ".Contact rule rule7 for " the resource numerical value produced during the resource link Gains resources that the contact person of first user in social networks is shared by first user is greater than 200, then the increment size of the transferring data produced be this resource numerical value and 1% product and 20 sums ".According to total amount rule rule3 and user policy rule5, the first resource numerical value 20000 of the second user B and the Secondary resource numerical value 400 of first user A that the second transition rule set U2 comprises, the first increment size calculating the second transferring data is 204.The information resources numerical value 300 that the contact rule rule7 comprised according to the second transition rule set U2 and contact person produce, the second increment size calculating the second transferring data is 23.According to the first increment size 204 and the second increment size 23, the second transferring data calculating first user A corresponding is 227.
Wherein, after obtaining the second transferring data corresponding to first user by the operation of above-mentioned steps 208 and 209, from the user resources information of the second user, deduct the second transferring data, and the second transferring data of deduction is increased in the user resources information of first user.
Wherein, in embodiments of the present invention, according to the second transition rule set, part resource numerical value in the first resource numerical value of the second user is returned to first user, thus improve first user to the interest of the resource that the second user provides, first user also can be impelled simultaneously resource link to be shared with contact person in social networks, and then to attract contact person to fetch by the resource chain that first user is shared the resource that acquisition second user provides.
Wherein, the executive agent of the embodiment of the present invention can be server.For each first user of other except this user, transferring data corresponding to other each first users can be obtained with this user according to the method that the embodiment of the present invention provides.
In embodiments of the present invention, obtain the user preference degree that each transition rule that the first transition rule set comprises is corresponding, user preference degree corresponding to transition rule is for showing the preference degree of user to transition rule; The user preference degree corresponding according to each transition rule, selects at least one transition rule from the first transition rule set, at least one transition rule is formed the second transition rule set; According to the first resource numerical value of the second transition rule set, the second user and the Secondary resource numerical value of first user, obtain the first transferring data that first user is corresponding.Owing to obtaining user preference degree corresponding to each transition rule that the first transition rule set comprises, and the user preference degree corresponding according to each transition rule obtains the second transition rule set, so ensure that the transition rule in the second transition rule set is all the transition rule that first user is liked, and then ensure that the transferring data that can get first user according to the second transition rule.
Embodiment 3
Embodiments provide a kind of method obtaining transferring data.
At present, businessman provides commodity or service frequently by network to user, when the commodity that user is provided by Online Shopping businessman or service, server needs to carry out trading processing to the bank account of businessman and user, may produce in trading processing process and return Li Jine, what the method that now server can be provided by the embodiment of the present invention obtained generation returns Li Jine, is then turned back in the bank account of user by the Li Jine that returns obtained.
Wherein, in embodiments of the present invention, businessman is equivalent to the second user, and commodity or service are equivalent to resource, and businessman provides commodity or service by network to user, and namely the second user provides resource by network to first user.The bank account of server to businessman and user carries out trading processing, namely processes the user resources information of first user and the second user, and the transferring data produced in reason process is herein and returns Li Jine.
See Fig. 3, the method specifically comprises:
Step 301: what the user that receiving terminal sends selected returns the mark of profit rule and the user ID of this user;
Wherein, returning profit regular is the rule for determining to return Li Jine.In order to expand sales volume, businessman often carries out advertising campaign.When carrying out advertising campaign, businessman can formulate and multiplely return profit rule, also can by inquiry the mode such as questionnaire obtain that user formulates return profit rule.The profit rule composition first that returns that the multiple users returning profit rule and acquisition formulated formulate by businessman returns sharp regular collection, returning sharp regular collection by first is published on server, after user login services device, can check that first returns sharp rule set and merge and return sharp regular collection from first select to like one or more and return profit rule.
Wherein, first return that sharp regular collection comprises return sharp rule and can be divided into different regular classifications, be such as divided into time rule, sales volume rule and user policy etc.Each regular classification comprises at least one and returns profit rule.Profit rule that what time rule comprised return for show advertising campaign effective time scope and acquisition return the acquisition time of Li Jine, what sales volume rule comprised returns profit rule for calculating the increment size returning Li Jine because sales volume produces, what user policy comprised returns profit rule for calculating the increment size returning Li Jine because user produces, such as, what time rule comprised returns sharp rule can be that " effective time, scope was 12:00 to 12:00 on July 31 on July 1, July 31, Li Jine was returned in 12:00 acquisition " etc., what sales volume rule comprised returns sharp rule can be " when sales volume is greater than the first default value, the increment size returning Li Jine produced is the product of sales volume and the first preset percentage ", sharp rule that what user policy comprised return can for " when the purchase amount of money corresponding to user be greater than the second default value, the increment size returning Li Jine produced is the product of the purchase amount of money corresponding to user and the second preset percentage ".First user can from first return each regular classification that sharp regular collection comprises each select one to like return profit rule.
Such as, suppose first return sharp regular collection U1 comprise time rule, sales volume rule and user policy three class, time rule comprises and returns sharp regular rule1 and rule2, and sales volume rule comprises returns sharp regular rule3 and rule4, and user policy comprises and returns sharp regular rule5 and rule6.Suppose that the time rule that user A likes is rule1, the sales volume liked rule for rule3 and the user policy liked be rule5.What the user A that receiving terminal sends selected returns profit regular mark rule1, rule3 and rule5, and the user ID IM1 of user A.
Wherein, businessman by inquiry the mode such as questionnaire obtain that user formulates return profit rule, user can be made to participate in the formulation of rule, improve the participation of user, add the interest of advertising campaign simultaneously.
Step 302: the user ID of the mark and this user of returning profit rule user selected is stored in be returned in the mark of profit rule and the corresponding relation of user ID;
Such as, the mark rule1, rule3 and rule5 that return profit rule that user A is selected, and the user ID IM1 of user A is stored in as shown in table 2 returning in the mark of profit rule and the corresponding relation of user ID.
Table 2
Return the mark of profit rule User ID
Rule1, rule3 and rule5 IM1
Rule1, rule3 and rule5 IM2
Rule2, rule4 and rule6 IM3
Rule1, rule3 and rule5 IM4
…… ……
Wherein, for other users except this user, can from first return sharp regular collection select to like return profit rule, and the mark returning profit rule other users selected according to the operation of above-mentioned steps 201 and 202 with this user and the user ID of other users are stored in as shown in table 2 returning in the mark of profit rule and the corresponding relation of user ID.
Further, the time range that profit rule is returned in a collection can be set in advance.If current time is in this time range, then what the user that receiving terminal sends selected returns the mark of profit rule and the user ID of this user.If current time is not in this time range, then what the user that no longer receiving terminal sends selected returns the mark of profit rule and the user ID of this user.And when the time lower limit that this time range comprises arrives, the operation of 303 and 304 obtains second and returns sharp regular collection as follows.Wherein, second return that sharp regular collection comprises return profit rule for user's preferences degree the highest return profit rule.
Step 303: each user preference degree returning profit rule correspondence that sharp regular collection comprises is returned in acquisition first, returns the regular corresponding user preference degree of profit for showing that user returns the regular preference program of profit to this;
Particularly, from the corresponding relation of mark and user ID returning profit rule, count first respectively and return each number returning the user ID of profit rule correspondence that sharp regular collection comprises.The total number of the user ID that the corresponding relation that statistics returns the regular mark of profit and user ID comprises.Return the regular corresponding number of user ID of profit and the total number of acquisition according to each, each user preference degree returning profit rule correspondence that sharp regular collection comprises is returned in calculating first respectively.
Wherein, each user preference degree returning profit rule correspondence can be calculated in the following way, be specially:
Return for first each that sharp regular collection comprises and return profit rule, calculate the ratio that this returns the number of user ID corresponding to profit rule and the total number of acquisition, the ratio of calculating is returned the user preference degree of profit rule correspondence as this.Return profit rule for the first other except this returns sharp rule returning that sharp regular collection comprises are each, return sharp rule in the manner described above with this, calculate other respectively and eachly return user preference degree corresponding to profit rule.
Such as, return the mark of profit rule and the corresponding relation of user ID from as shown in table 2, count first respectively and return each number returning user ID corresponding to profit rule that sharp regular collection U1 comprises, the number returning user ID corresponding to sharp regular rule1, rule2, rule3, rule4, rule5 and rule6 of statistics is respectively 3,1,3,1,3 and 1.The total number of the user ID that the corresponding relation adding up the as shown in table 2 mark and user ID of returning profit rule comprises is 4.According to the number 3 returning user ID corresponding to sharp regular rule1 and the total number 4 obtained, calculating and returning user preference degree corresponding to sharp regular rule1 is 0.75.According to the number 1 returning user ID corresponding to sharp regular rule2 and the total number 4 obtained, calculating and returning user preference degree corresponding to sharp regular rule2 is 0.25.According to the number 3 returning user ID corresponding to sharp regular rule3 and the total number 4 obtained, calculating and returning user preference degree corresponding to sharp regular rule3 is 0.75.According to the number 1 returning user ID corresponding to sharp regular rule4 and the total number 4 obtained, calculating and returning user preference degree corresponding to sharp regular rule4 is 0.25.According to the number 3 returning user ID corresponding to sharp regular rule5 and the total number 4 obtained, calculating and returning user preference degree corresponding to sharp regular rule5 is 0.75.According to the number 1 returning user ID corresponding to sharp regular rule6 and the total number 4 obtained, calculating and returning user preference degree corresponding to sharp regular rule6 is 0.25.
Wherein, what user selected oneself to like returns profit rule, and voted by the sharp rule of returning that network is liked oneself, server, by the ballot situation of the operation note user of above-mentioned steps 301 and 302, then obtains each user preference degree returning profit rule by the operation of above-mentioned steps 303 according to the ballot situation of user.
Wherein, by the operation of step 303 obtain first return that sharp regular collection comprises each return user preference degree corresponding to profit rule after, the operation of 304 obtains second and returns sharp regular collection as follows.
Step 304: return user preference degree corresponding to profit rule according to each, returns sharp regular collection from first and selects at least one to return profit rule, at least one selection is returned profit rule composition second and return sharp regular collection;
Particularly, according to first, to return in each regular classification that sharp regular collection comprises each returns user preference degree corresponding to profit rule, select from each regular classification respectively user preference degree the highest return profit rule, the profit rule composition that returns selected second is returned sharp regular collection.
Such as, return returning user preference degree corresponding to sharp regular rule1 0.75 and returning user preference degree 0.25 corresponding to sharp regular rule2 in the time rule that sharp regular collection U1 comprises according to first, select user preference degree the highest return sharp regular rule1.According to returning user preference degree corresponding to sharp regular rule3 0.75 and returning user preference degree 0.25 corresponding to sharp regular rule4 in sales volume rule, what selection user preference degree was the highest returns sharp regular rule3.According to returning user preference degree corresponding to sharp regular rule5 0.75 and returning user preference degree 0.25 corresponding to sharp regular rule6 in user policy, what selection user preference degree was the highest returns sharp regular rule5.Sharp regular rule1, rule3 and rule5 composition second that returns selected is returned sharp regular collection U2.
Wherein, after returning sharp regular collection by the operation acquisition second of above-mentioned steps 301-304, the operation of 305 and 306 obtains first of first user and returns Li Jine as follows.
Step 305: return sharp regular collection according to second, determines to obtain the acquisition time returning Li Jine;
Particularly, return acquisition time rule sharp regular collection from second, the time rule according to obtaining determines to obtain the acquisition time returning Li Jine.
Such as, second returns sharp regular collection U2 comprises time rule rule1, sales volume rule rule3 and user policy rule5, suppose time rule rule1 for " effective time, scope was 12:00 to 12:00 on July 31 on July 1, July 31 12:00 obtain user return Li Jine ".Then return acquisition time rule rule1 sharp regular collection U2 from second, determining to obtain according to time rule rule1 the acquisition time returning Li Jine is 12:00 on July 31.
Step 306: the acquisition time determined, obtains the sales volume of businessman and the purchase amount of money of user;
Wherein, sales volume is the amount of money accumulated in the bank account of businessman within the effective time that time rule specifies.The commodity or service that there is provided because of purchase businessman in the bank account that the amount of money is user within the scope of effective time of specify at time rule and the amount of money reduced are provided.
This step is specially, and at the time upper limit of scope time rule specifies effective time, obtains first amount of money in the bank account of businessman.The acquisition time determined, obtains second amount of money in the bank account of businessman.Calculate the difference between second amount of money and first amount of money, using the difference that the obtains sales volume as businessman.Within the effective time that time rule specifies, whenever detect that user submits to for buying the order request of commodity that the second user provides or service time, obtain the 3rd amount of money reduced in the bank account of user.The acquisition time determined, calculates all 3rd amount of money sums obtained, using the numerical value that the calculates purchase amount of money as user.
Such as, suppose time rule rule1 for " effective time, scope was 12:00 to 12:00 on July 31 on July 1, July 31 12:00 obtain user return Li Jine ".At the time upper limit 12:00 on July 1 of the scope effective time 12:00 on July 1 that time rule rule1 specifies to 12:00 on July 31, first amount of money that the bank account obtaining businessman B comprises, supposes that first amount of money obtained is 10000 yuan.The acquisition time 12:00 on July 31 determined, second amount of money that the bank account obtaining businessman B comprises, supposes that second amount of money obtained is 30000 yuan.The difference calculated between second amount of money 30000 yuan and first amount of money 10000 yuan is 20000 yuan, using the difference 20000 yuan of sales volumes as businessman B obtained.In the scope effective time 12:00 on July 1 that time rule rule1 specifies to July 31 12:00, whenever detect that user A submits to for obtaining the order request of commodity that businessman B provides or service time, the 3rd amount of money reduced in the bank account of acquisition user A, supposes within effective time, get two the 3rd amount of money and the 3rd amount of money obtained is 100 yuan and 300 yuan.The acquisition time 12:00 on July 31 determined, calculates the 3rd amount of money 100 yuan that obtains and 300 yuan of sums are 400 yuan, using the numerical value 400 yuan that the calculates purchase amount of money as user A.
Step 307: return sharp regular collection, the sales volume of businessman and the purchase amount of money of user according to second, calculate user corresponding first return Li Jine;
Particularly, return the sales volume of sales volume rule that sharp regular collection comprises and businessman according to second, the first the 3rd increment size returning Li Jine that calculating user is corresponding.Return the purchase amount of money of user policy that sharp regular collection comprises and user according to second, calculate the first the 4th increment size returning Li Jine that user is corresponding.Calculate the 3rd increment size and the 4th increment size sum, using the numerical value calculated as user corresponding first return Li Jine.
Such as, suppose that sales volume rule rule3 is " when the sales volume of businessman is greater than 15000 yuan; the increment size returning Li Jine of generation is the product of sales volume and 1% ", user policy rule5 is " when the purchase amount of money of user is greater than 200 yuan, the increment size returning Li Jine of generation is the product buying the amount of money and 1% ".Return the sales volume 20000 yuan of the sales volume rule rule3 and businessman B that sharp regular collection U2 comprises according to second, the first the 3rd increment size returning Li Jine calculating user A corresponding is 200 yuan.Return the purchase amount of money 400 yuan of user policy rule5 that sharp regular collection U2 comprises and user A according to second, the first the 4th increment size returning Li Jine calculating user A corresponding is 4 yuan.Calculate the 3rd increment size 200 yuan and the 4th increment size 4 yuan of sums are 204 yuan, using the numerical value 204 yuan calculated as user A corresponding first return Li Jine.
Wherein, by the operation of above-mentioned steps 301-307 obtain user corresponding first return Li Jine after, from the bank account of businessman, deduct first return Li Jine, and return Li Jine by first of deduction and be increased in the bank account of user.
Further, in order to the participation of adding users, and draw together large marketing dynamics, businessman can encourage user to share in social networks by the link of commodity or service, and the user sharing link is rewarded, if the contact person of user in social networks have purchased these commodity or service by the link that user shares, then strengthen the learning rate to this user.
Wherein, first returns sharp regular collection also comprises contact rule, and what contact rule comprised returns profit rule for calculating the increment size returning Li Jine produced because goods links is shared social networks by user.Such as, contact rule can be " the purchase amount of money produced when the contact person of user in social networks buys these commodity by the goods links that user shares is greater than the 3rd default value, then the increment size returning Li Jine produced is product and the 4th default value sum of this purchase amount of money and the 3rd preset percentage ".Equally obtain according to the method for above-mentioned steps 301-303 each user preference degree returning profit rule that contact rule comprises, and obtain the highest contact rule of user preference degree, and add this contact rule to second and return in sharp regular collection.
Wherein, if detect that user sends share request for being shared by goods links in social networks, then need the operation of as follows 308 and 309 to obtain user corresponding second return Li Jine.
Step 308: if detect that user sends share request, then the acquisition time determined for being shared by goods links in social networks, obtain the purchase amount of money that the contact person of user in social networks produces;
Wherein, the purchase amount of money that contact person produces is that all goods links shared by user are bought in the bank account of the contact person of these commodity owing to buying the amount of money sum that these commodity reduce in social networks.
This step is specially, if what detect that user sends shares request for being shared by goods links in social networks, then within the effective time that time rule specifies, determine that the goods links shared by user in social networks buys the contact person of these commodity, obtain the 4th amount of money reduced in the bank account of the contact person determined.The acquisition time determined, calculates all 4th amount of money sums obtained, using the purchase amount of money that the numerical value that calculates produces as the contact person of user in social networks.
Such as, if what detect that user A sends shares request for being shared by goods links URL1 in social networks, then in the scope effective time 12:00 on July 1 that time rule rule1 specifies to July 31 12:00, determine that the goods links URL1 shared by user A in social networks buys the contact person of these commodity, suppose that the contact people determined is contact person C and D.Obtain the 4th amount of money reduced in the bank account of contact person C and D determined, suppose that the 4th amount of money obtained is respectively 100 yuan and 200 yuan.The acquisition time 12:00 on July 31 determined, calculates the 4th amount of money 100 yuan that obtains and 200 yuan of sums are 300 yuan, using the numerical value 300 yuan that the calculates purchase amount of money as contact person C and the D generation of user A in social networks.
Step 309: according to the purchase amount of money second returning sharp regular collection, the sales volume of businessman, the purchase amount of money of user and contact person produce, calculate user corresponding second return Li Jine.
Particularly, return according to second the sales volume rule and user policy, the sales volume of businessman and the purchase amount of money of user that sharp regular collection comprises, calculate the first increment size that second returns Li Jine.Return contact rule that sharp regular collection comprises and the purchase amount of money that contact person produces according to second, calculate the second increment size that second returns Li Jine.According to the first increment size and the second increment size, calculate user corresponding second return Li Jine.
Such as, suppose that sales volume rule rule3 is " when the sales volume of businessman is greater than 15000 yuan; the increment size returning Li Jine of generation is the product of sales volume and 1% ", user policy rule5 is " when the purchase amount of money of user is greater than 200 yuan, the increment size returning Li Jine of generation is the product buying the amount of money and 1% ".Contact rule rule7 for " the purchase amount of money produced when the goods links that the contact person of user in social networks is shared by user buys commodity is greater than 200 yuan, then the increment size returning Li Jine produced be this purchase amount of money and 1% product and 20 sums ".Return according to second sales volume rule rule3 and user policy rule5, the sales volume 20000 yuan of businessman B and the purchase amount of money 400 yuan of user A that sharp regular collection U2 comprises, calculating the second the first increment size returning Li Jine is 204 yuan.Return contact rule rule7 that sharp regular collection U2 comprises and the purchase amount of money 300 yuan that contact person produces according to second, calculating the second the second increment size returning Li Jine is 23 yuan.According to the first increment size 204 yuan and the second increment size 23 yuan, calculate user A corresponding second to return Li Jine be 227 yuan.
Wherein, by the operation of above-mentioned steps 308 and 309 obtain user corresponding second return Li Jine after, from the bank account of businessman, deduct second return Li Jine, and return Li Jine by second of deduction and be increased in the bank account of user.
Wherein, in embodiments of the present invention, sharp regular collection is returned according to second, partial amount in the sales volume of businessman is returned to user, thus improve the interest of commodity that user provides businessman or service, user also can be impelled simultaneously goods links to be shared with contact person in social networks, and then to attract contact person to buy by the goods links that user shares the commodity or service that businessman provides.
Wherein, the executive agent of the embodiment of the present invention can be server.For other each users except this user buying the commodity that provide of businessman or service, can with this user according to the method that the embodiment of the present invention provides obtain other each users corresponding return Li Jine.
In embodiments of the present invention, each user preference degree returning profit rule correspondence that sharp regular collection comprises is returned in acquisition first, returns the regular corresponding user preference degree of profit for showing that user is to returning the regular preference degree of profit; Return user preference degree corresponding to profit rule according to each, return sharp regular collection from first and select at least one to return profit rule, at least one is returned profit rule composition second and return sharp regular collection; Return sharp regular collection, the sales volume of businessman and the purchase amount of money of user according to second, obtain user corresponding first return Li Jine.Return each that sharp regular collection comprises return user preference degree corresponding to profit rule owing to obtaining first, and obtain second return sharp regular collection according to each user preference degree corresponding to profit rule that return, so ensure that second return in sharp regular collection return profit rule be all user like to return profit regular, and then ensure that according to second return that sharp rule can get user return Li Jine.
Embodiment 4
See Fig. 4, embodiments provide a kind of device obtaining transferring data, comprising:
First acquisition module 401, for obtaining user preference degree corresponding to each transition rule that the first transition rule set comprises, user preference degree corresponding to transition rule is for showing the preference degree of user to transition rule;
Select module 402, for the user preference degree corresponding according to each transition rule, from the first transition rule set, select at least one transition rule, at least one transition rule is formed the second transition rule set;
Second acquisition module 403, for according to the first resource numerical value of the second transition rule set, the second user and the Secondary resource numerical value of first user, obtains the first transferring data that first user is corresponding.
Wherein, the first acquisition module 401 comprises:
First statistic unit, for from the mark of transition rule and the corresponding relation of user ID, counts the number of user ID corresponding to each transition rule that the first transition rule set comprises respectively;
Second statistic unit, the total number of the user ID that the corresponding relation for the mark and user ID of adding up transition rule comprises;
First computing unit, for according to the number of user ID corresponding to each transition rule and total number, calculates the user preference degree that each transition rule that the first transition rule set comprises is corresponding respectively.
Further, this device also comprises:
Receiver module, the mark of transition rule that the user for receiving terminal transmission selects and the user ID of user;
Memory module, is stored in the mark of transition rule and the corresponding relation of user ID for the mark of transition rule user selected and the user ID of user.
Wherein, the second acquisition module 403 comprises:
Determining unit, for according to the second transition rule set, determines the acquisition time obtaining transferring data;
Acquiring unit, for the acquisition time determined, obtains the first resource numerical value of the second user and the Secondary resource numerical value of first user;
Second computing unit, for according to the first resource numerical value of the second transition rule set, the second user and the Secondary resource numerical value of first user, calculates the first transferring data that first user is corresponding.
Further, this device also comprises:
3rd acquisition module, if for detect that first user sends for resource link being shared the request in social networks, then the acquisition time determined, obtain the information resources numerical value that the contact person of first user in social networks produces;
Computing module, for the information resources numerical value produced according to the first resource numerical value of the second transition rule set, the second user, the Secondary resource numerical value of first user and contact person, calculates the second transferring data that first user is corresponding.
Wherein, computing module comprises:
3rd computing unit, for according to the first resource numerical value of the second transition rule set, the second user and the Secondary resource numerical value of first user, calculates the first increment size of the second transferring data;
4th computing unit, for the information resources numerical value produced according to the second transition rule set and contact person, calculates the second increment size of the second transferring data;
5th computing unit, for according to the first increment size and the second increment size, calculates the second transferring data.
In embodiments of the present invention, obtain the user preference degree that each transition rule that the first transition rule set comprises is corresponding, user preference degree corresponding to transition rule is for showing the preference degree of user to transition rule; The user preference degree corresponding according to each transition rule, selects at least one transition rule from the first transition rule set, at least one transition rule is formed the second transition rule set; According to the first resource numerical value of the second transition rule set, the second user and the Secondary resource numerical value of first user, obtain the first transferring data that first user is corresponding.Owing to obtaining user preference degree corresponding to each transition rule that the first transition rule set comprises, and the user preference degree corresponding according to each transition rule obtains the second transition rule set, so ensure that the transition rule in the second transition rule set is all the transition rule that first user is liked, and then ensure that the transferring data that can get first user according to the second transition rule.
Embodiment 5
Fig. 5 is the structural representation of the server that the embodiment of the present invention provides.This server 1900 can produce larger difference because of configuration or performance difference, one or more central processing units (centralprocessing units can be comprised, CPU) 1922 (such as, one or more processors) and memory 1932, one or more store the storage medium 1930 (such as one or more mass memory units) of application program 1942 or data 1944.Wherein, memory 1932 and storage medium 1930 can be of short duration storages or store lastingly.The program being stored in storage medium 1930 can comprise one or more modules (diagram does not mark), and each module can comprise a series of command operatings in server.Further, central processing unit 1922 can be set to communicate with storage medium 1930, and server 1900 performs a series of command operatings in storage medium 1930.
Server 1900 can also comprise one or more power supplys 1926, one or more wired or wireless network interfaces 1950, one or more input/output interfaces 1958, one or more keyboards 1956, and/or, one or more operating systems 1941, such as Windows ServerTM, Mac OSXTM, UnixTM, LinuxTM, FreeBSDTM etc.
Server 1900 can include memory, and one or more than one program, one of them or more than one program are stored in memory, and are configured to perform described more than one or one program package containing the instruction for carrying out following operation by more than one or one processor:
Obtain the user preference degree that each transition rule that the first transition rule set comprises is corresponding, user preference degree corresponding to transition rule is for showing the preference degree of user to transition rule;
The user preference degree corresponding according to each transition rule, selects at least one transition rule from the first transition rule set, at least one transition rule is formed the second transition rule set;
According to the first resource numerical value of the second transition rule set, the second user and the Secondary resource numerical value of first user, obtain the first transferring data that first user is corresponding.
Preferably, obtain the user preference degree that each transition rule that the first transition rule set comprises is corresponding, comprising:
From the mark of transition rule and the corresponding relation of user ID, count the number of user ID corresponding to each transition rule that the first transition rule set comprises respectively;
The total number of the user ID that the statistics mark of transition rule and the corresponding relation of user ID comprise;
According to number and this total number of user ID corresponding to each transition rule, calculate the user preference degree that each transition rule that the first transition rule set comprises is corresponding respectively.
Further, before obtaining user preference degree corresponding to each transition rule that the first transition rule set comprises, also comprise:
The mark of transition rule that the user that receiving terminal sends selects and the user ID of user;
The mark of transition rule select user and the user ID of user are stored in the mark of transition rule and the corresponding relation of user ID.
Preferably, according to the first resource numerical value of the second transition rule set, the second user and the Secondary resource numerical value of first user, obtain the first transferring data that first user is corresponding, comprising:
According to the second transition rule set, determine the acquisition time obtaining transferring data;
The acquisition time determined, obtains the first resource numerical value of the second user and the Secondary resource numerical value of first user;
According to the first resource numerical value of the second transition rule set, the second user and the Secondary resource numerical value of first user, calculate the first transferring data that first user is corresponding.
Further, the method also comprises:
If detect that first user sends for resource link being shared the request in social networks, then the acquisition time determined, obtain the information resources numerical value that the contact person of first user in social networks produces;
According to the information resources numerical value that the first resource numerical value of the second transition rule set, the second user, the Secondary resource numerical value of first user and contact person produce, calculate the second transferring data that first user is corresponding.
Preferably, according to the information resources numerical value that the first resource numerical value of the second transition rule set, the second user, the Secondary resource numerical value of first user and contact person produce, calculate the second transferring data that first user is corresponding, comprising:
According to the first resource numerical value of the second transition rule set, the second user and the Secondary resource numerical value of first user, calculate the first increment size of the second transferring data;
According to the information resources numerical value that the second transition rule set and contact person produce, calculate the second increment size of the second transferring data;
According to the first increment size and the second increment size, calculate the second transferring data.
In embodiments of the present invention, obtain the user preference degree that each transition rule that the first transition rule set comprises is corresponding, user preference degree corresponding to transition rule is for showing the preference degree of user to transition rule; The user preference degree corresponding according to each transition rule, selects at least one transition rule from the first transition rule set, at least one transition rule is formed the second transition rule set; According to the first resource numerical value of the second transition rule set, the second user and the Secondary resource numerical value of first user, obtain the first transferring data that first user is corresponding.Owing to obtaining user preference degree corresponding to each transition rule that the first transition rule set comprises, and the user preference degree corresponding according to each transition rule obtains the second transition rule set, so ensure that the transition rule in the second transition rule set is all the transition rule that first user is liked, and then ensure that the transferring data that can get first user according to the second transition rule.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (12)

1. obtain a method for transferring data, it is characterized in that, described method comprises:
Obtain the user preference degree that each transition rule that the first transition rule set comprises is corresponding, user preference degree corresponding to transition rule is for showing the preference degree of user to described transition rule;
The user preference degree corresponding according to described each transition rule, selects at least one transition rule, at least one transition rule described is formed the second transition rule set from described first transition rule set;
According to described second transition rule set, the first resource numerical value of the second user and the Secondary resource numerical value of first user, obtain the first transferring data that described first user is corresponding.
2. the method for claim 1, is characterized in that, the user preference degree that each transition rule that the set of described acquisition first transition rule comprises is corresponding, comprising:
From the mark of transition rule and the corresponding relation of user ID, count the number of user ID corresponding to each transition rule that the first transition rule set comprises respectively;
The total number of the user ID that the corresponding relation of the mark and user ID of adding up described transition rule comprises;
According to number and the described total number of user ID corresponding to described each transition rule, calculate the user preference degree that each transition rule that described first transition rule set comprises is corresponding respectively.
3. the method for claim 1, is characterized in that, before the user preference degree that each transition rule that the set of described acquisition first transition rule comprises is corresponding, also comprises:
The mark of transition rule that the user that receiving terminal sends selects and the user ID of described user;
The mark of the transition rule described user selected and the user ID of described user are stored in the mark of transition rule and the corresponding relation of user ID.
4. the method for claim 1, is characterized in that, described according to described second transition rule set, the first resource numerical value of the second user and the Secondary resource numerical value of first user, obtains the first transferring data that described first user is corresponding, comprising:
According to described second transition rule set, determine the acquisition time obtaining transferring data;
At the described acquisition time determined, obtain the first resource numerical value of the second user and the Secondary resource numerical value of first user;
According to described second transition rule set, the first resource numerical value of described second user and the Secondary resource numerical value of described first user, calculate the first transferring data that described first user is corresponding.
5. method as claimed in claim 4, it is characterized in that, described method also comprises:
If detect that described first user sends for resource link being shared the request in social networks, then at the described acquisition time determined, obtain the information resources numerical value that the contact person of described first user in described social networks produces;
According to the information resources numerical value that described second transition rule set, the first resource numerical value of described second user, the Secondary resource numerical value of described first user and described contact person produce, calculate the second transferring data that described first user is corresponding.
6. method as claimed in claim 5, it is characterized in that, the described information resources numerical value produced according to described second transition rule set, the first resource numerical value of described second user, the Secondary resource numerical value of described first user and described contact person, calculate the second transferring data that described first user is corresponding, comprising:
According to described second transition rule set, the first resource numerical value of described second user and the Secondary resource numerical value of described first user, calculate the first increment size of described second transferring data;
According to the information resources numerical value that described second transition rule set and described contact person produce, calculate the second increment size of described second transferring data;
According to described first increment size and described second increment size, calculate described second transferring data.
7. obtain a device for transferring data, it is characterized in that, described device comprises:
First acquisition module, for obtaining user preference degree corresponding to each transition rule that the first transition rule set comprises, user preference degree corresponding to transition rule is for showing the preference degree of user to described transition rule;
Select module, for the user preference degree corresponding according to described each transition rule, from described first transition rule set, select at least one transition rule, at least one transition rule described is formed the second transition rule set;
Second acquisition module, for according to described second transition rule set, the first resource numerical value of the second user and the Secondary resource numerical value of first user, obtains the first transferring data that described first user is corresponding.
8. device as claimed in claim 7, it is characterized in that, described first acquisition module comprises:
First statistic unit, for from the mark of transition rule and the corresponding relation of user ID, counts the number of user ID corresponding to each transition rule that the first transition rule set comprises respectively;
Second statistic unit, the total number of the user ID that the corresponding relation for the mark and user ID of adding up described transition rule comprises;
First computing unit, for according to the number of user ID corresponding to described each transition rule and described total number, calculates the user preference degree that each transition rule that described first transition rule set comprises is corresponding respectively.
9. device as claimed in claim 7, it is characterized in that, described device also comprises:
Receiver module, the mark of transition rule that the user for receiving terminal transmission selects and the user ID of described user;
Memory module, is stored in the mark of transition rule and the corresponding relation of user ID for the mark of transition rule described user selected and the user ID of described user.
10. device as claimed in claim 7, it is characterized in that, described second acquisition module comprises:
Determining unit, for according to described second transition rule set, determines the acquisition time obtaining transferring data;
Acquiring unit, at the described acquisition time determined, obtains the first resource numerical value of the second user and the Secondary resource numerical value of first user;
Second computing unit, for according to described second transition rule set, the first resource numerical value of described second user and the Secondary resource numerical value of described first user, calculates the first transferring data that described first user is corresponding.
11. devices as claimed in claim 10, it is characterized in that, described device also comprises:
3rd acquisition module, if for detect that described first user sends for resource link being shared the request in social networks, then at the described acquisition time determined, obtain the information resources numerical value that the contact person of described first user in described social networks produces;
Computing module, for the information resources numerical value produced according to described second transition rule set, the first resource numerical value of described second user, the Secondary resource numerical value of described first user and described contact person, calculate the second transferring data that described first user is corresponding.
12. devices as claimed in claim 11, it is characterized in that, described computing module comprises:
3rd computing unit, for according to described second transition rule set, the first resource numerical value of described second user and the Secondary resource numerical value of described first user, calculates the first increment size of described second transferring data;
4th computing unit, for the information resources numerical value produced according to described second transition rule set and described contact person, calculates the second increment size of described second transferring data;
5th computing unit, for according to described first increment size and described second increment size, calculates described second transferring data.
CN201410429575.5A 2014-08-27 2014-08-27 Method for acquiring transferred data, and apparatus thereof Pending CN104967643A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410429575.5A CN104967643A (en) 2014-08-27 2014-08-27 Method for acquiring transferred data, and apparatus thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410429575.5A CN104967643A (en) 2014-08-27 2014-08-27 Method for acquiring transferred data, and apparatus thereof

Publications (1)

Publication Number Publication Date
CN104967643A true CN104967643A (en) 2015-10-07

Family

ID=54221584

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410429575.5A Pending CN104967643A (en) 2014-08-27 2014-08-27 Method for acquiring transferred data, and apparatus thereof

Country Status (1)

Country Link
CN (1) CN104967643A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105477861A (en) * 2015-11-26 2016-04-13 北京像素软件科技股份有限公司 Method and device for virtual article exchange
CN105654360A (en) * 2015-12-30 2016-06-08 北京金山安全软件有限公司 Information processing method and device and electronic equipment
WO2017206830A1 (en) * 2016-06-02 2017-12-07 腾讯科技(深圳)有限公司 Data processing method, server, client terminal, and data storage medium
CN109299940B (en) * 2018-08-23 2021-08-03 众安信息技术服务有限公司 Block chain-based point-to-point marketing method and marketing system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102637283A (en) * 2012-01-17 2012-08-15 云南悦倪科技有限公司 Wireless shopping rebate system based on mobile terminal and realization method
CN102682398A (en) * 2012-05-23 2012-09-19 黄洪程 Electronic business method applied in promotion strategy
US20130117143A1 (en) * 2011-11-07 2013-05-09 Egainers Llc Systems and Methods for Conducting Sales of Third Parties Through Bidding
US20130138581A1 (en) * 2011-11-29 2013-05-30 Ds-Ying Wang Feedback method for promoting consumption
CN103810619A (en) * 2014-02-13 2014-05-21 陈炳福 Rebate method and system based on electronic platform
CN103903157A (en) * 2012-12-26 2014-07-02 李庆成 Commodity promotion data processing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130117143A1 (en) * 2011-11-07 2013-05-09 Egainers Llc Systems and Methods for Conducting Sales of Third Parties Through Bidding
US20130138581A1 (en) * 2011-11-29 2013-05-30 Ds-Ying Wang Feedback method for promoting consumption
CN102637283A (en) * 2012-01-17 2012-08-15 云南悦倪科技有限公司 Wireless shopping rebate system based on mobile terminal and realization method
CN102682398A (en) * 2012-05-23 2012-09-19 黄洪程 Electronic business method applied in promotion strategy
CN103903157A (en) * 2012-12-26 2014-07-02 李庆成 Commodity promotion data processing method
CN103810619A (en) * 2014-02-13 2014-05-21 陈炳福 Rebate method and system based on electronic platform

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105477861A (en) * 2015-11-26 2016-04-13 北京像素软件科技股份有限公司 Method and device for virtual article exchange
CN105654360A (en) * 2015-12-30 2016-06-08 北京金山安全软件有限公司 Information processing method and device and electronic equipment
WO2017206830A1 (en) * 2016-06-02 2017-12-07 腾讯科技(深圳)有限公司 Data processing method, server, client terminal, and data storage medium
CN109299940B (en) * 2018-08-23 2021-08-03 众安信息技术服务有限公司 Block chain-based point-to-point marketing method and marketing system

Similar Documents

Publication Publication Date Title
Xu et al. A novel POI recommendation method based on trust relationship and spatial–temporal factors
WO2020135535A1 (en) Recommendation model training method and related apparatus
Li et al. Offensive pricing strategies for online platforms
CN104035926B (en) A kind of dispensing of internet information and system
US20140081800A1 (en) Recommending Product Information
CN104899763A (en) Personalized recommendation method based on bilateral diffusion of bipartite network
CN106022800A (en) User feature data processing method and device
CN106997358A (en) Information recommendation method and device
CN110335123B (en) Commodity recommendation method, system, computer readable medium and device based on social e-commerce platform
Cao et al. Customer demand prediction of service-oriented manufacturing incorporating customer satisfaction
CN104102648A (en) User behavior data based interest recommending method and device
WO2014193700A1 (en) Social media pricing engine
CN103049452A (en) Method and device for performing application sequencing based on estimated download rate
CN104580385A (en) Method and device expanding user relationship chain
CN105809558A (en) Social network based recommendation method and apparatus
Miklošík Changes in purchasing decision-making process of consumers in the digital era
JP6303231B2 (en) Resource combination processing method, apparatus, device, and program
CN103971256A (en) Information push method and device
CN104967643A (en) Method for acquiring transferred data, and apparatus thereof
CN105335518A (en) Method and device for generating user preference information
CN108446297A (en) A kind of recommendation method and device, electronic equipment
CN108182268B (en) Collaborative filtering recommendation method and system based on social network
CN109858985A (en) Merchandise news processing, the method shown and device
CN105654361A (en) Method and system for assessing credit based on community O2O
Becchetti et al. Recommending items in pervasive scenarios: models and experimental analysis

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20151007