CN105869057A - Comment storage device, comment reading method and apparatus, and comment writing method and apparatus - Google Patents
Comment storage device, comment reading method and apparatus, and comment writing method and apparatus Download PDFInfo
- Publication number
- CN105869057A CN105869057A CN201610214442.5A CN201610214442A CN105869057A CN 105869057 A CN105869057 A CN 105869057A CN 201610214442 A CN201610214442 A CN 201610214442A CN 105869057 A CN105869057 A CN 105869057A
- Authority
- CN
- China
- Prior art keywords
- comment
- user
- subject information
- key
- content
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 94
- 238000012552 review Methods 0.000 claims description 201
- 238000001514 detection method Methods 0.000 claims description 7
- 238000012163 sequencing technique Methods 0.000 claims description 4
- 238000012216 screening Methods 0.000 claims description 2
- 238000012545 processing Methods 0.000 abstract description 2
- 230000008569 process Effects 0.000 description 38
- HEFNNWSXXWATRW-UHFFFAOYSA-N Ibuprofen Chemical compound CC(C)CC1=CC=C(C(C)C(O)=O)C=C1 HEFNNWSXXWATRW-UHFFFAOYSA-N 0.000 description 16
- 238000010586 diagram Methods 0.000 description 10
- 230000000694 effects Effects 0.000 description 5
- 239000006185 dispersion Substances 0.000 description 4
- 230000008520 organization Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000002679 ablation Methods 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
Landscapes
- Business, Economics & Management (AREA)
- Health & Medical Sciences (AREA)
- Economics (AREA)
- General Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a comment storage device, a comment reading method and apparatus, and a comment writing method and apparatus, and belongs to the field of Internet. The comment reading method comprises the following steps: receiving a comment obtaining request sent by a user client, wherein the comment obtaining request comprises user identification of an i-th user and theme information identification of theme information; according to the theme information and the user identification of the i-th user, searching for user identification of each user in an i-th comment group corresponding to the i-th user from a comment record table; according to the theme information identification and the user identification of each user in the i-th comment group, querying comment content of all the users in the i-th comment group for the theme information from a comment content table; and sending the comment content to the user client. According to the invention, according to the introduced comment record table, when the comment content is obtained from a comment storage server, what is needed is only to obtain the comment content of the users commenting on the theme information, and thus processing resources of the comment storage server are saved.
Description
Technical field
The present embodiments relate to internet arena, particularly to one comment storage device, comment read,
Comment wiring method and device.
Background technology
Multidate information shows that function is function common in social class application program.User can be at multidate information
Issuing the multidate information of self on platform, other user that there is friend relation can be at this multidate information platform
On view this multidate information.
The multidate information of user self is not only included, it is also possible to include that platform itself pushes on multidate information platform
Subject information, subject information can be advertising message, application program recommendation information or event promotion information etc.
Deng.This kind of subject information can be commented on by user, and the comment content of this user can be by the good friend of this user
Visible.In comment storage server, generally using " ID+subject information mark " as key (major key),
This user comment to subject information is stored as value (value) using comment content.Different user is main to this
The comment content of topic information can corresponding different key.
In having and can mutually checking the other side's comment to this subject information between the user of friend relation
Hold, and subject information commented on content and is stored in different comment storage servers by dispersion by each user,
Therefore, when subscription client obtains good friend to the comment content of subject information every time, need to use substantial amounts of key
Access all comment storage servers and obtain corresponding value.Such as, user A has 200 good friends,
And 200 good friends are stored in 20 comment storage servers to the comment content of each subject information by dispersion
In, when user A needs to obtain good friend to the comment content of a certain subject information, need by 200 key
Access 20 comment storage servers and comment on content accordingly to obtain.
Owing to only this subject information can be commented on by fraction good friend, the most finally can only comment from fraction
Get, at opinion storage server, the comment that good friend is corresponding to this subject information, and acquisition process is required for every time
Access all comment storage servers the process resource causing comment storage server to be wasted.
Summary of the invention
It is required for accessing all comment storage servers to solve each acquisition process, causes comment storage clothes
The problem that the process resource of business device is wasted, embodiments provides a kind of comment storage device, comment
Read, comment on wiring method and device.Described technical scheme is as follows:
First aspect according to embodiments of the present invention, it is provided that a kind of comment storage device, described comment storage sets
Standby middle storage has comment content table and review record table;
Described comment content table comprises the first major key key and with described first corresponding for a key value
Value, a described key are the theme the combination of message identification and ID, and a described value is described
The user of the ID instruction comment content to the subject information of described subject information mark instruction;
Described review record table comprises the 2nd key and with described 2nd the 2nd corresponding for key value, institute
Stating the ID that the 2nd key is the i-th user, described 2nd value includes described subject information mark and the
The ID of each user in i comment group, each user in described i-th comment group is to comment on described master
The user of topic information, and described i-th comment group includes described i-th user and/or has pre-with described i-th user
Determining the jth user of social networks, i, j are integer and i ≠ j.
Second aspect according to embodiments of the present invention, it is provided that a kind of comment read method, for from first aspect
Reading comment content in described comment storage device, described method includes:
Receiving the comment acquisition request that subscription client sends, described comment obtains in request and comprises described i-th
The ID of user and the subject information mark of described subject information;
According to described subject information mark and the ID of described i-th user, look into from described review record table
Look for the ID of each user in described i-th comment group corresponding to described i-th user;
According to the ID of each user in described subject information mark and described i-th comment group, from institute's commentary
All users comment content to described subject information in described i-th comment group inquired about by opinion content table;
Described comment content is sent to described subscription client.
The third aspect according to embodiments of the present invention, it is provided that a kind of comment wiring method, for from first aspect
Write comment content in described comment storage device, described method includes:
Receiving the review information that subscription client sends, described review information includes user's mark of described i-th user
Know and described i-th user comment content to described subject information;
In described comment content table, described i-th user is write to described subject information according to described review information
Comment content;
According to described review information, the ID of described i-th user is write described review record table.
Fourth aspect according to embodiments of the present invention, it is provided that a kind of comment reading device, for from first aspect
Reading comment content in described comment storage device, described device includes:
Request receiver module, the comment sent for receiving subscription client obtains request, and described comment obtains
Request comprises the ID of described i-th user and the subject information mark of described subject information;
Identifier lookup module, for identifying according to described subject information and the ID of described i-th user, from
Described review record table is searched user's mark of each user in the described i-th comment group that described i-th user is corresponding
Know;
Content search module, for according to each user in described subject information mark and described i-th comment group
ID, inquires about in described i-th comment group all users to described subject information from described comment content table
Comment content;
Content sending module, for sending described comment content to described subscription client.
The 5th aspect according to embodiments of the present invention, it is provided that a kind of comment writing station, for such as first party
Write comment content in comment storage device described in face, described device includes:
Comment receiver module, for receiving the review information that subscription client sends, described review information includes
The ID of described i-th user and described i-th user comment content to described subject information;
Content writing module, for writing described i-th according to described review information in described comment content table
User's comment content to described subject information;
Record writing module, for writing described according to described review information by the ID of described i-th user
Review record table.
The 6th aspect according to embodiments of the present invention, it is provided that a kind of comment reading system, described system includes:
Subscription client, Read-write Catrol server and comment storage server;
Described Read-write Catrol server includes the comment reading device as described in fourth aspect;
Described comment storage server includes comment storage device as described in relation to the first aspect.
The 7th aspect according to embodiments of the present invention, it is provided that a kind of comment writing system, described system includes:
Subscription client, Read-write Catrol server and comment storage server;
Described Read-write Catrol server includes the comment writing station as described in terms of the 5th;
Described comment storage server includes comment storage device as described in relation to the first aspect.
The technical scheme that the embodiment of the present invention provides has the benefit that
By arranging comment content table and review record table in comment storage device, and receiving user visitor
When the comment that family end sends obtains request, from review record table, first obtain the user carrying out comment, then root
Obtain from comment content table according to the ID of this user and comment on content accordingly;Solve and obtained every time
Journey is required for accessing all comment storage servers, causes the process resource of comment storage server to be wasted
Problem;Reach according to the review record table introduced, when obtaining comment content at comment storage server,
Only need to obtain the comment content of the user carrying out subject information comment, thus save comment storage server
Process resource.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, institute in embodiment being described below
The accompanying drawing used is needed to be briefly described, it should be apparent that, the accompanying drawing in describing below is only the present invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work,
Other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the structural representation of the comment read-write system that one embodiment of the invention provides;
Fig. 2 is the schematic diagram showing interface that one embodiment of the invention provides;
Fig. 3 is the schematic diagram showing interface that another embodiment of the present invention provides;
Fig. 4 is the flow chart of the comment read method that one embodiment of the invention provides;
Fig. 5 A is the flow chart of the comment read method that another embodiment of the present invention provides;
Fig. 5 B is the enforcement schematic diagram of comment read method shown in Fig. 5 A;
Fig. 6 A is the flow chart of the comment read method that further embodiment of the present invention provides;
Fig. 6 B is the enforcement schematic diagram of comment read method shown in Fig. 6 A;
Fig. 7 is the flow chart of the comment wiring method that one embodiment of the invention provides;
Fig. 8 A is the flow chart of the comment wiring method that another embodiment of the present invention provides;
Fig. 8 B is the flow chart of comment review record ablation process involved by wiring method shown in Fig. 8 A;
Fig. 9 is the block diagram of the comment reading device that one embodiment of the invention provides;
Figure 10 is the block diagram of the comment reading device that another embodiment of the present invention provides;
Figure 11 is the block diagram of the comment writing station that one embodiment of the invention provides;
Figure 12 is the block diagram of the comment writing station that another embodiment of the present invention provides.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to the present invention
Embodiment is described in further detail.
Understand for convenience, below the noun occurred in the embodiment of the present invention is explained.
Subscription client: refer to the client application installed in the user terminal, in the embodiment of the present invention
Subscription client refers to the social client with social attribute.Social client is generally of instant communication function
Function is shown with multidate information.Such as, this social activity client can be instant messaging program, speech communication journey
Sequence, team's voice tool, Rich Media's social tool, gaming platform, microblogging or transaction platform etc..
Multidate information shows function: a user issues the multidate information of self on multidate information platform, deposits
Other user in social networks can find the function of this multidate information on the platform.At multidate information
On display platform, each user is to there being a multidate information stream corresponding with self account number, and this is dynamically believed
Breath stream includes the multidate information issued with other user that self there is predetermined social networks, and these are dynamic
Information is generally shown according to the form of timeline.Wherein, predetermined social networks includes: at multidate information
Platform exists friend relation, belong in multidate information platform same group relation and obtain user authorize
Consult at least one relation of authority.In certain embodiments, user has permission and arranges the dynamic of other user
Message occurs in the multidate information stream corresponding with self account number or forbids occurring.Multidate information display platform exists
The different titles in social client is possibly different from, such as, circle of friends, friend circle, human connection circle,
Life range etc..
Subject information: the information that multidate information platform itself pushes to each user, this subject information can be
Advertising message, application program recommendation information or event promotion information etc..Each is used per family can be to this kind of master
Topic information is commented on, and user can be had predetermined social activity with this user to the comment content of this subject information
Other user of relation consults, and wherein, this predetermined social networks includes: with this use in multidate information platform
There is friend relation, multidate information platform belong to this user same group relation and obtains this use in family
At least one relation consulting authority is authorized at family.Each embodiment of the present invention only with this predetermined social networks for
Schematically illustrate as a example by multidate information platform exists friend relation, but this is not defined.
Refer to Fig. 1, it illustrates the structural representation of the comment read-write system that one embodiment of the invention provides
Figure, this comment read-write system includes: at least one user terminal 110, Read-write Catrol server 120 and comment
Opinion storage server 130.
User terminal 110 is the electronic equipment running and having subscription client, and this subscription client is to have social activity
The social client of attribute.Each user logs in and uses this social activity client by self account number, and different
Predetermined social networks can be set up between user.User can receive corresponding dynamically letter by social client
The subject information that breath platform pushes, and this subject information can be commented on.
It is connected by wired or wireless network between user terminal 110 with Read-write Catrol server 120.
Read-write Catrol server 120 is to control comment to read and the server of write, alternatively, and this read-write control
Control server 120 is at least one station server, server cluster, distributed server platforms, cloud computing
The heart or the combination of several server cluster.Read-write Catrol server 120 is used for receiving user to user client
The comment of middle appointment subject information, and by this comment write comment storage server 130.Read-write Catrol server
120 are additionally operable to receive the comment acquisition request specifying subject information in user to user client, according to this comment
The request that obtains is from commenting on the corresponding comment of acquisition at storage server 130, and this comment returns to user's use
Subscription client.It should be noted that this Read-write Catrol server 120 can specifically include reading control
Server and write control server, are respectively used to read comment and to commenting from comment storage server 130
Opinion storage server 130 write comment, the present embodiment is only responsible for reading with this Read-write Catrol server 120 simultaneously
Schematically illustrate as a example by taking and write comment.
It is connected by wired or wireless network between Read-write Catrol server 120 with comment storage server 130.
Comment storage server 130 is for storing the server that subject information is commented on by each user.Comment
Storage server 130 can specifically include comment content storage server and review record storage server,
Wherein, comment content storage server is used for storing comment content table, and in this comment content table, storage has user
Detailed comment to subject information, such as comments on word, comment voice, comment picture, comment time, returns
Multiple time etc.;Review record storage server is used for storing review record table, stores in this review record table
The subject information mark having subject information and the ID of the user that this subject information was carried out comment.
It should be noted that owing to the data volume of storage comment is huge, in this comment read-write system, distribution is provided with many
Platform comment storage server 130, each user is stored in comment storage service to the comment of subject information by dispersion
In device 130.
In existing comment storage server, user is stored in one to the comment content of subject information is packaged
In the value that key is corresponding, such as, user 001 is stored in " user to the comment content of subject information A
001 subject information A " in corresponding for this key value.And the comment that different user is to different themes information
Then it is stored in different comment storage servers by dispersion.When subscription client needs to obtain user and good
Friend to a certain subject information all comment time, Read-write Catrol server then needs to call huge social networks
Chain, generates a large amount of key, and obtains corresponding comment according to the key generated from all comment storage servers
Content.Such as, user 001 has 200 good friends, believes theme when user 001 needs to obtain its good friend
When ceasing the comment content of A, Read-write Catrol server needs to generate 200 different key, and by accessing institute
Comment storage server is had to comment on content (value) accordingly to obtain.But for subject information, by
Commenting in there is typically only fraction good friend, the most finally only having sub-fraction comment storage server energy
Enough getting value corresponding to key, overwhelming majority comment storage server is not then because finding the key of correspondence
And value (i.e. ineffective access) cannot be returned.For the information that propelling movement amount this kind of for subject information is huge, frequently
Numerous access all comments storage server can cause great processing pressure, and substantial amounts of ineffective access can be made
Become the great wasting of resources.
And in the comment storage server that the embodiment of the present invention provides, not only comprise for storing comment content
Comment content table, also introduces the review record table for storing user and good friend's review record thereof.Read-write control
When control server obtains comment content, from review record table, first obtain the user of the user carrying out comment
Mark, the mark further according to the ID obtained and subject information generates corresponding key, and final from comment
Content table obtains and comments on content accordingly.The use not carrying out commenting on by accessing review record table to filter out
Family, thus reduce the quantity of the read request (key) of generation so that have only to access a small amount of comment storage service
Device can get comment content, it is to avoid the wasting of resources that ineffective access causes.Wherein, subject information with
And this subject information is commented on the displaying interface of content the most as shown in Figure 2 by user and good friend thereof: use
The circle of friends of family Alice comprises subject information 21, and this subject information comprises user Alice for 21 times to master
The comment content 22 of topic information 21, user Bob are to the comment content 23 of subject information 21, user Carol
The point of subject information 21 is praised by comment content 24 and user Alice and user Bob to subject information 21
Information 25, wherein, user Alice and user Bob friend relation, user each other in multidate information platform
Alice and user Carol friend relation each other in multidate information platform.
Below the storage organization commenting on content table and review record table in the embodiment of the present invention is illustrated.
The comment content table that the embodiment of the present invention provides uses the structure of key-value to deposit comment content
Storage.Wherein, this comment content table includes an a key and value corresponding for key with the oneth.First
Key uses the combination of subject information mark and ID, and the comment between instruction user and subject information is closed
System;Oneth value is then for storing user's comment content to subject information, and wherein, this comment content is not only
Comprise user's comment content to subject information, also comprise user under this subject information to other user (with
This user has predetermined social networks) reply content.Such as, corresponding for a key " super race-Alice " the
One value is user Alice to the evaluation content of super this subject information of race and user Alice to super
Run the reply content to good friend user under this theme.
Schematically, the list structure of comment content table can be as shown in Table 1.
Table one
Wherein, comment content in can specifically comprise comment ID, comment data, ID, the comment time,
Reply ID, ID is replied in comment and comments on erasing time etc., and schematically, this comment content can use table
Storage organization shown in two.
Table two
It addition, a value can also comprise user, and the point of subject information is praised information, this point praises depositing of information
Storage structure can be as shown in Table 3.
Table three
Point praises information | Point praises the time | Point praises sequence | Cancel point and praise the time |
Wherein, the some time of praising is the time that user carries out a little praising operation to this subject information, and point praises sequence instruction
The point of this subject information is praised present position in total point is praised by user, and a time of praising of cancelling is that user cancels this
The time that subject information point is praised.
The review record table that the embodiment of the present invention provides is also adopted by the structure review record to user of key-value
Store.Wherein, this review record table comprises the 2nd key and twoth value corresponding for key with the 2nd.
Schematically, the list structure of review record table can be as shown in Table 4.
Table four
Wherein, the 2nd key is the ID of the i-th user;2nd value includes subject information mark and the
The ID of each user in i comment group, each user in this i-th comment group is to comment on this theme letter
The user of breath, and the i-th comment group includes the i-th user and/or has the jth of predetermined social networks with the i-th user
User, i, j are integer and i ≠ j.
Such as, the subject information comprised in the 2nd value that the 2nd key " Alice " is corresponding is designated " super race ",
And the 2nd the ID of each user in the comment group comprised in value be respectively " Bob " and " Carol ",
Representing and have in the user of predetermined social networks with user Alice, user Bob and user Carol is all to " super
Running " this subject information carried out comment, and " super race " this subject information is also carried out by user Alice self
Cross comment.
Alternatively, the comment content delivered the last time according to user in the i-th comment group all users to this master
Time sequencing residing in the comment content of topic information, also comprises the use in the i-th comment group in the 2nd value
The each self-corresponding comment version number in family, and the general comment version number that the i-th comment group is to subject information.Schematically
, the list structure of review record table can also be as shown in Table 5.
Table five
Wherein, for each user in the i-th comment group, comment version number corresponding to user is used for indicating user
The comment content that the last time delivers in the i-th comment group all users to institute in the comment content of subject information
The time sequencing at place.Such as, the comment version number that in the i-th comment group, ID " Alice " is corresponding is 1, uses
The comment version number of family mark " Bob " correspondence is 2, and the comment version number of ID " Carol " correspondence is 3,
Show that in the i-th comment group, the comment sequencing of " super race " this subject information is by each user
Alice-Bob-Carol。
General comment version number is all users comment content sum to subject information in instruction the i-th comment group,
Such as, the i-th comment group comprises Alice, Bob and Carol comment to this subject information, the i.e. i-th comment
Group is 3 to the general comment version number of this subject information.It should be noted that when Alice is again to this theme
When information is commented on, the i-th comment group is updated to 4 to the general comment version number of this subject information and (comprises 4
Comment content), and comment version number corresponding to Alice is also updated to 4, and (comment content nearest for Alice is always
Comment content ranked fourth).
Such as, as it is shown on figure 3, user Alice is when 10:12 refreshes circle of friends, subject information 31 times is only
Comprise the user Alice comment content 32 to subject information 31, now, comment version corresponding for user Alice
This number is 1, and user's Alice correspondence comment group is also 1 to the general comment version number of subject information 31;When
User Alice is when 10:14 refreshes circle of friends, and subject information has increased user Bob for 31 times newly to subject information
The comment content 33 of 31 and the user Carol comment content 34 to subject information 31, now, user Alice
In corresponding comment group, comment version number corresponding for user Alice is 1, comment version corresponding for user Bob
Number being 2, comment version number corresponding for user Carol is 3, and user's Alice correspondence comment group is to subject information
The general comment version number of 31 is 3.
In conjunction with the comment read-write system shown in Fig. 1, comment storage server stores and safeguards above-described embodiment
The comment content table provided and review record table, when Read-write Catrol server receives what subscription client sent
For designated key information comment obtain request time, first Read-write Catrol server obtains from review record table
Take comment group (comprising the ID of the user commenting on this designated key information), further according to this comment group and
The subject information mark of designated key information obtains from comment content table and comments on content accordingly.Use below
The process that one embodiment reads comment content with regard to Read-write Catrol server illustrates.
Refer to Fig. 4, it illustrates the flow chart of the comment read method that one embodiment of the invention provides.This
Embodiment is applied to the Read-write Catrol server 120 shown in Fig. 1 with this comment read method and illustrates.
The method includes:
Step 402, receives the comment that subscription client sends and obtains request, and this comment obtains and comprises the in request
The ID of i user and the subject information mark of subject information.
Wherein, the i-th user is the user that this subscription client is corresponding, and ID the i-th user can log in use
The account number used during the client of family.
Step 404, according to subject information mark and the ID of the i-th user, searches from review record table
The ID of each user in the i-th comment group that i-th user is corresponding.
User in the i-th comment group found is the i-th user itself and/or has predetermined social activity with the i-th user
In the jth user of relation, and the i-th comment group with per family this subject information being carried out comment.
Step 406, according to the ID of each user in subject information mark and the i-th comment group, from comment
Content table is inquired about all users comment content to this subject information in the i-th comment group.
The comment content got comprises each user comment content to this subject information in the i-th comment group.
Step 408, sends comment content to subscription client.
Accordingly, the comment content received is shown by subscription client.
In sum, the comment read method that the present embodiment provides, comment by arranging in comment storage device
Opinion content table and review record table, and when receiving the comment that subscription client sends and obtaining request, first from
In review record table obtain carried out comment user, further according to this user ID from comment content table
Content is commented in middle acquisition accordingly;Solve each acquisition process to be required for accessing all comment storage servers,
Cause the problem that the process resource of comment storage server is wasted;Reach according to the review record table introduced,
When obtaining comment content at comment storage server, it is only necessary to obtain the user carrying out subject information comment
Comment content, thus save comment storage server process resource.
Refer to Fig. 5 A, it illustrates the flow chart of the comment read method that another embodiment of the present invention provides.
The present embodiment is applied to the Read-write Catrol server 120 shown in Fig. 1 with this comment read method and illustrates.
The method includes:
Step 501, receives the comment that subscription client sends and obtains request, and this comment obtains and comprises the in request
The ID of i user and the subject information mark of subject information.
After subscription client obtains subject information at dynamic information platform, this subject information can be commented
Opinion or point praise operation.There is other user of predetermined social networks to this subject information when needing to obtain with it
During comment content, subscription client i.e. sends comment to Read-write Catrol server and obtains request, and this comment obtains
Request carries the ID of subscription client correspondence user and the subject information mark of subject information,
Wherein, the account number used when this ID can refer to user's login user client, such as microblogging account number,
WeChat accounts, Alipay account number etc..
Corresponding, Read-write Catrol server receives the comment acquisition request that subscription client sends
Such as, with subscription client for wechat client, and as a example by user corresponding to wechat client is Alice,
Wechat client obtains the subject information " super race " of multidate information platform active push at dynamic information platform, and
Circle of friends shows.Meanwhile, wechat client sends comment acquisition to Read-write Catrol server
Request, is used for the comment content obtaining Alice and good friend thereof to this subject information " super race ".
Good friend owing to commenting on this subject information is less, the corresponding good friend comment to this subject information
Content is the most less, and therefore these comment contents are only saved in less comment storage server, and non-dispersive is deposited
Storage is in all storage servers.In order to avoid accessing the wasting of resources that all storage servers cause, read-write
Control server, first from all good friends of this user, filters out the good friend commenting on this subject information, i.e.
Perform following step 502 to step 504.
Step 502, is defined as the 2nd key by the ID of the i-th user.
After Read-write Catrol server gets comment acquisition request, this comment is obtained i-th comprised in request
The ID of user is defined as the 2nd key, and identifies from commenting according to the 2nd key and subject information further
Opinion record sheet obtains user (the i-th user itself and/or have society with the i-th user commenting on this subject information
The jth user of friendship relation) ID.
Such as, comment obtains and asks the ID comprised is " Alice ", and Read-write Catrol server will Alice
It is defined as the 2nd key.
Step 503, inquires about the 2nd value of correspondence in review record table according to the 2nd key.
Read-write Catrol server inquires about the 2nd value of correspondence according to the 2nd key from review record table.
Such as, Read-write Catrol server determines that the 2nd key is Alice, and at the review record table shown in table four
Middle the 2nd corresponding for acquisition Alice value.
Step 504, identifies according to subject information, obtains each user in the i-th comment group from the 2nd value
ID.
Further, Read-write Catrol server obtains the subject information mark comprised in request according to comment, from
2nd value obtains the ID of each user in the i-th comment group corresponding with this subject information mark.
Such as, Read-write Catrol server receives comment and obtains the subject identification comprised in request is " surpass and run ", i.e.
The i-th comment group that in the 2nd value, " super race " is corresponding, each user in this i-th comment group is obtained from table four
ID be respectively Alice, Bob, Carol, i.e. in the good friend of Alice, only Bob and Carol comment on
Cross " super race " this subject information.
Step 505, carries out group respectively by the ID of each user in subject information mark and the i-th comment group
Close, generate at least one key.
According to the ID of each user in the i-th comment group got, each is used by Read-write Catrol server
Family mark identifies with subject information and is combined, and generates at least one key, and according to a key from
Comment content table obtains a value of correspondence.
Such as, during Read-write Catrol server gets the i-th comment group, the ID of each user is respectively
The subject information comprised in Alice, Bob, Carol, and comment acquisition request is designated " super race ", generates
Following three the oneth key: " super race-Alice ", " super race-Bob ", " super race-Carol ".
Step 506, inquires about a value of correspondence from comment content table according at least one key,
Oneth value comprises the comment content to subject information of the user in the i-th comment group.
According at least one key generated, Read-write Catrol server from comment content table inquiry with this
A value corresponding for one key, thus obtain each user comment to this subject information in the i-th comment group
Content.
Such as, Read-write Catrol server, from comment content table shown in table one, obtains " super race-Alice " correspondence
Comment content is " Alice: good rod!-.-", the comment content obtaining " super race-Bob " correspondence be " Bob replys Alice:
Buy!", obtaining comment content corresponding to " super race-Carol " is that " Carol replys Alice: rod!”.
Step 507, sends comment content to subscription client.
The comment content got is sent to subscription client by Read-write Catrol server, enters for subscription client
Row display.
Obviously, according to the review record of storage in review record table, filter out from a large amount of good friends of user and comment
Discussed good friend's (step 502 to 504) of subject information, it is possible to the quantity substantially reducing the key of generation is (false
If Alice has 200 good friends, prior art is used to obtain in the comment of 200 good friends and Alice self
Hold and need to generate 201 key, and in the technical scheme that the embodiment of the present invention provides, carried out according to finding
The user of comment, it is only necessary to generate 3 key), thus reduce the quantity of the comment storage server of access;And
And, due to filter out with carrying out comment per family, therefore according to generate key access comment storage service
Device can get comment content, i.e. effectively access according to the key generated, it is to avoid ineffective access is made
The wasting of resources become.
In sum, the comment read method that the present embodiment provides, comment by arranging in comment storage device
Opinion content table and review record table, and when receiving the comment that subscription client sends and obtaining request, first from
In review record table obtain carried out comment user, further according to this user ID from comment content table
Content is commented in middle acquisition accordingly;Solve each acquisition process to be required for accessing all comment storage servers,
Cause the problem that the process resource of comment storage server is wasted;Reach according to the review record table introduced,
When obtaining comment content at comment storage server, it is only necessary to obtain the user carrying out subject information comment
Comment content, thus save comment storage server process resource.
In conjunction with comment read method as shown in figure 5, subscription client obtains appointment from comment storage server
The process of the comment content of subject information is the most as shown in Figure 5 B.
Wherein, comment storage server includes review record storage server and comment content storage server,
It is respectively used to store review record table and comment content table.
In step 511, subscription client sends to Read-write Catrol server and carries ID Alice and master
The comment of topic message identification " super race " obtains request;In step 512 and step 513, Read-write Catrol server root
Identify according to ID and subject information from review record storage server, obtain the user commenting on " super race "
ID;In step 514, Read-write Catrol server generates key according to the ID got;Step
In rapid 515, Read-write Catrol server is searched corresponding according to the key generated from comment content storage server
Comment content;In step 516, Read-write Catrol server sends in the comment found to subscription client
Hold.
When the 2nd value in review record table comprises each self-corresponding comment version of the user in the i-th comment group
Number, and the i-th comment group to the general comment version of subject information time, Read-write Catrol server can be according to comment
Obtain the historical review version number carried in request and reduce the quantity generating key further, thus reduce access
Comment storage server quantity.
Refer to Fig. 6 A, it illustrates the flow chart of the comment read method that further embodiment of the present invention provides.
The present embodiment is applied to the Read-write Catrol server 120 shown in Fig. 1 with this comment read method and illustrates.
The method includes:
Step 601, receives the comment that subscription client sends and obtains request, and this comment obtains and comprises the in request
The ID of i user and the subject information mark of subject information.
Step 602, is defined as the 2nd key by the ID of the i-th user.
Step 603, inquires about the 2nd value of correspondence in review record table according to the 2nd key.
Read-write Catrol server inquires about the 2nd value of correspondence according to the 2nd key from review record table.
Such as, Read-write Catrol server determines that the 2nd key is Alice, and at the review record table shown in table four
Middle the 2nd corresponding for acquisition Alice value.
The embodiment of 601 to the step of step 603 is similar to above-mentioned steps 501 to step 503, at this
Repeat no more.
Step 604, identifies according to subject information, obtains each user in the i-th comment group from the 2nd value
ID.
Unlike above-mentioned steps 504, Read-write Catrol server obtains the use of each user in the i-th comment group
While the mark of family, also get the comment version number that each user is corresponding.
Such as, Read-write Catrol server ID of each user in getting the i-th comment group is respectively
Alice, Bob and Carol, and comment version number corresponding to Alice be 1, comment version number corresponding for Bob is
2, Carol corresponding comment version numbers are 3.
Step 605, obtains the historical review version number comprised in request, from the i-th comment group according to comment
The ID of each user filters out target comment user, the comment version number that target comment user is corresponding
More than historical review version number.
The comment that subscription client sends obtains in request and comprises historical review version number, this historical review version
When number being to obtain user in the i-th comment group the subscription client last time to the comment content of subject information, i-th comments
The opinion group general comment version number to subject information.
Such as, the subscription client last time obtains Alice and good friend thereof the comment content to subject information " super race "
Time, only Alice carried out comment and (only comprised Alice, corresponding comment in the i-th comment group this subject information
Version number is 1 and general comment version number is also 1, only comprises the comment content of Alice in comment content table).When
When subscription client obtains the comment content that subject information " is surpassed and runs " by Alice and good friend thereof again, commenting of transmission
Opinion obtains in request and i.e. comprises historical review version number 1.
Read-write Catrol server is according to comment corresponding to user in this historical review version number and the i-th comment group
Version number, is defined as target comment user by comment version number more than the user of this historical review version number.
Such as, Read-write Catrol server obtains from comment and gets old version number request is 1, and comment note
As shown in Table 5, Read-write Catrol server will comment on user Bob and Carol of version number 2 and 3 correspondence to record table
It is defined as target comment user.
Step 606, is respectively combined the ID of subject information mark and each target comment user,
Generate at least one key.
Similar to above-mentioned steps 505, subject information mark and each target are commented on by Read-write Catrol server
The ID of user is respectively combined, and generates at least one key.
Such as, Read-write Catrol server obtains the ID of target comment user and is respectively Bob, Carol,
And comment obtains the subject information comprised in request and is designated " super race ", generate following two key: " super
Race-Bob ", " super race-Carol ".
Step 607, inquires about a value of correspondence from comment content table according at least one key,
Oneth value comprises target comment user's comment content to subject information.
According at least one key generated, Read-write Catrol server from comment content table inquiry with this
A value corresponding for one key, thus obtain target comment user's comment content to this subject information.
Such as, Read-write Catrol server, from comment content table shown in table one, obtains " super race-Bob " corresponding commenting
Opinion content is for " Bob replys Alice: buy!", the comment content obtaining " super race-Carol " corresponding is " Carol
Reply Alice: rod!”.
Step 608, sends comment content to subscription client.
The comment content got is sent to subscription client by Read-write Catrol server, enters for subscription client
Row display.
Obviously, after arranging comment version number for the review record of user, Read-write Catrol server obtains every time and comments
During opinion content, it is only necessary to obtained a upper acquisition moment to the comment content of increase between current time, further
Reduce the quantity of the comment content obtained.
In sum, the comment read method that the present embodiment provides, comment by arranging in comment storage device
Opinion content table and review record table, and when receiving the comment that subscription client sends and obtaining request, first from
In review record table obtain carried out comment user, further according to this user ID from comment content table
Content is commented in middle acquisition accordingly;Solve each acquisition process to be required for accessing all comment storage servers,
Cause the problem that the process resource of comment storage server is wasted;Reach according to the review record table introduced,
When obtaining comment content at comment storage server, it is only necessary to obtain the user carrying out subject information comment
Comment content, thus save comment storage server process resource.
In the present embodiment, by arranging comment version number for the review record of user so that Read-write Catrol service
When device obtains comment content every time, it is only necessary to obtained a upper acquisition moment to the comment of increase between current time
Content, reduces the quantity of the comment content obtained further.
In conjunction with the comment read method as shown in 6A, subscription client obtains appointment from comment storage server
The process of the comment content of subject information is the most as shown in Figure 6B.
Wherein, comment storage server includes review record storage server and comment content storage server,
It is respectively used to store review record table and comment content table.
In step 611, subscription client sends to Read-write Catrol server and carries ID Alice, master
Topic message identification " super race " and the comment of historical review version number 1 obtain request;Step 612 and step 613
In, Read-write Catrol server identifies according to ID and subject information and obtains from review record storage server
Take the ID of the user commenting on " super race ", and filter out target comment use according to historical review version number
Family;In step 614, Read-write Catrol server generates according to the ID of the target comment user got
key;In step 615, Read-write Catrol server is looked into from comment content storage server according to the key generated
Look for and comment on content accordingly;In step 616, Read-write Catrol server finds to subscription client transmission
Comment content and current general comment version number.
Refer to Fig. 7, it illustrates the flow chart of the comment wiring method that one embodiment of the invention provides.This
Embodiment is applied to the Read-write Catrol server 120 shown in Fig. 1 with this comment wiring method and illustrates.
The method includes:
Step 702, receives the review information that subscription client sends, and review information includes the user of the i-th user
Mark and i-th user comment content to subject information.
Step 704, writes in i-th user comment to subject information in comment content table according to review information
Hold.
Step 706, writes review record table according to review information by the ID of the i-th user.
Above-mentioned steps 704 and step 706 do not have the strict precedence relationship, i.e. step 704 and step 706 can
To carry out simultaneously.
In sum, the comment wiring method that the present embodiment provides, comment by arranging in comment storage device
Opinion content table and review record table, and when receiving the comment that subscription client sends and obtaining request, first from
In review record table obtain carried out comment user, further according to this user ID from comment content table
Content is commented in middle acquisition accordingly;Solve each acquisition process to be required for accessing all comment storage servers,
Cause the problem that the process resource of comment storage server is wasted;Reach according to the review record table introduced,
When obtaining comment content at comment storage server, it is only necessary to obtain the user carrying out subject information comment
Comment content, thus save comment storage server process resource.
Refer to Fig. 8 A, it illustrates the flow chart of the comment wiring method that another embodiment of the present invention provides.
The present embodiment is applied to the Read-write Catrol server 120 shown in Fig. 1 with this comment wiring method and illustrates.
The method includes:
Step 801, receives the review information that subscription client sends, and review information includes the user of the i-th user
Mark and i-th user comment content to subject information.
When a certain subject information is commented on by user, subscription client i.e. sends to Read-write Catrol server
Corresponding review information, the write in comment content table and review record table of instruction Read-write Catrol server is corresponding
Content.This review information includes ID and user's comment content to this subject information of user.
Such as, during user Alice comment subject information " super race ", subscription client is i.e. to Read-write Catrol server
Transmission comprises ID " Alice " and the comment content to subject information " super race ".
Step 802, identifies the ID combination with the i-th user by the subject information of subject information, generates the
One key.
Owing to comment content table using the storage organization of key-value, and the key in comment content table
Using the combination of " subject information mark-ID ", therefore, Read-write Catrol server gets review information
After, the ID that the subject information of subject information identifies with the i-th user is combined, generates a key.
Such as, Read-write Catrol server generates a key " super race-Alice " according to the review information received.
Step 803, whether detection comment content table comprises a key.
After Read-write Catrol server generates a key, whether detection comment content table comprises a key,
If comment content table does not comprise a key, this subject information was not commented before showing this user
Opinion, performs step 804;If comment content table comprises a key, show before this user this theme
Information carried out comment, performed step 805.
Step 804, if comment content table does not comprises a key, then comments the i-th user subject information
Opinion content is defined as a value;An oneth key and value is write comment content table.
If comment content table does not comprises a key, this subject information was not commented before showing user
Opinion, the i-th user is defined as a value to the comment content of this subject information by Read-write Catrol server, will
An oneth key and value together writes comment content table and is associated storage.
Step 805, if comment content table comprises a key, then by i-th user comment to subject information
Content adds a value corresponding for key to.
If comment content table comprises a key, before showing user, this subject information was carried out comment, read
Write control server to this subject information, the i-th user is commented on content to add the oneth corresponding for key first to
In value.
Step 806, is defined as the 2nd key by the ID of the i-th user.
Owing to review record table using the storage organization of key-value, and the use that the 2nd key is the i-th user
Family identifies, and therefore, after Read-write Catrol server gets review information, the ID of the i-th user is determined
It is a key.
Such as, Read-write Catrol server generates the 2nd key " Alice " according to the review information received.
Whether step 807, comprise twoth value corresponding for key with the 2nd in detection review record table.
Similar to above-mentioned steps 603, after Read-write Catrol server generates the 2nd key, detect review record
Whether table comprises twoth value corresponding for key with the 2nd, if comment content table in do not comprise with this second
The 2nd corresponding for key value, did not carried out comment to this subject information before showing this user, perform step
808;If review record table comprises twoth value corresponding for key with the 2nd, show before this user this
Subject information carried out comment, performed step 809.
Step 808, if not comprising twoth value corresponding for key with the 2nd in review record table, then creates i-th
Comment group;I-th user is added to the i-th comment group;The subject information of subject information is identified and the i-th comment
In group, the ID of user is defined as the 2nd value.
If not comprising twoth value corresponding for key with the 2nd in comment content table, Read-write Catrol server is i.e.
Instruction comment storage server creates the i-th comment group that the i-th user is corresponding in review record table, uses i-th
Family is added in this comment group and (is now only comprised the ID of the i-th user in the i-th comment group), and will be main
In the subject information mark of topic information and the i-th comment group, the ID of user is defined as the 2nd value, to the
Two key and the 2nd value are associated storage.
Step 809, if comprising twoth value corresponding for key with the 2nd, then by the i-th user in review record table
Add the i-th comment group in the 2nd value to.
If comprising twoth value corresponding for key with the 2nd in comment content table, Read-write Catrol server will
The ID of the i-th user is added in the i-th comment group, thus updates the i-th user and comment this subject information
Opinion record.
In sum, the comment wiring method that the present embodiment provides, comment by arranging in comment storage device
Opinion content table and review record table, and when receiving the comment that subscription client sends and obtaining request, first from
In review record table obtain carried out comment user, further according to this user ID from comment content table
Content is commented in middle acquisition accordingly;Solve each acquisition process to be required for accessing all comment storage servers,
Cause the problem that the process resource of comment storage server is wasted;Reach according to the review record table introduced,
When obtaining comment content at comment storage server, it is only necessary to obtain the user carrying out subject information comment
Comment content, thus save comment storage server process resource.
Owing to review record table not only being preserved the i-th user self review record to subject information, also comprise
The good friend user of the i-th user review record to this subject information, therefore, when the i-th user is to subject information
After commenting on, Read-write Catrol server also needs to enter its good friend user to the review record of this subject information
Row updates.As shown in Figure 8 B, after above-mentioned steps 801, also comprise the steps.
Step 810, according to the ID of the i-th user, determines have predetermined social networks with the i-th user
Jth user.
The social networks being previously stored with between user in Read-write Catrol server, sends when receiving the i-th user
Review information time, i.e. according to this social networks determine with this i-th user have predetermined social networks jth use
Family.
Step 811, is defined as the 2nd key by the ID of jth user.
Similar to above-mentioned steps 806, the ID of jth user is defined as second by Read-write Catrol server
key。
Whether step 812, comprise twoth value corresponding for key with the 2nd in detection review record table.
After Read-write Catrol server generates the 2nd key, whether detection review record table comprises and the 2nd key
The 2nd corresponding value, if not comprising twoth value corresponding for key with the 2nd in comment content table, shows
This subject information was not carried out before jth user comment, performed step 813;If review record table comprises
Twoth value corresponding for key with the 2nd, carried out comment to this subject information before showing jth user,
Perform step 814.
Step 813, if not comprising twoth value corresponding for key with the 2nd in review record table, then creates jth
Comment group, jth comment group is corresponding with jth user;Jth user is added to jth comment group;Theme is believed
In the subject information mark of breath and jth comment group, the ID of user is as the 2nd value.
It is similar to above-mentioned steps 808, if comment content table does not comprise and the 2nd corresponding for key second
Value, Read-write Catrol server i.e. indicates comment storage server to create jth user couple in review record table
The jth comment group answered, adds to the i-th user in this comment group and (only comprises i-th in now jth comment group
The ID of user), and the subject information of subject information is identified and user's mark of user in jth comment group
Know and be defined as the 2nd value, the 2nd key and the 2nd value is associated storage.
Step 814, if comprising twoth value corresponding for key with the 2nd, then by the i-th user in review record table
Add the jth comment group in the 2nd value to.
It is similar to above-mentioned steps 809, if comment content table comprises and the 2nd corresponding for key second
Value, Read-write Catrol server the ID of the i-th user will add in jth comment group, thus updates
The jth user review record to this subject information.
As shown in above-mentioned table five, review record table can also include the i-th comment group total version to subject information
Number.And the i-th comment number of breaking even corresponding to each user in comment group, therefore, Read-write Catrol server receives
After the review information of the i-th user, need user couple in the total version number in review record table and comment group
The comment version number answered is updated.After above-mentioned steps 808 and step 809, also include step 815;On
After stating step 813 and step 814, also include step 816.
Step 815, updates the i-th comment group general comment version number to subject information;After updating i-th is commented
Opinion group is assigned to, to the general comment version number of subject information, the comment version that in the i-th comment group, the i-th user is corresponding
Number.
For the i-th user, Read-write Catrol server receives i-th user review information to subject information
After, update in the corresponding i-th comment group of the i-th user, the i-th comment group general comment version number to subject information.
Wherein, update general comment version number can refer to add one on the basis of current general comment version number is.
Updated the i-th comment group to the general comment version number of subject information after, Read-write Catrol server will update after
General comment version number be assigned to the comment version number that in the i-th comment group, the i-th user is corresponding, indicate the i-th user
Comment to this subject information is up-to-date, and the comment version number that in the i-th comment group, other jth user is corresponding
Then keep constant.
Step 816, updates the jth comment group general comment version number to subject information;Jth after updating is commented
Opinion group is assigned to, to the general comment version number of subject information, the comment version that in jth comment group, the i-th user is corresponding
Number.
Similar to step 815 of submitting a written statement to a higher authority, for jth user, Read-write Catrol server receives the i-th use
After family is to the review information of subject information, updating in jth user's correspondence jth comment group, the i-th comment group is to master
The general comment version number of topic information.Wherein, update general comment version number can refer in current general comment version number
Add one on the basis of i.e..
Updated jth comment group to the general comment version number of subject information after, Read-write Catrol server will update after
General comment version number be assigned to the comment version number that in jth comment group, the i-th user is corresponding, indicate the i-th user
Comment to this subject information is up-to-date, and the comment version number that in jth comment group, other user is corresponding is then protected
Hold constant.
In the present embodiment, by arranging comment version number for the review record of user so that Read-write Catrol service
When device obtains comment content every time, it is only necessary to obtained a upper acquisition moment to the comment of increase between current time
Content, reduces the quantity of the comment content obtained further.
By introducing review record table so that when reading comment content, the quantity of read request is from hundred to thousand every time
Rank (being determined by user's good friend's quantity) is reduced to units rank (by the actual good friend's quantity carrying out and commenting on
Determine);By introducing comment version number so that during each reading comment, it is only necessary to when reading last time reading
It is carved between current time the comment content increased.By above 2 points so that whole comment read-write system is write
Enter and reading is balanced, reduce the load of comment read-write system, add the flexible of comment read-write system
Property.
Refer to Fig. 9, it illustrates the structure square frame of the comment reading device that one embodiment of the invention provides
Figure.This comment reading device by software, hardware or both be implemented in combination with becoming Read-write Catrol in Fig. 1
The all or part of server 120.This comment reading device includes:
Request receiver module 901, the comment sent for receiving subscription client obtains request, and described comment obtains
Take the subject information mark of ID and the described subject information comprising described i-th user in request;
Identifier lookup module 902, for the ID according to described subject information mark with described i-th user,
The user of each user in the described i-th comment group that described i-th user is corresponding is searched from described review record table
Mark;
Content search module 903, for according in described subject information mark and described i-th comment group, each is used
The ID at family, inquires about in described i-th comment group all users to described theme from described comment content table
The comment content of information;
Content sending module 904, for sending described comment content to described subscription client.
In sum, the comment reading device that the present embodiment provides, comment by arranging in comment storage device
Opinion content table and review record table, and when receiving the comment that subscription client sends and obtaining request, first from
In review record table obtain carried out comment user, further according to this user ID from comment content table
Content is commented in middle acquisition accordingly;Solve each acquisition process to be required for accessing all comment storage servers,
Cause the problem that the process resource of comment storage server is wasted;Reach according to the review record table introduced,
When obtaining comment content at comment storage server, it is only necessary to obtain the user carrying out subject information comment
Comment content, thus save comment storage server process resource.
Refer to Figure 10, it illustrates the structure side of the comment reading device that another embodiment of the present invention provides
Block diagram.This comment reading device is controlled by software, hardware or both read-writes that is implemented in combination with becoming in Fig. 1
The all or part of control server 120.This comment reading device includes:
Request receiver module 1001, the comment sent for receiving subscription client obtains request, described comment
Obtain the subject information mark of ID and the described subject information comprising described i-th user in request;
Identifier lookup module 1002, for the user's mark according to described subject information mark and described i-th user
Know, from described review record table, search each user in the described i-th comment group that described i-th user is corresponding
ID;
Content search module 1003, for according to described subject information mark and described i-th comment group in each
The ID of user, inquires about in described i-th comment group all users to described master from described comment content table
The comment content of topic information;
Content sending module 1004, for sending described comment content to described subscription client.
Alternatively, described content search module 1003, including:
First signal generating unit 1003a, for by each use in described subject information mark and described i-th comment group
The ID at family is respectively combined, and generates at least one key;
First query unit 1003b, is used for according at least one key described from described comment content table
The described value that inquiry is corresponding, comprises the user in described i-th comment group to institute in a described value
State the comment content of subject information.
Alternatively, described identifier lookup module 1002, including:
First determines unit 1002a, for the ID of described i-th user is defined as described 2nd key;
Second query unit 1002b, for inquiring about correspondence according to described 2nd key in described review record table
Described 2nd value;
Acquiring unit 1002c, for identifying according to described subject information, obtains institute from described 2nd value
State the ID of each user in the i-th comment group.
Alternatively, described comment obtains in request and comprises historical review version number, described historical review version number
It is to obtain the described subscription client last time in described i-th comment group in user's comment to described subject information
Rong Shi, the described i-th comment group general comment version number to described subject information;
Described device, also includes:
Screening module 1005, for according to described historical review version number, each from described i-th comment group
The ID of individual user filters out target comment user, the comment version that described target comment user is corresponding
Number more than described historical review version number.
In sum, the comment reading device that the present embodiment provides, comment by arranging in comment storage device
Opinion content table and review record table, and when receiving the comment that subscription client sends and obtaining request, first from
In review record table obtain carried out comment user, further according to this user ID from comment content table
Content is commented in middle acquisition accordingly;Solve each acquisition process to be required for accessing all comment storage servers,
Cause the problem that the process resource of comment storage server is wasted;Reach according to the review record table introduced,
When obtaining comment content at comment storage server, it is only necessary to obtain the user carrying out subject information comment
Comment content, thus save comment storage server process resource.
In the present embodiment, by arranging comment version number for the review record of user so that Read-write Catrol service
When device obtains comment content every time, it is only necessary to obtained a upper acquisition moment to the comment of increase between current time
Content, reduces the quantity of the comment content obtained further.
Refer to Figure 11, it illustrates the structure square frame of the comment writing station that one embodiment of the invention provides
Figure.This comment writing station by software, hardware or both be implemented in combination with becoming Read-write Catrol in Fig. 1
The all or part of server 120.This comment writing station includes:
Comment receiver module 1101, for receiving the review information that subscription client sends, described review information
ID and described i-th user comment content to described subject information including described i-th user;
Content writing module 1102, described for writing in described comment content table according to described review information
I-th user comment content to described subject information;
Record writing module 1103, for writing the ID of described i-th user according to described review information
Enter described review record table.
In sum, the comment writing station that the present embodiment provides, comment by arranging in comment storage device
Opinion content table and review record table, and when receiving the comment that subscription client sends and obtaining request, first from
In review record table obtain carried out comment user, further according to this user ID from comment content table
Content is commented in middle acquisition accordingly;Solve each acquisition process to be required for accessing all comment storage servers,
Cause the problem that the process resource of comment storage server is wasted;Reach according to the review record table introduced,
When obtaining comment content at comment storage server, it is only necessary to obtain the user carrying out subject information comment
Comment content, thus save comment storage server process resource.
Refer to Figure 12, it illustrates the structure side of the comment writing station that another embodiment of the present invention provides
Block diagram.This comment writing station is controlled by software, hardware or both read-writes that is implemented in combination with becoming in Fig. 1
The all or part of control server 120.This comment writing station includes:
Comment receiver module 1201, for receiving the review information that subscription client sends, described review information
ID and described i-th user comment content to described subject information including described i-th user;
Content writing module 1202, described for writing in described comment content table according to described review information
I-th user comment content to described subject information;
Record writing module 1203, for writing the ID of described i-th user according to described review information
Enter described review record table.
Alternatively, described content writing module 1202, including:
Second signal generating unit 1202a, for identifying the subject information of described subject information and described i-th user
ID combination, generate a described key;
First detector unit 1202b, is used for detecting whether described comment content table comprises a described key;
First writing unit 1202c, if not comprising a described key, then by institute for described comment content table
State the i-th user and the comment content of described subject information is defined as a described value;By a described key
Described comment content table is write with a described value;
Second writing unit 1202d, if comprising a described key, then by described for described comment content table
Described subject information is commented on content and is added a described value corresponding to a described key to by the i-th user.
Alternatively, described record writing module 1203, including:
Second determines unit 1203a, for the ID of described i-th user is defined as described 2nd key;
Whether the second detector unit 1203b, be used for detecting in described review record table and comprise and described 2nd key
Corresponding described 2nd value;
3rd writing unit 1203c, if do not comprise corresponding with described 2nd key in described review record table
Described 2nd value, then create described i-th comment group;Described i-th user is added to described i-th comment
Group;The subject information of described subject information is identified and in described i-th comment group, the ID of user is defined as
Described 2nd value;
4th writing unit 1203d, if comprise corresponding with described 2nd key in described review record table
Described 2nd value, then add the described i-th comment group in described 2nd value to by described i-th user.
Alternatively, described device, also include:
First determines module 1204, for the ID according to described i-th user, determines and described i-th
User has the described jth user of predetermined social networks;
Second determines module 1205, for the ID of described jth user is defined as described 2nd key;
Detection module 1206, be used for detecting in described review record table whether comprise corresponding with described 2nd key
Described 2nd value;
First writing module 1207, if do not comprise corresponding with described 2nd key in described review record table
Described 2nd value, then create jth comment group, described jth comment group is corresponding with described jth user;Will
Described jth user adds jth comment group to;The subject information of described subject information is identified and described jth is commented
In opinion group, the ID of user is as described 2nd value;
Second writing module 1208, if comprise corresponding with described 2nd key in described review record table
Described 2nd value, then add described i-th user to jth comment group in described 2nd value.
Alternatively, described device, also include
First more new module 1209, for updating the described i-th comment group general comment version to described subject information
This number;Described i-th comment group after updating is assigned to described the to the general comment version number of described subject information
The comment version number that described in i comment group, the i-th user is corresponding;
Second more new module 12010, for updating the described jth comment group general comment version to described subject information
This number;Described jth comment group after updating is assigned to described the to the general comment version number of described subject information
The comment version number that described in j comment group, the i-th user is corresponding.
In sum, the comment writing station that the present embodiment provides, comment by arranging in comment storage device
Opinion content table and review record table, and when receiving the comment that subscription client sends and obtaining request, first from
In review record table obtain carried out comment user, further according to this user ID from comment content table
Content is commented in middle acquisition accordingly;Solve each acquisition process to be required for accessing all comment storage servers,
Cause the problem that the process resource of comment storage server is wasted;Reach according to the review record table introduced,
When obtaining comment content at comment storage server, it is only necessary to obtain the user carrying out subject information comment
Comment content, thus save comment storage server process resource.
In the present embodiment, by arranging comment version number for the review record of user so that Read-write Catrol service
When device obtains comment content every time, it is only necessary to obtained a upper acquisition moment to the comment of increase between current time
Content, reduces the quantity of the comment content obtained further.
It should be understood that above-described embodiment provide comment read and comment writing station, only with above-mentioned respectively
The division of functional module is illustrated, and in actual application, can above-mentioned functions be distributed as desired
Completed by different functional modules, the internal structure of Read-write Catrol server will be divided into different function moulds
Block, to complete all or part of function described above.It addition, the comment that above-described embodiment provides is read
Device and comment read method embodiment belong to same design, and comment writing station is implemented with comment wiring method
Example belongs to same design, and it implements process and refers to embodiment of the method, repeats no more here.
It should be appreciated that it is used in the present context, unless exception, odd number clearly supported in context
Form " one " (" a ", " an ", " the ") is intended to also include plural form.It is to be further understood that at this
The "and/or" used in literary composition refers to any and institute of or more than one project listed explicitly
Likely combine.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can be passed through
Hardware completes, it is also possible to instructing relevant hardware by program and complete, described program can be stored in
In a kind of computer-readable recording medium, storage medium mentioned above can be read-only storage, disk or
CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all the present invention's
Within spirit and principle, any modification, equivalent substitution and improvement etc. made, should be included in the present invention's
Within protection domain.
Claims (22)
1. a comment storage device, it is characterised in that in described comment storage device, storage has comment content
Table and review record table;
Described comment content table comprises the first major key key and with described first corresponding for a key value
Value, a described key are the theme the combination of message identification and ID, and a described value is described
The user of the ID instruction comment content to the subject information of described subject information mark instruction;
Described review record table comprises the 2nd key and with described 2nd the 2nd corresponding for key value, institute
Stating the ID that the 2nd key is the i-th user, described 2nd value includes described subject information mark and the
The ID of each user in i comment group, each user in described i-th comment group is to comment on described master
The user of topic information, and described i-th comment group includes described i-th user and/or has pre-with described i-th user
Determining the jth user of social networks, i, j are integer and i ≠ j.
Comment storage device the most according to claim 1, it is characterised in that
Described 2nd value also comprises: each self-corresponding comment version number of user in described i-th comment group,
And the general comment version number that described i-th comment group is to described subject information;
Wherein, for each user in described i-th comment group, comment version number corresponding to described user is used for
Indicate comment content that described user delivers the last time in described i-th comment group all users to described master
Time sequencing residing in the comment content of topic information;
Described general comment version number is for indicating in described i-th comment group all users to described subject information
Comment content sum.
3. a comment read method, it is characterised in that for from comment as claimed in claim 1 or 2
Reading comment content in storage device, described method includes:
Receiving the comment acquisition request that subscription client sends, described comment obtains in request and comprises described i-th
The ID of user and the subject information mark of described subject information;
According to described subject information mark and the ID of described i-th user, look into from described review record table
Look for the ID of each user in described i-th comment group corresponding to described i-th user;
According to the ID of each user in described subject information mark and described i-th comment group, from institute's commentary
All users comment content to described subject information in described i-th comment group inquired about by opinion content table;
Described comment content is sent to described subscription client.
Method the most according to claim 3, it is characterised in that described identify according to described subject information
With the ID of each user in described i-th comment group, from described comment content table, inquire about described i-th comment
All users comment content to described subject information in opinion group, including:
The ID of each user in described subject information mark and described i-th comment group is carried out group respectively
Close, generate at least one key;
From described comment content table, described the first of correspondence is inquired about according at least one key described
Value, comprises in a described value in the comment to described subject information of the user in described i-th comment group
Hold.
5. according to the method described in claim 3 or 4, it is characterised in that described according to described subject information
Mark and the ID of described i-th user, search described i-th user corresponding from described review record table
The ID of each user in described i-th comment group, including:
The ID of described i-th user is defined as described 2nd key;
In described review record table, described 2nd value of correspondence is inquired about according to described 2nd key;
Identify according to described subject information, from described 2nd value, obtain each use in described i-th comment group
The ID at family.
6. according to the arbitrary described method of claim 3 to 5, it is characterised in that described comment obtains request
In comprise historical review version number, described historical review version number be the described subscription client last time obtain institute
When stating user in the i-th comment group to the comment content of described subject information, described i-th comment group is to described theme
The general comment version number of information;
Described according to described subject information mark and the ID of described i-th user, from described review record table
After the ID of each user in the described i-th comment group that described i-th user of middle lookup is corresponding, also wrap
Include:
According to described historical review version number, the ID of each user from described i-th comment group is sieved
Selecting target comment user, described target comments on comment version number corresponding to user more than described historical review version
This number.
7. a comment wiring method, it is characterised in that for comment as claimed in claim 1 or 2
Write comment content in storage device, described method includes:
Receiving the review information that subscription client sends, described review information includes user's mark of described i-th user
Know and described i-th user comment content to described subject information;
In described comment content table, described i-th user is write to described subject information according to described review information
Comment content;
According to described review information, the ID of described i-th user is write described review record table.
Method the most according to claim 7, it is characterised in that described according to described review information to institute
Commentary opinion content table writes described i-th user comment content to described subject information, including:
The subject information of described subject information is identified the ID combination with described i-th user, generates described
Oneth key;
Detect whether described comment content table comprises a described key;
If described comment content table does not comprises a described key, then by described i-th user to described subject information
Comment content be defined as a described value;By described to a described key and a described value write
Comment content table;
If described comment content table comprises a described key, then by described i-th user to described subject information
Comment content adds a described value corresponding to a described key to.
9. according to the method described in claim 7 or 8, it is characterised in that described according to described review information
The ID of described i-th user is write described review record table, including:
The ID of described i-th user is defined as described 2nd key;
Detect and whether described review record table comprises described twoth value corresponding with described 2nd key;
If described review record table does not comprises described twoth value corresponding with described 2nd key, then create
Described i-th comment group;Described i-th user is added to described i-th comment group;Master by described subject information
In topic message identification and described i-th comment group, the ID of user is defined as described 2nd value;
If described review record table comprising described twoth value corresponding with described 2nd key, then by described
I-th user adds the described i-th comment group in described 2nd value to.
Method the most according to claim 9, it is characterised in that described reception subscription client sends
Review information after, also include:
According to the ID of described i-th user, determine, with described i-th user, there is the institute of predetermined social networks
State jth user;
The ID of described jth user is defined as described 2nd key;
Detect and whether described review record table comprises described twoth value corresponding with described 2nd key;
If described review record table does not comprises described twoth value corresponding with described 2nd key, then create
Jth comment group, described jth comment group is corresponding with described jth user;Add described jth user to jth
Comment group;The subject information of described subject information is identified and in described jth comment group, the ID of user is made
For described 2nd value;
If described review record table comprising described twoth value corresponding with described 2nd key, then by described
I-th user adds the jth comment group in described 2nd value to.
11. methods according to claim 10, it is characterised in that described according to described review information general
After the ID of described i-th user writes described review record table, also include
Update the described i-th comment group general comment version number to described subject information;After updating described i-th
Comment group is assigned to the i-th user couple described in described i-th comment group to the general comment version number of described subject information
The comment version number answered;
Update the described jth comment group general comment version number to described subject information;Described jth after updating
Comment group is assigned to the i-th user couple described in described jth comment group to the general comment version number of described subject information
The comment version number answered.
12. 1 kinds of comment reading devices, it is characterised in that for from commenting as claimed in claim 1 or 2
Reading comment content in opinion storage device, described device includes:
Request receiver module, the comment sent for receiving subscription client obtains request, and described comment obtains
Request comprises the ID of described i-th user and the subject information mark of described subject information;
Identifier lookup module, for identifying according to described subject information and the ID of described i-th user, from
Described review record table is searched user's mark of each user in the described i-th comment group that described i-th user is corresponding
Know;
Content search module, for according to each user in described subject information mark and described i-th comment group
ID, inquires about in described i-th comment group all users to described subject information from described comment content table
Comment content;
Content sending module, for sending described comment content to described subscription client.
13. devices according to claim 12, it is characterised in that described content search module, including:
First signal generating unit, for by the use of each user in described subject information mark and described i-th comment group
Family mark is respectively combined, and generates at least one key;
First query unit, for inquiring about from described comment content table according at least one key described
A corresponding described value, comprises the user in described i-th comment group to described master in a described value
The comment content of topic information.
14. according to the device described in claim 12 or 13, it is characterised in that described identifier lookup module,
Including:
First determines unit, for the ID of described i-th user is defined as described 2nd key;
Second query unit, for inquiring about the institute of correspondence in described review record table according to described 2nd key
State the 2nd value;
Acquiring unit, for identifying according to described subject information, obtains described i-th from described 2nd value
The ID of each user in comment group.
15. according to the arbitrary described device of claim 12 to 14, it is characterised in that described comment obtains
Comprising historical review version number in request, described historical review version number is to obtain the described subscription client last time
When taking user in described i-th comment group to the comment content of described subject information, described i-th comment group is to described
The general comment version number of subject information;
Described device, also includes:
Screening module, for according to described historical review version number, each user from described i-th comment group
ID in filter out target comment user, comment version number corresponding to described target comment user is more than
Described historical review version number.
16. 1 kinds of comment writing stations, it is characterised in that for commenting as claimed in claim 1 or 2
Write comment content in opinion storage device, described device includes:
Comment receiver module, for receiving the review information that subscription client sends, described review information includes
The ID of described i-th user and described i-th user comment content to described subject information;
Content writing module, for writing described i-th according to described review information in described comment content table
User's comment content to described subject information;
Record writing module, for writing described according to described review information by the ID of described i-th user
Review record table.
17. devices according to claim 16, it is characterised in that described content writing module, including:
Second signal generating unit, for identifying the user with described i-th user by the subject information of described subject information
Identifier combination, generates a described key;
First detector unit, is used for detecting whether described comment content table comprises a described key;
First writing unit, if not comprising a described key, then by described i-th for described comment content table
User is defined as a described value to the comment content of described subject information;By a described key and described
Oneth value writes described comment content table;
Second writing unit, if comprising a described key for described comment content table, then uses described i-th
Described subject information is commented on content and is added a described value corresponding to a described key to by family.
18. according to the device described in claim 16 or 17, it is characterised in that described record writing module,
Including:
Second determines unit, for the ID of described i-th user is defined as described 2nd key;
Second detector unit, be used for detecting in described review record table whether comprise corresponding with described 2nd key
Described 2nd value;
3rd writing unit, if do not comprise and described institute corresponding for 2nd key in described review record table
State the 2nd value, then create described i-th comment group;Described i-th user is added to described i-th comment group;
The subject information of described subject information is identified and in described i-th comment group, the ID of user is defined as institute
State the 2nd value;
4th writing unit, if comprise in the described review record table corresponding with described 2nd key described in
2nd value, then add the described i-th comment group in described 2nd value to by described i-th user.
19. devices according to claim 18, it is characterised in that described device, also include:
First determines module, for the ID according to described i-th user, determines and described i-th user's tool
There is the described jth user of predetermined social networks;
Second determines module, for the ID of described jth user is defined as described 2nd key;
Whether detection module, comprise in described review record table and described institute corresponding for 2nd key for detecting
State the 2nd value;
First writing module, if do not comprise and described institute corresponding for 2nd key in described review record table
Stating the 2nd value, then create jth comment group, described jth comment group is corresponding with described jth user;By described
Jth user adds jth comment group to;The subject information of described subject information is identified and described jth comment group
The ID of middle user is as described 2nd value;
Second writing module, if comprise in the described review record table corresponding with described 2nd key described in
2nd value, then add described i-th user to jth comment group in described 2nd value.
20. devices according to claim 19, it is characterised in that described device, also include
First more new module, for updating the described i-th comment group general comment version number to described subject information;
Described i-th comment group after updating is assigned to described i-th comment to the general comment version number of described subject information
The comment version number that i-th user described in group is corresponding;
Second more new module, for updating the described jth comment group general comment version number to described subject information;
Described jth comment group after updating is assigned to the comment of described jth to the general comment version number of described subject information
The comment version number that i-th user described in group is corresponding.
21. 1 kinds of comment read-write systems, it is characterised in that described system includes: subscription client, read-write
Control server and comment storage server;
Described Read-write Catrol server include comment reading device as described in claim 12 to 15 is arbitrary with
And the comment writing station as described in claim 16 to 20 is arbitrary;
Described comment storage server is to comment on storage device as claimed in claim 1 or 2.
22. systems according to claim 21, it is characterised in that described comment storage server includes
Comment content storage server and review record storage server;
Described comment content storage server is used for storing described comment content table;
Described review record storage server is used for storing described review record table.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610214442.5A CN105869057B (en) | 2016-04-07 | 2016-04-07 | Comment storage device, comment reading method and device, and comment writing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610214442.5A CN105869057B (en) | 2016-04-07 | 2016-04-07 | Comment storage device, comment reading method and device, and comment writing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105869057A true CN105869057A (en) | 2016-08-17 |
CN105869057B CN105869057B (en) | 2020-10-09 |
Family
ID=56636580
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610214442.5A Active CN105869057B (en) | 2016-04-07 | 2016-04-07 | Comment storage device, comment reading method and device, and comment writing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105869057B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107872473A (en) * | 2016-09-23 | 2018-04-03 | 阿里巴巴集团控股有限公司 | Message treatment method, device and system |
CN108111574A (en) * | 2017-11-29 | 2018-06-01 | 链家网(北京)科技有限公司 | A kind of information push method and system |
CN110148024A (en) * | 2019-05-21 | 2019-08-20 | 北京字节跳动网络技术有限公司 | It is a kind of for provide comment input pattern method and apparatus |
CN110688832A (en) * | 2019-10-10 | 2020-01-14 | 河北省讯飞人工智能研究院 | Comment generation method, device, equipment and storage medium |
CN111309932A (en) * | 2020-02-07 | 2020-06-19 | 北京字节跳动网络技术有限公司 | Comment data query method, device, equipment and storage medium |
CN111460322A (en) * | 2020-04-16 | 2020-07-28 | 腾讯科技(成都)有限公司 | Data processing method, device, equipment and readable storage medium |
CN112307394A (en) * | 2019-10-21 | 2021-02-02 | 北京字节跳动网络技术有限公司 | Information display method and device and electronic equipment |
WO2022095969A1 (en) * | 2020-11-06 | 2022-05-12 | 北京字跳网络技术有限公司 | Information processing method and apparatus, terminal, and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101950308A (en) * | 2010-09-30 | 2011-01-19 | 深圳市戴文科技有限公司 | Method, device, server and system for displaying network comment information |
US20120088218A1 (en) * | 2007-12-12 | 2012-04-12 | Russell Acree | System and method of penalty data compilation, analysis and report generation |
CN103034672A (en) * | 2011-09-29 | 2013-04-10 | 云壤(北京)信息技术有限公司 | Social search system and social search method |
CN103620598A (en) * | 2011-10-28 | 2014-03-05 | 乐天株式会社 | Review text output system, review text output method, program and computer-readable information storage medium |
CN104239348A (en) * | 2013-06-21 | 2014-12-24 | 镇江新晔网络科技有限公司 | Computing method for comments participated by relevant users |
CN105260136A (en) * | 2015-09-24 | 2016-01-20 | 北京百度网讯科技有限公司 | Data read-write method and distributed storage system |
CN105468740A (en) * | 2015-11-24 | 2016-04-06 | 网易(杭州)网络有限公司 | Game player data storage and analysis method and apparatus |
-
2016
- 2016-04-07 CN CN201610214442.5A patent/CN105869057B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120088218A1 (en) * | 2007-12-12 | 2012-04-12 | Russell Acree | System and method of penalty data compilation, analysis and report generation |
CN101950308A (en) * | 2010-09-30 | 2011-01-19 | 深圳市戴文科技有限公司 | Method, device, server and system for displaying network comment information |
CN103034672A (en) * | 2011-09-29 | 2013-04-10 | 云壤(北京)信息技术有限公司 | Social search system and social search method |
CN103620598A (en) * | 2011-10-28 | 2014-03-05 | 乐天株式会社 | Review text output system, review text output method, program and computer-readable information storage medium |
CN104239348A (en) * | 2013-06-21 | 2014-12-24 | 镇江新晔网络科技有限公司 | Computing method for comments participated by relevant users |
CN105260136A (en) * | 2015-09-24 | 2016-01-20 | 北京百度网讯科技有限公司 | Data read-write method and distributed storage system |
CN105468740A (en) * | 2015-11-24 | 2016-04-06 | 网易(杭州)网络有限公司 | Game player data storage and analysis method and apparatus |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107872473A (en) * | 2016-09-23 | 2018-04-03 | 阿里巴巴集团控股有限公司 | Message treatment method, device and system |
CN107872473B (en) * | 2016-09-23 | 2021-01-19 | 阿里巴巴集团控股有限公司 | Message processing method, device and system |
CN108111574A (en) * | 2017-11-29 | 2018-06-01 | 链家网(北京)科技有限公司 | A kind of information push method and system |
CN110148024A (en) * | 2019-05-21 | 2019-08-20 | 北京字节跳动网络技术有限公司 | It is a kind of for provide comment input pattern method and apparatus |
CN110688832A (en) * | 2019-10-10 | 2020-01-14 | 河北省讯飞人工智能研究院 | Comment generation method, device, equipment and storage medium |
CN110688832B (en) * | 2019-10-10 | 2023-06-09 | 河北省讯飞人工智能研究院 | Comment generation method, comment generation device, comment generation equipment and storage medium |
CN112307394A (en) * | 2019-10-21 | 2021-02-02 | 北京字节跳动网络技术有限公司 | Information display method and device and electronic equipment |
CN111309932A (en) * | 2020-02-07 | 2020-06-19 | 北京字节跳动网络技术有限公司 | Comment data query method, device, equipment and storage medium |
CN111309932B (en) * | 2020-02-07 | 2023-08-22 | 抖音视界有限公司 | Comment data query method, comment data query device, comment data query equipment and storage medium |
CN111460322A (en) * | 2020-04-16 | 2020-07-28 | 腾讯科技(成都)有限公司 | Data processing method, device, equipment and readable storage medium |
CN111460322B (en) * | 2020-04-16 | 2022-08-12 | 腾讯科技(成都)有限公司 | Data processing method, device, equipment and readable storage medium |
WO2022095969A1 (en) * | 2020-11-06 | 2022-05-12 | 北京字跳网络技术有限公司 | Information processing method and apparatus, terminal, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN105869057B (en) | 2020-10-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105869057A (en) | Comment storage device, comment reading method and apparatus, and comment writing method and apparatus | |
US11416676B2 (en) | Using text messages to interact with spreadsheets | |
CN104202319B (en) | A kind of social networks recommend method and device | |
KR101475964B1 (en) | In-memory caching of shared customizable multi-tenant data | |
CN104424287B (en) | Data query method and apparatus | |
US9356978B2 (en) | Feed routing for object based collaboration | |
CN102999562B (en) | Routing inquiry result | |
CN104079538A (en) | Microblog aggregation method and system supporting cross-platform interaction | |
CN108197200A (en) | Daily record method for tracing, device, computer equipment and storage medium | |
CN109408751A (en) | A kind of data processing method, terminal, server and storage medium | |
EP2715971A1 (en) | Automating cloud service reconnections | |
CN107577787A (en) | The method and system of associated data information storage | |
US20150074043A1 (en) | Distributed and open schema interactions management system and method | |
WO2018136340A1 (en) | Application programming interface | |
CN105162697A (en) | Microblog system and data control method thereof | |
US20130080914A1 (en) | Storage and exposure of unified contacts based on match criteria | |
US8856112B2 (en) | Considering document endorsements when processing queries | |
US10542088B2 (en) | Modifying data resources within party-partitioned storage areas | |
US20120330928A1 (en) | Method and Apparatus for Generating a Fused View of One or More People | |
CN107704475A (en) | Multilayer distributed unstructured data storage method, querying method and device | |
US10838819B2 (en) | Including personal relationship metadata within duplicated resources shared across partitioned storage | |
CN110119396A (en) | Data managing method and Related product | |
CN103064832B (en) | A kind of method and apparatus for operating multilayered structure data acquisition system | |
US10083246B2 (en) | Apparatus and method for universal personal data portability | |
US9305066B2 (en) | System and method for remote data harmonization |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |