[go: up one dir, main page]

CN107818139B - Content processing method and device for content platform - Google Patents

Content processing method and device for content platform Download PDF

Info

Publication number
CN107818139B
CN107818139B CN201710896553.3A CN201710896553A CN107818139B CN 107818139 B CN107818139 B CN 107818139B CN 201710896553 A CN201710896553 A CN 201710896553A CN 107818139 B CN107818139 B CN 107818139B
Authority
CN
China
Prior art keywords
content
text
label
tag
user information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710896553.3A
Other languages
Chinese (zh)
Other versions
CN107818139A (en
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.)
Seashell Housing Beijing Technology Co Ltd
Original Assignee
Seashell Housing Beijing 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 Seashell Housing Beijing Technology Co Ltd filed Critical Seashell Housing Beijing Technology Co Ltd
Priority to CN201710896553.3A priority Critical patent/CN107818139B/en
Publication of CN107818139A publication Critical patent/CN107818139A/en
Application granted granted Critical
Publication of CN107818139B publication Critical patent/CN107818139B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/334Query execution
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/31Indexing; Data structures therefor; Storage structures
    • G06F16/313Selection or weighting of terms for indexing
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/38Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually

Landscapes

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

Abstract

The invention provides a content processing method and a device of a content platform, which generate a text ID of a first content text by receiving the first content text and user information issued by a user, retrieve the first content text, obtain and obtain a corresponding relation of a label content, the label ID and the text ID under the user information according to the first label content among character strings when the first content text contains preset character pairs, judge that a second label content which is not corresponding to the first label content does not exist in the corresponding relation, generate the label ID of the first label content, store the label ID of the first label content and the text ID of the first content text in the corresponding relation, and store the first text content to achieve the purpose of marking the content text issued by the user, facilitating subsequent queries to only result in displaying content text published by the user with the tagged content.

Description

Content processing method and device for content platform
Technical Field
The present invention relates to the field of information processing technologies, and in particular, to a content processing method and apparatus for a content platform.
Background
Microblog, twitter and other content platforms currently use a full-platform label grammar, which is a global label formed by enclosing phrases by character #, and the label is directly a part of the content. When a user reads, the system automatically converts the content between the two # characters into a hyperlink format, and lists all the contents containing the corresponding tags in the content platform after clicking.
When a user clicks on tags of a full platform such as Twitter and microblog, the user sees that all the contents of the corresponding tags are contained in the full platform. However, the content platform is the content generated by a plurality of users, and after the users click the labels between the # characters, the content viewed by the users in the platform contains the corresponding labels, which may be uneven in quality. Although the content platform may improve the ranking by some technical means, this is at a great cost.
Disclosure of Invention
The invention provides a content processing method and device of a content platform, which are used for solving the problem that a user obtains a large amount of unnecessary texts when viewing the texts on a user platform in the prior art.
In a first aspect, the present invention provides a content processing method for a content platform, including:
receiving a content publishing request of a user, wherein the content publishing request comprises a first content text and user information, and generating a text ID of the first content text;
retrieving the first content text, and acquiring first label content among the character strings when the first content text contains preset character pairs;
acquiring the corresponding relation among the label content, the label ID and the text ID under the user information according to the user information;
and if the corresponding relation does not have the second label content of the first label content, generating the label ID of the first label content, storing the label ID of the first label content and the text ID of the first content text in the corresponding relation, and storing the first text content.
Optionally, the method further comprises: and judging that a second tag content exists in the corresponding relation with the first tag content, and storing the tag ID of the second tag content as the tag ID of the first tag content.
Optionally, the method further comprises:
receiving a content query request of a user, wherein the content query request comprises third tag content and user information;
acquiring the corresponding relation among the label content, the label ID and the text ID under the user information according to the user information;
acquiring a corresponding label ID to be inquired according to the third label content, and acquiring a text ID to be inquired according to the label ID to be inquired;
and obtaining and displaying corresponding text content according to the text ID to be inquired.
Optionally, the method further comprises: and if the corresponding relation among the label content, the label ID and the text ID under the user information cannot be obtained according to the user information, generating the label ID of the first label content, establishing the corresponding relation among the first label content, the label ID and the text ID of the first content text, and storing the corresponding relation.
In a second aspect, the present invention provides a content processing apparatus for a content platform, comprising:
the system comprises a receiving module, a content publishing module and a content publishing module, wherein the receiving module is used for receiving a content publishing request of a user, the content publishing request comprises a first content text and user information, and a text ID of the first content text is generated;
the retrieval module is used for retrieving the first content text, and acquiring first label content among the character strings when the first content text contains preset character pairs;
the acquisition module is used for acquiring the corresponding relation among the label content, the label ID and the text ID under the user information according to the user information;
and a generating module, configured to generate a tag ID of the first tag content if it is determined that there is no second tag content corresponding to the first tag content in the correspondence, store the tag ID of the first tag content and the text ID of the first content text in the correspondence, and store the first text content.
Optionally, the generating module is further configured to: and judging that a second tag content exists in the corresponding relation with the first tag content, and storing the tag ID of the second tag content as the tag ID of the first tag content.
Optionally, the system further comprises a query module, configured to:
receiving a content query request of a user, wherein the content query request comprises third tag content and user information;
acquiring the corresponding relation among the label content, the label ID and the text ID under the user information according to the user information;
acquiring a corresponding label ID to be inquired according to the third label content, and acquiring a text ID to be inquired according to the label ID to be inquired;
and obtaining and displaying corresponding text content according to the text ID to be inquired.
Optionally, the obtaining module is further configured to: and if the corresponding relation among the label content, the label ID and the text ID under the user information cannot be obtained according to the user information, generating the label ID of the first label content, establishing the corresponding relation among the first label content, the label ID and the text ID of the first content text, and storing the corresponding relation.
In a third aspect, the present invention provides an electronic device comprising: a processor, a memory, a bus, and a computer program stored on the memory and executable on the processor;
the processor and the memory complete mutual communication through the bus;
the processor, when executing the computer program, implements the method as described above.
In a fourth aspect, the invention provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method as described above.
As can be seen from the above technical solutions, the present invention provides a content processing method and apparatus for a content platform, where a first content text and user information issued by a user are received, a text ID of the first content text is generated, the first content text is retrieved, when the first content text is retrieved to include a preset character pair, a correspondence between a tag content under the user information, the tag ID, and the text ID is obtained and obtained according to the first tag content among the character strings, and then it is determined that a second tag content does not exist in the correspondence with the first tag content, a tag ID of the first tag content is generated, and the tag ID of the first tag content and the text ID of the first content text are stored in the correspondence, and the first text content is stored, so as to achieve a purpose of marking the content text issued by the user, facilitating subsequent queries to only result in displaying content text published by the user with the tagged content.
Drawings
Fig. 1 is a schematic flowchart of a content processing method of a content platform according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a content processing method of a content platform according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a content processing method of a content platform according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a content processing apparatus of a content platform according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a content processing apparatus of a content platform according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The following detailed description of embodiments of the present invention is provided in connection with the accompanying drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
Fig. 1 shows a content processing method of a content platform according to an embodiment of the present invention, including:
s11, receiving a content publishing request of a user, wherein the content publishing request comprises a first content text and user information, and generating a text ID of the first content text.
In this step, it should be noted that, in the embodiment of the present invention, the user issues an article to the content platform through the terminal, that is, sends a content issue request to the content platform. At this time, the system receives the request, analyzes the request to obtain the first content text and the user information, where the user information may be an account number for logging in the content platform, an identity card of the user, and the like.
The system generates a text ID for the first content text. The text ID may be a serial number, and the text ID of the first content text may be set according to the posting time and the ID of the posted text. If the ID of the published text is ranked 100 at maximum, the ID of the new text may be 101.
S12, retrieving the first content text, and acquiring first label content among the character strings when the first content text contains preset character pairs.
In this step, it should be noted that, in the embodiment of the present invention, the system may search the content of the first content text, and search whether a preset character pair exists in the content text, for example, the preset character string may be & … &,%.
And when the first content text contains the preset character pairs, acquiring the first label content among the character strings. If the first content text is "for & patent application & what to prepare", the system retrieves that there is a preset character string & … &, at which time the first label content between the character strings will be extracted as "patent application".
S13, obtaining the corresponding relation among the label content, the label ID and the text ID under the user information according to the user information.
In this step, it should be noted that, in the embodiment of the present invention, the method is to filter out all texts about a certain tag content issued by a certain user. Therefore, the system can obtain the corresponding relation among the label content, the label ID and the text ID under the user information from the database according to the user information obtained in the request. The corresponding relation records that the label content, the text ID and the label ID contained in all the content texts issued by the user are in one-to-one correspondence.
Such as: aiming at five pieces of content texts distributed by the user A, the corresponding relation among the label content, the label ID and the text ID is obtained. As shown in table 1 below:
table 1 shows the correspondence between the tag content, tag ID and text ID of user A
Figure BDA0001422295110000051
Figure BDA0001422295110000061
As a result, the texts W101 and W106 are both content texts issued by the user a, and the proposed "tag content" is both a, and in this case, the tag IDs are both 1101. In addition, the tag IDs of different tag contents are all different.
In addition, the tag IDs of the content texts of the same tag content published by different users are different.
In addition, if the corresponding relation among the tag content, the tag ID and the text ID under the user information cannot be obtained according to the user information, the tag ID of the first tag content is generated, and the corresponding relation among the first tag content, the tag ID and the text ID of the first content text is established and stored.
S14, if it is determined that the corresponding relationship does not include the second tag content corresponding to the first tag content, generating a tag ID of the first tag content, storing the tag ID of the first tag content and the text ID of the first content text in the corresponding relationship, and storing the first text content.
In this step, it should be noted that, in the embodiment of the present invention, the step is explained by continuing with table 1 described above. If the first tag content is E, and the tag content E does not exist in table 1, the system sets a tag ID for the tag content E and a text ID of a content text to which the tag content E belongs, and adds the tag ID and the text ID to the corresponding relationship. As shown in table 2:
table 2 shows the correspondence between the tag content, tag ID and text ID of the user A
Figure BDA0001422295110000062
Figure BDA0001422295110000071
In addition, the system stores the content text to which the tag content E belongs in a text database, and configures a text ID for the content text, so that subsequent queries can be called from the text database conveniently.
The content processing method of the content platform provided by the embodiment of the invention generates the text ID of the first content text by receiving the first content text and the user information issued by the user, searches the first content text, acquires and obtains the corresponding relation among the label content, the label ID and the text ID under the user information according to the first label content among the character strings when the first content text contains the preset character pairs, and then judges that the second label content which is not the first label content exists in the corresponding relation, generates the label ID of the first label content, stores the label ID of the first label content and the text ID of the first content text in the corresponding relation, and stores the first text content to achieve the purpose of marking the content text issued by the user, facilitating subsequent queries to only result in displaying content text published by the user with the tagged content.
Fig. 2 shows a content processing method of a content platform according to an embodiment of the present invention, including:
s21, receiving a content publishing request of a user, wherein the content publishing request comprises a first content text and user information, and generating a text ID of the first content text.
S22, retrieving the first content text, and acquiring first label content among the character strings when the first content text contains preset character pairs.
S23, obtaining the corresponding relation among the label content, the label ID and the text ID under the user information according to the user information.
Regarding the steps S21 to S23, it should be noted that, since the principle is the same as that of the steps S11 to S13 in the above embodiment, the description is omitted here.
S24, determining that the correspondence relationship includes a second tag content corresponding to the first tag content, and storing the tag ID of the second tag content as the tag ID of the first tag content.
In this step, it should be noted that, in the embodiment of the present invention, the step is explained with reference to table 1, and if the first tag content is D, and if the tag content D exists in table 1, the system assigns and stores the tag ID of the tag content D to the tag ID of the first content text. As shown in table 3:
table 3 shows the correspondence between the tag content, tag ID and text ID of the user A
Label content Tag ID Text ID
A 1101 W101
A 1101 W106
B 1102 W112
C 1103 W115
D 1104 W126
D 1104 W145
The content processing method of the content platform provided by the embodiment of the invention generates the text ID of the first content text by receiving the first content text and the user information issued by the user, searches the first content text, acquires the corresponding relation among the label content, the label ID and the text ID under the user information according to the first label content among the character strings when the first content text contains the preset character pairs, and then judges that the second label content exists in the corresponding relation with the first label content, the label ID of the second label content is taken as the label ID of the first label content and is stored, so that the purpose of marking the content text issued by the user is achieved, and the subsequent query is convenient for only obtaining the content text issued by the user and having the label content.
Fig. 3 shows a content processing method for a content platform, which is provided in an embodiment of the present invention, and specifically is a method for querying a content text, which specifically includes:
s31, receiving a content query request of a user, wherein the content query request comprises third label content and user information.
S32, obtaining the corresponding relation among the label content, the label ID and the text ID under the user information according to the user information.
And S33, obtaining the corresponding label ID to be inquired according to the third label content, and obtaining the text ID to be inquired according to the label ID to be inquired.
And S34, obtaining and displaying the corresponding text content according to the text ID to be inquired.
With respect to the above steps S31-S34, it should be noted that, in the embodiment of the present invention, the user clicks on the tag content in any content text, so as to trigger the content query request. The system analyzes the request to obtain the third tag content and the user information. And then obtaining the corresponding relation among the label content, the label ID and the text ID under the user information according to the user information. And obtaining a corresponding label ID to be inquired according to the third label content, obtaining a text ID to be inquired according to the label ID to be inquired, and obtaining and displaying corresponding text content from a text database according to the text ID to be inquired.
According to the content processing method of the content platform provided by the embodiment of the invention, the content query request of the user is received, the content query request comprises third label content and user information, the corresponding relation among the label content, the label ID and the text ID under the user information is obtained according to the user information, the corresponding label ID to be queried is obtained according to the third label content, the text ID to be queried is obtained according to the label ID to be queried, the corresponding text content is obtained according to the text ID to be queried and is displayed, the purpose of marking the content text issued by the user is achieved, and the content text issued by the user and having the label content is conveniently and only displayed in the follow-up query.
Fig. 4 shows a content processing apparatus of a content platform according to an embodiment of the present invention, which includes a receiving module 41, a retrieving module 42, an obtaining module 43, and a generating module 44, where:
a receiving module 41, configured to receive a content publishing request of a user, where the content publishing request includes a first content text and user information, and generate a text ID of the first content text;
a retrieval module 42, configured to retrieve the first content text, and when the first content text is retrieved to include a preset character pair, obtain a first tag content among the character strings;
an obtaining module 43, configured to obtain, according to the user information, a corresponding relationship between the tag content, the tag ID, and the text ID in the user information;
a generating module 44, configured to generate a tag ID of the first tag content if it is determined that the corresponding relationship does not include the second tag content that is the same as the first tag content, store the tag ID of the first tag content and the text ID of the first content text in the corresponding relationship, and store the first text content.
The generation module 44 is further configured to: and judging that a second tag content exists in the corresponding relation with the first tag content, and storing the tag ID of the second tag content as the tag ID of the first tag content.
The obtaining module 43 is further configured to: and if the corresponding relation among the label content, the label ID and the text ID under the user information cannot be obtained according to the user information, generating the label ID of the first label content, establishing the corresponding relation among the first label content, the label ID and the text ID of the first content text, and storing the corresponding relation.
Since the principle of the apparatus according to the embodiment of the present invention is the same as that of the method according to the above embodiment, further details are not described herein for further explanation.
It should be noted that, in the embodiment of the present invention, the relevant functional module may be implemented by a hardware processor (hardware processor).
The content processing device of a content platform provided by the embodiment of the invention generates a text ID of a first content text by receiving the first content text and user information issued by a user, searches the first content text, acquires and obtains a corresponding relation among a label content, the label ID and the text ID under the user information according to the first label content among character strings when the first content text contains preset character pairs, and then judges that a second label content which is not corresponding to the first label content does not exist in the corresponding relation, generates the label ID of the first label content, stores the label ID of the first label content and the text ID of the first content text in the corresponding relation, and stores the first text content to achieve the purpose of marking the content text issued by the user, facilitating subsequent queries to only result in displaying content text published by the user with the tagged content.
Fig. 5 shows a content processing apparatus of a content platform according to an embodiment of the present invention, which includes a receiving module 51, a retrieving module 52, an obtaining module 53, a generating module 54, and a querying module 55, where:
a receiving module 51, configured to receive a content publishing request of a user, where the content publishing request includes a first content text and user information, and generates a text ID of the first content text;
a retrieval module 52, configured to retrieve the first content text, and when the first content text is retrieved to include a preset character pair, obtain a first tag content among the character strings;
an obtaining module 53, configured to obtain, according to the user information, a corresponding relationship between the tag content, the tag ID, and the text ID in the user information;
a generating module 54, configured to generate a tag ID of the first tag content if it is determined that the corresponding relationship does not include the second tag content that is the same as the first tag content, store the tag ID of the first tag content and the text ID of the first content text in the corresponding relationship, and store the first text content.
A query module 55 for:
receiving a content query request of a user, wherein the content query request comprises third tag content and user information;
acquiring the corresponding relation among the label content, the label ID and the text ID under the user information according to the user information;
acquiring a corresponding label ID to be inquired according to the third label content, and acquiring a text ID to be inquired according to the label ID to be inquired;
and obtaining and displaying corresponding text content according to the text ID to be inquired.
The content processing device of the content platform provided by the embodiment of the invention receives a content query request of a user, wherein the content query request comprises third tag content and user information, obtains the corresponding relation among the tag content, the tag ID and the text ID under the user information according to the user information, obtains the corresponding tag ID to be queried according to the third tag content, obtains the text ID to be queried according to the tag ID to be queried, obtains the corresponding text content according to the text ID to be queried, and displays the text content, so that the purpose of marking the content text issued by the user is achieved, and the content text issued by the user and having the tag content can be conveniently and only displayed in subsequent queries.
Fig. 6 shows an electronic device provided in an embodiment of the present invention, including: a processor 601, a memory 602, and a bus 603, wherein,
the processor and the memory complete mutual communication through the bus;
the memory stores program instructions executable by the processor to perform the methods provided by the method embodiments described above, including, for example: receiving a content publishing request of a user, wherein the content publishing request comprises a first content text and user information, and generating a text ID of the first content text; retrieving the first content text, and acquiring first label content among the character strings when the first content text contains preset character pairs; acquiring the corresponding relation among the label content, the label ID and the text ID under the user information according to the user information; and if the corresponding relation does not have the second label content of the first label content, generating the label ID of the first label content, storing the label ID of the first label content and the text ID of the first content text in the corresponding relation, and storing the first text content.
An embodiment of the present invention provides a non-transitory computer-readable storage medium storing computer instructions, which cause the computer to execute the method provided by the above method embodiments, for example, including: receiving a content publishing request of a user, wherein the content publishing request comprises a first content text and user information, and generating a text ID of the first content text; retrieving the first content text, and acquiring first label content among the character strings when the first content text contains preset character pairs; acquiring the corresponding relation among the label content, the label ID and the text ID under the user information according to the user information; and if the corresponding relation does not have the second label content of the first label content, generating the label ID of the first label content, storing the label ID of the first label content and the text ID of the first content text in the corresponding relation, and storing the first text content.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
Those of ordinary skill in the art will understand that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions and scope of the present invention as defined in the appended claims.

