CN106250417A - A kind of method and device obtaining comment data - Google Patents

A kind of method and device obtaining comment data Download PDF

Info

Publication number
CN106250417A
CN106250417A CN201610587300.3A CN201610587300A CN106250417A CN 106250417 A CN106250417 A CN 106250417A CN 201610587300 A CN201610587300 A CN 201610587300A CN 106250417 A CN106250417 A CN 106250417A
Authority
CN
China
Prior art keywords
data
comment
time labelling
labelling
time
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
CN201610587300.3A
Other languages
Chinese (zh)
Inventor
李朋朋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LeTV Holding Beijing Co Ltd
LeTV Information Technology Beijing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Information Technology Beijing 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 LeTV Holding Beijing Co Ltd, LeTV Information Technology Beijing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610587300.3A priority Critical patent/CN106250417A/en
Publication of CN106250417A publication Critical patent/CN106250417A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

Abstract

The present invention discloses a kind of method and device obtaining comment data, and method includes arranging very first time labelling for the comment data in caching, arranges the second time labelling, when the comment data in described data base updates, updates described second time labelling;Receiving comment data and obtain request, relatively according to comparative result, described very first time labelling and described second time labelling, judge whether the data in described data base exist renewal;When the data judged in described data base exist and update, the comment data in described data base is stored in described caching, when the data judged in described data base do not update, export the comment data in described caching.Avoid user and read comment data frequently, improve the performance of interface, can quickly obtain comment data comment data does not updates when, save service end resource, improve response speed, improve Consumer's Experience.

Description

A kind of method and device obtaining comment data
Technical field
The present invention relates to computer realm, a kind of method obtaining comment data and data.
Background technology
Commentary Systems more and more occur in each big website, along with explosive growth and the need of business of user at present Want, more and more higher to service end performance requirement.
The composition of Commentary Systems generally comprises comments on+replys+like+comment warmly+elite, wherein:
Comment: the subjective opinion that i.e. a certain resource is delivered by user;
Reply: the subjective opinion that i.e. comment is delivered by user;
Like: user is to comment or the approval of reply;
Comment warmly: the comment under the most a certain resource is liked several some most comments;
Elite: the comment of some high-qualitys is arranged to elite comment so that at comment row to attract user by system operation personnel The top of table shows.
When request comment list, the way of existing technology is first to obtain comment list to obtain phase further according to comment list The reply list answered, then obtain user and the relation of praising of comment or ballot relation (if this comment is ballot comment), Obtain again and comment data warmly, then obtain elite data, then these 5 part data are spued.Through analyzing, general website, in request Can have more than during comment list 50% request all unrelated with user, i.e. represent that current request is not having user to log in In the case of obtain list.Such as, user, seeing a certain web video when, does not log in this net to its generation scene Standing, check comment under then having put, if so going to obtain data by the method for this substep, data volume is very big, and A lot of data and user are unrelated, and the performance of list can be caused the biggest impact.
Summary of the invention
The present invention provides the method and device of a kind of acquisition comment data, has the property of more excellent acquisition comment data Energy.
Present invention employs following technical scheme:
A kind of method obtaining comment data, including: very first time labelling is set for the comment data in caching, arranges the Two time labellings, when the comment data in described data base updates, update described second time labelling;
Receive comment data and obtain request, relatively described very first time labelling and described second time labelling, according to comparing Result judges whether the data in described data base exist renewal;
When the data judged in described data base exist and update, the comment data in described data base is stored described In caching, when the data judged in described data base do not update, export the comment data in described caching.
Further, described reception comment data obtains request particularly as follows: receive the comment data that non-login user sends Obtain request.
Further, described according to comparative result judge the data in described data base whether exist renewal particularly as follows: ratio Relatively very first time labelling and the size of the second time labelling, when described second time labelling is more than described very first time labelling, Judge that the data in described data base exist to update.
A kind of device obtaining comment data, including first arranging unit, second arranging unit and control unit;
Described first arranges unit for arranging very first time labelling for the comment data in caching;
Described second arranges unit for arranging the second time labelling, when the comment data in described data base updates, Update described second time labelling;
Described control unit is for when the data judged in described data base exist and update, by commenting in described data base Opinion data store in described caching, when the data judged in described data base do not update, export the comment in described caching Data.
Further, described device also includes user's detector unit, is used for detecting whether user is non-login user.
Further, described device also includes judging unit, for comparing very first time labelling and the second time labelling Size, when described second time labelling is more than described very first time labelling, it is determined that the data in described data base exist renewal.
The embodiment of the present invention mainly has a following beneficial effect:
By comment data is pre-deposited caching, when pre-set user needs to obtain comment data, judgement pre-deposits slow The comment data deposited is the most expired, without expired, directly read data cached, it is to avoid pre-set user reads frequently Comment data each several part includes commenting on, replys, likes, comments warmly, the subdata of elite, improves the performance of interface, at comment number According to can quickly obtain comment data when of renewal, save service end resource, improve response speed, improve use Family is experienced.
Accompanying drawing explanation
Fig. 1 is a kind of method schematic diagram obtaining comment data of the embodiment of the present invention one.
Fig. 2 is a kind of method schematic diagram obtaining comment data of the embodiment of the present invention two.
Fig. 3 is a kind of another schematic diagram of method obtaining comment data of the embodiment of the present invention two.
Fig. 4 is a kind of device schematic diagram obtaining comment data of the embodiment of the present invention three.
Fig. 5 is a kind of device schematic diagram obtaining comment data of the embodiment of the present invention four.
Detailed description of the invention
For the ease of understanding the present invention, below with reference to relevant drawings, the present invention is comprehensively described.But, this Bright other multiple different forms can also be used to realize, however it is not limited to embodiment described herein.
Unless otherwise defined, the implication that terminology used herein is generally understood that with those skilled in the art is identical.
Embodiment one
With reference to Fig. 1, being a kind of method schematic diagram obtaining comment data of the embodiment of the present invention one, the method can include Following steps:
Step S1: very first time labelling is set for the comment data in caching, the second time labelling is set, when described data When comment data in storehouse updates, update described second time labelling;
Step S2: receive comment data and obtain request, relatively described very first time labelling and described second time labelling, root Judge whether the data in described data base exist renewal according to comparative result;
Step S3: when the data judged in described data base exist and update, the comment data in described data base is deposited Store up in described caching, when the data judged in described data base do not update, export the comment data in described caching.
By comment data is pre-deposited caching, when pre-set user needs to obtain comment data, judgement pre-deposits slow The comment data deposited is the most expired, without expired, directly read data cached, it is to avoid pre-set user reads frequently Comment data each several part includes commenting on, replys, likes, comments warmly, the subdata of elite, improves the performance of interface, at comment number According to can quickly obtain comment data when of renewal, save service end resource, improve response speed, improve use Family is experienced.
Embodiment two
With reference to Fig. 2, being a kind of method schematic diagram obtaining comment data of the embodiment of the present invention two, the method can be wrapped Include:
Step 101: judge that user logs in, if being not logged in user then jump procedure 102;
Step 102: determine whether data cached, without data cached then jump procedure 103, if there being caching number According to then jump procedure 109;
Step 103: obtain comment subdata;
Step 104: obtain revertant data;
Step 105: obtain user and comment subdata and the relation of revertant data;
Step 106: obtain and comment subdata and elite subdata warmly;
Step 107: judge that user logs in, if being not logged in user then jump procedure 108;
Step 108: data are stored in caching, and very first time labelling A is set more than the second time labelling B;
Step 109: judge whether the second time labelling B is less than very first time labelling A, if the second time labelling B is the least In very first time labelling A then jump procedure 103, if the second time labelling B is less than very first time labelling A, jump procedure 110;
Step 110: export data cached.
The method also includes:
Step 201: the second time labelling B is set, and less than very first time labelling A;
Step 202: judge that comment data updates, if updated, jump procedure 203;
Step 203: the second time labelling B is set more than very first time labelling A, jump procedure 109.
With reference to Fig. 3, being a kind of another schematic diagram of method obtaining comment data of the embodiment of the present invention two, the method is permissible Including:
Step 301: judge that user logs in, if login user then jump procedure 302;
Step 302: obtain comment subdata;
Step 303: obtain revertant data;
Step 304: obtain user and comment subdata and the relation of revertant data;
Step 305: obtain and comment subdata and elite subdata warmly;
Step 306: judge that user logs in, if being not logged in user then jump procedure 307, if login user is then jumped Go to step 308;
Step 307: data are stored in caching, and record time labelling A;
Step 308: discharge data.
Step 301 and step 101 are all used for judging that user logs in, and subsequent step is to judge the Liang Ge branch that user logs in, Respectively it is not logged in the different disposal flow process of user and login user.
User can be that non-login user can also be logged on user, and service end first needs to identify user property, if It is not logged in user i.e. visitor, then the end in comment data is added correspondence and is not logged in the data cached of user and very first time mark Note, if login user, then adds the mark of the data cached and very first time of corresponding login user by the end in comment data Note.The comment data being not logged in user's acquisition is consistent, has further scope of applicability, for same login user is also There is very good effect.Data cached the including of corresponding non-login user comments on subdata, revertant data, likes subdata, heat Comment at least one in subdata, elite subdata.Different combinations can be taked, such as caching number according to different comment data According to including comment subdata, revertant data, commening subdata, elite subdata warmly.The caching number of preferably corresponding non-login user Comment on subdata, revertant data, like subdata, comment subdata and all data of elite subdata warmly according to including, comment on number According to more comprehensively, user disposably can obtain abundant information, need not repeatedly ask, and simplifies operation.Second time mark is set Note, default value is less than very first time labelling, when the comment data in described data base updates, updates described second time mark Note;
Described comment data includes commenting on subdata, revertant data, liking subdata, comment subdata, elite subnumber warmly At least one according to.As long as any one subdata in comment data updates when then arranging the second time labelling more than first Between labelling.
Second time labelling default value is less than very first time labelling, and comment data renewal then arranges the second time labelling and is more than Very first time labelling.If non-login user, and when can get data cached and very first time labelling less than second Between labelling, then reacquire comment data, the comment data newly obtained be stored in caching, and it is little to reset the second time labelling In very first time labelling.
Very first time labelling and the second time labelling include the information such as date, time, when very first time labelling is more than second Between labelling to represent that comment data does not update then directly output data cached, if the date of very first time labelling is relatively with now Time more remote, before being arranged on one month such as very first time labelling, the most the year before, then service end can be when applicable Wait as the most first obtained comment subdata by original flow process under service end idle condition corresponding further according to comment subdata acquisition Revertant data, then obtain user and the relation of praising of comment subdata or ballot relation (if this comment is ballot comment Words), then obtain and comment subdata warmly, then obtain elite subdata, then these 5 parton data are spued, be then stored in caching.Have Time service end make mistakes or other reasons cause do not recognize comment data update or arrange the second time labelling make mistakes, now Mechanism for correcting errors can correct a mistake promptly.The most first obtain comment subdata and obtain corresponding revertant further according to comment subdata Data, then obtain user and the relation of praising of comment subdata or ballot relation (if this comment is ballot comment), then Subdata is commentd in acquisition warmly, then obtains elite subdata, it is not necessary to wait obtained these 5 parton data spue be stored in caching, but Having obtained a portion subdata such as comment subdata i.e. discharge corresponding data and be stored in caching, the corresponding subdata of segmentation discharge is deposited Enter caching, naturally it is also possible to be to obtain that wherein two parts subdata such as comments on subdata, revertant data spue corresponding subnumber again According to being stored in caching.
Comment data includes many seed datas, as included commenting on subdata, revertant data, like subdata, comment son warmly Data, elite subdata etc., very first time labelling and the second time labelling are to whole comment data labelling, very first time labelling Also include the sub-labelling for every seed data with the second time labelling, i.e. include the first comment sub-mark such as very first time labelling Note, the first revertant labelling etc., the second time labelling includes the second sub-labelling of comment, the second revertant labelling etc., when comment number Updating such as comment subdata according to, second comments on sub-labelling and the second time labelling all updates, and service end is when updating caching Comment on sub-labelling according to second and the second time labelling just can know that the place needing to update, only need to update comment subdata i.e. Can, it is not necessary to update all, can economize on resources, improve response speed, reduce the pressure of service end.Certainly very first time labelling The sub-labelling for several subdata set can also be included, such as comment data and reply data sharing one with the second time labelling Individual first comment revertant labelling, the second comment revertant labelling, comment data warmly, elite data sharing one first comments elite warmly Sub-labelling, second commening the sub-labelling of elite warmly, the contact between some data is very tight, combines renewal and more meets user and use habit Used, some data renewal frequency can share a sub-labelling than relatively low, it is judged that process is more succinct, and software design becomes apparent from letter Clean.
It is stored in caching according to user's acquisition request data after comment data renewal and updates very first time labelling, it is also possible to from The dynamic comment data that obtains is stored in caching and updates very first time labelling.Automatic acquisition comment data is stored in caching can be in service end It is automatically performed time idle, it is also possible to be to pre-set one or more acquisition time point or time period, as user wishes in the morning Seeing new comment data, then arrange automatic acquisition comment data morning 9 and be stored in caching, 9 service ends are handled sometimes Other affairs be inconvenient to take service end resource acquisition comment data then can arrange a time period such as 9 o'clock to 9 thirty this Time period service end automatically obtains comment data and is stored in caching, automatically obtains when the service end free time within this time period, as Really in this time period, service end is the most busy, then automatically obtain according to the resource information that takies of service end, such as in service End take resource relatively low when automatically obtain, complete, if service end is long-time in the case of normal use can not be affected Altofrequency takies resource, then can be with Preset Time such as 10 minutes, after 20 minutes or so then separate a part from service end Resource obtains automatically, or a period of time of postponing as obtained for one hour, two hours the most automatically, or abandons current automatic Obtain wait the most automatically to obtain.Receive comment data and obtain request, relatively described very first time labelling and when described second Between labelling, judge whether the data in described data base exist renewal according to comparative result;When the number judged in described data base According to when there is renewal, the comment data in described data base is stored in described caching, when the number judged in described data base According to when not updating, export the comment data in described caching.
In the case of user is not logged in, required data are all stored in caching, arrange one simultaneously and be stored in slow Very first time labelling when depositing, the default value being designated as A, A is more than 0, arranges a second time labelling B, the default value of B the most again Being 0, B can be along with the generation of subdata of new comment data such as comment, elite or comment the renewal of subdata warmly and arrange new and big In the value of A, when the user being then not logged at the next one asks comment data, it is judged that whether lower B is more than A, if it does, represent There is new comment data to produce, then continue the most first to obtain comment subdata by original flow process and obtain corresponding further according to comment subdata Revertant data, then obtain user and the comment relation of praising of subdata or ballot relation (if this comment is ballot comment If), then obtain and comment subdata warmly, then obtain sperm China data, then these 5 parton data are spued, be then stored in caching. Do not have new comment data to produce if it is lower, represent after caching last time, caching remains new comment data, the most directly From caching, read comment data and spue.
In the case of user logs in, the most first obtain comment subdata by original flow process and obtain further according to comment subdata Corresponding revertant data, then obtain user and the relation of praising of comment subdata or ballot relation (if this comment is ballot If comment), then obtain and comment subdata warmly, then obtain elite subdata, judge whether user logs in the most again, if user is not Log in and then these 5 parton data are spued, be then stored in caching, and record very first time labelling A.If user log in then this 5 part data spue.
Embodiment three
With reference to Fig. 4, being a kind of device obtaining comment data of the embodiment of the present invention three, this device can include that first sets Put unit 11, second unit 13 and control unit 14 are set;
Described first arranges unit 11 for arranging very first time labelling for the comment data in caching;
Described second arranges unit 13 for arranging the second time labelling, when the comment data in described data base updates Time, update described second time labelling;
Described control unit 14 is for when the data judged in described data base exist and update, by described data base Comment data stores in described caching, when the data judged in described data base do not update, exports commenting in described caching Opinion data.
First to arrange unit 11 be that the comment data in caching arranges very first time labelling, and second arranges unit 13 arranges the Two time labellings, and when the comment data in described data base updates, update described second time labelling;Control unit 14 is worked as Judge, when the data in described data base exist renewal, the comment data in described data base to be stored in described caching, when Judge, when the data in described data base do not update, to export the comment data in described caching.Avoid pre-set user frequently Read each subdivision of comment data include commenting on, reply, like, comment warmly, the subdata of elite, improve the performance of interface, Can quickly obtain comment data when that comment data not updating, save service end resource, improve response speed, carried High Consumer's Experience.
Embodiment four
With reference to Fig. 5, being a kind of device obtaining comment data of the embodiment of the present invention four, this device can include that first sets Put unit 11, second unit 13, control unit 14 and user's detector unit 10 are set;
Described first arrange unit 11 be caching in comment data very first time labelling is set;
Described second arranges unit 13 arranges the second time labelling, and when the comment data in described data base updates, Update described second time labelling;
Described control unit 14 is when the data judged in described data base exist and update, by the comment in described data base Data store in described caching, when the data judged in described data base do not update, export the comment number in described caching According to.
Described user's detector unit 10 is used for detecting whether user is non-login user.
Control unit 14 is such as not logged in customer requirement retrieval comment data according to user, when very first time labelling is less than second Between labelling i.e. to pre-deposit the comment data of caching out of date, then reacquire comment data, and the comment data that will newly obtain It is stored in caching, resets very first time labelling more than the second time labelling.
Described device also includes detecting the renewal detector unit 12 that comment data updates.Detection comment data is more in real time Newly, can detections whole to comment data, it is also possible to carry out not according to the sensitivity of different piece subdata in comment data The scanning of same frequency, as user to commening warmly, elite subdata more sensitive, then to commening warmly, elite subdata uses and such as comments than other Discuss, reply, like the higher rate of scanning of subdata.
Described device also includes that time flag setting unit, described time flag setting unit include that very first time labelling sets Putting unit and the second time flag setting unit, comment data is stored in slow in service end by described very first time flag setting unit Arranging very first time labelling after depositing, described second time flag setting unit arranges the second time labelling, and has in comment data The second time labelling is reset the when of renewal.
Very first time flag setting unit includes many sub-flag setting units of the corresponding many seed datas of comment data, as Comment data includes commenting on subdata, revertant data, liking subdata, comment subdata, elite subdata etc. warmly, then first time Between flag setting unit include the first sub-flag setting unit of comment, the first revertant flag setting unit etc., same, second Time flag setting unit includes the second sub-flag setting unit of comment, the second revertant flag setting unit etc., described first Comment on sub-flag setting unit arrange after the comment subdata of comment data is stored in caching by service end very first time labelling and First comments on sub-labelling, and described second time flag setting unit was arranged the comment subdata of comment data has renewal when Second time labelling and second comments on sub-labelling.Service end comments on sub-labelling and the second time mark when updating caching according to second Note just can know that the place needing to update, and only need to update comment subdata, it is not necessary to update all, can economize on resources, Improve response speed, reduce the pressure of service end.
Many sub-labellings of corresponding comment data multiple subdata set can also be included by very first time flag setting unit Unit is set, as comment data includes commenting on subdata, revertant data, liking subdata, comment subdata, elite subdata warmly Deng, then very first time flag setting unit includes the first comment revertant flag setting unit, first comments the sub-labelling of elite warmly and set Putting unit etc., the second time flag setting unit includes the second comment revertant flag setting unit, second comments elite sub-mark warmly Note arranges unit etc., comment subdata and revertant data sharing one first comment revertant labelling, the second comment revertant Labelling, comments subdata warmly and elite subdata shares one first and comments the sub-labelling of elite warmly, and second comments the sub-labelling of elite warmly, some Contact between subdata is very tight, combines renewal and more meets user's use habit, some subdata renewal frequency than relatively low can To share a sub-labelling, arranging judge process more succinct, software design becomes apparent from succinctly.
Described very first time flag setting unit and the second time flag setting unit arrange very first time labelling and second Time labelling arranges the information such as date, time simultaneously, and described comment data also includes updating block remote, and described renewal remote is single Unit identifies the date of very first time labelling, if the date of very first time labelling relatively with compare now remote, such as the Before one time labelling is arranged on one month, the most the year before, updating block the most remote can be as empty in service end applicable when The most first obtain comment subdata by original flow process under not busy state and obtain corresponding revertant data further according to comment subdata, then Obtain user and the comment relation of praising of subdata or ballot relation (if this comment is ballot comment), then obtain and comment warmly Subdata, then obtain elite subdata, then these 5 parton data are spued, be then stored in caching.Sometimes service end make mistakes or Other reasons causes and does not recognize comment data and update or the second time labelling of arranging is made mistakes, mechanism for correcting errors energy now and Time correct mistake.The most first obtain comment subdata and obtain corresponding revertant data further according to comment subdata, then obtain use Family and the comment relation of praising of subdata or ballot relation (if this comment is ballot comment), then obtain and comment subnumber warmly According to, then obtain elite subdata, it is not necessary to wait having obtained these 5 parton data and spue and be stored in caching, but obtain wherein one The parton data such as comment subdata corresponding subdata that i.e. spues is stored in caching, and the segmentation corresponding subdata that spues is stored in caching, when Can also be so to obtain that wherein two parts such as comment on subdata, the revertant data corresponding subdata that spues again is stored in caching.
Described device also includes automatic acquiring unit, and automatic acquiring unit can automatically obtain after comment data updates and comment Opinion data are stored in caching and update very first time labelling.Automatically acquiring unit automatically obtain comment data be stored in caching can be at clothes Business was automatically performed during the end free time, it is also possible to be to pre-set one or more acquisition time point or time period, as user wishes See new comment data morning, then 9 automatic acquiring units in morning are set and automatically obtain comment data and be stored in caching, sometimes 9 Point service end is being handled other affairs and is inconvenient to take service end resource acquisition comment data and then can arrange a time period It is stored in caching, at clothes within this time period as automatically obtained comment data to this time period of 9 thirty automatic acquiring unit at 9 o'clock Business obtains during the end free time automatically, if service end is the most busy in this time period, then believes according to the resource that takies of service end Breath automatically obtains, such as service end take resource relatively low when automatically obtain, in the case of normal use can not be affected Complete, if the long-time altofrequency of service end takies resource, then can with Preset Time such as 10 minutes, after 20 minutes or the most then Automatic acquiring unit separates a part of resource from service end and automatically obtains, or postpones a period of time such as one hour, two Hour the most automatically obtain, or abandon current automatically obtaining and wait and the most automatically obtaining.
Described device also includes judging unit, judges whether the data in described data base exist renewal according to comparative result Particularly as follows: described judging unit compares very first time labelling and the size of the second time labelling, when described second time labelling is big When described very first time labelling, it is determined that the data in described data base exist renewal.
Above-described embodiment is the present invention preferably embodiment, but embodiments of the present invention are not by above-described embodiment Limit, the change made under other any spirit without departing from the present invention and principle, modify, substitute, combine, simplify, all Should be the substitute mode of equivalence, within being included in protection scope of the present invention.

Claims (6)

1. the method obtaining comment data, it is characterised in that including:
Very first time labelling is set for the comment data in caching, the second time labelling, the comment in described data base are set When data update, update described second time labelling;
Receive comment data and obtain request, relatively described very first time labelling and described second time labelling, according to comparative result Judge whether the data in described data base exist renewal;
When the data judged in described data base exist and update, the comment data in described data base is stored described caching In, when the data judged in described data base do not update, export the comment data in described caching.
A kind of method obtaining comment data the most according to claim 1, it is characterised in that described reception comment data obtains Take request particularly as follows: receive the comment data acquisition request that non-login user sends.
A kind of method obtaining comment data the most according to claim 1, it is characterised in that described sentence according to comparative result Whether the data in disconnected described data base exist updates particularly as follows: compare very first time labelling and the size of the second time labelling, When described second time labelling is more than described very first time labelling, it is determined that the data in described data base exist renewal.
4. the device obtaining comment data, it is characterised in that include first arranging unit, second arranging unit and control single Unit;
Described first arranges unit for arranging very first time labelling for the comment data in caching;
Described second arranges unit for arranging the second time labelling, when the comment data in described data base updates, updates Described second time labelling;
Described control unit is for when the data judged in described data base exist and update, by the comment number in described data base According in storage to described caching, when the data judged in described data base do not update, export the comment data in described caching.
A kind of device obtaining comment data the most according to claim 4, it is characterised in that described device also includes user Detector unit, is used for detecting whether user is non-login user.
A kind of device obtaining comment data the most according to claim 4, it is characterised in that described device also includes judging Unit, for comparing very first time labelling and the size of the second time labelling, when described second time labelling is more than described first During time labelling, it is determined that the data in described data base exist renewal.
CN201610587300.3A 2016-07-22 2016-07-22 A kind of method and device obtaining comment data Pending CN106250417A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610587300.3A CN106250417A (en) 2016-07-22 2016-07-22 A kind of method and device obtaining comment data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610587300.3A CN106250417A (en) 2016-07-22 2016-07-22 A kind of method and device obtaining comment data

