CN104239348A - Computing method for comments participated by relevant users - Google Patents

Computing method for comments participated by relevant users Download PDF

Info

Publication number
CN104239348A
CN104239348A CN201310246767.8A CN201310246767A CN104239348A CN 104239348 A CN104239348 A CN 104239348A CN 201310246767 A CN201310246767 A CN 201310246767A CN 104239348 A CN104239348 A CN 104239348A
Authority
CN
China
Prior art keywords
key
value
user
comment
computing method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310246767.8A
Other languages
Chinese (zh)
Inventor
何倩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhenjiang Xin Ye Network Technology Co Ltd
Original Assignee
Zhenjiang Xin Ye Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhenjiang Xin Ye Network Technology Co Ltd filed Critical Zhenjiang Xin Ye Network Technology Co Ltd
Priority to CN201310246767.8A priority Critical patent/CN104239348A/en
Publication of CN104239348A publication Critical patent/CN104239348A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a computing method for comments participated by relevant users. The computing method comprises the following steps of using user ID (identifications) as a Key, using a relational user index or a member index of a user group as Value and storing the Key and the Value in a list mode so as to obtain a Key-Value map; using a topic ID (identification) as a Key, using indexes of users who comment on a topic as Value and storing the Key and the Value in a ordered list mode so as to obtain another Key-Value map; and performing intersection treatment on the two Key-Value maps so as to obtain an index of relevant users who comment on the topic. The computing method has the advantages that the searching accuracy of the relevant users can be improved; and the whole computing time and occupation of resources of a CPU (central processing unit) are reduced.

Description

A kind of associated user participates in the computing method of comment
Technical field
The present invention relates to a kind of computing method of user's participation.
Background technology
In existing network, user delivers topic generally with comment function, makes to discuss for specific topics between user, strengthens interactive.Particularly between to relevant user, produce interaction.
Interaction often produces between the people be familiar with, and when a topic has a lot of comment, usual comment can be carried out sequence with issuing time and lists and carry out Pagination Display, but in use user can run into such problem: cannot easily see the user (as good friend) relevant with user or user's group (as user in the circle) comment to this section of content in a large amount of comment, can only browse in order and find, such as this topic has 100 pages of comments, and the comment that the good friend of user delivers is at the 98th page, user is so seldom had patient all comments all to be finished watching, so this situation cannot accomplish the people that fast filtering is wanted to see and information, also the interaction between acquaintance is reduced to a certain extent.
Summary of the invention
Goal of the invention: for the problems referred to above, the object of this invention is to provide the computing method that a kind of associated user participates in comment, improves the accuracy that associated user is searched.
Technical scheme: a kind of associated user participates in the computing method of comment, comprises the steps:
(1) using user ID as Key, member's index of its relational users index or user's group, as Value, is deposited with list mode, forms a Key-Value and maps;
(2) using topic ID as Key, its user index participating in comment, as Value, is deposited in ordered list mode, forms a Key-Value and maps;
(3) process of occuring simultaneously done in above-mentioned two Key-Value mapping, drawing the associated user's index participating in the comment of this topic.
The result that step (3) draws is stored in cache module.
The result that step (3) draws supports increment amendment.
Beneficial effect: compared with prior art, advantage of the present invention to improve the accuracy of associated user search, and minimizing integral operation time and cpu resource take.
Embodiment
Below in conjunction with specific embodiment, illustrate the present invention further, these embodiments should be understood only be not used in for illustration of the present invention and limit the scope of the invention, after having read the present invention, the amendment of those skilled in the art to the various equivalent form of value of the present invention has all fallen within the application's claims limited range.
Associated user participates in computing method for comment, comprises the steps:
(1) using user ID as Key, member's index of its relational users index or user's group, as Value, is deposited with list mode, forms a Key-Value and maps;
(2) using topic ID as Key, its user index participating in comment, as Value, is deposited in ordered list mode, forms a Key-Value and maps;
(3) process of occuring simultaneously is done in above-mentioned two Key-Value mapping, draw the associated user's index participating in the comment of this topic, this result is stored in cache module, and support that increment is revised, just do not need to recalculate when again reading, minimizing integral operation time and cpu resource take, and can support paging query process.

Claims (3)

1. associated user participates in computing method for comment, it is characterized in that comprising the steps:
(1) using user ID as Key, member's index of its relational users index or user's group, as Value, is deposited with list mode, forms a Key-Value and maps;
(2) using topic ID as Key, its user index participating in comment, as Value, is deposited in ordered list mode, forms a Key-Value and maps;
(3) process of occuring simultaneously done in above-mentioned two Key-Value mapping, drawing the associated user's index participating in the comment of this topic.
2. a kind of associated user according to claim 1 participates in the computing method of comment, it is characterized in that: the result that step (3) draws is stored in cache module.
3. a kind of associated user according to claim 1 participates in the computing method of comment, it is characterized in that: the result that step (3) draws supports increment amendment.
CN201310246767.8A 2013-06-21 2013-06-21 Computing method for comments participated by relevant users Pending CN104239348A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310246767.8A CN104239348A (en) 2013-06-21 2013-06-21 Computing method for comments participated by relevant users

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310246767.8A CN104239348A (en) 2013-06-21 2013-06-21 Computing method for comments participated by relevant users

Publications (1)

Publication Number Publication Date
CN104239348A true CN104239348A (en) 2014-12-24

Family

ID=52227432

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310246767.8A Pending CN104239348A (en) 2013-06-21 2013-06-21 Computing method for comments participated by relevant users

Country Status (1)

Country Link
CN (1) CN104239348A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105869057A (en) * 2016-04-07 2016-08-17 腾讯科技(深圳)有限公司 Comment storage device, comment reading method and apparatus, and comment writing method and apparatus
CN110795460A (en) * 2019-11-01 2020-02-14 浪潮云信息技术有限公司 Front-end page data caching method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105869057A (en) * 2016-04-07 2016-08-17 腾讯科技(深圳)有限公司 Comment storage device, comment reading method and apparatus, and comment writing method and apparatus
CN105869057B (en) * 2016-04-07 2020-10-09 腾讯科技(深圳)有限公司 Comment storage device, comment reading method and device, and comment writing method and device
CN110795460A (en) * 2019-11-01 2020-02-14 浪潮云信息技术有限公司 Front-end page data caching method and system

Similar Documents

Publication Publication Date Title
US10635717B2 (en) Query suggestion templates
CN103631909B (en) System and method for combined processing of large-scale structured and unstructured data
CN104750681B (en) A kind of processing method and processing device of mass data
RU2012138707A (en) CUSTOMIZABLE SEMANTIC SEARCH BASED ON USER ROLE
JP5930496B2 (en) Method and apparatus for acquiring structured information in layout file
CN103440288A (en) Big data storage method and device
CN104077301A (en) Housekeeping information comprehensive service platform based on cloud computing mobile positioning off-line service
Wu et al. Social-aware top-k spatial keyword search
US20220358178A1 (en) Data query method, electronic device, and storage medium
JP2012533819A (en) Method and system for document indexing and data querying
RU2016108105A (en) INTELLECTUAL REFINEMENT OF SEARCH
CN104035972A (en) Knowledge recommending method and system based on micro blogs
JP2017220204A (en) Method and system for matching images with content using whitelists and blacklists in response to search query
WO2015073759A1 (en) Techniques for managing writable search results
RU2015124047A (en) IMPROVING PEOPLE SEARCH USING IMAGES
WO2016137690A1 (en) Efficient retrieval of fresh internet content
US20140188861A1 (en) Using scientific papers in web search
WO2023040530A1 (en) Webpage content traceability method, knowledge graph construction method and related device
CN101937433A (en) Real-time searching method of product
CN104679764A (en) Method and device for searching graph data
Khodaei et al. Temporal-textual retrieval: Time and keyword search in web documents
Khodaei et al. SKIF-P: a point-based indexing and ranking of web documents for spatial-keyword search
CN104239348A (en) Computing method for comments participated by relevant users
CN103559270A (en) Method for storing and managing entries
US20150161205A1 (en) Identifying an image for an entity

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20141224