Claims (8)

1. A content processing method of a content platform is characterized by comprising the following steps:
receiving a content publishing request of a user, wherein the content publishing request comprises a first content text and user information, and generating a text ID of the first content text;
retrieving the first content text, and acquiring first label content between character pairs when the first content text contains preset character pairs;
acquiring the corresponding relation among the label content, the label ID and the text ID under the user information according to the user information; the label content, the label ID and the text ID in the corresponding relation are in one-to-one correspondence;
if the corresponding relation does not have second label content of the first label content, generating a label ID of the first label content, storing the label ID of the first label content and the text ID of the first content text in the corresponding relation, and storing the first content text;
the method further comprises the following steps:
receiving a content query request of a user, wherein the content query request comprises third tag content and user information;
acquiring the corresponding relation among the label content, the label ID and the text ID under the user information according to the user information;
acquiring a corresponding label ID to be inquired according to the third label content, and acquiring a text ID to be inquired according to the label ID to be inquired;
and obtaining and displaying corresponding text content according to the text ID to be inquired.
2. The method of claim 1, further comprising: and judging that a second tag content exists in the corresponding relation with the first tag content, and storing the tag ID of the second tag content as the tag ID of the first tag content.
3. The method of claim 1, further comprising: and if the corresponding relation among the label content, the label ID and the text ID under the user information cannot be obtained according to the user information, generating the label ID of the first label content, establishing the corresponding relation among the first label content, the label ID and the text ID of the first content text, and storing the corresponding relation.
4. A content processing apparatus of a content platform, comprising:
the system comprises a receiving module, a content publishing module and a content publishing module, wherein the receiving module is used for receiving a content publishing request of a user, the content publishing request comprises a first content text and user information, and a text ID of the first content text is generated;
the retrieval module is used for retrieving the first content text, and acquiring first label content between character pairs when the first content text contains preset character pairs;
the acquisition module is used for acquiring the corresponding relation among the label content, the label ID and the text ID under the user information according to the user information; the label content, the label ID and the text ID in the corresponding relation are in one-to-one correspondence;
a generating module, configured to generate a tag ID of the first tag content if it is determined that there is no second tag content corresponding to the first tag content in the correspondence, store the tag ID of the first tag content and the text ID of the first content text in the correspondence, and store the first content text;
the query module is used for receiving a content query request of a user, wherein the content query request comprises third label content and user information; acquiring the corresponding relation among the label content, the label ID and the text ID under the user information according to the user information; acquiring a corresponding label ID to be inquired according to the third label content, and acquiring a text ID to be inquired according to the label ID to be inquired; and obtaining and displaying corresponding text content according to the text ID to be inquired.
5. The apparatus of claim 4, wherein the generating module is further configured to: and judging that a second tag content exists in the corresponding relation with the first tag content, and storing the tag ID of the second tag content as the tag ID of the first tag content.
6. The apparatus of claim 4, wherein the obtaining module is further configured to: and if the corresponding relation among the label content, the label ID and the text ID under the user information cannot be obtained according to the user information, generating the label ID of the first label content, establishing the corresponding relation among the first label content, the label ID and the text ID of the first content text, and storing the corresponding relation.
7. An electronic device, comprising: a processor, a memory, a bus, and a computer program stored on the memory and executable on the processor;
the processor and the memory complete mutual communication through the bus;
the processor, when executing the computer program, implements the method of any of claims 1-3.
8. A non-transitory computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, implements the method of any one of claims 1-3.
CN201710896553.3A 2017-09-28 2017-09-28 Content processing method and device for content platform Active CN107818139B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710896553.3A CN107818139B (en) 2017-09-28 2017-09-28 Content processing method and device for content platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710896553.3A CN107818139B (en) 2017-09-28 2017-09-28 Content processing method and device for content platform

Publications (2)

Publication Number Publication Date
CN107818139A CN107818139A (en) 2018-03-20
CN107818139B true CN107818139B (en) 2020-09-01

Family

ID=61607558

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710896553.3A Active CN107818139B (en) 2017-09-28 2017-09-28 Content processing method and device for content platform

Country Status (1)

Country Link
CN (1) CN107818139B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8578485B2 (en) * 2008-12-31 2013-11-05 Sonicwall, Inc. Identification of content by metadata
CN104462289B (en) * 2014-11-27 2018-11-20 百度在线网络技术(北京)有限公司 The recommended method and device of through number keyword
CN106708796A (en) * 2015-07-15 2017-05-24 中国科学院计算技术研究所 Text-based key personal name extraction method and system
CN107146064A (en) * 2017-03-13 2017-09-08 广州视源电子科技股份有限公司 To-do reminding method and server

Also Published As

Publication number Publication date
CN107818139A (en) 2018-03-20

Similar Documents

Publication Publication Date Title
CN108268582B (en) Information query method and device
CN107590174B (en) Page access method and device
CN103377287B (en) A kind of method and apparatus throwing in Item Information
JP5721818B2 (en) Use of model information group in search
US9411890B2 (en) Graph-based search queries using web content metadata
JP6301958B2 (en) Method and apparatus for configuring search terms, delivering advertisements, and retrieving product information
US9858609B2 (en) Information processing apparatus, information processing method, and information processing program
JP2015204103A (en) Interactive search and recommendation method and device thereof
CN103136228A (en) Image search method and image search device
WO2011066500A4 (en) System and method of providing enhanced listings
US20150154295A1 (en) Searching method, system and storage medium
CN102982134A (en) System enabling recommended web site information to be displayed in browser address bar
KR20150018880A (en) Information aggregation, classification and display method and system
US20160034540A1 (en) Synthesis of webpage snippets using sub-pages of the webpage
US20180189359A1 (en) Systems and Methods for Harvesting Data Associated with Fraudulent Content in a Networked Environment
CN103425670A (en) Method, device and equipment for providing customers with content recommendation information
RU2014127986A (en) METHOD, SERVER AND SYSTEM FOR IMPLEMENTATION OF GOODS
CN114610951A (en) Data processing method, apparatus, electronic device and readable storage medium
CN105653712A (en) A web page push method, device and mobile terminal
CN104238951A (en) Net label input prompting device
US11170039B2 (en) Search system, search criteria setting device, control method for search criteria setting device, program, and information storage medium
US10162907B2 (en) Ordering items within a list component of an application card based on bias parameters
US20170235733A1 (en) Blended polygon search
CN107818139B (en) Content processing method and device for content platform
CN104866545B (en) The method of search key on information displayed page

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100085 Floor 102-1, Building No. 35, West Second Banner Road, Haidian District, Beijing

Applicant after: Seashell Housing (Beijing) Technology Co.,Ltd.

Address before: 100085 Floor 102-1, Building No. 35, West Second Banner Road, Haidian District, Beijing

Applicant before: LIANJIA(BEIJING) TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant