CN114186147A - Data processing method and device, electronic equipment and storage medium - Google Patents

Data processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114186147A
CN114186147A CN202111339911.3A CN202111339911A CN114186147A CN 114186147 A CN114186147 A CN 114186147A CN 202111339911 A CN202111339911 A CN 202111339911A CN 114186147 A CN114186147 A CN 114186147A
Authority
CN
China
Prior art keywords
content
configuration
tag
label
matching degree
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
CN202111339911.3A
Other languages
Chinese (zh)
Inventor
江文俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202111339911.3A priority Critical patent/CN114186147A/en
Publication of CN114186147A publication Critical patent/CN114186147A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9562Bookmark management
    • 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/953Querying, e.g. by the use of web search engines

Abstract

The disclosure provides a data processing method, a data processing device, electronic equipment and a storage medium, and relates to the technical field of computers, in particular to the technical field of webpage design. The specific implementation scheme is as follows: the method comprises the steps of obtaining a collection request sent by a target client end in response to user operation, wherein the collection request carries collection content, obtaining a configuration label of the collection content during release and the matching degree of the configuration label and the collection content, determining a target label from the configuration label according to the matching degree of the configuration label of the collection content and the collection content, establishing a target collection named by the target label under the condition that no collection matched with the target label exists, adopting the target collection to store the collection content, and automatically storing the collection content into the collection under the condition that the collection matched with the target label exists, so that the collection matched with the collection content is determined based on the label configured during release, the collection content is automatically stored, and the collection efficiency is improved.

Description

Data processing method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to the field of web page design technologies, and in particular, to a data processing method and apparatus, an electronic device, and a storage medium.
Background
When a user browses contents, in order to enable the user to store the interested contents for subsequent searching, the user is provided with an entrance for collecting the contents. In products in the current market, when a user clicks collection content, the content is added to a default favorite, or the user creates and selects a corresponding favorite by himself, so that the operation path is more, and automatic collection cannot be achieved.
Disclosure of Invention
The disclosure provides a data processing method, a data processing device, an electronic device and a storage medium.
According to an aspect of the present disclosure, there is provided a data processing method including:
acquiring a collection request sent by a target client in response to user operation; wherein, the collection request carries collection content;
acquiring a configuration label of the collected content during release and the matching degree of the configuration label and the collected content;
determining a target tag from the configuration tags according to the matching degree of the configuration tags and the collected content;
under the condition that no favorite matched with the target tag exists, establishing a target favorite named by the target tag, and storing the favorite contents by adopting the target favorite;
and automatically storing the favorite contents to the favorites under the condition that the favorites matched with the target tags exist.
According to another aspect of the present disclosure, there is provided a data processing method including:
acquiring content to be issued sent by a client;
matching the content with each label in a preset label library, and determining a configuration label of the content and the matching degree of the configuration label and the content;
and issuing the content carrying the configuration label and the matching degree, wherein the configuration label and the matching degree are used for determining a target label according to the configuration label and the matching degree of the content when the client collects the content, and adding the content to the matched favorite according to the target label.
According to another aspect of the present disclosure, there is provided a data processing apparatus including:
the first acquisition module is used for acquiring a collection request sent by a target client end in response to user operation; wherein, the collection request carries collection content;
the second acquisition module is used for acquiring the configuration label of the collected content during release and the matching degree of the configuration label and the collected content;
the determining module is used for determining a target tag from the configuration tags according to the matching degree of the configuration tags and the collected content;
the first storage module is used for establishing a target favorite named by the target tag under the condition that no favorite matched with the target tag exists, and storing the favorite contents by adopting the target favorite;
and the second storage module stores the favorite contents to the favorites under the condition that the favorites matched with the target tags exist.
According to another aspect of the present disclosure, there is provided a data processing apparatus including:
the acquisition module is used for acquiring the content to be issued sent by the client;
the matching module is used for matching the content with each label in a preset label library to determine a configuration label of the content and the matching degree of the configuration label and the content;
and the publishing module is used for publishing the content carrying the configuration tag and the matching degree, wherein the configuration tag and the matching degree are used for determining a target tag according to the configuration tag and the matching degree of the content when the client collects the content, and adding the content to the matched favorite according to the target tag.
According to another aspect of the present disclosure, there is provided an electronic device including:
at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the method of one or more of the preceding aspects.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to perform the steps of the method of the preceding one or other aspects.
According to another aspect of the present disclosure, there is provided a computer program product comprising computer instructions which, when executed by a processor, implement the steps of the method of the preceding aspect or another aspect.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
fig. 1 is a schematic flow chart of a data processing method according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart of another data processing method provided in the embodiment of the present disclosure;
fig. 3 is a schematic flow chart of another data processing method provided in the embodiment of the present disclosure;
fig. 4 is a schematic flow chart of another data processing method provided in the embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of another data processing apparatus according to an embodiment of the present disclosure;
FIG. 7 illustrates a block diagram of an example electronic device that can be used to implement embodiments of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
A data processing method, an apparatus, an electronic device, and a storage medium of the embodiments of the present disclosure are described below with reference to the accompanying drawings.
Fig. 1 is a schematic flow chart of a data processing method according to an embodiment of the present disclosure.
As shown in fig. 1, the method comprises the following steps:
step 101, acquiring a collection request sent by a target client in response to a user operation, wherein the collection request carries collection contents.
The execution subject of the embodiment of the present disclosure is a target client, wherein the target client refers to an application, a web page, or an electronic device, etc. served by a server. For example, the target client of the present disclosure is an application installed in the electronic device of the user and capable of browsing and collecting content, for example, a microblog application, a browser application, or the like, and may also be a web page used by a manager or a developer of the application to manage and maintain the corresponding application, which is not limited in this disclosure.
The collected content is various web pages, texts, multimedia files and the like which are interested by the user.
In the embodiment of the disclosure, when the user browses interested collection content, such as a webpage, the user clicks the collection button, so as to obtain a collection request carrying the collection content.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the personal information of the related user all accord with the regulations of related laws and regulations, and do not violate the good customs of the public order.
Step 102, acquiring a configuration tag of the collected content during publishing and a matching degree of the configuration tag and the collected content.
In the embodiment of the disclosure, the collected content refers to content published to a network, and when the content is published, each content is configured with at least one corresponding configuration tag and a matching degree between each configuration tag and the collected content, where the matching degree between the configuration tag and the collected content also indicates a matching degree between the configuration tag and the published content, and after the content is published, the matching degree between the configuration tag and the collected content is indicated. The degree of matching can be expressed as a numerical value or a percentage.
And 103, determining a target label from the configuration labels according to the matching degree of the configuration labels and the collected contents.
In the embodiment of the disclosure, at least one configuration tag is configured when the collected content is released, and the matching degree between the corresponding configuration tag and the collected content, in one scene, if one configuration tag is provided, the target tag is the configuration tag; in another scenario, if a plurality of configuration tags are provided, according to the matching degree between the configuration tags and the collected content, the configuration tag with the highest matching degree is used as the target tag of the collected content, and the configuration tag with the highest matching degree is used as the target tag of the collected content, so that the collected content is accurately identified.
And 104, under the condition that no favorite matched with the target tag exists, establishing a target favorite named by the target tag, and storing the favorite contents by adopting the target favorite.
In the embodiment of the disclosure, after the target tags of the favorite contents are determined, the favorite established by the user is determined according to the user identification, and then, whether the favorite matched with the target tag name exists or not is determined according to the favorite name established by the user, and under the condition that the favorite matched with the target tag does not exist, the target favorite named by the target tag is automatically established, so that the target favorite matched with the contents which the user wants to collect is automatically established, the user is prevented from manually establishing the favorite through a plurality of paths, and the efficiency and the accuracy of favorite establishment are improved.
Furthermore, the established target favorite is adopted to store the collected contents, so that the corresponding storage of different collected contents through the automatically established target favorite is realized, the automatic classification storage of the collected contents is realized, the displayed contents are clear, the subsequent searching of the contents by the user is facilitated, and the searching efficiency of the user can be improved.
As an implementation manner, for the collection content, a uniform resource locator URL address of the collection content may be stored, and the collection content is linked to the corresponding collection content through the URL address, for example, in a browser scenario. As another implementation manner, the unique identifier of the collection content may be stored, where the unique identifier may be a set field of the collection content, the collection content is stored in a set database, and the corresponding collection content is found through the unique identifier.
And 105, automatically storing the favorite contents into the favorites under the condition that the favorites matched with the target tags exist.
In the embodiment of the disclosure, when the favorite matched with the target tag exists, the user is considered to have established the corresponding favorite in advance, the unique identifier of the favorite content is directly stored in the favorite, so that the storage of intelligently selecting the corresponding favorite is realized, and the favorite established by the user is used as a higher priority, which better meets the collection requirements of the user. The unique identifier is used to link to the corresponding collection content, and the unique identifier may be a set field of the collection content or a URL address of the collection content, which is not limited in this embodiment.
The data processing method of the embodiment of the disclosure includes the steps of obtaining a collection request sent by a target client in response to user operation, wherein the collection request carries collection content, obtaining matching degree of configuration labels and configuration labels configured when the collection content is published, determining the target labels from the configuration labels according to the matching degree of the configuration labels configured when the collection content is published, establishing target folders named by the target labels under the condition that the folders matched with the target labels do not exist, storing the collection content by adopting the target folders, and automatically storing the collection content into the folders under the condition that the folders matched with the target labels exist, so that the folders matched with the collection content are determined based on the labels configured when the collection content is published, and the collection efficiency is improved.
Based on the above embodiment, the present embodiment provides another data processing method. Fig. 2 is a schematic flow chart of a data processing method according to an embodiment of the disclosure, as shown in fig. 2, the method includes the following steps:
step 201, acquiring a collection request sent by a target client in response to a user operation, wherein the collection request carries collection content.
Specifically, reference may be made to the explanations in the foregoing embodiments, the principles are the same, and further description is omitted in this embodiment.
Step 202, sending a query request of the collected content to the server, so that the server queries a configuration tag configured when the collected content is released according to a content identifier carried by the query request, and matches the configuration tag with the collected content.
Step 203, receiving the query response carrying the configuration tag and the matching degree of the configuration tag and the collected content sent by the server.
In the embodiment of the disclosure, the server stores the content issued by each client in response to the user operation, and the content may be multimedia content such as text content, image content, video content, and the like. After the content to be collected is determined, a query request is sent to the server, so that the server queries the configuration tag of the collected content when the collected content is released and the matching degree of the configuration tag and the collected content according to the identifier of the collected content. According to the method and the device, the corresponding configuration tags and the matching degree of each configuration tag and the content are determined for the released content in advance at the content releasing stage, so that the corresponding configuration tags and the matching degree of the configuration tags and the collected content can be quickly obtained when the collection requirement exists after the released content is released, meanwhile, the storage is carried out at the server side, the limitation of storage capacity is avoided, more data volume can be stored, a comparison reference is provided for the automatic favorite establishment in the follow-up process, and the efficiency and the accuracy of the favorite automatically established and matched with the collected content are improved.
And 204, determining a target label from the configuration labels according to the matching degree of the configuration labels and the collected contents configured when the collected contents are published.
Specifically, reference may be made to the explanations in the foregoing embodiments, the principles are the same, and further description is omitted in this embodiment.
Step 205, determining whether a favorite matched with the target tag exists, if not, executing step 206, and if so, executing step 207.
In the embodiment of the present disclosure, after the target tag of the favorite content is determined, the favorite created by the user is determined according to the user identifier, and further, according to the name of the favorite created by the user, whether there is a favorite matching the target tag name is determined, in the case that there is no favorite matching the target tag, step 206 is executed, and in the case that there is a favorite matching the target tag, step 207 is executed.
Step 206, establishing a target favorite named by the target label, and storing the favorite contents by adopting the target favorite.
By establishing the target favorite named by the target tag, the target favorite matched with the content which the user wants to collect is automatically established, the corresponding favorite is intelligently selected to be stored, the user is prevented from manually establishing the favorite through a plurality of paths, and the efficiency and the accuracy of establishing the favorite are improved.
Step 207, storing the favorite content in the favorite.
In the embodiment of the disclosure, when the favorite matched with the target tag exists, the user is considered to have established the corresponding favorite in advance, the unique identifier of the favorite content is directly stored in the favorite, so that the storage of intelligently selecting the corresponding favorite is realized, and the favorite established by the user is used as a higher priority, which better meets the collection requirements of the user. The unique identifier is used to link to the corresponding collection content, and the unique identifier may be a set field of the collection content or a URL address of the collection content, which is not limited in this embodiment.
The data processing method of the embodiment of the disclosure includes the steps of obtaining a collection request sent by a target client in response to user operation, wherein the collection request carries collection content, obtaining matching degree of configuration labels configured when the collection content is published and the configuration labels, determining the target labels from the configuration labels according to the matching degree of the configuration labels configured when the collection content is published, establishing target folders named by the target labels under the condition that the folders matched with the target labels do not exist, adopting the target folders and storing the collection content, realizing the purpose of intelligently generating the matched folders based on the labels configured when the collection content is published, storing the collection content when the matched folders do not exist, automatically storing the collection content when the matched folders exist, and improving collection efficiency and collection effect.
In order to implement the foregoing embodiments, an embodiment of the present disclosure provides another data processing method, and fig. 3 is a schematic flow chart of the another data processing method provided in the embodiment of the present disclosure, as shown in fig. 3, the method includes the following steps:
step 301, obtaining the content to be published sent by the client.
The execution main body of the embodiment of the disclosure is a server, and the server can be a program or a server installed in the server, wherein the server can be a single server or a server cluster, and the server can be a local server or a server in the cloud.
The content to be released may be any article, video, image, or the like.
The client refers to an application, a web page, an electronic device, or the like, which is served by the server. For example, the client of the present disclosure is an application installed in the electronic device of the user, which can upload and publish content, for example, a microblog application, a forum application, and the like, and may also be a web page used by a manager and a developer of the application to manage and maintain the corresponding application, which is not limited in this disclosure.
Step 302, matching the content with each tag in a preset tag library, determining a configuration tag of the content, and matching degree of the configuration tag and the release content.
In the embodiment of the present disclosure, the preset tag library is pre-established, and the preset tag library stores a plurality of pre-established tags, for example, the tags include decoration, hard clothing, soft clothing, nurture, food, makeup, and the like, which are not listed here.
In an implementation manner of the embodiment of the present disclosure, the content to be published and each tag in the preset tag library are input into the matching model, the matching degree between each tag and the content is output, and the tag with the matching degree greater than the set threshold is used as the configuration tag matched with the content to be published.
And 303, releasing the content carrying the configuration tag and the matching degree of the configuration tag, wherein the matching degree of the configuration tag and the configuration tag is used for determining a target tag according to the configuration tag of the content and the matching degree of the configuration tag and the content when the client collects the content, and adding the content to the matched favorite according to the target tag.
In the embodiment of the present disclosure, after the content carrying the configuration tag and the matching degree between the configuration tag and the content is published, for example, the content is published to a set website or forum, or a corresponding application program, and the content is in a state that a user can search or acquire the content. Therefore, when the user searches the content in the corresponding client and collects the content, the configuration tag corresponding to the content and the matching degree of the configuration tag and the content are used for determining the target tag according to the configuration tag of the content and the matching degree of the configuration tag and the content when the client collects the content, and adding the content to the matched favorite according to the target tag. Specifically, reference may be made to the explanations in the foregoing embodiments, which are not repeated in this embodiment.
In the data processing method of the embodiment of the disclosure, a content to be published sent by a client is acquired, the content is matched with each tag in a preset tag library, a configuration tag of the content and a matching degree of the configuration tag are determined, and the content carrying the matching degree of the configuration tag and the configuration tag is published, wherein the matching degree of the configuration tag and the configuration tag is used for determining a target tag according to the matching degree of the configuration tag and the configuration tag of the content when the client collects the content, and the content is added to a matched favorite according to the target tag, so that the matching degree of the configuration tag and the configuration tag of the content is generated when the content is published, the content is not limited by storage capacity, more data volume can be stored, the target tag of the content can be rapidly collected when the content is required to be collected, and a comparison reference is provided for automatically establishing the favorite subsequently, the efficiency and the accuracy of automatically establishing and collecting the favorites matched with the content are improved.
Based on the foregoing embodiments, an embodiment of the present disclosure provides another data processing method, and fig. 4 is a schematic flow chart of the another data processing method provided in the embodiment of the present disclosure, as shown in fig. 4, the method includes the following steps:
step 401, obtaining content to be published sent by a client.
The explanations in the foregoing embodiments are also applicable to the present embodiment, and are not repeated here.
Step 402, obtaining a configuration tag labeled to the content to be published in response to the user operation.
And the matching degree of the marked configuration label is higher than the matching degree of the configuration label determined in the preset label library.
In the embodiment of the disclosure, the labeled configuration tag may be added to the content to be published in response to a user operation for publishing the content to be published, and since the labeled configuration tag is added by the user according to information such as a subject, a semantic and the like of the content to be published, a matching degree between the labeled configuration tag and the content to be published is higher than a matching degree of each configuration tag determined by a preset tag library subsequently, so that accuracy of the configuration tag of the text to be published is improved.
Step 403, extracting a plurality of keywords of the content, matching the plurality of keywords with the sub-tags included in each tag in the preset tag library, determining the matching number corresponding to each tag, and using the tags with the matching number greater than or equal to the set number as configuration tags of the content.
Each tag in the preset tag library has a corresponding sub-tag, for example, a tag: hardwear, comprising a sub-label comprising: and (3) hydroelectric laying, ceramic tile, wall emulsion paint, putty layer treatment and the like. A tagged wedding comprising sub-tags comprising: wedding dress, worship clothes, dressing, appearance, flower holding, etc.
In an implementation manner, the content to be published is input into a pre-trained recognition model, and a plurality of keywords corresponding to the content to be published are obtained. The plurality of keywords may be entity words in the content to be published, or a plurality of keywords indicating semantics of the content to be published.
And step 404, determining the matching degree of each configuration label according to the matching quantity corresponding to each label.
In the embodiment of the disclosure, a plurality of keywords corresponding to content to be published are matched with sub-tags included in each tag, and the number of matching the sub-tags in each tag and the keywords is determined, for example, a keyword of the content to be published is matched with a sub-tag in a tag "decoration" in a preset tag library, 50% of the keywords in the content to be published are matched with the sub-tags in the "decoration", and the keywords of the content to be published are matched with the sub-tags in the tag "soft package", and 30% of the keywords in the content to be published are determined to be matched with the sub-tags in the "soft package", where the set number is 25%, the service end determines that the configuration tags of the content to be published are decoration and soft package, where the matching degree of decoration is higher than the matching degree of soft package, and according to the number of matching the keywords with the sub-tags of each tag, the matching degree of the configuration label 'decoration' is determined to be 50%, and the matching degree of the configuration label 'soft package' is determined to be 30%. By matching the keywords in the content with the sub-tags of each tag in the preset tag library, the number of the tags of the released content is increased, the matching degree of each tag and the released content can be determined according to the matching result, and the reliability and the accuracy of tag determination are improved.
Step 405, the content to be published is published.
Wherein, the content carries a configuration label and the matching degree of the configuration label and the content.
The configuration label and the matching degree of the configuration label and the content are used for determining a target label according to the configuration label of the content and the matching degree of the configuration label and the content when the client collects the content, and adding the content to the matched favorite according to the target label.
Specifically, reference may be made to the explanations in the foregoing embodiments, the principles are the same, and further description is omitted in this embodiment.
Step 406, receiving a query request sent by the client, where the query request carries the identifier of the content.
Step 407, sending a query response carrying the configuration tag corresponding to the content and the matching degree of the configuration tag and the content according to the identifier of the content in the query request.
The explanations in the foregoing embodiments are also applicable to this embodiment, and are not repeated in this embodiment.
In the embodiment of the disclosure, the generated configuration tags of the content and the matching degree of the configuration tags in the publishing stage are not limited by the storage capacity, and a large amount of data can be stored, so that the target tags of the published content can be quickly determined when the published content has a collection requirement, a comparison reference is provided for automatically establishing the favorites in the follow-up process, and the efficiency and the accuracy of automatically establishing the favorites matched with the collected content are improved.
In the embodiment of the disclosure, the configuration tag labeled to the content to be published in response to the user operation is acquired, and the at least one configuration tag of the content to be published is determined by comparing the preset tag library at the server side, so that the matching degree between the configuration tag of the content to be published and the configuration tag can be still determined under the condition that the labeled configuration tag is not acquired, and the reliability of tag determination is improved. When the content is released, the configuration label of the content and the matching degree of the configuration label are generated, the limitation of storage capacity is avoided, and more data volume can be stored, so that the target label of the content can be collected quickly when the collection requirement exists, a comparison reference is provided for automatically establishing a favorite subsequently, and the efficiency and the accuracy of automatically establishing and collecting the favorite matched with the content are improved.
In order to implement the above embodiments, the present embodiment provides a data processing apparatus.
Fig. 5 is a schematic structural diagram of a data processing apparatus according to an embodiment of the disclosure, as shown in fig. 5, the apparatus includes:
a first obtaining module 51, configured to obtain a collection request sent by a target client in response to a user operation; wherein, the collection request carries collection content.
The second obtaining module 52 is configured to obtain the configuration tag of the collected content when the collected content is published and the matching degree between the configuration tag and the collected content.
A determining module 53, configured to determine a target tag from the configuration tags according to the matching degree between the configuration tags and the collected content.
And a first storage module 54, configured to, in the absence of a favorite matching the target tag, establish a target favorite named with the target tag, and store the favorite content by using the target favorite.
And a second storage module 55, configured to store the favorite content in a favorite that matches the target tag if the favorite exists.
Further, in an implementation manner of the embodiment of the present disclosure, the second obtaining module 52 is specifically configured to:
sending a query request of the collected content to a server, so that the server queries a configuration tag of the collected content when the collected content is published and the matching degree of the configuration tag and the collected content according to a content identifier carried by the query request; and receiving a query response which is sent by the server and carries the configuration tag and the matching degree of the configuration tag and the collection content.
It should be understood that the explanations in the foregoing method embodiments also apply to the apparatus in this embodiment, and the principle is the same, and the descriptions in this embodiment are omitted.
In the data processing device of the embodiment of the disclosure, a collection request sent by a target client in response to a user operation is acquired, wherein the collection request carries collection content, a configuration tag of the collection content during publishing and a matching degree of the configuration tag and the collection content are acquired, the target tag is determined from the configuration tag according to the matching degree of the configuration tag of the collection content and the collection content, a target favorite named by the target tag is established under the condition that the favorite matched with the target tag does not exist, the target favorite is adopted to store the collection content, and the collection content is automatically stored in the favorite under the condition that the favorite matched with the target tag exists, so that the favorite matched with the collection content is automatically determined based on the tag configured during publishing, and the collection efficiency is improved.
In order to implement the above embodiments, the present embodiment provides another data processing apparatus.
Fig. 6 is a schematic structural diagram of another data processing apparatus according to an embodiment of the present disclosure, as shown in fig. 6, the apparatus includes:
the obtaining module 61 is configured to obtain content to be published, which is sent by a client.
A matching module 62, configured to match the content with each tag in a preset tag library, and determine a configuration tag of the content and a matching degree between the configuration tag and the content.
A publishing module 63, configured to publish content carrying the configuration tag and the matching degree, where the configuration tag and the matching degree are used by a client to determine a target tag according to the configuration tag and the matching degree of the content when the client collects the content, and add the content to a matched favorite according to the target tag.
Further, as a possible implementation manner, the matching module 62 is specifically configured to:
extracting a plurality of keywords of the content; matching the plurality of keywords with the sub-tags contained in each tag, and determining the matching number corresponding to each tag; taking the tags with the matching number larger than or equal to the set number as configuration tags of the content; and determining the matching degree of each configuration label according to the matching quantity. As a possible implementation manner, the apparatus further includes:
the receiving module is used for receiving the query request sent by the client; the query request carries a favorite content identifier;
and the sending module is used for sending a query response carrying the configuration label corresponding to the content and the matching degree according to the identifier of the content in the query request.
As a possible implementation manner, the apparatus further includes:
the marking module is used for marking a configuration label on the content to be issued in response to user operation; the matching degree of the labeled configuration label is higher than the matching degree of the configuration label determined from the preset label library.
It should be understood that the explanations in the foregoing method embodiments also apply to the apparatus in this embodiment, and the principle is the same, and the descriptions in this embodiment are omitted.
In the data processing device of the embodiment of the disclosure, the content to be published sent by the client is acquired, the content is matched with each tag in the preset tag library, the configuration tag of the content and the matching degree of the configuration tag are determined, and the content carrying the matching degree of the configuration tag and the configuration tag is published, wherein the matching degree of the configuration tag and the configuration tag is used for determining the target tag according to the matching degree of the configuration tag and the configuration tag of the content when the client collects the content, and the content is added to the matched favorite according to the target tag, so that the matching degree of the configuration tag and the configuration tag of the content is generated when the content is published, the content is not limited by storage capacity, more data volume can be stored, the target tag of the content can be rapidly collected when the content is required to be collected, and a comparison reference is provided for automatically establishing the favorite subsequently, the automatic collection to the matched favorite is realized, and the efficiency and the accuracy of the favorite are improved.
In order to implement the above embodiments, an embodiment of the present disclosure further provides an electronic device, including:
at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the steps of the method of the preceding method embodiment.
To achieve the above embodiments, the embodiments of the present disclosure further provide a non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the steps of the method of the foregoing method embodiments.
To implement the above embodiments, the present disclosure also provides a computer program product including computer instructions, which when executed by a processor implement the steps of the method of the foregoing method embodiments.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 7 illustrates a block diagram of an example electronic device that can be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 7, the device 700 includes a computing unit 701, which can perform various appropriate actions and processes in accordance with a computer program stored in a ROM (Read-Only Memory) 702 or a computer program loaded from a storage unit 708 into a RAM (Random Access Memory) 703. In the RAM 703, various programs and data required for the operation of the device 700 can also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other by a bus 704. An I/O (Input/Output) interface 805 is also connected to the bus 704.
Various components in the device 700 are connected to the I/O interface 705, including: an input unit 706 such as a keyboard, a mouse, or the like; an output unit 707 such as various types of displays, speakers, and the like; a storage unit 708 such as a magnetic disk, optical disk, or the like; and a communication unit 709 such as a network card, modem, wireless communication transceiver, etc. The communication unit 709 allows the device 700 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
Computing unit 701 may be a variety of general purpose and/or special purpose processing components with processing and computing capabilities. Some examples of the computing Unit 701 include, but are not limited to, a CPU (Central Processing Unit), a GPU (graphics Processing Unit), various dedicated AI (Artificial Intelligence) computing chips, various computing Units running machine learning model algorithms, a DSP (Digital Signal Processor), and any suitable Processor, controller, microcontroller, and the like. The calculation unit 701 executes the respective methods and processes described above, such as the data processing method. For example, in some embodiments, the data processing method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 708. In some embodiments, part or all of a computer program may be loaded onto and/or installed onto device 700 via ROM 702 and/or communications unit 709. When the computer program is loaded into the RAM 703 and executed by the computing unit 701, one or more steps of the data processing method described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to perform the data processing method by any other suitable means (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be realized in digital electronic circuitry, Integrated circuitry, FPGAs (Field Programmable Gate arrays), ASICs (Application-Specific Integrated circuits), ASSPs (Application Specific Standard products), SOCs (System On Chip, System On a Chip), CPLDs (Complex Programmable Logic devices), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a RAM, a ROM, an EPROM (Electrically Programmable Read-Only-Memory) or flash Memory, an optical fiber, a CD-ROM (Compact Disc Read-Only-Memory), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a Display device (e.g., a CRT (Cathode Ray Tube) or LCD (Liquid Crystal Display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: LAN (Local Area Network), WAN (Wide Area Network), internet, and blockchain Network.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The Server can be a cloud Server, also called a cloud computing Server or a cloud host, and is a host product in a cloud computing service system, so as to solve the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service ("Virtual Private Server", or simply "VPS"). The server may also be a server of a distributed system, or a server incorporating a blockchain.
It should be noted that artificial intelligence is a subject for studying a computer to simulate some human thinking processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.), and includes both hardware and software technologies. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing, and the like; the artificial intelligence software technology mainly comprises a computer vision technology, a voice recognition technology, a natural language processing technology, machine learning/deep learning, a big data processing technology, a knowledge map technology and the like.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel or sequentially or in different orders, and are not limited herein as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (15)

1. A method of data processing, comprising:
acquiring a collection request sent by a target client in response to user operation; wherein, the collection request carries collection content;
acquiring a configuration label of the collected content during release and the matching degree of the configuration label and the collected content;
determining a target tag from the configuration tags according to the matching degree of the configuration tags and the collected content;
under the condition that no favorite matched with the target tag exists, establishing a target favorite named by the target tag, and storing the favorite contents by adopting the target favorite;
and automatically storing the favorite contents to the favorites under the condition that the favorites matched with the target tags exist.
2. The method of claim 1, wherein the obtaining the configuration tag of the favorite content at the time of publishing and the matching degree of the configuration tag and the favorite content comprises:
sending a query request of the collected content to a server, so that the server queries a configuration tag of the collected content when the collected content is published and the matching degree of the configuration tag and the collected content according to a content identifier carried by the query request;
and receiving a query response which is sent by the server and carries the configuration tag and the matching degree of the configuration tag and the collection content.
3. A method of data processing, comprising:
acquiring content to be issued sent by a client;
matching the content with each label in a preset label library, and determining a configuration label of the content and the matching degree of the configuration label and the content;
and issuing the content carrying the configuration label and the matching degree, wherein the configuration label and the matching degree are used for determining a target label according to the configuration label and the matching degree of the content when the client collects the content, and adding the content to the matched favorite according to the target label.
4. The method of claim 3, wherein the matching the content with each tag in a preset tag library, determining a configuration tag of the content, and a matching degree of the configuration tag with the content comprises:
extracting a plurality of keywords of the content;
matching the plurality of keywords with the sub-tags contained in each tag, and determining the matching number corresponding to each tag;
taking the tags with the matching number larger than or equal to the set number as configuration tags of the content;
and determining the matching degree of each configuration label according to the matching quantity.
5. The method of claim 3, further comprising:
receiving a query request sent by a client; the query request carries the identifier of the content;
and sending a query response carrying the configuration label corresponding to the content and the matching degree according to the identifier of the content in the query request.
6. The method of any of claims 3-5, further comprising:
acquiring a configuration tag labeled to the content in response to a user operation; the matching degree of the labeled configuration label is higher than the matching degree of the configuration label determined from the preset label library.
7. A data processing apparatus comprising:
the first acquisition module is used for acquiring a collection request sent by a target client end in response to user operation; wherein, the collection request carries collection content;
the second acquisition module is used for acquiring the configuration label of the collected content during release and the matching degree of the configuration label and the collected content;
the determining module is used for determining a target tag from the configuration tags according to the matching degree of the configuration tags and the collected content;
the first storage module is used for establishing a target favorite named by the target tag under the condition that no favorite matched with the target tag exists, and storing the favorite contents by adopting the target favorite;
and the second storage module stores the favorite contents to the favorites under the condition that the favorites matched with the target tags exist.
8. The apparatus of claim 7, wherein the second obtaining module is specifically configured to:
sending a query request of the collected content to a server, so that the server queries a configuration tag of the collected content when the collected content is published and the matching degree of the configuration tag and the collected content according to a content identifier carried by the query request;
and receiving a query response which is sent by the server and carries the configuration tag and the matching degree of the configuration tag and the collection content.
9. A data processing apparatus comprising:
the acquisition module is used for acquiring the content to be issued sent by the client;
the matching module is used for matching the content with each label in a preset label library to determine a configuration label of the content and the matching degree of the configuration label and the content;
and the publishing module is used for publishing the content carrying the configuration tag and the matching degree, wherein the configuration tag and the matching degree are used for determining a target tag according to the configuration tag and the matching degree of the content when the client collects the content, and adding the content to the matched favorite according to the target tag.
10. The apparatus of claim 9, wherein the matching module is specifically configured to:
extracting a plurality of keywords of the content;
matching the plurality of keywords with the sub-tags contained in each tag, and determining the matching number corresponding to each tag;
taking the tags with the matching number larger than or equal to the set number as configuration tags of the content;
and determining the matching degree of each configuration label according to the matching quantity.
11. The apparatus of any of claims 9, further comprising:
the receiving module is used for receiving the query request sent by the client; the query request carries the identifier of the content;
and the sending module is used for sending a query response carrying the configuration label corresponding to the content and the matching degree according to the identifier of the content in the query request.
12. The apparatus of any of claims 9-11, further comprising:
the marking module is used for marking a configuration label on the content to be issued in response to user operation; the matching degree of the labeled configuration label is higher than the matching degree of the configuration label determined from the preset label library.
13. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the method of any one of claims 1-2 or to perform the steps of the method of any one of claims 3-6.
14. A non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to perform the steps of the method of any one of claims 1-2 or to perform the steps of the method of any one of claims 3-6.
15. A computer program product comprising computer instructions which, when executed by a processor, implement the steps of the method of any one of claims 1-2, or implement the steps of the method of any one of claims 3-6.
CN202111339911.3A 2021-11-12 2021-11-12 Data processing method and device, electronic equipment and storage medium Pending CN114186147A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111339911.3A CN114186147A (en) 2021-11-12 2021-11-12 Data processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111339911.3A CN114186147A (en) 2021-11-12 2021-11-12 Data processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114186147A true CN114186147A (en) 2022-03-15

Family

ID=80539951

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111339911.3A Pending CN114186147A (en) 2021-11-12 2021-11-12 Data processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114186147A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024066893A1 (en) * 2022-09-26 2024-04-04 北京字跳网络技术有限公司 Multimedia work processing method, apparatus and device, and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024066893A1 (en) * 2022-09-26 2024-04-04 北京字跳网络技术有限公司 Multimedia work processing method, apparatus and device, and storage medium

Similar Documents

Publication Publication Date Title
CN111522927B (en) Entity query method and device based on knowledge graph
CN107679119B (en) Method and device for generating brand derivative words
CN107832338B (en) Method and system for recognizing core product words
CN107247798B (en) Method and device for constructing search word bank
CN110633594A (en) Target detection method and device
CN112818111B (en) Document recommendation method, device, electronic equipment and medium
CN112818230B (en) Content recommendation method, device, electronic equipment and storage medium
CN114595686A (en) Knowledge extraction method, and training method and device of knowledge extraction model
CN113032673A (en) Resource acquisition method and device, computer equipment and storage medium
CN112559717A (en) Search matching method and device, electronic equipment and storage medium
CN110750707A (en) Keyword recommendation method and device and electronic equipment
CN115248890B (en) User interest portrait generation method and device, electronic equipment and storage medium
CN112528146B (en) Content resource recommendation method and device, electronic equipment and storage medium
CN114186147A (en) Data processing method and device, electronic equipment and storage medium
CN113190746A (en) Recommendation model evaluation method and device and electronic equipment
CN110807097A (en) Method and device for analyzing data
CN116597443A (en) Material tag processing method and device, electronic equipment and medium
CN114880498B (en) Event information display method and device, equipment and medium
CN114491232B (en) Information query method and device, electronic equipment and storage medium
CN112860626B (en) Document ordering method and device and electronic equipment
CN114201622A (en) Method and device for acquiring event information, electronic equipment and storage medium
US11106737B2 (en) Method and apparatus for providing search recommendation information
CN113743973A (en) Method and device for analyzing market hotspot trend
CN112016017A (en) Method and device for determining characteristic data
CN115828915B (en) Entity disambiguation method, device, electronic equipment and storage medium

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