Method and apparatus for processing information
By acquiring and analyzing the user tags of the target user and determining the correlation with the target presentation information, the problem of the inability to accurately identify and push information that meets user interests in the prior art is solved, and the diversity and targeted information processing are achieved.
Patent Information
- Application Number
- CN201811289806.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-10-31
- Publication Date
- 2025-05-23
- Estimated Expiration
- 2041-05-23
AI Technical Summary
The prior art is difficult to effectively process different types of presentation information, and it is impossible to accurately identify and push information that meets user interests.
By obtaining the user tag of the target user corresponding to the target presentation information, the correlation between the user tag and the target presentation information is determined, and the target tag is selected from the user tag based on the correlation degree, so as to accurately identify and push information that meets user interests.
The accurate identification and push of information for target presentation is achieved, the diversity and pertinence of information processing is improved, and the effective transmission of information is ensured.
Smart Images

Figure CN109388753B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computer technology, and in particular, to a method and apparatus for processing information. Background Art
[0002] At present, with the development of science and technology, people can already use mobile phones, computers and other electronic devices to browse news, advertisements and other presentation information. In practice, presentation information can include various types according to different information contents, such as automobile presentation information, financial presentation information, health presentation information, etc. Usually, different users may be interested in different types of presentation information. Summary of the invention
[0003] The embodiments of the present application provide a method and device for processing information.
[0004] In a first aspect, an embodiment of the present application provides a method for processing information, the method comprising: obtaining a user tag of a target user corresponding to target presentation information, wherein the target user is a user who uses a target user terminal to perform a preset operation on the target presentation information; for a user tag in the obtained user tags, determining a correlation between the user tag and the target presentation information, wherein the correlation is a numerical value used to characterize the degree of correlation; based on the determined correlation, selecting a user tag from the obtained user tags as a target tag corresponding to the target presentation information.
[0005] In some embodiments, the target presentation information includes text information; and for the user tags in the acquired user tags, determining the relevance of the user tags to the target presentation information, including: extracting keywords of the target presentation information; for the user tags in the acquired user tags, determining the relevance of the user tags to the target presentation information based on the extracted keywords.
[0006] In some embodiments, for a user tag in the acquired user tags, based on the extracted keywords, the relevance of the user tag to the target presentation information is determined, including: determining a feature vector of the extracted keywords; determining a feature vector corresponding to the target presentation information based on the feature vector of the keywords; for a user tag in the acquired user tags, performing the following steps: determining a feature vector corresponding to the user tag; performing similarity calculation on the feature vector corresponding to the user tag and the feature vector corresponding to the target presentation information to obtain a calculation result; and determining the relevance of the user tag to the target presentation information based on the obtained calculation result.
[0007] In some embodiments, the extracted keywords include at least two; and determining the feature vector corresponding to the extracted keywords includes: determining the feature vector of the keyword among the at least two extracted keywords; and based on the feature vector of the keyword, determining the feature vector corresponding to the target presentation information includes: performing mean calculation on the feature vectors of at least two keywords, and obtaining the mean calculation result as the feature vector corresponding to the target presentation information.
[0008] In some embodiments, based on the determined relevance, a user tag is selected from the acquired user tags as the target tag corresponding to the target presentation information, including: sorting the acquired user tags in order of the determined relevance to obtain a user tag sequence; and selecting a user tag from the user tag sequence as the target tag corresponding to the target presentation information.
[0009] In some embodiments, after selecting a user tag from the acquired user tags as the target tag corresponding to the target presentation information, the method further includes: sending the target presentation information to a terminal used by a user whose corresponding user tag includes the target tag.
[0010] In some embodiments, the target presentation information corresponds to a target page, and the target presentation information is used for the user to click on to present the target page corresponding to the clicked target presentation information.
[0011] In some embodiments, the preset operation includes a click operation.
[0012] In a second aspect, an embodiment of the present application provides a device for processing information, the device comprising: an acquisition unit, configured to acquire a user tag of a target user corresponding to target presentation information, wherein the target user is a user who uses a target user terminal to perform a preset operation on the target presentation information; a determination unit, configured to determine, for a user tag in the acquired user tags, a correlation between the user tag and the target presentation information, wherein the correlation is a numerical value used to characterize the degree of correlation; and a selection unit, configured to select a user tag from the acquired user tags as a target tag corresponding to the target presentation information based on the determined correlation.
[0013] In some embodiments, the target presentation information includes text information; and the determination unit includes: an extraction module configured to extract keywords of the target presentation information; a determination module configured to determine the relevance of the user tag in the acquired user tags to the target presentation information based on the extracted keywords.
[0014] In some embodiments, the determination module is further configured to: determine the feature vector of the extracted keyword; based on the feature vector of the keyword, determine the feature vector corresponding to the target presentation information; for the user tag in the acquired user tags, perform the following steps: determine the feature vector corresponding to the user tag; perform similarity calculation on the feature vector corresponding to the user tag and the feature vector corresponding to the target presentation information to obtain a calculation result; based on the obtained calculation result, determine the correlation between the user tag and the target presentation information.
[0015] In some embodiments, the extracted keywords include at least two; and determining the feature vector corresponding to the extracted keywords includes: determining the feature vector of the keyword among the at least two extracted keywords; and based on the feature vector of the keyword, determining the feature vector corresponding to the target presentation information includes: performing mean calculation on the feature vectors of at least two keywords, and obtaining the mean calculation result as the feature vector corresponding to the target presentation information.
[0016] In some embodiments, the selection unit includes: a sorting module, configured to sort the acquired user tags in order of the determined relevance to obtain a user tag sequence; a selection module, configured to select the user tag from the user tag sequence as the target tag corresponding to the target presentation information.
[0017] In some embodiments, the apparatus further includes: a sending unit configured to send the target presentation information to a terminal used by a user whose corresponding user tag includes the target tag.
[0018] In some embodiments, the target presentation information corresponds to a target page, and the target presentation information is used for the user to click on to present the target page corresponding to the clicked target presentation information.
[0019] In some embodiments, the preset operation includes a click operation.
[0020] In a third aspect, an embodiment of the present application provides an electronic device, comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by one or more processors, the one or more processors implement the method of any embodiment of the above-mentioned method for processing information.
[0021] In a fourth aspect, an embodiment of the present application provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements a method of any embodiment of the above-mentioned method for processing information.
[0022] The method and device for processing information provided by the embodiments of the present application obtain the user tag of the target user corresponding to the target presentation information, and then determine the correlation between the user tag in the obtained user tags and the target presentation information, and finally select the user tag from the obtained user tags as the target tag corresponding to the target presentation information based on the determined correlation, thereby effectively utilizing the user tag of the target user who performs a preset operation on the target presentation information to determine the target tag corresponding to the target presentation information, thereby determining the content indicated by the target presentation information, thereby improving the diversity of information processing; and obtaining the target tag corresponding to the target presentation information helps to process the target presentation information in a targeted manner based on the target tag, for example, pushing the target presentation information to a terminal used by a user whose corresponding user tag includes the target tag, thereby improving the targeted information processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
[0024] Figure 1 is an exemplary system architecture diagram in which an embodiment of the present application may be applied;
[0025] Figure 2 is a flow chart of an embodiment of a method for processing information according to the present application;
[0026] Figure 3 is a schematic diagram of an application scenario of a method for processing information according to an embodiment of the present application;
[0027] Figure 4 is a flow chart of another embodiment of a method for processing information according to the present application;
[0028] Figure 5 is a schematic structural diagram of an embodiment of a device for processing information according to the present application;
[0029] Figure 6 It is a structural diagram of a computer system suitable for implementing an electronic device of an embodiment of the present application. DETAILED DESCRIPTION
[0030] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It should also be noted that, for ease of description, only the parts related to the relevant invention are shown in the accompanying drawings.
[0031] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0032] Figure 1 An exemplary system architecture 100 is shown to which embodiments of the method for processing information or the apparatus for processing information of the present application can be applied.
[0033] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0034] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.
[0035] Terminal devices 101, 102, 103 can be hardware or software. When terminal devices 101, 102, 103 are hardware, they can be various electronic devices with display screens and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Group Audio Layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Group Audio Layer 4) players, laptop computers and desktop computers, etc. When terminal devices 101, 102, 103 are software, they can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules (for example, multiple software or software modules used to provide distributed services), or it can be implemented as a single software or software module. No specific limitation is made here.
[0036] The server 105 may be a server that provides various services, such as an information processing server that processes the user tag of the target user corresponding to the target presentation information sent by the terminal devices 101, 102, and 103. The information processing server may analyze the received user tag and obtain a processing result (such as the target tag corresponding to the target presentation information).
[0037] It should be noted that the method for processing information provided in the embodiments of the present application can be executed by the terminal devices 101, 102, 103, or by the server 105. Accordingly, the device for processing information can be set in the terminal devices 101, 102, 103, or in the server 105.
[0038] It should be noted that the server can be hardware or software. When the server is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or it can be implemented as a single server. When the server is software, it can be implemented as multiple software or software modules (for example, multiple software or software modules for providing distributed services), or it can be implemented as a single software or software module. No specific limitation is made here.
[0039] It should be understood that Figure 1 The number of terminal devices, networks and servers in the system is only illustrative. Any number of terminal devices, networks and servers may be provided as required. In the case where the data used in the process of obtaining the target tag corresponding to the target presentation information does not need to be obtained remotely, the above system architecture may not include a network, but only include terminal devices or servers.
[0040] Continue to refer Figure 2 , shows a process 200 of an embodiment of a method for processing information according to the present application. The method for processing information comprises the following steps:
[0041] Step 201: Obtain a user tag of a target user corresponding to target presentation information.
[0042] In this embodiment, the execution subject of the method for processing information (for example Figure 1 The server shown in the figure) can obtain the user tag of the target user corresponding to the target presentation information through a wired connection method or a wireless connection method. Among them, the target presentation information is the presentation information of the target tag to be determined. The presentation information is the information used to be presented to the user. The target tag corresponding to the target presentation information can be used to indicate the content of the target presentation information. For example, the target tag corresponding to the target presentation information can be the text "movie", indicating that the content of the target presentation information is content related to movies.
[0043] In this embodiment, the target user is a user using a target user terminal (eg Figure 1 The target user terminal is connected to the execution subject in communication and is a terminal used by the target user. The preset operation can be various pre-specified operations, such as browsing operations.
[0044] In some optional implementations of this embodiment, the target presentation information may correspond to a target page, and the target presentation information may be used for a user to click on to present a target page corresponding to the clicked target presentation information. The target page may include various information for presentation to the user, such as picture information, text information, video information, etc.
[0045] In some optional implementations of this embodiment, when the target presentation information is used for a user to click on so as to present a target page corresponding to the clicked target presentation information, the above-mentioned preset operation may include a click operation.
[0046] In this embodiment, the user tag of the target user may include text for representing the interest category of the target user. For example, the user tag of the target user may include the text "movie" to represent that the target user is interested in movies. In practice, the acquired user tag of the target user may include at least one. Specifically, the above-mentioned execution subject may acquire the user tag of the target user corresponding to the target presentation information pre-stored locally, or may acquire the user tag of the target user corresponding to the target presentation information sent by the target user terminal.
[0047] It should be noted that the user tag of the target user can be obtained based on the historical behavior of the target user. For example, it can be obtained based on the articles browsed by the target user. Specifically, the existing keyword extraction method (such as TF-IDF algorithm, BM25 algorithm, etc.) can be used to extract the keywords of the articles browsed by the target user, and the extracted keywords are used as the user tag of the target user.
[0048] Step 202: for a user tag in the acquired user tags, determine the relevance between the user tag and the target presentation information.
[0049] In this embodiment, for the user tag in the user tags obtained in step 201, the execution subject may determine the relevance between the user tag and the target presentation information. The relevance is a numerical value used to represent the degree of relevance. The larger the numerical value, the higher the degree of relevance.
[0050] Specifically, the execution subject may use various methods to determine the correlation between the user tag and the target presentation information. For example, the execution subject may predetermine a first correlation for representing a high correlation and a second correlation for representing a low correlation. Furthermore, the execution subject may determine whether the target presentation information includes the user tag; if included, the execution subject may determine the first correlation as the correlation between the user tag and the target presentation information; if not included, the execution subject may determine the second correlation as the correlation between the user tag and the target presentation information.
[0051] Step 203 : Based on the determined relevance, a user tag is selected from the acquired user tags as a target tag corresponding to the target presentation information.
[0052] In this embodiment, based on the correlation determined in step 202, the execution subject may select a user tag from the acquired user tags as the target tag corresponding to the target presentation information.
[0053] Specifically, the above-mentioned execution entity can select user tags from the acquired user tags based on relevance and adopt various methods as the target tag corresponding to the target presentation information. For example, the above-mentioned execution entity can select the user tag with the greatest relevance from the acquired user tags as the target tag corresponding to the target presentation information.
[0054] In particular, when the acquired user tags include only one user tag, the execution subject may directly use the user tag as the target tag corresponding to the target presentation information.
[0055] In some optional implementations of this embodiment, based on the determined relevance, the execution subject may further select a user tag from the acquired user tags as the target tag corresponding to the target presentation information through the following steps: First, the execution subject may sort the acquired user tags in the order of the determined relevance to obtain a user tag sequence. Then, the execution subject may select a user tag from the user tag sequence as the target tag corresponding to the target presentation information.
[0056] Specifically, as an example, when the user tags in the user tag sequence are arranged in descending order according to the corresponding relevance, the above-mentioned execution entity can select the user tag ranked first from the user tag sequence as the target tag corresponding to the target presentation information; when the user tags in the user tag sequence are arranged in ascending order according to the corresponding relevance, the above-mentioned execution entity can select the user tag ranked last from the user tag sequence as the target tag corresponding to the target presentation information.
[0057] In some optional implementations of this embodiment, after selecting a user tag from the acquired user tags as the target tag corresponding to the target presentation information, the execution subject may also send the target presentation information to a terminal used by a user whose corresponding user tag includes the target tag. In this way, presentation information that the user may be interested in can be sent to the user, thereby improving the pertinence and effectiveness of information sending.
[0058] Continue to see Figure 3 , Figure 3FIG. 1 is a schematic diagram of an application scenario of the method for processing information according to this embodiment. Figure 3 In the application scenario, the server 301 can first obtain two user tags of the target user corresponding to the target presentation information sent by the target user terminal 302, which are user tag (e.g., "health") 3031 and user tag (e.g., "movie") 3032, wherein the target user is a user who uses the target user terminal 302 to perform a preset operation (e.g., a click operation) on the target presentation information. Then, the server 301 can obtain the target presentation information 304, and respectively determine the relevance 3051 and relevance 3052 of the user tag 3031, the user tag 3032 and the target presentation information 304, wherein the relevance is a numerical value used to characterize the degree of relevance. For example, see Figure 3 , the relevance 3051 corresponding to the user tag 3031 determined by the server 301 may be 10; the relevance 3052 corresponding to the user tag 3032 determined by the server 301 may be 60. Finally, the server 301 may select a user tag from the acquired user tags 3031 and 3032 as the target tag 306 corresponding to the target presentation information 304 based on the determined relevances 3051 and 3052. Figure 3 The server 301 may select the corresponding user tag with a larger correlation as the target tag 306 corresponding to the target presentation information 304 , that is, select the user tag 3032 corresponding to the correlation 3052 as the target tag 306 corresponding to the target presentation information 304 .
[0059] The method provided by the above-mentioned embodiment of the present application effectively utilizes the user tag of the target user who performs a preset operation on the target presentation information to determine the target tag corresponding to the target presentation information, thereby determining the content indicated by the target presentation information, thereby improving the diversity of information processing; and obtaining the target tag corresponding to the target presentation information helps to process the target presentation information in a targeted manner based on the target tag, for example, pushing the target presentation information to the terminal used by the user whose corresponding user tag includes the target tag, thereby improving the targeted information processing.
[0060] Further references Figure 4 , which shows a process 400 of another embodiment of a method for processing information. The process 400 of the method for processing information includes the following steps:
[0061] Step 401: Obtain a user tag of a target user corresponding to target presentation information.
[0062] In this embodiment, the execution subject of the method for processing information (for example Figure 1The server shown in the figure can obtain the user tag of the target user corresponding to the target presentation information through a wired connection method or a wireless connection method. The target presentation information is the presentation information whose corresponding target tag is to be determined. The presentation information is information for presentation to the user. The target tag corresponding to the target presentation information can be used to indicate the content of the target presentation information. The target user is a user who uses a target user terminal (e.g. Figure 1 The target user terminal is a terminal used by the target user for performing a preset operation on the target presentation information (as shown in the terminal device). The target user terminal is connected to the above-mentioned execution subject in communication and is a terminal used by the target user. The preset operation can be various pre-specified operations. The user tag of the target user can include text used to characterize the interest category of the target user.
[0063] Step 402: extract keywords of target presentation information.
[0064] In this embodiment, the target presentation information includes text information, and the execution subject may extract keywords from the target presentation information, wherein the extracted keywords may include at least one.
[0065] Specifically, the execution subject may adopt various methods to extract keywords of the target presentation information. For example, words that appear in the target presentation information more than or equal to a preset threshold may be determined as keywords of the target presentation information, and then the determined keywords may be extracted.
[0066] Step 403 : For a user tag in the acquired user tags, based on the extracted keywords, determine the relevance of the user tag and the target presentation information.
[0067] In this embodiment, for the user tags in the user tags obtained in step 401, the execution subject can determine the relevance between the user tags and the target presentation information based on the extracted keywords. The relevance is a numerical value used to represent the degree of relevance. The larger the numerical value, the higher the degree of relevance.
[0068] Specifically, the execution subject may determine the relevance between the user tag and the target presentation information by various methods based on the extracted keywords. For example, the execution subject may predetermine a first relevance for representing a high relevance and a second relevance for representing a low relevance. Furthermore, the execution subject may determine whether the extracted keywords include the user tag; if so, the execution subject may determine the first relevance as the relevance between the user tag and the target presentation information; if not, the execution subject may determine the second relevance as the relevance between the user tag and the target presentation information.
[0069] In some optional implementations of this embodiment, for the user tag in the acquired user tags, the execution subject may determine the relevance of the user tag and the target presentation information through the following steps based on the extracted keywords:
[0070] First, the execution entity may determine a feature vector of the extracted keyword.
[0071] The feature vector of the keyword can be used to characterize the features of the keyword. Specifically, the execution subject can use an existing word vector model (such as word2vec, sense2vec, etc.) to determine the feature vector of the extracted keyword.
[0072] Then, the execution subject may determine the feature vector corresponding to the target presentation information based on the feature vector of the keyword.
[0073] Among them, the feature vector corresponding to the target presentation information can be used to characterize the characteristics of the target presentation information. Specifically, the above-mentioned execution subject can use various methods to determine the feature vector corresponding to the target presentation information based on the feature vector of the keyword. As an example, when the extracted keyword includes only one, the above-mentioned execution subject can directly determine the feature vector of the keyword as the feature vector corresponding to the target presentation information; when the extracted keywords include at least two, the above-mentioned execution subject can sum the feature vectors corresponding to at least two keywords, and determine the sum result as the feature vector corresponding to the target presentation information.
[0074] In some optional implementations of this embodiment, the extracted keywords include at least two keywords. And the execution subject determines the feature vector of the keyword among the at least two keywords extracted. Furthermore, the execution subject may perform mean calculation on the feature vectors of the at least two keywords, and obtain the mean calculation result as the feature vector corresponding to the target presentation information.
[0075] Finally, for the user tags in the acquired user tags, the above-mentioned execution entity can perform the following steps: determine the feature vector corresponding to the user tag; perform similarity calculation on the feature vector corresponding to the user tag and the feature vector corresponding to the target presentation information to obtain a calculation result; based on the obtained calculation result, determine the correlation between the user tag and the target presentation information.
[0076] The feature vector corresponding to the user tag can be used to characterize the features of the user tag. Specifically, the execution subject can use the above method for determining the feature vector of a keyword to determine the feature vector corresponding to the user tag, which will not be described in detail here.
[0077] Here, the execution subject may use various existing methods to calculate the similarity between the feature vector corresponding to the user tag and the feature vector corresponding to the target presentation information, for example, using the Euclidean distance calculation method.
[0078] In this implementation, the execution subject may determine the relevance between the user tag and the target presentation information based on the obtained calculation result. Specifically, as an example, the execution subject may directly determine the obtained calculation result as the relevance between the user tag and the target presentation information; or, the execution subject may process the obtained calculation result (for example, multiply it by a preset value) to obtain a processing result, and determine the processing result as the relevance between the user tag and the target presentation information.
[0079] Step 404 : Based on the determined relevance, a user tag is selected from the acquired user tags as a target tag corresponding to the target presentation information.
[0080] In this embodiment, based on the correlation determined in step 403, the execution subject may select a user tag from the acquired user tags as the target tag corresponding to the target presentation information.
[0081] The above steps 401 and 404 are respectively consistent with the steps 201 and 203 in the aforementioned embodiment. The above descriptions of steps 201 and 203 are also applicable to steps 401 and 404, which will not be repeated here.
[0082] from Figure 4 It can be seen that Figure 2 Compared with the corresponding embodiment, the process 400 of the method for processing information in this embodiment highlights the steps of extracting keywords of the target presentation information and determining the relevance of the target presentation information and the acquired user tags using the extracted keywords. Therefore, the scheme described in this embodiment can introduce data (keywords) related to the content of the target presentation information, thereby improving the accuracy of the determined relevance.
[0083] Further references Figure 5 As an implementation of the methods shown in the above figures, the present application provides an embodiment of a device for processing information, and the device embodiment is Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.
[0084] like Figure 5As shown, the apparatus 500 for processing information in this embodiment includes: an acquisition unit 501, a determination unit 502, and a selection unit 503. The acquisition unit 501 is configured to acquire a user tag of a target user corresponding to the target presentation information, wherein the target user is a user who uses a target user terminal to perform a preset operation on the target presentation information; the determination unit 502 is configured to determine the relevance between the user tag and the target presentation information for the user tag in the acquired user tags, wherein the relevance is a numerical value used to characterize the relevance degree; the selection unit 503 is configured to select a user tag from the acquired user tags as a target tag corresponding to the target presentation information based on the determined relevance.
[0085] In this embodiment, the acquisition unit 501 of the device 500 for processing information can acquire the user tag of the target user corresponding to the target presentation information through a wired connection method or a wireless connection method. The target presentation information is the presentation information whose corresponding target tag is to be determined. The presentation information is information for presentation to the user. The target tag corresponding to the target presentation information can be used to indicate the content of the target presentation information.
[0086] In this embodiment, the target user is a user using a target user terminal (eg Figure 1 The target user terminal is a terminal device (as shown) that performs a preset operation on the target presentation information. The target user terminal is connected to the above-mentioned apparatus 500 for communication and is a terminal used by the target user. The preset operation can be various pre-specified operations.
[0087] In this embodiment, the user tag of the target user may include text used to characterize the interest category of the target user. In practice, the acquired user tag of the target user may include at least one.
[0088] In this embodiment, for the user tags in the user tags acquired by the acquisition unit 501, the determination unit 502 can determine the relevance between the user tags and the target presentation information. The relevance is a numerical value used to represent the degree of relevance. The larger the numerical value, the higher the degree of relevance.
[0089] In this embodiment, based on the correlation determined by the determining unit 502 , the selecting unit 503 may select a user tag from the acquired user tags as the target tag corresponding to the target presentation information.
[0090] In some optional implementations of this embodiment, the target presentation information includes text information; and the determination unit 502 may include: an extraction module (not shown in the figure), configured to extract keywords of the target presentation information; a determination module (not shown in the figure), configured to determine, for a user tag in the acquired user tags, the relevance of the user tag to the target presentation information based on the extracted keywords.
[0091] In some optional implementations of this embodiment, the determination module can be further configured to: determine the feature vector of the extracted keyword; based on the feature vector of the keyword, determine the feature vector corresponding to the target presentation information; for the user tag in the acquired user tags, perform the following steps: determine the feature vector corresponding to the user tag; perform similarity calculation on the feature vector corresponding to the user tag and the feature vector corresponding to the target presentation information to obtain a calculation result; based on the obtained calculation result, determine the correlation between the user tag and the target presentation information.
[0092] In some optional implementations of this embodiment, the extracted keywords include at least two; and determining the feature vector corresponding to the extracted keywords includes: determining the feature vector of the keyword among the at least two extracted keywords; and based on the feature vector of the keyword, determining the feature vector corresponding to the target presentation information includes: performing mean calculation on the feature vectors of at least two keywords, and obtaining the mean calculation result as the feature vector corresponding to the target presentation information.
[0093] In some optional implementations of the present embodiment, the selection unit 503 may include: a sorting module (not shown in the figure), configured to sort the acquired user tags in order of the determined relevance to obtain a user tag sequence; a selection module (not shown in the figure), configured to select the user tag from the user tag sequence as the target tag corresponding to the target presentation information.
[0094] In some optional implementations of this embodiment, the apparatus 500 may further include: a sending unit (not shown in the figure), configured to send the target presentation information to a terminal used by a user whose corresponding user tag includes the target tag.
[0095] In some optional implementations of this embodiment, the target presentation information may correspond to a target page, and the target presentation information is used for the user to click on to present the target page corresponding to the clicked target presentation information.
[0096] In some optional implementations of this embodiment, the preset operation may include a click operation.
[0097] It is understood that the units described in the device 500 are similar to those described in the reference Figure 2 Therefore, the operations, features and beneficial effects described above for the method are also applicable to the device 500 and the units included therein, and will not be described in detail here.
[0098] The device 500 provided by the above-mentioned embodiment of the present application effectively utilizes the user tag of the target user who performs a preset operation on the target presentation information to determine the target tag corresponding to the target presentation information, thereby determining the content indicated by the target presentation information, thereby improving the diversity of information processing; and obtaining the target tag corresponding to the target presentation information helps to process the target presentation information in a targeted manner based on the target tag, for example, pushing the target presentation information to the terminal used by the user whose corresponding user tag includes the target tag, thereby improving the targeted information processing.
[0099] Reference below Figure 6 , which shows an electronic device (eg Figure 1 A schematic diagram of the structure of a computer system 600 (a terminal device or server as shown). Figure 6 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0100] like Figure 6 As shown, the computer system 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the system 600 are also stored. The CPU 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0101] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage section 608 as needed.
[0102] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 609, and / or installed from the removable medium 611. When the computer program is executed by the central processing unit (CPU) 601, the above functions defined in the method of the present application are executed. It should be noted that the computer-readable medium described in the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, - but not limited to - an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection with one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, an apparatus or a device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, an apparatus or a device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0103] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0104] The units involved in the embodiments described in the present application may be implemented by software or hardware. The units described may also be set in a processor, for example, it may be described as: a processor includes an acquisition unit, a determination unit, and a selection unit. The names of these units do not constitute a limitation on the units themselves in some cases, for example, the acquisition unit may also be described as a "unit for acquiring user tags".
[0105] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or it may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by the electronic device, the electronic device: obtains the user tag of the target user corresponding to the target presentation information, wherein the target user is a user who uses the target user terminal to perform a preset operation on the target presentation information; for the user tags in the obtained user tags, determines the correlation between the user tag and the target presentation information, wherein the correlation is a numerical value used to characterize the degree of correlation; based on the determined correlation, selects the user tag from the obtained user tags as the target tag corresponding to the target presentation information.
[0106] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above invention concept. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other to form a technical solution.
Claims
1. A method for processing information, include: Acquire a user tag of a target user corresponding to the target presentation information, wherein the target user is a user who uses a target user terminal to perform a preset operation on the target presentation information; For a user tag in the acquired user tags, determining a correlation between the user tag and the target presentation information, wherein the correlation is a numerical value used to represent a correlation degree; Based on the determined relevance, selecting a user tag from the acquired user tags as a target tag corresponding to the target presentation information; The target presentation information is sent to a terminal used by a user whose corresponding user tag includes the target tag.
2. The method according to claim 1, in, The target presentation information includes text information; and The step of determining, for a user tag in the acquired user tags, a relevance between the user tag and the target presentation information includes: extracting keywords of the target presentation information; For a user tag among the acquired user tags, a relevance between the user tag and the target presentation information is determined based on the extracted keyword.
3. The method according to claim 2, in, The step of determining, for a user tag in the acquired user tags, a relevance between the user tag and the target presentation information based on the extracted keywords, includes: Determining feature vectors of the extracted keywords; Based on the feature vector of the keyword, determining the feature vector corresponding to the target presentation information; For the user tags in the acquired user tags, the following steps are performed: determining the feature vector corresponding to the user tag; performing similarity calculation on the feature vector corresponding to the user tag and the feature vector corresponding to the target presentation information to obtain a calculation result; based on the obtained calculation result, determining the correlation between the user tag and the target presentation information.
4. The method according to claim 3, in, The extracted keywords include at least two; and The step of determining the feature vector corresponding to the extracted keyword includes: determining a feature vector of a keyword among the at least two extracted keywords; and The determining, based on the keyword feature vector, the feature vector corresponding to the target presentation information includes: A mean value is calculated for the feature vectors of the at least two keywords, and a mean value calculation result is obtained as the feature vector corresponding to the target presentation information.
5. The method according to claim 1, in, The selecting, based on the determined relevance, a user tag from the acquired user tags as a target tag corresponding to the target presentation information includes: Sort the acquired user tags according to the determined order of relevance to obtain a user tag sequence; A user tag is selected from the user tag sequence as a target tag corresponding to the target presentation information.
6. The method according to any one of claims 1 to 5, in, The target presentation information corresponds to a target page, and the target presentation information is used by a user to click on it so as to present a target page corresponding to the clicked target presentation information.
7. The method according to claim 6, in, The preset operation includes a click operation.
8. A device for processing information, include: an acquisition unit configured to acquire a user tag of a target user corresponding to the target presentation information, wherein the target user is a user who uses a target user terminal to perform a preset operation on the target presentation information; a determining unit configured to determine, for a user tag in the acquired user tags, a relevance between the user tag and the target presentation information, wherein the relevance is a numerical value used to represent a relevance degree; a selection unit configured to select a user tag from the acquired user tags as a target tag corresponding to the target presentation information based on the determined relevance; The sending unit is configured to send the target presentation information to a terminal used by a user whose corresponding user tag includes the target tag.
9. The device according to claim 8, in, The target presentation information includes text information; as well as The determining unit comprises: An extraction module configured to extract keywords of the target presentation information; The determination module is configured to determine, for a user tag among the acquired user tags, a relevance between the user tag and the target presentation information based on the extracted keywords.
10. The device according to claim 9, in, The determination module is further configured to: Determining feature vectors of the extracted keywords; Based on the feature vector of the keyword, determining the feature vector corresponding to the target presentation information; For the user tags in the acquired user tags, the following steps are performed: determining the feature vector corresponding to the user tag; performing similarity calculation on the feature vector corresponding to the user tag and the feature vector corresponding to the target presentation information to obtain a calculation result; based on the obtained calculation result, determining the correlation between the user tag and the target presentation information.
11. The device according to claim 10, in, The extracted keywords include at least two; and The step of determining the feature vector corresponding to the extracted keyword includes: determining a feature vector of a keyword among the at least two extracted keywords; and The determining, based on the keyword feature vector, the feature vector corresponding to the target presentation information includes: A mean value is calculated for the feature vectors of the at least two keywords, and a mean value calculation result is obtained as the feature vector corresponding to the target presentation information.
12. The device according to claim 8, in, The selection unit comprises: A sorting module is configured to sort the acquired user tags according to the determined order of relevance to obtain a user tag sequence; The selection module is configured to select a user tag from the user tag sequence as a target tag corresponding to the target presentation information.
13. The device according to any one of claims 8 to 12, in, The target presentation information corresponds to a target page, and the target presentation information is used by a user to click on it so as to present a target page corresponding to the clicked target presentation information.
14. The device according to claim 13, in, The preset operation includes a click operation.
15. An electronic device, include: one or more processors; a storage device having one or more programs stored thereon, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.
16. A computer readable medium having a computer program stored thereon, in, When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Method and device for generating video ad
CN106331762A
Retrieval processing method and apparatus based on artificial intelligence
CN106407346A
Method and device for intelligently matching sales consultants and users
CN106776716A
Information data providing method and device based on artificial intelligence
CN106776808A
Advertisement putting processing method and device based on advertisement matching
CN107657488A