Publications (1)

Publication Number Publication Date
CN106250417A true CN106250417A (en) 2016-12-21

Family

ID=57603514

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610587300.3A Pending CN106250417A (en) 2016-07-22 2016-07-22 A kind of method and device obtaining comment data

Country Status (1)

Country Link
CN (1) CN106250417A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112528185A (en) * 2020-12-17 2021-03-19 北京达佳互联信息技术有限公司 Comment information display method and device, server and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508884A (en) * 2011-10-18 2012-06-20 盘古文化传播有限公司 Method and device for acquiring hotpot events and real-time comments
US20120272161A1 (en) * 2006-04-04 2012-10-25 International Business Machines Corporation Caching Message Fragments during Real-Time Messaging Conversations
CN103164438A (en) * 2011-12-13 2013-06-19 北大方正集团有限公司 Acquisition method and system for web reviews
CN103546771A (en) * 2013-06-26 2014-01-29 Tcl集团股份有限公司 Television program review processing method and system based on smart terminal
CN105100290A (en) * 2015-09-30 2015-11-25 北京恒华伟业科技股份有限公司 Data synchronization method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120272161A1 (en) * 2006-04-04 2012-10-25 International Business Machines Corporation Caching Message Fragments during Real-Time Messaging Conversations
CN102508884A (en) * 2011-10-18 2012-06-20 盘古文化传播有限公司 Method and device for acquiring hotpot events and real-time comments
CN103164438A (en) * 2011-12-13 2013-06-19 北大方正集团有限公司 Acquisition method and system for web reviews
CN103546771A (en) * 2013-06-26 2014-01-29 Tcl集团股份有限公司 Television program review processing method and system based on smart terminal
CN105100290A (en) * 2015-09-30 2015-11-25 北京恒华伟业科技股份有限公司 Data synchronization method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112528185A (en) * 2020-12-17 2021-03-19 北京达佳互联信息技术有限公司 Comment information display method and device, server and terminal

Similar Documents

Publication Publication Date Title
AU2018201459B2 (en) System and method for improving access to search results
CN104065565B (en) The method of PUSH message, server, client terminal device and system
CN102932207B (en) The method of monitoring website access information and server
CN104702625B (en) Access request dispatching method and device in a kind of CDN network
CN108011752A (en) Fault locating analysis method and device, computer-readable recording medium
CN104834582B (en) A kind of monitor event methods of exhibiting
CN107797894B (en) APP user behavior analysis method and device
CN105869005A (en) APP startup advertisement pre-loading method, apparatus and system
CN103761279B (en) Method and system for scheduling network crawlers on basis of keyword search
CN102724059A (en) Website operation state monitoring and abnormal detection based on MapReduce
CN105930363A (en) HTML5 webpage based user behavior analysis method and device
CN102932206A (en) Method and system for monitoring website access information
US8656225B2 (en) Network fault management in busy periods
CN106897207A (en) Ui testing method and apparatus
CN106730833A (en) A kind of network game service condition monitoring system and method
CN103500177A (en) Method and device for counting activated users
WO2014196980A1 (en) Prioritizing log messages
CN110401552A (en) A kind of CDN business automated tuning method and device
US10761862B2 (en) Method and device for adding indicative icon in interactive application
CN104753979B (en) A kind of method, server, terminal and system showing site information
CN105743721A (en) Data uploading method, and method and device for processing uploaded data
CN106250417A (en) A kind of method and device obtaining comment data
CN108509639B (en) Table information management method, device and readable storage medium
Carrieri et al. Quality control and data validation procedure in large-scale quantitative monitoring of mosquito density: the case of Aedes albopictus in Emilia-Romagna region, Italy
CN109274764A (en) The environmental data acquisition system and method for technology based on information processing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20161221