CN102999527B - Multidate information method for pushing and system in SNS network - Google Patents
Multidate information method for pushing and system in SNS network Download PDFInfo
- Publication number
- CN102999527B CN102999527B CN201110276281.XA CN201110276281A CN102999527B CN 102999527 B CN102999527 B CN 102999527B CN 201110276281 A CN201110276281 A CN 201110276281A CN 102999527 B CN102999527 B CN 102999527B
- Authority
- CN
- China
- Prior art keywords
- user
- information table
- good friend
- stage dynamic
- multidate
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The present invention relates to multidate information method for pushing and system in a kind of SNS network.The method comprises the following steps: the good friend's multidate information obtaining first user, is recorded in the first-stage dynamic information table of first user by good friend's multidate information of described first user; Obtain good friend's multidate information of the second user, good friend's multidate information of described second user is recorded in the first-stage dynamic information table of the second user, described first user and the second user good friend each other; Set up the two-stage dynamic information table of first user; The two-stage dynamic information table of the first-stage dynamic information table of described first user and the first-stage dynamic information table of the second user and described first user is contrasted, obtains the more new data of the first-stage dynamic information table of described first user and the first-stage dynamic information table of the second user; By described renewal Data Update in the two-stage dynamic information table of described first user.Multidate information method for pushing and system in above-mentioned SNS network, expand the scope sharing dynamic resource information.
Description
[technical field]
The present invention relates to Internet technology, particularly multidate information method for pushing and system in a kind of SNS network.
[background technology]
At SNS (SocialNetworkingServices, social network services) in network, user only can obtain the multidate information that its good friend issues, as user A and user B good friend each other, the multidate information " today, When the Rain Comes " that user A issues, user B can obtain this multidate information.
But, user B and user C good friend each other, when user C and user A is not good friend, during the multidate information that user C issues, user B can obtain the multidate information that user C issues, but user A cannot obtain this multidate information, obtaining more multidate information as which limit user, reducing sharing of multidate information resource.
[summary of the invention]
Based on this, be necessary to provide multidate information method for pushing in a kind of SNS network, can extend one's service and obtain the scope of multidate information, and expand the scope sharing dynamic resource information.
Multidate information method for pushing in a kind of SNS network, comprises the following steps:
Obtain good friend's multidate information of first user, good friend's multidate information of described first user is recorded in the first-stage dynamic information table of first user;
Obtain good friend's multidate information of the second user, good friend's multidate information of described second user is recorded in the first-stage dynamic information table of the second user, described first user and the second user good friend each other;
Set up the two-stage dynamic information table of first user;
The two-stage dynamic information table of the first-stage dynamic information table of described first user and the first-stage dynamic information table of the second user and described first user is contrasted, obtains the more new data of the first-stage dynamic information table of described first user and the first-stage dynamic information table of the second user;
By described renewal Data Update in the two-stage dynamic information table of described first user.
Preferably, also comprise after the step of good friend's multidate information obtaining first user: the time that the good friend's multidate information obtaining first user upgrades, and the time upgraded according to good friend's multidate information of first user setup times stabs in the first-stage dynamic information table of first user step;
Also comprise after the step of good friend's multidate information of acquisition second user: the time that the good friend's multidate information obtaining the second user upgrades, and the time upgraded according to good friend's multidate information of the second user setup times stabs in the first-stage dynamic information table of the second user step;
Set up first user the two-stage dynamic information table step after also comprise: according to the step of setup times stamp in the two-stage dynamic information table of time of the two-stage dynamic information table of setting up first user at first user.
Preferably, contrasted by the two-stage dynamic information table of the first-stage dynamic information table of described first user and the first-stage dynamic information table of the second user and described first user, the step obtaining the more new data of the first-stage dynamic information table of described first user and the first-stage dynamic information table of the second user is specially:
The timestamp of the timestamp of good friend's multidate information and the two-stage dynamic information table of first user in the first-stage dynamic information table of described second user is contrasted, obtains good friend's multidate information of the renewal of the first-stage dynamic information table of the second user;
The timestamp of the timestamp of good friend's multidate information and the two-stage dynamic information table of first user in the first-stage dynamic information table of described first user is contrasted, obtains good friend's multidate information of the renewal of the first-stage dynamic information table of first user;
After described renewal Data Update to the step in the two-stage dynamic information table of described first user, also comprise step: the timestamp upgrading the two-stage dynamic information table of described first user.
Preferably, after the step of more new data obtaining the first-stage dynamic information table of described first user and the first-stage dynamic information table of the second user, also comprise step: deduplication process is carried out to the more new data of the first-stage dynamic information table of described first user obtained and the first-stage dynamic information table of the second user, and in chronological order described more new data is sorted;
Described renewal Data Update is specially to the step in the two-stage dynamic information table of described first user: by the renewal Data Update after sorting in the two-stage dynamic information table of described first user.
Preferably, the concrete steps that in described SNS network, multidate information method for pushing is applied to when pushing Transaction Information are:
Obtain the Transaction Information of the good friend of first user and the timestamp of described Transaction Information renewal, the Transaction Information of the good friend of described first user is recorded in the one-level Transaction Information table of first user, and according to time setup times stamp in the one-level Transaction Information table of first user that the Transaction Information of the good friend of described first user upgrades;
Obtain the Transaction Information of the good friend of the second user and the timestamp of described Transaction Information renewal, the Transaction Information of the good friend of described second user is recorded in the one-level Transaction Information table of the second user, and according to time setup times stamp in the one-level Transaction Information table of the second user that the Transaction Information of the good friend of described second user upgrades;
Set up the secondary dealing information table of first user, and stab according to time setup times in the secondary dealing information table of first user of the secondary dealing information table setting up described first user;
The timestamp of Transaction Information of good friend in the one-level Transaction Information table of described second user and the timestamp of the secondary dealing information table of first user are contrasted, obtains the Transaction Information of the good friend of the renewal of the one-level Transaction Information table of the second user;
The timestamp of Transaction Information of good friend in the one-level Transaction Information table of described first user and the timestamp of the secondary dealing information table of first user are contrasted, obtains the Transaction Information of the good friend of the renewal of the one-level Transaction Information table of first user;
By the Transaction Information deduplication process of renewal obtained, and sort in chronological order;
The Transaction Information of the renewal after sequence is updated in the secondary dealing information table of first user, and upgrades the timestamp of the secondary dealing information table of described first user.
In addition, there is a need to provide multidate information supplying system in a kind of SNS network, can extend one's service and obtain the scope of multidate information, expand the scope sharing dynamic resource information.
Multidate information supplying system in a kind of SNS network, comprising:
Data obtaining module, for obtaining good friend's multidate information of first user, good friend's multidate information of described first user is recorded in the first-stage dynamic information table of first user, and obtain good friend's multidate information of the second user, good friend's multidate information of described second user is recorded in the first-stage dynamic information table of the second user, described first user and the second user good friend each other;
Creation module, for setting up the two-stage dynamic information table of first user;
Contrast module, for being contrasted by the two-stage dynamic information table of the first-stage dynamic information table of described first user and the first-stage dynamic information table of the second user and described first user, obtain the more new data of the first-stage dynamic information table of described first user and the first-stage dynamic information table of the second user;
Update module, for by described renewal Data Update in the two-stage dynamic information table of described first user.
Preferably, the time that described data obtaining module upgrades for the good friend's multidate information obtaining first user, and according to time setup times stamp in the first-stage dynamic information table of first user that good friend's multidate information of first user upgrades, and the time that the good friend's multidate information obtaining the second user upgrades, and according to time setup times stamp in the first-stage dynamic information table of the second user that good friend's multidate information of the second user upgrades; Described creation module is also for stabbing according to time setup times in the two-stage dynamic information table of first user of the two-stage dynamic information table setting up first user.
Preferably, described contrast module also for being contrasted by the timestamp of the timestamp of good friend's multidate information and the two-stage dynamic information table of first user in the first-stage dynamic information table of described second user, obtains good friend's multidate information of the renewal of the first-stage dynamic information table of the second user; The timestamp being further used for the timestamp of good friend's multidate information and the two-stage dynamic information table of first user in the first-stage dynamic information table by described first user contrasts, and obtains good friend's multidate information of the renewal of the first-stage dynamic information table of first user;
Described update module is also for upgrading the timestamp of the two-stage dynamic information table of first user.
Preferably, also comprise duplicate removal order module, described duplicate removal order module is used for carrying out deduplication process to the more new data of the first-stage dynamic information table of described first user obtained and the first-stage dynamic information table of the second user, and sorts to described more new data in chronological order;
Described update module also for by the renewal Data Update after sorting in the two-stage dynamic information table of described first user.
Preferably, the detailed process that in described SNS network, multidate information supplying system is applied to when pushing Transaction Information is:
Described data obtaining module is also for obtaining the time that the Transaction Information of the good friend of first user and described Transaction Information upgrade, the Transaction Information of the good friend of described first user is recorded in the one-level Transaction Information table of first user, and according to time setup times stamp in the one-level Transaction Information table of first user that the Transaction Information of the good friend of described first user upgrades, and obtain the Transaction Information of good friend and the time of described Transaction Information renewal of the second user, the Transaction Information of the good friend of described second user is recorded in the one-level Transaction Information table of the second user, and according to time setup times stamp in the one-level Transaction Information table of the second user that the Transaction Information of the good friend of described second user upgrades,
Described creation module also for setting up the secondary dealing information table of first user, and is stabbed according to time setup times in the secondary dealing information table of first user of the secondary dealing information table setting up described first user;
Described contrast module is also for contrasting the timestamp of the timestamp of the Transaction Information of good friend and the secondary dealing information table of first user in the first-stage dynamic information table of described second user, obtain the Transaction Information of the good friend of the renewal of the one-level Transaction Information table of the second user, be further used for the timestamp of Transaction Information of good friend and the timestamp of the secondary dealing information table of first user in the one-level Transaction Information table by described first user to contrast, obtain the Transaction Information of the good friend of the renewal of the one-level Transaction Information table of first user;
The Transaction Information deduplication process of renewal of described duplicate removal order module also for obtaining, and sort in chronological order;
Described update module also for being updated in the secondary dealing information table of first user by the Transaction Information of the renewal after sequence, and upgrades the timestamp of the secondary dealing information table of described first user.
Multidate information method for pushing and system in above-mentioned SNS network, the good friend's multidate information obtaining first user is recorded in the first-stage dynamic information table of first user, the good friend's multidate information obtaining the second user is recorded in the first-stage dynamic information table of the second user, and set up the two-stage dynamic information table of first user, the multidate information table of the first-stage dynamic information table of first user and the second user is contrasted with the two-stage dynamic information table of first user respectively, obtain the more new data of the first-stage dynamic information table of first user and the first-stage dynamic information table of the second user, and by this renewal Data Update in the two-stage dynamic information table of first user, make first user can not only obtain good friend's multidate information of first user, also can obtain good friend's multidate information of the second user, expand the scope that user obtains multidate information, make the multidate information of user obtain other users more to share, expand the scope sharing dynamic resource information.
[accompanying drawing explanation]
Fig. 1 is the process flow diagram of multidate information method for pushing in a kind of SNS network in an embodiment;
Fig. 2 is the process flow diagram that in SNS network, multidate information method for pushing is applied to Transaction Information propelling movement;
Fig. 3 is the mutual schematic diagram illustrated for five users;
Fig. 4 is the structural representation of multidate information supplying system in SNS network in an embodiment;
Fig. 5 is the structural representation of multidate information supplying system in SNS network in another embodiment.
[embodiment]
Below in conjunction with specific embodiment and accompanying drawing, technical scheme is described in detail.
As shown in Figure 1, in one embodiment, multidate information method for pushing in a kind of SNS network, comprises the following steps:
Step S110, obtains good friend's multidate information of first user, is recorded in the first-stage dynamic information table of first user by good friend's multidate information of first user.
In one embodiment, good friend's multidate information of first user is recorded to after in the first-stage dynamic information table of first user, also comprise: the time that the good friend's multidate information obtaining first user upgrades, according to the step of time setup times stamp in the first-stage dynamic information table of first user that good friend's multidate information of first user upgrades.The time that this timestamp upgrades for the multidate information recording the good friend of first user.Such as user A and user B good friend each other, user B renewal (namely issuing) multidate information " Games for university students ", the multidate information of the first-stage dynamic information table recording user B renewal of user A, according to the set of time timestamp that this multidate information upgrades, during 3 days 18 August of 2011 time that the multidate information of this timestamp recording user B upgrades 30 points.
Step S120, obtains good friend's multidate information of the second user, is recorded in the first-stage dynamic information table of the second user by good friend's multidate information of the second user, first user and the second user good friend each other.
In one embodiment, good friend's multidate information of the second user is recorded to after in the first-stage dynamic information table of the second user, also comprise: the time that the good friend's multidate information obtaining first user upgrades, according to time setup times stamp in the first-stage dynamic information table of the second user that good friend's multidate information of the second user upgrades.This timestamp upgrades the time of (namely issuing) for the multidate information recording the good friend of the second user.
In SNS network, a user can have at least one good friend.In SNS network, there is a first-stage dynamic information table in each use per family, this first-stage dynamic information table be used for recording user good friend's multidate information after also according to good friend's multidate information upgrade set of time timestamp.Article one, the good friend's multidate information correspondence upgraded arranges a timestamp.The time that this timestamp upgrades for recording good friend's multidate information.In the present embodiment, with first user and the second user each other good friend be described.Obtain good friend's multidate information of first user, and good friend's multidate information is recorded in the first-stage dynamic information table of first user, and according to time setup times stamp in the first-stage dynamic information table of first user that good friend's multidate information of first user upgrades; Obtain good friend's multidate information of the second user, and good friend's multidate information is recorded in the first-stage dynamic information table of the second user, and according to time setup times stamp in the first-stage dynamic information table of the second user that good friend's multidate information of the second user upgrades.
Such as, first user is user A, and the second user is user B, user A and user B good friend each other, user A and user C good friend each other, user B and user D good friend each other, get user A and issue a multidate information " seventh evening of the seventh moon in lunarcalendar ", when issuing time is 6 days 18 August in 2011 20 points; User B issues a multidate information " heat ", when issuing time is 7 days 14 August in 2011 30 points; User C issues a multidate information " When the Rain Comes ", when issuing time is 10 days 10 August in 2011 10 points; User D issues a multidate information " sky will collapse ", when issuing time is 10 days 15 August in 2011 10 points.The time of the multidate information that the user B obtained and user C issues and issue will be recorded in the first-stage dynamic information table of user A, and in the first-stage dynamic information table of user A, arranges corresponding timestamp according to the time of the multidate information of user B and user C issue respectively.The user A obtained and the multidate information of user D and the time of issue will be recorded in the first-stage dynamic information table of user B, and the time of the multidate information issued according to user A and user D arranges corresponding timestamp respectively in the first-stage dynamic information table of user B.
Wherein, when user issues a multidate information, the mode of read-write diffusion bond can be adopted, read to be diffused as each user and safeguard a transmission list, record all message index delivered of this user; Write and be diffused as each user and safeguard a subscription list, record the message index that this user subscribes to, when user gives out information, all can go to upgrade subscription list.Adopt the mode of read-write diffusion bond, avoid to adopt separately and read diffusion when reading information aggregate, cause because number of users is more calculating time-consuming, poor efficiency, and adopt separately and write the diffusion a large amount of write operation of instantaneous burst and the situation that stores not easily.
Step S130, sets up the two-stage dynamic information table of first user.
Each use sets up the two-stage dynamic information table per family, and this two-stage dynamic information table is used for good friend's multidate information of recording user and good friend's multidate information of user good friend.
After step s 130, also step is comprised: the time setup times in the two-stage dynamic information table of first user according to the two-stage dynamic information table setting up first user stabs.The time that this timestamp upgrades for the two-stage dynamic information table recording first user.After setting up the two-stage dynamic information table of user, obtain this table creation-time, according to this time setup times stamp in the two-stage dynamic information table of first user, carry out contrast process so that follow-up.The timestamp of this two-stage dynamic information table is for recording the time of whole the two-stage dynamic information table renewal.
Step S140, the two-stage dynamic information table of the first-stage dynamic information table of first user and the first-stage dynamic information table of the second user and first user is contrasted, obtains the more new data of the first-stage dynamic information table of this first user and the first-stage dynamic information table of the second user.
More new data refers to good friend's multidate information of renewal.
After the timestamp of the two-stage dynamic information table of the timestamp and first user that arrange good friend's multidate information, step S140 is specially:
The timestamp of the timestamp of good friend's multidate information and the two-stage dynamic information table of first user in the first-stage dynamic information table of the second user is contrasted, obtains good friend's multidate information of the renewal of the first-stage dynamic information table of the second user;
The timestamp of the timestamp of good friend's multidate information and the two-stage dynamic information table of first user in the first-stage dynamic information table of first user is contrasted, obtains good friend's multidate information of the renewal of the first-stage dynamic information table of first user.
By the timestamp of the timestamp and the two-stage dynamic information table that compare good friend's multidate information, can easy-to-look-up good friend's multidate information to upgrading.Relatively timestamp is directly perceived, simple.
Such as, after previously described user A, user B, user C and user D issue a multidate information respectively, the first-stage dynamic information table of user A have recorded the multidate information of user B and user C issue, the first-stage dynamic information table of user B have recorded the multidate information of user A and user D issue, establish the two-stage dynamic information table of user A, the first-stage dynamic information table of the first-stage dynamic information table of user A and user B is contrasted with the two-stage dynamic information table of user A respectively, the multidate information that user A, user B, user C and user D issue can be obtained.If the timestamp of the two-stage dynamic information table of user A is on August 8th, 2011, after contrasting, obtain the multidate information that the multidate information upgraded has user C and user D to issue, the multidate information that user A and user B issues has suffered at the front the two-stage dynamic information table being once updated to user A.
In preferred embodiment, after step s 140, also comprise step: deduplication process is carried out to the more new data obtained, and in chronological order more new data is sorted.May be there are the data of repetition in the more new data obtained, need carry out deduplication process to it, then sorts to more new data according to the time sequencing upgrading data publication.Such as, user A, user B and user C tri-good friend each other, the multidate information that user C issues both had been recorded in the first-stage dynamic information table of user A, also be recorded in the first-stage dynamic information table of user B, when the first-stage dynamic information table of user A and the two-stage dynamic information table of user A contrast, obtain the multidate information that user C issues, when the first-stage dynamic information table of user B and the two-stage dynamic information table of user A contrast, also obtain the multidate information that user C issues, this multidate information repeats.
Step S150, by this renewal Data Update in the two-stage dynamic information table of first user.
After more new data being carried out to duplicate removal sequence process, the more new data obtained can not repeat.Step S150 is specially: by the renewal Data Update after sorting in the two-stage dynamic information table of first user.By the renewal Data Update of deduplication in the two-stage dynamic information table of first user, avoid repeated storage, save storage space, in chronological order after sequence, facilitate user to consult.
In preferred embodiment, also comprise step after the step s 150: the timestamp upgrading the two-stage dynamic information table of first user.After the two-stage dynamic information table renewal of first user, obtain the time upgraded, the timestamp of renewal was set according to the time of this renewal in the two-stage dynamic information table of first user, to contrast when next time upgrades the two-stage dynamic information table of first user again.
As shown in Figure 2, the concrete steps that in above-mentioned SNS network, multidate information method for pushing is applied to when Transaction Information pushes comprise:
Step S210, obtain the Transaction Information of the good friend of first user and the time of this Transaction Information renewal, the Transaction Information of the good friend of first user is recorded in the one-level Transaction Information table of first user, and according to time setup times stamp in the one-level Transaction Information table of first user that the Transaction Information of the good friend of this first user upgrades.
Step S220, obtain the Transaction Information of the good friend of the second user and the time of this Transaction Information renewal, the Transaction Information of the good friend of the second user is recorded in the one-level Transaction Information table of the second user, and according to time setup times stamp in the one-level Transaction Information table of the second user that the Transaction Information of the good friend of this second user upgrades.
For each user sets up an one-level Transaction Information table, for the Transaction Information of recording user good friend.Obtain the Transaction Information that user good friend issues, and obtain the time upgraded, according to this time setup times stamp in one-level Transaction Information table, the time that this timestamp upgrades for recording Transaction Information.
Step S230, sets up the secondary dealing information table of first user, and stabs according to time setup times in the secondary dealing information table of first user of the secondary dealing information table setting up first user.
For each user sets up a secondary dealing information table, for the Transaction Information of recording user good friend, and the Transaction Information of the good friend of user good friend.Obtain the time of setting up the secondary dealing information table of user, according to this time setup times stamp in secondary dealing information table, the time that this timestamp upgrades for recording whole secondary dealing information table.
Step S240, contrasts the timestamp of Transaction Information of good friend in the one-level Transaction Information table of the second user and the timestamp of the secondary dealing information table of first user, obtains the Transaction Information of the good friend of the renewal of the one-level Transaction Information table of the second user.
Step S250, contrasts the timestamp of Transaction Information of good friend in the one-level Transaction Information table of first user and the timestamp of the secondary dealing information table of first user, obtains the Transaction Information of the good friend of the renewal of the one-level Transaction Information table of first user.
The timestamp of the Transaction Information in the timestamp of the Transaction Information in the one-level Transaction Information table of first user and the one-level Transaction Information table of the second user is contrasted with the timestamp of the secondary dealing information table of first user respectively, the Transaction Information of renewal can be obtained.
Step S260, by the Transaction Information deduplication process of renewal obtained, and sorts in chronological order.
May be there is the Transaction Information of repetition in the Transaction Information of the renewal obtained, need carry out deduplication process, with the Transaction Information of Delete superfluous, avoid repeated storage, occupy space the Transaction Information upgraded.In chronological order Transaction Information is sorted, conveniently consult.
Step S270, is updated to the Transaction Information of the renewal after sequence in the secondary dealing information table of first user, and upgrades the timestamp of the secondary dealing information table of first user.
Upgrade the timestamp of the secondary dealing information table of first user, contrast, to obtain the Transaction Information of renewal during convenient renewal again.
As shown in Figure 3, illustrate, user A, B, C, D and E for five users, user A, user B and user C are good friend, and user D and user C is good friend, and user B and user E is good friend.The Transaction Information that user A issues is updated in the one-level Transaction Information table of user B and user C, the Transaction Information that user B issues is updated in the one-level Transaction Information table of user A and user D, the Transaction Information that user C issues is updated in the one-level Transaction Information table of user A and user E, the Transaction Information that user D issues is updated in the one-level Transaction Information table of user B, and the Transaction Information that user E issues is updated in the one-level Transaction Information table of user C.The Transaction Information of user A, B, C, D, E is stored in the secondary dealing information table of user A.In addition, the Transaction Information oneself issued can also be recorded in respective one-level Transaction Information table.
As shown in Figure 4, in one embodiment, multidate information supplying system in a kind of SNS network, comprises data obtaining module 410, creation module 420, contrast module 430 and update module 440.
Data obtaining module 410 is for obtaining good friend's multidate information of first user, good friend's multidate information of first user is recorded in the first-stage dynamic information table of first user, and obtain good friend's multidate information of the second user, good friend's multidate information of the second user is recorded in the first-stage dynamic information table of the second user, described first user and the second user good friend each other.
In preferred embodiment, time in the first-stage dynamic information table of first user the setup times stamp of data obtaining module 410 also for upgrading according to good friend's multidate information of first user, and according to time setup times stamp in the first-stage dynamic information table of the second user that good friend's multidate information of the second user upgrades.Such as user A and user B good friend each other, user B renewal (namely issuing) multidate information " Games for university students ", the multidate information of the first-stage dynamic information table recording user B renewal of user A, according to the set of time timestamp that this multidate information upgrades, during 3 days 18 August of 2011 time that the multidate information of this timestamp recording user B upgrades 30 points.
In SNS network, there is a first-stage dynamic information table in each use per family, this first-stage dynamic information table be used for recording user good friend's multidate information after also according to good friend's multidate information upgrade set of time timestamp.The timestamp of good friend's multidate information is used for the time of good friend's multidate information renewal.In the present embodiment, with first user and the second user each other good friend be described.Obtain good friend's multidate information of first user, and good friend's multidate information is recorded in the first-stage dynamic information table of first user, and according to time setup times stamp in the first-stage dynamic information table of first user that good friend's multidate information of first user upgrades; Obtain good friend's multidate information of the second user, and good friend's multidate information is recorded in the first-stage dynamic information table of the second user, and according to time setup times stamp in the first-stage dynamic information table of the second user that good friend's multidate information of the second user upgrades.
Such as, first user is user A, and the second user is user B, user A and user B good friend each other, user A and user C good friend each other, user B and user D good friend each other, get user A and issue a multidate information " seventh evening of the seventh moon in lunarcalendar ", when issuing time is 6 days 18 August in 2011 20 points; User B issues a multidate information " heat ", when issuing time is 7 days 14 August in 2011 30 points; User C issues a multidate information " When the Rain Comes ", when issuing time is 10 days 10 August in 2011 10 points; User D issues a multidate information " sky will collapse ", when issuing time is 10 days 15 August in 2011 10 points.The time of the multidate information that the user B obtained and user C issues and issue will be recorded in the first-stage dynamic information table of user A, and in the first-stage dynamic information table of user A, arranges corresponding timestamp according to the time of the multidate information of user B and user C issue respectively.The user A obtained and the multidate information of user D and the time of issue will be recorded in the first-stage dynamic information table of user B, and the time of the multidate information issued according to user A and user D arranges corresponding timestamp respectively in the first-stage dynamic information table of user B.
Creation module 420 is for setting up the two-stage dynamic information table of first user.Each use sets up the two-stage dynamic information table per family, and this two-stage dynamic information table is used for good friend's multidate information of recording user and good friend's multidate information of user good friend.
In addition, creation module 420 is also for stabbing according to time setup times in the two-stage dynamic information table of first user of the two-stage dynamic information table setting up first user.The time that this timestamp upgrades for the two-stage dynamic information table recording first user.After setting up the two-stage dynamic information table of user, obtain this table creation-time, according to this time setup times stamp in the two-stage dynamic information table of first user, carry out contrast process so that follow-up.The timestamp of this two-stage dynamic information table is for recording the time of whole the two-stage dynamic information table renewal.
Contrast module 430, for being contrasted by the two-stage dynamic information table of the first-stage dynamic information table of first user and the first-stage dynamic information table of the second user and first user, obtains the more new data of the first-stage dynamic information table of described first user and the first-stage dynamic information table of the second user.Wherein, more new data refers to good friend's multidate information of renewal.
After the timestamp of the two-stage dynamic information table of the timestamp and first user that obtain good friend's multidate information, contrast module 430, also for being contrasted by the timestamp of the timestamp of good friend's multidate information and the two-stage dynamic information table of first user in the first-stage dynamic information table of the second user, obtains good friend's multidate information of the renewal of the first-stage dynamic information table of the second user; Also for being contrasted by the timestamp of the timestamp of good friend's multidate information and the two-stage dynamic information table of first user in the first-stage dynamic information table of first user, obtain good friend's multidate information of the renewal of the first-stage dynamic information table of first user.By the timestamp of the timestamp and the two-stage dynamic information table that compare good friend's multidate information, can easy-to-look-up good friend's multidate information to upgrading.Relatively timestamp is directly perceived, simple.
Such as, after previously described user A, user B, user C and user D issue a multidate information respectively, the first-stage dynamic information table of user A have recorded the multidate information of user B and user C issue, the first-stage dynamic information table of user B have recorded the multidate information of user A and user D issue, establish the two-stage dynamic information table of user A, the first-stage dynamic information table of the first-stage dynamic information table of user A and user B is contrasted with the two-stage dynamic information table of user A respectively, the multidate information that user A, user B, user C and user D issue can be obtained.If the timestamp of the two-stage dynamic information table of user A is on August 8th, 2011, after contrasting, obtain the multidate information that the multidate information upgraded has user C and user D to issue, the multidate information that user A and user B issues has suffered at the front the two-stage dynamic information table being once updated to user A.
Update module 440 is for upgrading Data Update in the two-stage dynamic information table of first user.In addition, update module 440 is also for upgrading the timestamp of the two-stage dynamic information table of first user.After the two-stage dynamic information table renewal of first user, obtain the time upgraded, the timestamp of renewal was set according to the time of this renewal in the two-stage dynamic information table of first user, to contrast when next time upgrades the two-stage dynamic information table of first user again.
In one embodiment, as shown in Figure 5, multidate information supplying system in above-mentioned SNS network, except comprising data obtaining module 410, creation module 420, contrast module 430 and update module 440 duplicate removal order module, also comprises duplicate removal order module 450.
Duplicate removal order module 450 for carrying out deduplication process to the first-stage dynamic information table of described first user obtained and the more new data of the first-stage dynamic information table of the second user, and in chronological order to this more new data sort.Such as, user A, user B and user C tri-good friend each other, the multidate information that user C issues both had been recorded in the first-stage dynamic information table of user A, also be recorded in the first-stage dynamic information table of user B, when the first-stage dynamic information table of user A and the two-stage dynamic information table of user A contrast, obtain the multidate information that user C issues, when the first-stage dynamic information table of user B and the two-stage dynamic information table of user A contrast, also obtain the multidate information that user C issues, this multidate information repeats.
Update module 440 also for by the renewal Data Update after sorting in the two-stage dynamic information table of first user.The renewal Data Update of deduplication in the two-stage dynamic information table of first user, is avoided repeated storage by update module 440, saves storage space, in chronological order after sequence, facilitates user to consult.
In above-mentioned SNS network multidate information supplying system be applied to push Transaction Information time detailed process be:
(1) data obtaining module 410 is also for obtaining the time that the Transaction Information of the good friend of first user and this Transaction Information upgrade, the Transaction Information of the good friend of first user is recorded in the one-level Transaction Information table of first user, and according to time setup times stamp in the one-level Transaction Information table of first user that the Transaction Information of the good friend of this first user upgrades, and obtain the Transaction Information of the good friend of the second user and the time of this Transaction Information renewal, the Transaction Information of the good friend of the second user is recorded in the one-level Transaction Information table of the second user, and according to time setup times stamp in the one-level Transaction Information table of the second user that the Transaction Information of the good friend of this second user upgrades.
For each user sets up an one-level Transaction Information table, for the Transaction Information of recording user good friend.Obtain the Transaction Information that user good friend issues, and obtain the time upgraded, according to this time setup times stamp in one-level Transaction Information table, the time that this timestamp upgrades for recording Transaction Information.
(2) creation module 420 is also for setting up the secondary dealing information table of first user, and stabs according to time setup times in the secondary dealing information table of first user of the secondary dealing information table setting up first user.
For each user sets up a secondary dealing information table, for the Transaction Information of recording user good friend, and the Transaction Information of the good friend of user good friend.Obtain the time of setting up the secondary dealing information table of user, according to this time setup times stamp in secondary dealing information table, the time that this timestamp upgrades for recording whole secondary dealing information table.
(3) module 430 is contrasted also for being contrasted by the timestamp of the timestamp of the Transaction Information of good friend and the secondary dealing information table of first user in the first-stage dynamic information table of the second user, obtain the Transaction Information of the good friend of the renewal of the one-level Transaction Information table of the second user, be further used for the timestamp of Transaction Information of good friend and the timestamp of the secondary dealing information table of first user in the one-level Transaction Information table by first user to contrast, obtain the Transaction Information of the good friend of the renewal of the one-level Transaction Information table of first user.
The timestamp of the Transaction Information in the timestamp of the Transaction Information in the one-level Transaction Information table of first user and the one-level Transaction Information table of the second user is contrasted with the timestamp of the secondary dealing information table of first user respectively, the Transaction Information of renewal can be obtained.
(4) the Transaction Information deduplication process of renewal of duplicate removal order module 450 also for obtaining, and sort in chronological order.
May be there is the Transaction Information of repetition in the Transaction Information of the renewal obtained, need carry out deduplication process, with the Transaction Information of Delete superfluous, avoid repeated storage, occupy space the Transaction Information upgraded.In chronological order Transaction Information is sorted, conveniently consult.
(5) update module 440 is also for being updated to the Transaction Information of the renewal after sequence in the secondary dealing information table of first user, and upgrades the timestamp of the secondary dealing information table of first user.
Upgrade the timestamp of the secondary dealing information table of first user, contrast, to obtain the Transaction Information of renewal during convenient renewal again.
Multidate information method for pushing and system in above-mentioned SNS network, the good friend's multidate information obtaining first user is recorded in the first-stage dynamic information table of first user, the good friend's multidate information obtaining the second user is recorded in the first-stage dynamic information table of the second user, and set up the two-stage dynamic information table of first user, the multidate information table of the first-stage dynamic information table of first user and the second user is contrasted with the two-stage dynamic information table of first user respectively, obtain the more new data of the first-stage dynamic information table of first user and the first-stage dynamic information table of the second user, and by this renewal Data Update in the two-stage dynamic information table of first user, make first user can not only obtain good friend's multidate information of first user, also can obtain good friend's multidate information of the second user, expand the scope that user obtains multidate information, make the multidate information of user obtain other users more to share, expand the scope sharing dynamic resource information.
In addition, when in above-mentioned SNS network, multidate information method for pushing and system are applied to Transaction Information propelling movement, Transaction Information in the one-level Transaction Information table of the Transaction Information in the one-level Transaction Information table of the first user of renewal and the second user is updated in the secondary dealing information table of first user, so, the Transaction Information that the good friend all storing its good friend and good friend in the secondary dealing information table of each user issues, expand the scope that Transaction Information is shared, and because of Transaction Information be good friend and good friend good friend issue, Transaction Information is with a high credibility, ensure that the true of Transaction Information, reliably.
The above embodiment only have expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.
Claims (10)
1. a multidate information method for pushing in SNS network, comprises the following steps:
Obtain good friend's multidate information of first user, good friend's multidate information of described first user is recorded in the first-stage dynamic information table of first user;
Obtain good friend's multidate information of the second user, good friend's multidate information of described second user is recorded in the first-stage dynamic information table of the second user, described first user and the second user good friend each other;
Set up the two-stage dynamic information table of first user, the two-stage dynamic information table of described first user is for good friend's multidate information of the good friend's multidate information and first user good friend that record first user;
The two-stage dynamic information table of the first-stage dynamic information table of described first user and the first-stage dynamic information table of the second user and described first user is contrasted, obtains the more new data of the first-stage dynamic information table of described first user and the first-stage dynamic information table of the second user;
By described renewal Data Update in the two-stage dynamic information table of described first user.
2. multidate information method for pushing in SNS network according to claim 1, it is characterized in that, also comprise after the step of good friend's multidate information obtaining first user: the time that the good friend's multidate information obtaining first user upgrades, and the time upgraded according to good friend's multidate information of first user setup times stabs in the first-stage dynamic information table of first user step;
Also comprise after the step of good friend's multidate information of acquisition second user: the time that the good friend's multidate information obtaining the second user upgrades, and the time upgraded according to good friend's multidate information of the second user setup times stabs in the first-stage dynamic information table of the second user step;
Set up first user the two-stage dynamic information table step after also comprise: according to the step of setup times stamp in the two-stage dynamic information table of time of the two-stage dynamic information table of setting up first user at first user.
3. multidate information method for pushing in SNS network according to claim 2, it is characterized in that, contrasted by the two-stage dynamic information table of the first-stage dynamic information table of described first user and the first-stage dynamic information table of the second user and described first user, the step obtaining the more new data of the first-stage dynamic information table of described first user and the first-stage dynamic information table of the second user is specially:
The timestamp of the timestamp of good friend's multidate information and the two-stage dynamic information table of first user in the first-stage dynamic information table of described second user is contrasted, obtains good friend's multidate information of the renewal of the first-stage dynamic information table of the second user;
The timestamp of the timestamp of good friend's multidate information and the two-stage dynamic information table of first user in the first-stage dynamic information table of described first user is contrasted, obtains good friend's multidate information of the renewal of the first-stage dynamic information table of first user;
After described renewal Data Update to the step in the two-stage dynamic information table of described first user, also comprise step: the timestamp upgrading the two-stage dynamic information table of described first user.
4. multidate information method for pushing in SNS network according to claim 3, it is characterized in that, after the step of more new data obtaining the first-stage dynamic information table of described first user and the first-stage dynamic information table of the second user, also comprise step: deduplication process is carried out to the more new data of the first-stage dynamic information table of described first user obtained and the first-stage dynamic information table of the second user, and in chronological order described more new data is sorted;
Described renewal Data Update is specially to the step in the two-stage dynamic information table of described first user: by the renewal Data Update after sorting in the two-stage dynamic information table of described first user.
5. multidate information method for pushing in SNS network according to claim 4, is characterized in that, in described SNS network multidate information method for pushing be applied to push Transaction Information time concrete steps be:
Obtain the Transaction Information of the good friend of first user and the timestamp of described Transaction Information renewal, the Transaction Information of the good friend of described first user is recorded in the one-level Transaction Information table of first user, and according to time setup times stamp in the one-level Transaction Information table of first user that the Transaction Information of the good friend of described first user upgrades;
Obtain the Transaction Information of the good friend of the second user and the timestamp of described Transaction Information renewal, the Transaction Information of the good friend of described second user is recorded in the one-level Transaction Information table of the second user, and according to time setup times stamp in the one-level Transaction Information table of the second user that the Transaction Information of the good friend of described second user upgrades;
Set up the secondary dealing information table of first user, and stab according to time setup times in the secondary dealing information table of first user of the secondary dealing information table setting up described first user;
The timestamp of Transaction Information of good friend in the one-level Transaction Information table of described second user and the timestamp of the secondary dealing information table of first user are contrasted, obtains the Transaction Information of the good friend of the renewal of the one-level Transaction Information table of the second user;
The timestamp of Transaction Information of good friend in the one-level Transaction Information table of described first user and the timestamp of the secondary dealing information table of first user are contrasted, obtains the Transaction Information of the good friend of the renewal of the one-level Transaction Information table of first user;
By the Transaction Information deduplication process of renewal obtained, and sort in chronological order;
The Transaction Information of the renewal after sequence is updated in the secondary dealing information table of first user, and upgrades the timestamp of the secondary dealing information table of described first user.
6. a multidate information supplying system in SNS network, is characterized in that, comprising:
Data obtaining module, for obtaining good friend's multidate information of first user, good friend's multidate information of described first user is recorded in the first-stage dynamic information table of first user, and obtain good friend's multidate information of the second user, good friend's multidate information of described second user is recorded in the first-stage dynamic information table of the second user, described first user and the second user good friend each other;
Creation module, for setting up the two-stage dynamic information table of first user, the two-stage dynamic information table of described first user is for good friend's multidate information of the good friend's multidate information and first user good friend that record first user;
Contrast module, for being contrasted by the two-stage dynamic information table of the first-stage dynamic information table of described first user and the first-stage dynamic information table of the second user and described first user, obtain the more new data of the first-stage dynamic information table of described first user and the first-stage dynamic information table of the second user;
Update module, for by described renewal Data Update in the two-stage dynamic information table of described first user.
7. multidate information supplying system in SNS network according to claim 6, it is characterized in that, the time that described data obtaining module upgrades for the good friend's multidate information obtaining first user, and according to time setup times stamp in the first-stage dynamic information table of first user that good friend's multidate information of first user upgrades, and the time that the good friend's multidate information obtaining the second user upgrades, and according to time setup times stamp in the first-stage dynamic information table of the second user that good friend's multidate information of the second user upgrades; Described creation module is also for stabbing according to time setup times in the two-stage dynamic information table of first user of the two-stage dynamic information table setting up first user.
8. multidate information supplying system in SNS network according to claim 7, it is characterized in that, described contrast module also for being contrasted by the timestamp of the timestamp of good friend's multidate information and the two-stage dynamic information table of first user in the first-stage dynamic information table of described second user, obtains good friend's multidate information of the renewal of the first-stage dynamic information table of the second user; The timestamp being further used for the timestamp of good friend's multidate information and the two-stage dynamic information table of first user in the first-stage dynamic information table by described first user contrasts, and obtains good friend's multidate information of the renewal of the first-stage dynamic information table of first user;
Described update module is also for upgrading the timestamp of the two-stage dynamic information table of first user.
9. multidate information supplying system in SNS network according to claim 8, it is characterized in that, also comprise duplicate removal order module, described duplicate removal order module is used for carrying out deduplication process to the more new data of the first-stage dynamic information table of described first user obtained and the first-stage dynamic information table of the second user, and sorts to described more new data in chronological order;
Described update module also for by the renewal Data Update after sorting in the two-stage dynamic information table of described first user.
10. multidate information supplying system in SNS network according to claim 9, is characterized in that, in described SNS network multidate information supplying system be applied to push Transaction Information time detailed process be:
Described data obtaining module is also for obtaining the time that the Transaction Information of the good friend of first user and described Transaction Information upgrade, the Transaction Information of the good friend of described first user is recorded in the one-level Transaction Information table of first user, and according to time setup times stamp in the one-level Transaction Information table of first user that the Transaction Information of the good friend of described first user upgrades, and obtain the Transaction Information of good friend and the time of described Transaction Information renewal of the second user, the Transaction Information of the good friend of described second user is recorded in the one-level Transaction Information table of the second user, and according to time setup times stamp in the one-level Transaction Information table of the second user that the Transaction Information of the good friend of described second user upgrades,
Described creation module also for setting up the secondary dealing information table of first user, and is stabbed according to time setup times in the secondary dealing information table of first user of the secondary dealing information table setting up described first user;
Described contrast module is also for contrasting the timestamp of the timestamp of the Transaction Information of good friend and the secondary dealing information table of first user in the first-stage dynamic information table of described second user, obtain the Transaction Information of the good friend of the renewal of the one-level Transaction Information table of the second user, be further used for the timestamp of Transaction Information of good friend and the timestamp of the secondary dealing information table of first user in the one-level Transaction Information table by described first user to contrast, obtain the Transaction Information of the good friend of the renewal of the one-level Transaction Information table of first user;
The Transaction Information deduplication process of renewal of described duplicate removal order module also for obtaining, and sort in chronological order;
Described update module also for being updated in the secondary dealing information table of first user by the Transaction Information of the renewal after sequence, and upgrades the timestamp of the secondary dealing information table of described first user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110276281.XA CN102999527B (en) | 2011-09-16 | 2011-09-16 | Multidate information method for pushing and system in SNS network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110276281.XA CN102999527B (en) | 2011-09-16 | 2011-09-16 | Multidate information method for pushing and system in SNS network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102999527A CN102999527A (en) | 2013-03-27 |
CN102999527B true CN102999527B (en) | 2015-11-25 |
Family
ID=47928101
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110276281.XA Active CN102999527B (en) | 2011-09-16 | 2011-09-16 | Multidate information method for pushing and system in SNS network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102999527B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101854365B1 (en) * | 2012-08-29 | 2018-05-03 | 에스케이플래닛 주식회사 | SYSTEM AND METHOD FOR MANAGING Social Network Service ACCOUNT BASED ON PHONE NUMBER |
CN104903893B (en) * | 2013-10-29 | 2018-08-24 | 宇龙计算机通信科技(深圳)有限公司 | The method and apparatus of information forwarding |
CN104240016A (en) * | 2014-08-29 | 2014-12-24 | 广州华多网络科技有限公司 | Management method and device for users in virtual place |
CN105227662A (en) * | 2015-09-30 | 2016-01-06 | 努比亚技术有限公司 | Message treatment method, device and system |
CN108288228B (en) * | 2017-01-09 | 2020-12-04 | 腾讯科技(深圳)有限公司 | Social network information acquisition method and device |
CN109120496A (en) * | 2017-06-22 | 2019-01-01 | 中兴通讯股份有限公司 | A kind of information processing method based on converged communication, server and terminal |
US11068559B2 (en) | 2018-01-25 | 2021-07-20 | ClickFunnels | Website creation system for creating websites having at least one series of directional webpages and related methods |
US10846357B2 (en) | 2018-01-25 | 2020-11-24 | ClickFunnels | Website creation system for creating websites having at least one series of directional webpages and related methods |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101465885A (en) * | 2009-01-06 | 2009-06-24 | 腾讯科技(深圳)有限公司 | SNS browsing method and equipment for providing SNS browsing |
CN101916286A (en) * | 2010-08-23 | 2010-12-15 | 宇龙计算机通信科技(深圳)有限公司 | Information recommendation method and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8380639B2 (en) * | 2009-07-06 | 2013-02-19 | Microsoft Corporation | One-way public relationships |
-
2011
- 2011-09-16 CN CN201110276281.XA patent/CN102999527B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101465885A (en) * | 2009-01-06 | 2009-06-24 | 腾讯科技(深圳)有限公司 | SNS browsing method and equipment for providing SNS browsing |
CN101916286A (en) * | 2010-08-23 | 2010-12-15 | 宇龙计算机通信科技(深圳)有限公司 | Information recommendation method and system |
Also Published As
Publication number | Publication date |
---|---|
CN102999527A (en) | 2013-03-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102999527B (en) | Multidate information method for pushing and system in SNS network | |
CN103220412B (en) | Mobile terminal schedule management method and system | |
CN102999529B (en) | Information sharing system and method between platform | |
CN102883059B (en) | The display method and apparatus of note, the method and apparatus of answer short message | |
CN102984357B (en) | Contact person information managing method and managing device | |
CN103200293A (en) | Method of automatically combining tautonomy contacts in process of guiding contacts into contact list | |
CN102769640B (en) | The update method of user profile, server and system | |
CN101505311A (en) | Information transmission method and system based on socialized network | |
CN102938807B (en) | A kind of method of recommending contact persons and message and device | |
CN103812753A (en) | Social network interaction method and application platform | |
CN102158593A (en) | Application displaying method and terminal | |
CN103378978A (en) | Message push method and server | |
CN105900093A (en) | Keyvalue database data table updating method and data table updating device | |
CN110729038A (en) | Cost sharing method and device, electronic equipment and computer-readable storage medium | |
CN102413233A (en) | Contact information expansion processing method and device of mobile terminal | |
CN102831227A (en) | Method and system for browsing information flow of social application | |
CN103729067A (en) | Cloud mouse and keyboard implementation device and method | |
CN105719160A (en) | Automatic carousel information method based on current user geographical position | |
CN101389088A (en) | Multimedia message group sending method and group sending request method, multimedia message management platform device | |
CN102946487A (en) | Method and device for managing effectiveness of repeated linkmen | |
CN101943954A (en) | Mobile terminal text input method and device and mobile terminal | |
CN103064908A (en) | Method for rapidly removing repeated list through a memory | |
CN104144099A (en) | Method, system and electronic device for determining communication mode | |
CN103823798A (en) | Constellation information based dating platform member retrieval mode | |
CN104850558A (en) | Transaction management method and device based on communication text information, and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |