CN109376298B - Data processing method and device, terminal equipment and computer storage medium - Google Patents

Data processing method and device, terminal equipment and computer storage medium Download PDF

Info

Publication number
CN109376298B
CN109376298B CN201811075577.3A CN201811075577A CN109376298B CN 109376298 B CN109376298 B CN 109376298B CN 201811075577 A CN201811075577 A CN 201811075577A CN 109376298 B CN109376298 B CN 109376298B
Authority
CN
China
Prior art keywords
data
result
user
result data
classification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811075577.3A
Other languages
Chinese (zh)
Other versions
CN109376298A (en
Inventor
高雪
陈喆
焦碧碧
李秋豪
莫智慧
毛书宇
王亚军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba China Co Ltd
Original Assignee
Alibaba China 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 Alibaba China Co Ltd filed Critical Alibaba China Co Ltd
Priority to CN201811075577.3A priority Critical patent/CN109376298B/en
Publication of CN109376298A publication Critical patent/CN109376298A/en
Application granted granted Critical
Publication of CN109376298B publication Critical patent/CN109376298B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention provides a data processing method, a data processing device, terminal equipment and a computer storage medium, wherein the data processing method comprises the following steps: according to search information input by a user, acquiring a plurality of result data matched with the search information from a plurality of question-answer data pools corresponding to a question-answer community; similarity calculation is carried out on result data obtained from different question and answer data pools, and similarity sequencing of a plurality of result data is carried out according to calculation results; determining the display sequence of the plurality of result data according to the preference data of the user, the classification information of the plurality of result data and the result of the similarity sorting; and displaying a plurality of result data according to the display sequence. The data processing method of the embodiment of the invention can solve the problem that the search result can not be pertinently displayed to the user in the conventional question-answering community.

Description

Data processing method and device, terminal equipment and computer storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a data processing method, a data processing device, terminal equipment and a computer storage medium.
Background
The social question and answer website is also called a social question and answer website or a question and answer community, is a question and answer SNS (social network service) website between encyclopedia and traditional question and answer, and is a public knowledge platform. The method is characterized in that a certain user puts forward a question or a viewpoint, other users answer or comment, and the community form is used for helping the user to be confused and reestablish the relationship between people and information.
In the existing question-answering community, a user can search for a question through a search function and obtain the question and information of relevant answers or comments of the question. However, for the same search, the current search method shows the search result without distinguishing the user, and the user may need to perform multiple operations to obtain the desired search result. This results in a complex search operation and a search result that is appropriate for the user cannot be presented to different users in a targeted manner.
Disclosure of Invention
In view of the above, embodiments of the present invention provide a data processing method, an apparatus, a terminal device, and a computer storage medium to solve the above problems.
According to a first aspect of the embodiments of the present invention, there is provided a data processing method, including: according to search information input by a user, obtaining a plurality of result data matched with the search information from a plurality of question-answer data pools corresponding to a question-answer community, wherein the question-answer data pools comprise at least two of the following data: a first data pool for storing question data, a second data pool for storing answer title data, and a third data pool for storing answer content data; wherein the data in each data pool has corresponding classification information; similarity calculation is carried out on result data obtained from different question and answer data pools, and similarity sorting of the plurality of result data is carried out according to calculation results; determining the display sequence of the result data according to the preference data of the user, the classification information of the result data and the result of the similarity sorting; and displaying the plurality of result data according to the display sequence.
According to a second aspect of the embodiments of the present invention, there is provided a data processing apparatus including: the system comprises an acquisition module, a search information acquisition module and a search information processing module, wherein the acquisition module is used for acquiring a plurality of result data matched with the search information from a plurality of question-answer data pools corresponding to a question-answer community according to the search information input by a user, and the question-answer data pools comprise at least two of the following data: a first data pool for storing question data, a second data pool for storing answer title data, and a third data pool for storing answer content data; wherein the data in each data pool has corresponding classification information; the sorting module is used for carrying out similarity calculation on result data obtained from different question and answer data pools and sorting the similarity of the plurality of result data according to the calculation result; the determining module is used for determining the display sequence of the result data according to the preference data of the user, the classification information of the result data and the result of the similarity sorting; and the display module is used for displaying the plurality of result data according to the display sequence.
According to a third aspect of the embodiments of the present invention, there is provided a terminal device, including: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus; the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the corresponding operation of the data processing method according to the first aspect.
According to a fourth aspect of embodiments of the present invention, there is provided a computer storage medium storing a computer program which, when executed by a processor, implements the data processing method of the first aspect as described above.
According to the data processing scheme provided by the embodiment of the invention, the result data matched with the search information is obtained from at least two question and answer data pools, so that the comprehensiveness of the matched result data is ensured; by calculating the similarity of the result data, the probability that the search result possibly hits the user requirement is improved; when the result data are displayed, the display sequence of the result data is determined according to the preference data of the user, the classification information of the result data and the result of the similarity sorting, the result data matched with the preference data of the user can be displayed preferentially, the user can basically obtain the required search result, the user does not need to perform multiple operations, the user can obtain the required result data more conveniently and quickly, the search result is more pointed, and the user requirements can be met.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the embodiments of the present invention, and it is also possible for a person skilled in the art to obtain other drawings based on the drawings.
FIG. 1 is a flow chart illustrating steps of a data processing method according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of a data processing method according to a second embodiment of the present invention;
fig. 3 is a block diagram of a data processing apparatus according to a third embodiment of the present invention;
fig. 4 is a block diagram of a data processing apparatus according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal device according to a fifth embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the embodiments of the present invention, the technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments of the present invention shall fall within the scope of the protection of the embodiments of the present invention.
The following further describes specific implementation of the embodiments of the present invention with reference to the drawings.
Example one
Referring to fig. 1, a flowchart illustrating steps of a data processing method according to a first embodiment of the present invention is shown.
The data processing method of the embodiment comprises the following steps:
step S102: according to search information input by a user, obtaining a plurality of result data matched with the search information from a plurality of question-answer data pools corresponding to a question-answer community.
In this embodiment, a plurality of (two or more) question-answer data pools are set for the question-answer community, different question-answer pools store different data related to the question and answer, and the data in the different question-answer data pools may have an association relationship, for example, the association is performed through a set field or identifier or information.
In an embodiment of the present invention, the question-answer data pool includes at least two of the following: a first data pool for storing question data (which may be complete question data, a keyword of the question data, or information that may characterize the question data, such as an MD5 value of the question data, etc.), a second data pool for storing answer title data (which may be complete answer title data, a keyword of the answer title data, or information that may characterize the answer title data, such as an MD5 value of the answer title data, etc.), and a third data pool for storing answer content data.
The data in each data pool has corresponding classification information, and optionally, the classification information may be used to indicate a service domain to which the corresponding data relates. But not limited thereto, in practical application, those skilled in the art can classify the data according to practical requirements.
The service area related to the data indicated in the classification information may be set as needed, which is not limited in this embodiment. For example, it may include, but is not limited to, literature domain, gaming domain, history domain, sports domain, military domain, scientific domain, and the like. For each field, the field can be further refined and graded as required, for example, sports fields including football field, basketball field, football field, and the like.
In a feasible mode, when a plurality of result data matched with the search information are obtained from a plurality of question and answer data pools corresponding to a question and answer community according to the search information input by a user, the plurality of result data can be obtained from the plurality of question and answer data pools in a full word matching mode. For example, when the search information is "cao" and "export", and the matching result data is obtained, the data including "cao" and "export" may be obtained from each of the question-and-answer data pools as the result data.
In another feasible mode, when a plurality of result data matched with the search information are acquired from a plurality of question-answer data pools corresponding to a question-answer community according to the search information input by the user, the plurality of result data can be acquired from the plurality of question-answer data pools in a semantic matching mode. For example, when the search information is "how to play with white", and the matching result data is obtained, data having a semantic similar to or the same as that of the search information may be obtained as the result data.
The manner of determining whether the semantics are the same or similar may be any suitable manner, and the embodiment is not limited in this respect. For example, whether the semantics are the same or similar is determined by calculating the similarity of the search information text and the data text.
Step S104: and performing similarity calculation on result data obtained from different question and answer data pools, and performing similarity sequencing on the plurality of result data according to the calculation result.
In order to improve the hit rate of the search results, after a plurality of result data are obtained from different question and answer data pools, similarity calculation can be performed on the obtained plurality of result data, and the plurality of result data can be sorted according to the calculation results.
In addition, optionally, the similarity between the plurality of result data and the search information may be calculated, and the plurality of result data may be sorted in combination with the similarity calculation result.
The specific implementation manner of the similarity calculation may be any appropriate manner according to actual needs by those skilled in the art, and the embodiment of the present invention is not limited thereto.
Step S106: and determining the display sequence of the result data according to the preference data of the user, the classification information of the result data and the similarity sorting result.
In order to recommend the searched result data to the user in a targeted manner, the display sequence of the plurality of result data can be adjusted according to the preference data of the user. Because each data has classification information, each result data in the plurality of result data after the similarity sorting also has corresponding classification information. Based on the above, the preference data of the user and the classification information of the result data can be matched to determine the result data with the best matching degree with the preference data of the user in the plurality of result data, and the sequencing result of the similarity sequencing is adjusted.
For example, the preference data of the user may indicate the service field in which the user is interested, and the probability that the result data with the best matching degree between the service field indicated by the classification information and the service field indicated by the preference data of the user in the result data may be the result data required by the user is higher, the result data may be preferentially displayed, and the display order of the result data with the same classification information may be determined according to the result of the similarity ranking.
Step S108: and displaying the plurality of result data according to the display sequence.
After the display sequence is determined, the result data can be displayed to the user according to the determined display sequence.
According to the embodiment, the result data matched with the search information is obtained from at least two question and answer data pools, so that the comprehensiveness of the matched result data is ensured; by calculating the similarity of the result data, the probability that the search result possibly hits the user requirement is improved; when the result data are displayed, the display sequence of the result data is determined according to the preference data of the user, the classification information of the result data and the result of the similarity sorting, the result data matched with the preference data of the user can be displayed preferentially, the user can basically obtain the required search result, the user does not need to perform multiple operations, the user can obtain the required result data more conveniently and quickly, the search result is more pointed, and the user requirements can be met.
The data processing method of the present embodiment may be executed by any suitable terminal device having data processing capability, including but not limited to: mobile terminals (such as tablet computers, mobile phones and the like) and PCs.
Example two
Referring to fig. 2, a flowchart of steps of a data processing method according to a second embodiment of the present invention is shown.
The data processing method of the embodiment comprises the following steps:
step S202: according to search information input by a user, obtaining a plurality of result data matched with the search information from a plurality of question-answer data pools corresponding to a question-answer community.
In this embodiment, the question-answer data pool includes at least two of the following: the data processing device comprises a first data pool for storing question data, a second data pool for storing answer title data and a third data pool for storing answer content data. The data in each data pool has corresponding classification information, and the classification information is used for indicating the service field related to the corresponding data.
For example, for the question "how to apply for a patent? "the answer of the corresponding answer is marked as" patent application process ", and the corresponding answer content is" technical pre-preparation cross-reference book "; forming a patent application file according to the technical book; filing the patent application document to the national patent office ". Then, "how to apply for a patent? The information of 'is stored in a first data pool, the information of' applying for a patent flow 'is stored in a second data pool, and' the technology is prepared first to be written at the bottom; forming a patent application file according to the technical book; the information of the filing of the patent application file to the national patent office "is stored in a third data pool. The three data can be associated with each other through corresponding information such as question IDs, and when any one of the data is hit by a search, the hit data can be used as result data of the search, or all data (such as the three data) included in the question ID corresponding to the hit data can be used as result data of the search together.
Step S204: and performing similarity calculation on result data obtained from different question and answer data pools, and performing similarity sequencing on the plurality of result data according to the calculation result.
In a feasible mode, based on the classification information of the data, the classification information corresponding to the result data obtained from different question and answer data pools can be obtained; according to the classification information, similarity calculation is carried out on result data under the same classification; and carrying out similarity sorting of the plurality of result data according to the calculation result. By the method, the calculation can be simplified, the calculation amount is reduced, and the similarity ranking of a plurality of result data can be quickly obtained.
For example, the search information input by the user is "white", a is matched from the first data pool, "how to play with white? ", which is classified as" game "; b, "how do the king honor? ", which is classified as" game "; c, "true white characters recorded in the history? ", which is classified as" History "; m, "white Play", which is classified as "Game", is matched from the second data pool; n, "white their person," which is classified as "history"; matching to X from the third data pool, "configure martial arts in the set up for white rise," which is classified as "game"; y, "white bloom very stuttering", which is classified as "history". Then the similarity between A, B, M and X is calculated for the "games" classification, set to 70%; for the "history" classification, the similarity between C, N and Y was calculated, set to 90%. It can be seen that the similarity of the plurality of result data under the "game" classification is lower than the similarity of the plurality of result data under the "history" classification. The higher the degree of similarity, the greater the likelihood that the result data under classification may be the search result desired by the user.
But not limited to the above-mentioned manner of obtaining the similarity ranking of the multiple result data, in practical applications, those skilled in the art may also adopt other appropriate manners according to actual needs, for example, using both the result data and the classification information thereof as the similarity calculation factors, setting the corresponding weight coefficients, obtaining the similarity ranking of the multiple result data, and the like.
Step S206: and determining the display sequence of the result data according to the preference data of the user, the classification information of the result data and the similarity sorting result.
In order to more accurately hit the user requirements, in a feasible manner, the results of the similarity ranking may be adjusted according to the preference data of the user and the classification information corresponding to the plurality of result data; and determining the display sequence of the plurality of result data according to the adjusted result.
For example, if the preference data of the user indicates that the user is more interested in the game, although the similarity of the plurality of result data in the "history" category is higher than the similarity of the plurality of result data in the "game" category, it is necessary to adjust the presentation order of the plurality of result data in the "game" category to be presented preferentially before the plurality of result data in the "history" category according to the preference data of the user, as described above. Alternatively, the user's preference data may take the form of a user tag.
In this embodiment, the preference data of the user may be generated in the following manner: acquiring historical operation behavior data of the user, and generating preference data of the user according to the historical operation behavior data; and generating preference data of the user according to the historical operation behavior data.
Wherein the historical operational behavior data comprises at least one of: browsing object data, browsing duration data, browsing progress data, comment object data and comment tendency opinion data. The browsing object data can represent information such as questions, answers, comments and the like frequently browsed by a user; the browsing duration data may represent the duration spent by the user when browsing different browsing objects, generally speaking, the more interesting the content, the longer the browsing duration; the browsing progress data can represent the interest degree of the user in the browsing object from another dimension, and if the browsing progress data indicates that the user quits after browsing a certain browsing object, the interest degree of the user in the browsing object is low; the comment object data is used for representing that a user carries out comment operation on a certain object, and includes but is not limited to: content data of a comment object, business field data, comment frequency data, comment time data, length data of comment content, and the like; the comment tendency opinion data are used for representing tendency opinions of the user on the comment object, such as like. And generating the preference data of the user according to the historical operation behavior data, so that the user can be accurately portrayed and the interest of the user can be known.
For example, if the browsing duration of a user for a certain browsing object is greater than or equal to the set browsing duration; or, if the browsing progress of the user on a certain browsing object is larger than or equal to the set browsing progress; or, if the browsing times of a certain browsing object by the user are greater than or equal to the set browsing times, it may be determined that the browsing object may be a browsing object preferred by the user. Subsequently, based on this, preference data of the user can be generated.
It should be noted that, in some cases, the classification information may not completely coincide with the preference data of the user, and in such cases, the result of the similarity ranking may also be adjusted according to the matching degree between the classification information and the preference data of the user. Of course, no adjustment is possible.
Step S208: and displaying the plurality of result data according to the display sequence.
Through the process, the display of the search result is realized. Based on the presented search results, the optional operations as described in steps S210-S214 below may be further performed.
Step S210: generating a classification label corresponding to the classification information of the plurality of result data.
The classification label corresponds to classification information of the plurality of result data. For example, the classification information of the result data 1-5 corresponds to a "history" classification label, the classification information of the result data 6-8 corresponds to a "game" classification label, and the classification information of the result data 9-12 corresponds to a "novel" classification label. It can be seen that each classification label corresponds to at least one result datum.
Step S212: and determining the display sequence of the classification labels according to the display sequence of the plurality of result data, and displaying the classification labels according to the display sequence of the classification labels.
In the display interface for displaying the result data, the classification labels can be displayed according to the requirements. The display sequence of the classification labels is determined according to the display sequence of the result data, so that a user can conveniently check the display sequence of various types of result data.
As in the previous example, the presentation order of the plurality of outcome data under the "game" category precedes the plurality of outcome data under the "history" category, and the "game" category label is presented before the "history" category label.
Step S214: and receiving the selection operation of the user on the displayed classification label, and displaying the result data under the classification label selected by the selection operation.
When the user wants to switch the displayed classification label, the classification label needs to be selected, correspondingly, the classification label becomes the current label, and the corresponding result data is displayed in the current label.
For example, when a user wants to view the resulting data under the "historical" category label, the "historical" category label may be selected, thereby causing C, N under the "historical" category label and the corresponding data of Y to be presented to the user.
According to the embodiment, the result data matched with the search information is obtained from at least two question and answer data pools, so that the comprehensiveness of the matched result data is ensured; by calculating the similarity of the result data, the probability that the search result possibly hits the user requirement is improved; when the result data are displayed, the display sequence of the result data is determined according to the preference data of the user, the classification information of the result data and the result of the similarity sorting, the result data matched with the preference data of the user can be displayed preferentially, the user can basically obtain the required search result, the user does not need to perform multiple operations, the user can obtain the required result data more conveniently and quickly, the search result is more pointed, and the user requirements can be met.
In addition, the corresponding classification labels are generated according to the classification information of the result data, the classification labels are displayed when the result data are displayed, and the result data under the classification label selected by the selection operation can be displayed when a user selects a certain classification label, so that the user can conveniently switch the display sequence of the result data, and the result data in the required field can be positioned, and the display effect of the search result is better.
The data processing method of the present embodiment may be executed by any suitable terminal device having data processing capability, including but not limited to: mobile terminals (such as tablet computers, mobile phones and the like) and PCs.
EXAMPLE III
Referring to fig. 3, a block diagram of a data processing apparatus according to a third embodiment of the present invention is shown.
The data processing apparatus of the present embodiment includes: an obtaining module 301, configured to obtain, according to search information input by a user, a plurality of result data matched with the search information from a plurality of question-answer data pools corresponding to a question-answer community, where the question-answer data pools include at least two of the following: a first data pool for storing question data, a second data pool for storing answer title data, and a third data pool for storing answer content data; wherein the data in each data pool has corresponding classification information; a sorting module 302, configured to perform similarity calculation on result data obtained from different question and answer data pools, and perform similarity sorting on the plurality of result data according to a calculation result; a determining module 303, configured to determine a display order of the multiple result data according to the preference data of the user, the classification information of the multiple result data, and the result of the similarity ranking; a display module 304, configured to display the plurality of result data according to the display order.
The data processing apparatus of this embodiment is configured to implement the corresponding data processing method in the foregoing multiple method embodiments, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
Example four
Referring to fig. 4, a block diagram of a data processing apparatus according to a fourth embodiment of the present invention is shown.
The data processing apparatus of the present embodiment includes: an obtaining module 401, configured to obtain, according to search information input by a user, a plurality of result data matched with the search information from a plurality of question-answer data pools corresponding to a question-answer community, where the question-answer data pools include at least two of the following: a first data pool for storing question data, a second data pool for storing answer title data, and a third data pool for storing answer content data; wherein the data in each data pool has corresponding classification information; a sorting module 402, configured to perform similarity calculation on result data obtained from different question and answer data pools, and perform similarity sorting on the plurality of result data according to a calculation result; a determining module 403, configured to determine a display order of the multiple result data according to the preference data of the user, the classification information of the multiple result data, and the result of the similarity ranking; a display module 404, configured to display the plurality of result data according to the display order.
Optionally, the sorting module 402 is configured to obtain classification information corresponding to result data obtained from different question and answer data pools; according to the classification information, similarity calculation is carried out on result data under the same classification; and carrying out similarity sorting of the plurality of result data according to the calculation result.
Optionally, the determining module 403 is configured to adjust the result of the similarity ranking according to the preference data of the user and the classification information corresponding to the plurality of result data; and determining the display sequence of the plurality of result data according to the adjusted result.
Optionally, the apparatus further comprises: a label module 405, configured to generate a classification label corresponding to the classification information of the plurality of result data after the display module 404 displays the plurality of result data according to the display order; determining the display sequence of the classification labels according to the display sequence of the plurality of result data; and displaying the classification labels according to the display sequence of the classification labels.
Optionally, the apparatus further comprises: a switching module 406, configured to receive a selection operation of the displayed classification tag by a user; and displaying the result data under the classification label selected by the selection operation.
Optionally, the preference data of the user is generated by: obtaining historical operation behavior data of the user, wherein the historical operation behavior data comprises at least one of the following: browsing object data, browsing duration data, browsing progress data, comment object data and comment tendency opinion data; and generating preference data of the user according to the historical operation behavior data.
The data processing apparatus of this embodiment is configured to implement the corresponding data processing method in the foregoing multiple method embodiments, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a terminal device according to a fifth embodiment of the present invention, where the specific embodiment of the present invention does not limit the specific implementation of the terminal device.
As shown in fig. 5, the terminal device may include: a processor (processor)502, a Communications Interface 504, a memory 506, and a communication bus 508.
Wherein:
the processor 502, communication interface 504, and memory 506 communicate with one another via a communication bus 508.
A communication interface 504 for communicating with other terminal devices or servers.
The processor 502 is configured to execute the program 510, and may specifically perform relevant steps in the above-described data processing method embodiments.
In particular, program 510 may include program code that includes computer operating instructions.
The processor 502 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement an embodiment of the present invention. The terminal device comprises one or more processors, which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And a memory 506 for storing a program 510. The memory 506 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 510 may specifically be used to cause the processor 502 to perform the following operations: according to search information input by a user, obtaining a plurality of result data matched with the search information from a plurality of question-answer data pools corresponding to a question-answer community, wherein the question-answer data pools comprise at least two of the following data: a first data pool for storing question data, a second data pool for storing answer title data, and a third data pool for storing answer content data; wherein the data in each data pool has corresponding classification information; similarity calculation is carried out on result data obtained from different question and answer data pools, and similarity sorting of the plurality of result data is carried out according to calculation results; determining the display sequence of the result data according to the preference data of the user, the classification information of the result data and the result of the similarity sorting; and displaying the plurality of result data according to the display sequence.
In a feasible manner, the program 510 may be further specifically configured to enable the processor 502 to obtain classification information corresponding to the result data obtained from the different question and answer data pools when performing similarity calculation on the result data obtained from the different question and answer data pools and performing similarity sorting on the plurality of result data according to the calculation result; according to the classification information, similarity calculation is carried out on result data under the same classification; and carrying out similarity sorting of the plurality of result data according to the calculation result.
In a possible manner, the program 510 may be further specifically configured to enable the processor 502 to, when determining the display order of the result data according to the preference data of the user, the classification information of the result data, and the result of the similarity ranking, adjust the result of the similarity ranking according to the preference data of the user and the classification information corresponding to the result data; and determining the display sequence of the plurality of result data according to the adjusted result.
In a possible manner, the program 510 may be further specifically configured to enable the processor 502 to generate a classification label corresponding to the classification information of the plurality of result data after the displaying of the plurality of result data according to the displaying order; determining the display sequence of the classification labels according to the display sequence of the plurality of result data; and displaying the classification labels according to the display sequence of the classification labels.
In one possible approach, the program 510 may be further specifically configured to enable the processor 502 to receive a user selection operation of the displayed category label; and displaying the result data under the classification label selected by the selection operation.
In one possible approach, the user's preference data is generated by: obtaining historical operation behavior data of the user, wherein the historical operation behavior data comprises at least one of the following: browsing object data, browsing duration data, browsing progress data, comment object data and comment tendency opinion data; and generating preference data of the user according to the historical operation behavior data.
For specific implementation of each step in the program 510, reference may be made to corresponding steps and corresponding descriptions in units in the foregoing data processing method embodiments, which are not described herein again. It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described devices and modules may refer to the corresponding process descriptions in the foregoing method embodiments, and are not described herein again.
By the terminal equipment of the embodiment, the result data matched with the search information can be acquired from at least two question and answer data pools, so that the comprehensiveness of the matched result data is ensured; by calculating the similarity of the result data, the probability that the search result possibly hits the user requirement is improved; when the result data are displayed, the display sequence of the result data is determined according to the preference data of the user, the classification information of the result data and the result of the similarity sorting, the result data matched with the preference data of the user can be displayed preferentially, the user can basically obtain the required search result, the user does not need to perform multiple operations, the user can obtain the required result data more conveniently and quickly, the search result is more pointed, and the user requirements can be met.
It should be noted that, according to the implementation requirement, each component/step described in the embodiment of the present invention may be divided into more components/steps, and two or more components/steps or partial operations of the components/steps may also be combined into a new component/step to achieve the purpose of the embodiment of the present invention.
The above-described method according to an embodiment of the present invention may be implemented in hardware, firmware, or as software or computer code storable in a recording medium such as a CD ROM, a RAM, a floppy disk, a hard disk, or a magneto-optical disk, or as computer code originally stored in a remote recording medium or a non-transitory machine-readable medium downloaded through a network and to be stored in a local recording medium, so that the method described herein may be stored in such software processing on a recording medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware such as an ASIC or FPGA. It will be appreciated that the computer, processor, microprocessor controller or programmable hardware includes memory components (e.g., RAM, ROM, flash memory, etc.) that can store or receive software or computer code that, when accessed and executed by the computer, processor or hardware, implements the data processing methods described herein. Further, when a general-purpose computer accesses code for implementing the data processing method shown herein, execution of the code converts the general-purpose computer into a special-purpose computer for executing the data processing method shown herein.
Those of ordinary skill in the art will appreciate that the various illustrative elements and method steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present embodiments.
The above embodiments are only for illustrating the embodiments of the present invention and not for limiting the embodiments of the present invention, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the embodiments of the present invention, so that all equivalent technical solutions also belong to the scope of the embodiments of the present invention, and the scope of patent protection of the embodiments of the present invention should be defined by the claims.

Claims (12)

1. A method of data processing, comprising:
according to search information input by a user, obtaining a plurality of result data matched with the search information from a plurality of question-answer data pools corresponding to a question-answer community, wherein the question-answer data pools comprise at least two of the following data: a first data pool for storing question data, a second data pool for storing answer title data, and a third data pool for storing answer content data; wherein the data in each data pool has corresponding classification information;
obtaining classification information corresponding to result data obtained from different question and answer data pools; according to the classification information, similarity calculation is carried out on result data under the same classification; according to the calculation result, carrying out similarity sorting of the plurality of result data;
determining the display sequence of the result data according to the preference data of the user, the classification information of the result data and the result of the similarity sorting;
and displaying the plurality of result data according to the display sequence.
2. The method of claim 1, wherein determining an order of presentation of the plurality of result data according to the user's preference data, the classification information of the plurality of result data, and the result of the similarity ranking comprises:
adjusting the result of the similarity ranking according to the preference data of the user and the classification information corresponding to the result data;
and determining the display sequence of the plurality of result data according to the adjusted result.
3. The method of claim 1 or 2, wherein, after said presenting the plurality of result data according to the presentation order, the method further comprises:
generating a classification label corresponding to classification information of the plurality of result data;
determining the display sequence of the classification labels according to the display sequence of the plurality of result data;
and displaying the classification labels according to the display sequence of the classification labels.
4. The method of claim 3, wherein the method further comprises:
receiving a selection operation of a user on the displayed classification label;
and displaying the result data under the classification label selected by the selection operation.
5. The method of claim 1, wherein the user's preference data is generated by:
obtaining historical operation behavior data of the user, wherein the historical operation behavior data comprises at least one of the following: browsing object data, browsing duration data, browsing progress data, comment object data and comment tendency opinion data;
and generating preference data of the user according to the historical operation behavior data.
6. A data processing apparatus comprising:
the system comprises an acquisition module, a search information acquisition module and a search information processing module, wherein the acquisition module is used for acquiring a plurality of result data matched with the search information from a plurality of question-answer data pools corresponding to a question-answer community according to the search information input by a user, and the question-answer data pools comprise at least two of the following data: a first data pool for storing question data, a second data pool for storing answer title data, and a third data pool for storing answer content data; wherein the data in each data pool has corresponding classification information;
the sorting module is used for acquiring classification information corresponding to result data acquired from different question and answer data pools; according to the classification information, similarity calculation is carried out on result data under the same classification; according to the calculation result, carrying out similarity sorting of the plurality of result data;
the determining module is used for determining the display sequence of the result data according to the preference data of the user, the classification information of the result data and the result of the similarity sorting;
and the display module is used for displaying the plurality of result data according to the display sequence.
7. The apparatus of claim 6, wherein the determining module is configured to adjust the result of the similarity ranking according to the preference data of the user and the classification information corresponding to the plurality of result data; and determining the display sequence of the plurality of result data according to the adjusted result.
8. The apparatus of claim 6 or 7, wherein the apparatus further comprises:
the label module is used for generating classification labels corresponding to the classification information of the result data after the display module displays the result data according to the display sequence; determining the display sequence of the classification labels according to the display sequence of the plurality of result data; and displaying the classification labels according to the display sequence of the classification labels.
9. The apparatus of claim 8, wherein the apparatus further comprises:
the switching module is used for receiving the selection operation of the user on the displayed classification label; and displaying the result data under the classification label selected by the selection operation.
10. The apparatus of claim 6, wherein the user's preference data is generated by:
obtaining historical operation behavior data of the user, wherein the historical operation behavior data comprises at least one of the following: browsing object data, browsing duration data, browsing progress data, comment object data and comment tendency opinion data;
and generating preference data of the user according to the historical operation behavior data.
11. A terminal device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the corresponding operation of the data processing method according to any one of claims 1-5.
12. A computer storage medium, on which a computer program is stored which, when being executed by a processor, carries out the data processing method of any one of claims 1 to 5.
CN201811075577.3A 2018-09-14 2018-09-14 Data processing method and device, terminal equipment and computer storage medium Active CN109376298B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811075577.3A CN109376298B (en) 2018-09-14 2018-09-14 Data processing method and device, terminal equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811075577.3A CN109376298B (en) 2018-09-14 2018-09-14 Data processing method and device, terminal equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN109376298A CN109376298A (en) 2019-02-22
CN109376298B true CN109376298B (en) 2022-01-25

Family

ID=65404750

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811075577.3A Active CN109376298B (en) 2018-09-14 2018-09-14 Data processing method and device, terminal equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN109376298B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110516169B (en) * 2019-08-20 2023-04-11 海南车智易通信息技术有限公司 Data display method, device and system and computing equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150278376A1 (en) * 2014-04-01 2015-10-01 Baidu (China) Co., Ltd. Method and apparatus for presenting search result
CN105005564A (en) * 2014-04-17 2015-10-28 北京搜狗科技发展有限公司 Data processing method and apparatus based on question-and-answer platform
CN106919572A (en) * 2015-12-24 2017-07-04 北京奇虎科技有限公司 web search method and browser
CN107679082A (en) * 2017-08-31 2018-02-09 阿里巴巴集团控股有限公司 Question and answer searching method, device and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104820694B (en) * 2015-04-28 2019-03-15 中国科学院自动化研究所 Automatic question-answering method and system based on multiple knowledge base and integral linear programming ILP
CN106874441B (en) * 2017-02-07 2024-03-05 腾讯科技(上海)有限公司 Intelligent question-answering method and device
CN106933972B (en) * 2017-02-14 2019-05-31 杭州数梦工场科技有限公司 The method and device of data element are defined using natural language processing technique

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150278376A1 (en) * 2014-04-01 2015-10-01 Baidu (China) Co., Ltd. Method and apparatus for presenting search result
CN105005564A (en) * 2014-04-17 2015-10-28 北京搜狗科技发展有限公司 Data processing method and apparatus based on question-and-answer platform
CN106919572A (en) * 2015-12-24 2017-07-04 北京奇虎科技有限公司 web search method and browser
CN107679082A (en) * 2017-08-31 2018-02-09 阿里巴巴集团控股有限公司 Question and answer searching method, device and electronic equipment

Also Published As

Publication number Publication date
CN109376298A (en) 2019-02-22

Similar Documents

Publication Publication Date Title
CN109819284B (en) Short video recommendation method and device, computer equipment and storage medium
CN107958030B (en) Video cover recommendation model optimization method and device
CN111782947B (en) Search content display method and device, electronic equipment and storage medium
CN106686063A (en) Information recommendation method and apparatus, and electronic device
CN107273489A (en) Content delivery method, electronic equipment and computer-readable storage medium
CN106951571B (en) Method and device for labeling application with label
US20220383427A1 (en) Method and apparatus for group display
CN112818224B (en) Information recommendation method and device, electronic equipment and readable storage medium
CN107168991A (en) A kind of search result methods of exhibiting and device
CN108256537A (en) A kind of user gender prediction method and system
CN108415961A (en) A kind of advertising pictures recommendation method and device
CN105988799B (en) Method and server for managing software store pages
CN113079417A (en) Method, device and equipment for generating bullet screen and storage medium
CN109684497B (en) Image-text matching information sending method and device and electronic equipment
CN109462632A (en) Method for page jump, device, computer equipment and computer readable storage medium
CN112087667A (en) Information processing method and device and computer storage medium
CN112966081A (en) Method, device, equipment and storage medium for processing question and answer information
CN113486251A (en) Information display method and device and computer storage medium
CN105989114A (en) Collection content recommendation method and terminal
CN106844724B (en) Method and device for recommending applications based on applications installed by user
CN109376298B (en) Data processing method and device, terminal equipment and computer storage medium
CN107688587B (en) Media information display method and device
CN109299378B (en) Search result display method and device, terminal and storage medium
CN112237742A (en) Game recommendation method and device, readable storage medium and computer equipment
CN116310994A (en) Video clip extraction method and device, electronic equipment and 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
TA01 Transfer of patent application right

Effective date of registration: 20200609

Address after: 310051 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 510627 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping square B radio tower 12 layer self unit 01

Applicant before: GUANGZHOU SHENMA MOBILE INFORMATION TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant