CN105718492A - Information processing method and electronic device - Google Patents

Information processing method and electronic device Download PDF

Info

Publication number
CN105718492A
CN105718492A CN201410740706.1A CN201410740706A CN105718492A CN 105718492 A CN105718492 A CN 105718492A CN 201410740706 A CN201410740706 A CN 201410740706A CN 105718492 A CN105718492 A CN 105718492A
Authority
CN
China
Prior art keywords
interaction message
topic
message
judged result
similarity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410740706.1A
Other languages
Chinese (zh)
Inventor
刘昊
袁菁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410740706.1A priority Critical patent/CN105718492A/en
Publication of CN105718492A publication Critical patent/CN105718492A/en
Pending legal-status Critical Current

Links

Abstract

The present invention discloses an information processing method. The method comprises: acquiring a first interaction message; determining whether the first interaction message belongs to one of N topics under discussion, and obtaining a first determination result; and when the first determination result indicates that the first interaction message belongs to one of the N topics under discussion, categorizing the first interaction message into a topic under discussion that the first interaction message belongs to, so as to facilitate reading of an interaction party. The present invention further discloses an electronic device.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to electronic technology, particularly relate to a kind of information processing method and electronic equipment.
Background technology
Instant chat (IM, InstantMessaging) instrument, is that one can allow user set up the real-time communication service of certain private chat room (chatroom) by network.Welcome MSN includes the QQ of company of Tengxun, the Baidu Hi of company of Baidu, Fetion, credulity, Ali Wang Wang, Skype, GoogleTalk, wechat (Wechat) etc. on the internet at present.User is when using instant messenger chat, many times can say a lot of topic simultaneously, as Figure 1-1, user A and user B 22: 10 to 22: 12/interior altogether chatted plural topic, as: how at (first topic, the label 11) of saying that betting gambles, on one side saying (second topic of how eating mutton cubes roasted on a skewer of being hungry evening again, label 12), also in the problem (second topic, label 13) illustrating that the class in sky goes or not.Fig. 1-1 is illustrated that the type-setting mode of current chat tool display chat content, and current type-setting mode is all based on what the time of origin of chat content successively showed one by one, and current this type-setting mode makes the intersection of chat topic, allows people confuse.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of information processing method and electronic equipment for solving at least one problem of existence in prior art, it is capable of chat content Auto-matching chat topic, thus solving the problem allowing people confuse that in prior art, topic intersection causes, and then promote Consumer's Experience.
The technical scheme of the embodiment of the present invention is achieved in that
First aspect, the embodiment of the present invention provides a kind of information processing method, is applied to electronic equipment, and described method includes:
Obtain the first interaction message;
Judging whether described first interaction message belongs to one of N number of topic discussed, obtain the first judged result, wherein N is the integer be more than or equal to 0;
When described first judged result show described first interaction message belong to N number of described in the topic discussed for the moment, described first interaction message is sorted in the affiliated topic discussed, to facilitate the reading of mutual side.
Second aspect, the embodiment of the present invention provides a kind of electronic equipment, and described electronic equipment includes the first acquiring unit, judging unit and the first taxon, wherein:
Described first acquiring unit, is used for obtaining the first interaction message;
Described judging unit, for judging whether described first interaction message belongs to one of N number of topic discussed, obtains the first judged result, and wherein N is the integer be more than or equal to 0;
Described first taxon, for when described first judged result show described first interaction message belong to N number of described in the topic discussed for the moment, described first interaction message is sorted in the affiliated topic discussed, to facilitate the reading of mutual side.
The information processing method of embodiment of the present invention offer and electronic equipment, wherein, first obtain the first interaction message;Then judge whether described first interaction message belongs to one of N number of topic discussed, obtain the first judged result;When described first judged result show described first interaction message belong to N number of described in the topic discussed for the moment, again described first interaction message is sorted in the affiliated topic discussed, to facilitate the reading of mutual side, so, it is capable of chat content Auto-matching chat topic, thus solving the problem allowing people confuse that in prior art, topic intersection causes, and then promote Consumer's Experience.
Accompanying drawing explanation
Fig. 1-1 is the type-setting mode schematic diagram of chat content in prior art;
Fig. 1-2 be the embodiment of the present invention one information processing method realize schematic flow sheet;
What Fig. 2-1 was the embodiment of the present invention two information processing method realizes schematic flow sheet;
Fig. 2-2 is the type-setting mode schematic diagram one of chat content in the embodiment of the present invention two;
Fig. 2-3 is the type-setting mode schematic diagram two of chat content in the embodiment of the present invention two;
What Fig. 3-1 was the embodiment of the present invention three information processing method realizes schematic flow sheet;
Fig. 3-2 realizes schematic flow sheet for what semantic key words in the embodiment of the present invention three mated;
Fig. 3-3 is the schematic diagram of mapping model in the embodiment of the present invention three;
Fig. 4 is the composition structural representation of the embodiment of the present invention four electronic equipment;
Fig. 5 is the composition structural representation of the embodiment of the present invention five electronic equipment;
Fig. 6 is the composition structural representation of the embodiment of the present invention six electronic equipment.
Detailed description of the invention
Below in conjunction with the drawings and specific embodiments, the technical solution of the present invention is further elaborated.
Embodiment one
The embodiment of the present invention provides a kind of information processing method, and the method is applied in electronic equipment, and the function that the method realizes can be realized by the processor caller code in electronic equipment, and certain program code can be saved in computer-readable storage medium.It should be noted that, this electronic equipment is except including processor and storage medium, display unit and input equipment can also be included, described display unit can be display screen, described input equipment can be keyboard, described display unit and input equipment can integrate, for instance, described display unit and input block can be touch display unit.
In the embodiment of the present invention, described electronic equipment can be the Wearable such as smart mobile phone, navigator, panel computer, notebook computer, desktop computer, car-mounted terminal, music player such as MP3 (MusicPlayer3) player, intelligent watch, Intelligent bracelet.
Fig. 1-2 be the embodiment of the present invention one information processing method realize schematic flow sheet, as shown in Figure 1-2, the method includes:
Step 101, obtains the first interaction message;
Here, interaction message is the message that each side of mutual communication sends, and at least includes the body matter of the message that each side to send in described interaction message.As Figure 1-1, user A inputs the content of message for " Chile of Brazil is tied, heartily, in finally giving as security once!", generally also can be attached with, when the body matter of this interaction message of display, the moment " 22:10:01 " that this message sends, namely show that above-mentioned message content sends at night for 22: 10: 01.Except the delivery time of interaction message, generally will also include the sender of message, for instance, " Chile of Brazil is tied, heartily, in finally giving as security once!" sent by user A rather than sent by user B.In general, interaction message, except the body matter of message, also includes delivery time and the sender etc. of message, and the particular content included as interaction message is usually by the agreement defined of instant chat.
Here, described first interaction message is from the source of message, including the interaction message of this end subscriber input, or the interaction message coming from opposite end received.
Step 102, it is judged that whether described first interaction message belongs to one of N number of topic discussed, and obtains the first judged result;
Here, the described topic discussed can divide according to key word, as Figure 1-1, the body matter of the message of user A input includes six, the body matter of the message of user B input includes five, referring to table 1, wherein discussed at present for user A and user B topic can divide altogether three topics, key word " betting " can be used in first topic, " in signature " etc. describe (label 11 referring in Fig. 1-1), key word " starving " can be used in second topic, " eat " and " walking " describes (label 12 referring in Fig. 1-1), 3rd topic can describe (label 13 referring in Fig. 1-1) with key word " attending class ".
Table 1
Here, judge whether described first interaction message belongs to one of N number of topic discussed, may determine that whether the message body content of the first interaction message is relevant with the key word of the topic discussed, if relevant, think that the first interaction message belongs to just in discussion topic, if uncorrelated, then the first interaction message is not belonging to the topic discussed.
Step 103, when described first judged result show described first interaction message belong to N number of described in the topic discussed for the moment, described first interaction message is sorted in the affiliated topic discussed, to facilitate the reading of mutual side.
Step 104, when described first judged result show described first interaction message be not belonging to N number of described in the topic discussed for the moment, described first interaction message is sorted within new topic, to facilitate the reading of mutual side.
Here, mutual side at least includes mutual both sides, it is possible to include mutual in many ways, in many ways refer to more than two sides.
In the embodiment of the present invention, first obtain the first interaction message;Then judge whether described first interaction message belongs to one of N number of topic discussed, obtain the first judged result;When described first judged result show described first interaction message belong to N number of described in the topic discussed for the moment, again described first interaction message is sorted in the affiliated topic discussed, to facilitate the reading of mutual side, so, it is capable of chat content Auto-matching chat topic, thus solving the problem allowing people confuse that in prior art, topic intersection causes, and then promote Consumer's Experience.
Embodiment two
Based on embodiment one, the embodiment of the present invention provides a kind of information processing method, is applied to electronic equipment, and Fig. 2-1 realizes schematic flow sheet for the embodiment of the present invention two information processing method, and as shown in Fig. 2-1, this information processing method includes:
Step 201, obtains the first interaction message;
Here, interaction message is the message that each side of mutual communication sends, and at least includes the body matter of the message that each side to send in described interaction message.As Figure 1-1, user A inputs the content of message for " Chile of Brazil is tied, heartily, in finally giving as security once!", generally also can be attached with, when the body matter of this interaction message of display, the moment " 22:10:01 " that this message sends, namely show that above-mentioned message content sends at night for 22: 10: 01.Except the delivery time of interaction message, generally will also include the sender of message, for instance, " Chile of Brazil is tied, heartily, in finally giving as security once!" sent by user A rather than sent by user B.In general, interaction message, except the body matter of message, also includes delivery time and the sender etc. of message, and the particular content included as interaction message is usually by the agreement defined of instant chat.
Here, described first interaction message is from the source of message, including the interaction message of this end subscriber input, or the interaction message coming from opposite end received.
Step 202, it is judged that whether described first interaction message belongs to one of N number of topic discussed, and obtains the first judged result;
Here, the topic discussed described in each is shown in predetermined region.
Here, the described topic discussed can divide according to key word, as Figure 1-1, the body matter of the message of user A input includes six, the body matter of the message of user B input includes five, referring to table 1, wherein discussed at present for user A and user B topic can divide altogether three topics, key word " betting " can be used in first topic, " in signature " etc. describe (label 11 referring in Fig. 1-1), key word " starving " can be used in second topic, " eat " and " walking " describes (label 12 referring in Fig. 1-1), 3rd topic can describe (label 13 referring in Fig. 1-1) with key word " attending class ".
Here, judge whether described first interaction message belongs to one of N number of topic discussed, may determine that whether the message body content of the first interaction message is relevant with the key word of the topic discussed, if relevant, think that the first interaction message belongs to just in discussion topic, if uncorrelated, then the first interaction message is not belonging to the topic discussed.
Step 203, when described first judged result show described first interaction message belong to N number of described in the topic discussed for the moment, described first interaction message is sorted in the affiliated topic discussed;
Step 204, is shown in the presumptive area of the affiliated topic discussed according to time order and function order by described first interaction message, to facilitate the reading of mutual side.
Step 205, when described first judged result show described first interaction message be not belonging to N number of described in the topic discussed for the moment, described first interaction message is sorted within new topic, to facilitate the reading of mutual side.
The technical scheme that the embodiment of the present invention provides can obtain the effect as shown in Fig. 2-2, each topic that user A and user B chat relates to shows a predetermined region, such as each bar interaction message involved by first topic is shown in region 10, each bar interaction message involved by second topic is shown in region 20, and each article of interaction message designed by the 3rd topic is shown in region 30.In the viewing area of each topic, each bar interaction message involved by each topic is all show according to the sequencing of time, for instance first topic relates to three interaction messages, wherein user A sent at 22: 10: 01 " Brazil Chile tie; heartily, finally give as security in once!", " heartily, during your this level also can be given as security " that user B sent at 22: 11: 03, " I also gives as security and suffers " that user B sent at 22: 11: 10.
The technical scheme that the embodiment of the present invention provides can obtain effect as Figure 2-3, when user B sent an interaction message at 22: 12: 26, " achievement of higher mathematics discloses, my this has examined 89 points ", at this moment, judge whether this interaction message belongs to one of N number of topic discussed, find that this interaction message is not belonging to one of topic of discussing described in 3 through judging, then just this interaction message is sorted within new topic, and it is shown in the region preset of new topic (region 40 in Fig. 2-3), so, the technical scheme that the embodiment of the present invention provides can facilitate the reading of mutual side.
In the embodiment of the present invention, in order to obtain reasonable display effect, user is allowed to be easier to distinguish different topics, the viewing area of different topics can be identified as background color or background by different colors, such as first topic can adopt the first color to be identified as a setting, second topic can adopt the background of the second color, and the 3rd topic adopts the 3rd color as a setting, described first color, the second color and the 3rd color are incomplete same, and described first color, the second color and the 3rd color can be transparent.Of course for easily distinguishing different topics, different colours can also be adopted to show the message in each topic, such as, interaction message in first topic adopts the 4th color to show, interaction message in second topic adopts the 5th color to show, the interaction message in the 3rd topic adopts the 6th color to show.Described 4th color, the 5th color and the 6th color are incomplete same, described 4th color, the 5th color and the 6th color can be transparent, when when described 4th color, the 5th color and the 6th color, one of them is transparent, the background of corresponding topic should not adopt transparent in background color again.
Embodiment three
Based on embodiment one, the embodiment of the present invention provides a kind of information processing method, is applied to electronic equipment, and Fig. 3-1 realizes schematic flow sheet for the embodiment of the present invention three information processing method, and as shown in figure 3-1, this information processing method includes:
Step 301, obtains the first interaction message;
Here, interaction message is the message that each side of mutual communication sends, and at least includes the body matter of the message that each side to send in described interaction message.As Figure 1-1, user A inputs the content of message for " Chile of Brazil is tied, heartily, in finally giving as security once!", generally also can be attached with, when the body matter of this interaction message of display, the moment " 22:10:01 " that this message sends, namely show that above-mentioned message content sends at night for 22: 10: 01.Except the delivery time of interaction message, generally will also include the sender of message, for instance, " Chile of Brazil is tied, heartily, in finally giving as security once!" sent by user A rather than sent by user B.In general, interaction message, except the body matter of message, also includes delivery time and the sender etc. of message, and the particular content included as interaction message is usually by the agreement defined of instant chat.
Here, described first interaction message is from the source of message, including the interaction message of this end subscriber input, or the interaction message coming from opposite end received.
Step 302, by described first interaction message with N number of described in the content of topic discussed carry out similarity mode, it is thus achieved that N number of similarity;
Here, the topic discussed described in each is shown in predetermined region.
Here, the described topic discussed can divide according to key word, as Figure 1-1, the body matter of the message of user A input includes six, the body matter of the message of user B input includes five, referring to table 1, wherein discussed at present for user A and user B topic can divide altogether three topics, key word " betting " can be used in first topic, " in signature " etc. describe (label 11 referring in Fig. 1-1), key word " starving " can be used in second topic, " eat " and " walking " describes (label 12 referring in Fig. 1-1), 3rd topic can describe (label 13 referring in Fig. 1-1) with key word " attending class ".
Here, judge whether described first interaction message belongs to one of N number of topic discussed, may determine that whether the message body content of the first interaction message is relevant with the key word of the topic discussed, if relevant, think that the first interaction message belongs to just in discussion topic, if uncorrelated, then the first interaction message is not belonging to the topic discussed.
Step 303, it is judged that the magnitude relationship between described N number of similarity and default first threshold, obtains N number of first sub-judged result;
Step 304, when in described N number of first sub-judged result, any one first sub-judged result shows the similarity of its correspondence more than described first threshold, be defined as described first interaction message belong to N number of described in one of the topic discussed, and described first interaction message is sorted in the affiliated topic discussed;
Step 305, is shown in the presumptive area of the affiliated topic discussed according to time order and function order by described first interaction message, to facilitate the reading of mutual side.
Step 306, when described N number of first sub-judged result shows that the similarity of its correspondence is both less than described first threshold, it is determined that for described first interaction message be not belonging to N number of described in one of the topic discussed, described first interaction message is sorted within new topic.
The technical scheme that the embodiment of the present invention provides may be used for following scene, here illustrate for three topics in Fig. 1-1, the similarity assuming the first interaction message and first topic coupling is the first similarity, the similarity assuming the first interaction message and second topic coupling is the second similarity, the similarity of the first interaction message and the 3rd topic coupling is that third phase is like degree, described first similarity, the second similarity can be identical like degree with third phase, it is also possible to different.First similarity and first threshold are compared, obtains first the first sub-judged result;Second similarity and first threshold are compared, obtains second the first sub-judged result;Third phase is compared like degree and first threshold, obtains the 3rd the first sub-judged result.
When first the first sub-judged result shows the first similarity more than first threshold, can illustrate that this described first interaction message and the first topic are relevant, when first the first sub-judged result shows the first similarity less than or equal to first threshold, it is possible to illustrate that this described first interaction message and the first topic degree of association are smaller.So, obtain described first interaction message according to second the first sub-judged result and whether the second topic is relevant, obtain described first interaction message according to the 3rd the first sub-judged result and whether the 3rd topic is relevant.
If first the first sub-judged result shows that the first interaction message and the first topic are unrelated, and second the first sub-judged result shows that the first interaction message and the second topic are unrelated, and the 3rd the first sub-judged result shows that the first interaction message and the 3rd topic are unrelated, then three topics that the first interaction message is not belonging to discussing finally can be described.
If first the first sub-judged result, second the first sub-judged result show described first interaction message with any one first sub-judged result in the 3rd the first sub-judged result, corresponding topic is relevant, then finally can illustrate that the first interaction message belongs to three topics discussed;Such as first the first sub-judged result shows that the first interaction message and the first topic are relevant, and second the first sub-judged result shows that the first interaction message and the second topic are unrelated, and the 3rd the first sub-judged result shows that the first interaction message and the 3rd topic are unrelated, then finally can illustrate that the first interaction message belongs to three topics discussed, more specifically, described first interaction message belongs to the first topic.Carry out in the process judged utilizing similarity, sometimes it is possible that the first interaction message is simultaneously relevant with two topics, such as first the first sub-judged result shows that the first interaction message and the first topic are relevant, and second the first sub-judged result shows that the first interaction message and the second topic are also relevant, and the 3rd the first sub-judged result all shows that the first interaction message and the 3rd topic are unrelated, then finally can illustrate that the first interaction message belongs to three topics discussed, more specifically, described first interaction message is likely to belong to first topic, it is likely to and belongs to second topic.
As can be seen here, judge described first interaction message whether belong to N number of described in the topic discussed for the moment, in addition it is also necessary to determine the topic belonging to described first interaction message.The described topic determined belonging to described first interaction message specifically includes: described N number of similarity is ranked up, using the topic corresponding to highest similarity as the topic belonging to described first interaction message.
Such as, first similarity, the second similarity and third phase are compared like degree, the relation between this three is seemingly spent according to the first similarity, the second similarity and third phase, determine which topic the first interaction message belongs to, assume that the first similarity is more than the second similarity, second similarity like degree, then can show that described first interaction message belongs to first topic more than third phase.When the first similarity, the second similarity and third phase are two like the maximum between degree simultaneously, it is possible to described first interaction message is shown in the region of new topic.
In the embodiment of the present invention, how obtaining similarity is an important problem, provides below a kind of Intelligent Matching based on semantic key words, and the coupling being based on semantic key words can carry out typesetting interaction message when chatting automatically, thus easy-to-read.Concrete process can adopt the flow process shown in Fig. 3-2:
Step 301, adopts the first matching process that the first interaction message is carried out the coupling of topic, if the match is successful (YES), is sorted within the topic belonging to the first interaction message by the first interaction message;If it fails to match (no), then enter step 302;
Step 302, adopts the second matching process that the first interaction message is carried out the coupling of topic, if the match is successful (YES), is sorted within the topic belonging to the first interaction message by the first interaction message;If it fails to match (no), then enter step 303;
Step 303, adopts the 3rd matching process that the first interaction message carries out the coupling of topic, if the match is successful (YES), is sorted within the topic belonging to the first interaction message by the first interaction message;If it fails to match (no), then described first interaction message is sorted within new topic.
First matching process, second matching process and threeth matching process are described below, in the first matching process, it is necessary first to collect a large number of users chat history data, as shown in Fig. 3-3, the historical data of chat are formed and talks with general mapping model.Then, according to obtaining in instant messenger as the dialogue sentence α (the first interaction message) of previous user, do sentence key Similarity Measure at Table A 1, obtain sentence corresponding to α by algorithm, find out the sentence set { b} mapped in table B1.Then, obtaining the reply β (another the first interaction message) of the dialogue of another user current in TALKER, in sentence set, { doing sentence similarity in b} to calculate, if greater than certain threshold values, then the match is successful for α, β.If the match is successful, mobile α, β show that position is adjacent to be arranged as, and facilitate user to read.Wherein, described algorithm generally comprises cosine similarity algorithm, SSK (StringSubsequenceKernel) algorithm.
Second matching process, when the first matching method matches failure, it is possible to first judges whether dialogue α is a question sentence, it is judged that method is by punctuation mark and SVO order.If α is question sentence, then judge that whether β is an answer of a α.Determination methods for coupling keyword " yes ", " ", the short sentence such as " OK ".If the match is successful, then it is arranged as adjacent.
3rd matching process, if all it fails to match for the first matching process and the second matching process, then simply can also directly do keyword Similarity Measure dialogue α, the β of user, and if greater than certain threshold values, then the match is successful, is arranged as adjacent.
Embodiment four
The embodiment of the present invention provides a kind of electronic equipment, Fig. 4 is the composition structural representation of the embodiment of the present invention four electronic equipment, as shown in Figure 4, this electronic equipment 400 includes the first acquiring unit 401, judging unit the 402, first taxon 403 and the second taxon 404, wherein:
Described first acquiring unit 401, is used for obtaining the first interaction message;
Here, interaction message is the message that each side of mutual communication sends, and at least includes the body matter of the message that each side to send in described interaction message.As Figure 1-1, user A inputs the content of message for " Chile of Brazil is tied, heartily, in finally giving as security once!", generally also can be attached with, when the body matter of this interaction message of display, the moment " 22:10:01 " that this message sends, namely show that above-mentioned message content sends at night for 22: 10: 01.Except the delivery time of interaction message, generally will also include the sender of message, for instance, " Chile of Brazil is tied, heartily, in finally giving as security once!" sent by user A rather than sent by user B.In general, interaction message, except the body matter of message, also includes delivery time and the sender etc. of message, and the particular content included as interaction message is usually by the agreement defined of instant chat.
Here, described first interaction message is from the source of message, including the interaction message of this end subscriber input, or the interaction message coming from opposite end received.
Described judging unit 402, for judging whether described first interaction message belongs to one of N number of topic discussed, obtains the first judged result, and wherein N is the integer be more than or equal to 0;
Here, the described topic discussed can divide according to key word, as Figure 1-1, the body matter of the message of user A input includes six, the body matter of the message of user B input includes five, referring to table 1, wherein discussed at present for user A and user B topic can divide altogether three topics, key word " betting " can be used in first topic, " in signature " etc. describe (label 11 referring in Fig. 1-1), key word " starving " can be used in second topic, " eat " and " walking " describes (label 12 referring in Fig. 1-1), 3rd topic can describe (label 13 referring in Fig. 1-1) with key word " attending class ".
Here, judge whether described first interaction message belongs to one of N number of topic discussed, may determine that whether the message body content of the first interaction message is relevant with the key word of the topic discussed, if relevant, think that the first interaction message belongs to just in discussion topic, if uncorrelated, then the first interaction message is not belonging to the topic discussed.
Described first taxon 403, for when described first judged result show described first interaction message belong to N number of described in the topic discussed for the moment, described first interaction message is sorted in the affiliated topic discussed, to facilitate the reading of mutual side.
Second taxon 404, for when described first judged result show described first interaction message be not belonging to N number of described in the topic discussed for the moment, described first interaction message is sorted within new topic.
In the embodiment of the present invention, first the first acquiring unit obtains the first interaction message;Then judging unit judges whether described first interaction message belongs to one of N number of topic discussed, and obtains the first judged result;When described first judged result show described first interaction message belong to N number of described in the topic discussed for the moment, described first interaction message is sorted in the affiliated topic discussed by the first taxon, to facilitate the reading of mutual each side, so, it is capable of chat content Auto-matching chat topic, thus solving the problem allowing people confuse that in prior art, topic intersection causes, and then promote Consumer's Experience.
Embodiment five
Based on embodiment one, the embodiment of the present invention provides a kind of electronic equipment, Fig. 5 is the composition structural representation of the embodiment of the present invention five electronic equipment, as shown in Figure 5, this electronic equipment 500 includes the first acquiring unit 501, judging unit the 502, first taxon 503, display unit 504 and the second taxon 505, wherein:
First acquiring unit 501, is used for obtaining the first interaction message;
Here, interaction message is the message that each side of mutual communication sends, and at least includes the body matter of the message that each side to send in described interaction message.As Figure 1-1, user A inputs the content of message for " Chile of Brazil is tied, heartily, in finally giving as security once!", generally also can be attached with, when the body matter of this interaction message of display, the moment " 22:10:01 " that this message sends, namely show that above-mentioned message content sends at night for 22: 10: 01.Except the delivery time of interaction message, generally will also include the sender of message, for instance, " Chile of Brazil is tied, heartily, in finally giving as security once!" sent by user A rather than sent by user B.In general, interaction message, except the body matter of message, also includes delivery time and the sender etc. of message, and the particular content included as interaction message is usually by the agreement defined of instant chat.
Here, described first interaction message is from the source of message, including the interaction message of this end subscriber input, or the interaction message coming from opposite end received.
Judging unit 502, for judging whether described first interaction message belongs to one of N number of topic discussed, obtains the first judged result;
Here, the topic discussed described in each is shown in predetermined region.
Here, the described topic discussed can divide according to key word, as Figure 1-1, the body matter of the message of user A input includes six, the body matter of the message of user B input includes five, referring to table 1, wherein discussed at present for user A and user B topic can divide altogether three topics, key word " betting " can be used in first topic, " in signature " etc. describe (label 11 referring in Fig. 1-1), key word " starving " can be used in second topic, " eat " and " walking " describes (label 12 referring in Fig. 1-1), 3rd topic can describe (label 13 referring in Fig. 1-1) with key word " attending class ".
Here, judge whether described first interaction message belongs to one of N number of topic discussed, may determine that whether the message body content of the first interaction message is relevant with the key word of the topic discussed, if relevant, think that the first interaction message belongs to just in discussion topic, if uncorrelated, then the first interaction message is not belonging to the topic discussed.
First taxon 503, for when described first judged result show described first interaction message belong to N number of described in the topic discussed for the moment, described first interaction message is sorted in the affiliated topic discussed;
Display unit 504, for being shown in the presumptive area of the affiliated topic discussed according to time order and function order by described first interaction message, to facilitate the reading of mutual side.
Second taxon 505, for when described first judged result show described first interaction message be not belonging to N number of described in the topic discussed for the moment, described first interaction message is sorted within new topic, to facilitate the reading of mutual side.
The technical scheme that the embodiment of the present invention provides can obtain the effect as shown in Fig. 2-2, each topic that user A and user B chat relates to shows a predetermined region, such as each bar interaction message involved by first topic is shown in region 10, each bar interaction message involved by second topic is shown in region 20, and each article of interaction message involved by the 3rd topic is shown in region 30.In the viewing area of each topic, each bar interaction message involved by each topic is all show according to the sequencing of time, for instance first topic relates to three interaction messages, wherein user A sent at 22: 10: 01 " Brazil Chile tie; heartily, finally give as security in once!", " heartily, during your this level also can be given as security " that user B sent at 22: 11: 03, " I also gives as security and suffers " that user B sent at 22: 11: 10.
The technical scheme that the embodiment of the present invention provides can obtain effect as Figure 2-3, when user B sent an interaction message at 22: 12: 26, " achievement of higher mathematics discloses, my this has examined 89 points ", at this moment, judge whether this interaction message belongs to one of N number of topic discussed, find that this interaction message is not belonging to one of topic of discussing described in 3 through judging, then just this interaction message is sorted within new topic, and it is shown in the region preset of new topic (region 40 in Fig. 2-3), so, the technical scheme that the embodiment of the present invention provides can facilitate the reading of mutual side.
In the embodiment of the present invention, in order to obtain reasonable display effect, user is allowed to be easier to distinguish different topics, the viewing area of different topics can be identified as background color or background by different colors, such as first topic can adopt the first color to be identified as a setting, second topic can adopt the background of the second color, and the 3rd topic adopts the second color as a setting, described first color, the second color and the 3rd color are incomplete same, and described first color, the second color and the 3rd color can be transparent.Of course for easily distinguishing different topics, different colours can also be adopted to show the message in each topic, such as, interaction message in first topic adopts the 4th color to show, interaction message in second topic adopts the 5th color to show, the interaction message in the 3rd topic adopts the 6th color to show.Described 4th color, the 5th color and the 6th color are incomplete same, described 4th color, the 5th color and the 6th color can be transparent, when when described 4th color, the 5th color and the 6th color, one of them is transparent, the background of corresponding topic should not adopt transparent in background color again.
Embodiment six
Based on above-described embodiment, the embodiment of the present invention provides a kind of electronic equipment, Fig. 6 is the composition structural representation of the embodiment of the present invention six electronic equipment, as shown in Figure 6, this electronic equipment 600 includes the first acquiring unit 601, judging unit the 602, first taxon 603, display unit 604 and the second taxon 605, wherein said judging unit 602 includes again matching module 6021 and judge module 6022, wherein:
First acquiring unit 601, is used for obtaining the first interaction message;
Here, interaction message is the message that each side of mutual communication sends, and at least includes the body matter of the message that each side to send in described interaction message.As Figure 1-1, user A inputs the content of message for " Chile of Brazil is tied, heartily, in finally giving as security once!", generally also can be attached with, when showing the body matter of this interaction message, the moment " 22:10:01 " that this message sends, namely show that above-mentioned message content sends at night for 22: 10: 01.Except the delivery time of interaction message, generally will also include the sender of message, for instance, " Chile of Brazil is tied, heartily, in finally giving as security once!" sent by user A rather than sent by user B.In general, interaction message, except the body matter of message, also includes delivery time and the sender etc. of message, and the particular content included as interaction message is usually by the agreement defined of instant chat.
Here, described first interaction message is from the source of message, including the interaction message of this end subscriber input, or the interaction message coming from opposite end received.
Matching module 6021, for by described first interaction message with N number of described in the content of topic discussed carry out similarity mode, it is thus achieved that N number of similarity;
Here, the topic discussed described in each is shown in predetermined region.
Here, the described topic discussed can divide according to key word, as Figure 1-1, the body matter of the message of user A input includes six, the body matter of the message of user B input includes five, referring to table 1, wherein discussed at present for user A and user B topic can divide altogether three topics, key word " betting " can be used in first topic, " in signature " etc. describe (label 11 referring in Fig. 1-1), key word " starving " can be used in second topic, " eat " and " walking " describes (label 12 referring in Fig. 1-1), 3rd topic can describe (label 13 referring in Fig. 1-1) with key word " attending class ".
Here, judge whether described first interaction message belongs to one of N number of topic discussed, may determine that whether the message body content of the first interaction message is relevant with the key word of the topic discussed, if relevant, think that the first interaction message belongs to just in discussion topic, if uncorrelated, then the first interaction message is not belonging to the topic discussed.
Judge module 6022, for judging the magnitude relationship between described N number of similarity and default first threshold, obtains N number of first sub-judged result;
First taxon 603, when in described N number of first sub-judged result, any one first sub-judged result shows the similarity of its correspondence more than described first threshold, be defined as described first interaction message belong to N number of described in one of the topic discussed, and described first interaction message is sorted in the affiliated topic discussed;
Display unit 604, for being shown in the presumptive area of the affiliated topic discussed according to time order and function order by described first interaction message, to facilitate the reading of mutual side.
Second taxon 605, when described N number of first sub-judged result shows that the similarity of its correspondence is both less than described first threshold, be defined as described first interaction message be not belonging to N number of described in one of the topic discussed, described first interaction message is sorted within new topic.
The technical scheme that the embodiment of the present invention provides may be used for following scene, here illustrate for three topics in Fig. 1-1, the similarity assuming the first interaction message and first topic coupling is the first similarity, the similarity assuming the first interaction message and second topic coupling is the second similarity, the similarity of the first interaction message and the 3rd topic coupling is that third phase is like degree, described first similarity, the second similarity can be identical like degree with third phase, it is also possible to different.First similarity and first threshold are compared, obtains first the first sub-judged result;Second similarity and first threshold are compared, obtains second the first sub-judged result;Third phase is compared like degree and first threshold, obtains the 3rd the first sub-judged result.
When first the first sub-judged result shows the first similarity more than first threshold, can illustrate that this described first interaction message and the first topic are relevant, when first the first sub-judged result shows the first similarity less than or equal to first threshold, it is possible to illustrate that this described first interaction message and the first topic degree of association are smaller.So, obtain described first interaction message according to second the first sub-judged result and whether the second topic is relevant, obtain described first interaction message according to the 3rd the first sub-judged result and whether the 3rd topic is relevant.
If first the first sub-judged result shows that the first interaction message and the first topic are unrelated, and second the first sub-judged result shows that the first interaction message and the second topic are unrelated, and the 3rd the first sub-judged result shows that the first interaction message and the 3rd topic are unrelated, then three topics that the first interaction message is not belonging to discussing finally can be described.
If first the first sub-judged result, second the first sub-judged result show described first interaction message with any one first sub-judged result in the 3rd the first sub-judged result, corresponding topic is relevant, then finally can illustrate that the first interaction message belongs to three topics discussed;Such as first the first sub-judged result shows that the first interaction message and the first topic are relevant, and second the first sub-judged result shows that the first interaction message and the second topic are unrelated, and the 3rd the first sub-judged result shows that the first interaction message and the 3rd topic are unrelated, then finally can illustrate that the first interaction message belongs to three topics discussed, more specifically, described first interaction message belongs to the first topic.Carry out in the process judged utilizing similarity, sometimes it is possible that the first interaction message is simultaneously relevant with two topics, such as first the first sub-judged result shows that the first interaction message and the first topic are relevant, and second the first sub-judged result shows that the first interaction message and the second topic are also relevant, and the 3rd the first sub-judged result shows that the first interaction message and the 3rd topic are unrelated, then finally can illustrate that the first interaction message belongs to three topics discussed, more specifically, described first interaction message is likely to belong to first topic, it is likely to and belongs to second topic.
As can be seen here, judge described first interaction message whether belong to N number of described in the topic discussed for the moment, in addition it is also necessary to determine the topic belonging to described first interaction message.Therefore, described electronic equipment also includes determining unit, for determining that the topic belonging to described first interaction message specifically includes: described N number of similarity is ranked up, using the topic corresponding to highest similarity as the topic belonging to described first interaction message.
Such as, first similarity, the second similarity and third phase are compared like degree, the relation between this three is seemingly spent according to the first similarity, the second similarity and third phase, determine which topic the first interaction message belongs to, assume that the first similarity is more than the second similarity, second similarity like degree, then can show that described first interaction message belongs to first topic more than third phase.When the first similarity, the second similarity and third phase are two like the maximum between degree simultaneously, it is possible to described first interaction message is shown in the region of new topic.
It need to be noted that: the description of above electronic equipment item, it is similar for describing with above-mentioned information processing method, and the beneficial effect identical with information processing method describes, and does not repeat.For the ins and outs not disclosed in electronic equipment embodiment of the present invention, refer to the description of the inventive method embodiment.
In several embodiments provided herein, it should be understood that disclosed equipment and method, it is possible to realize by another way.Apparatus embodiments described above is merely schematic, such as, the division of described unit, it is only a kind of logic function to divide, actual can have other dividing mode when realizing, and as: multiple unit or assembly can be in conjunction with, or is desirably integrated into another system, or some features can ignore, or do not perform.It addition, the coupling each other of shown or discussed each ingredient or direct-coupling or communication connection can be through INDIRECT COUPLING or the communication connection of some interfaces, equipment or unit, it is possible to be electrical, machinery or other form.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, and the parts shown as unit can be or may not be physical location;Both may be located at a place, it is also possible to be distributed on multiple NE;Part or all of unit therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.
It addition, each functional unit in various embodiments of the present invention can be fully integrated in a processing unit, it is also possible to be that each unit is individually as a unit, it is also possible to two or more unit are integrated in a unit;Above-mentioned integrated unit both can adopt the form of hardware to realize, it would however also be possible to employ hardware adds the form of SFU software functional unit and realizes.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can be completed by the hardware that programmed instruction is relevant, aforesaid program can be stored in computer read/write memory medium, this program upon execution, performs to include the step of said method embodiment;And aforesaid storage medium includes: the various media that can store program code such as movable storage device, read only memory (ReadOnlyMemory, ROM), magnetic disc or CDs.
Or, if the above-mentioned integrated unit of the present invention realizes using the form of software function module and as independent production marketing or when using, it is also possible to be stored in a computer read/write memory medium.Based on such understanding, the part that prior art is contributed by the technical scheme of the embodiment of the present invention substantially in other words can embody with the form of software product, this computer software product is stored in a storage medium, including some instructions with so that a computer equipment (can be personal computer, server or the network equipment etc.) performs all or part of of method described in each embodiment of the present invention.And aforesaid storage medium includes: the various media that can store program code such as movable storage device, ROM, magnetic disc or CDs.
The above; being only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any those familiar with the art is in the technical scope that the invention discloses; change can be readily occurred in or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with described scope of the claims.

Claims (11)

1. an information processing method, it is characterised in that being applied to electronic equipment, described method includes:
Obtain the first interaction message;
Judging whether described first interaction message belongs to one of N number of topic discussed, obtain the first judged result, wherein N is the integer be more than or equal to 0;
When described first judged result show described first interaction message belong to N number of described in the topic discussed for the moment, described first interaction message is sorted in the affiliated topic discussed, to facilitate the reading of mutual side.
2. method according to claim 1, it is characterised in that the topic discussed described in each is shown in predetermined region;
Accordingly, described method also includes:
According to time order and function order, described first interaction message is shown in the presumptive area of the affiliated topic discussed.
3. method according to claim 1, it is characterised in that described method also includes:
When described first judged result show described first interaction message be not belonging to N number of described in the topic discussed for the moment, described first interaction message is sorted within new topic.
4. method according to claim 1, it is characterised in that described first interaction message includes:
The interaction message of this end subscriber input, or the interaction message coming from opposite end received.
5. the method according to any one of Claims 1-4, it is characterised in that described judge whether described first interaction message belongs to one of topic of discussing, obtains the first judged result, including:
By described first interaction message with N number of described in the content of topic discussed carry out similarity mode, it is thus achieved that N number of similarity;
Judge the magnitude relationship between described N number of similarity and default first threshold, obtain N number of first sub-judged result;
When in described N number of first sub-judged result, any one first sub-judged result shows the similarity of its correspondence more than described first threshold, it is determined that for described first interaction message belong to N number of described in one of the topic discussed;
When described N number of first sub-judged result shows that the similarity of its correspondence is both less than described first threshold, it is determined that for described first interaction message be not belonging to N number of described in one of the topic discussed.
6. method according to claim 5, it is characterised in that described method also includes:
Determine the topic belonging to described first interaction message, specifically include:
Described N number of similarity is ranked up, using the topic corresponding to highest similarity as the topic belonging to described first interaction message.
7. an electronic equipment, it is characterised in that described electronic equipment includes the first acquiring unit, judging unit and the first taxon, wherein:
Described first acquiring unit, is used for obtaining the first interaction message;
Described judging unit, for judging whether described first interaction message belongs to one of N number of topic discussed, obtains the first judged result, and wherein N is the integer be more than or equal to 0;
Described first taxon, for when described first judged result show described first interaction message belong to N number of described in the topic discussed for the moment, described first interaction message is sorted in the affiliated topic discussed, to facilitate the reading of mutual side.
8. electronic equipment according to claim 7, it is characterised in that the topic discussed described in each is shown in predetermined region;
Accordingly, described electronic equipment also includes display unit, for being shown in the presumptive area of the affiliated topic discussed by described first interaction message according to time order and function order.
9. electronic equipment according to claim 7, it is characterized in that, described electronic equipment also includes the second taxon, for when described first judged result show described first interaction message be not belonging to N number of described in the topic discussed for the moment, described first interaction message is sorted within new topic.
10. the electronic equipment according to any one of claim 7 to 9, it is characterised in that described judging unit includes matching module and judge module, wherein:
Described matching module, for by described first interaction message with N number of described in the content of topic discussed carry out similarity mode, it is thus achieved that N number of similarity;
Described judge module, for judging the magnitude relationship between described N number of similarity and default first threshold, obtains the first judged result;When in described N number of first sub-judged result, any one first sub-judged result shows the similarity of its correspondence more than described first threshold, it is determined that for described first interaction message belong to N number of described in one of the topic discussed;When described N number of first sub-judged result shows that the similarity of its correspondence is both less than described first threshold, it is determined that for described first interaction message be not belonging to N number of described in one of the topic discussed.
11. electronic equipment according to claim 10, it is characterised in that described electronic equipment also includes determining unit, for being ranked up described N number of similarity, using the topic corresponding to highest similarity as the topic belonging to described first interaction message.
CN201410740706.1A 2014-12-05 2014-12-05 Information processing method and electronic device Pending CN105718492A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410740706.1A CN105718492A (en) 2014-12-05 2014-12-05 Information processing method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410740706.1A CN105718492A (en) 2014-12-05 2014-12-05 Information processing method and electronic device

Publications (1)

Publication Number Publication Date
CN105718492A true CN105718492A (en) 2016-06-29

Family

ID=56144517

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410740706.1A Pending CN105718492A (en) 2014-12-05 2014-12-05 Information processing method and electronic device

Country Status (1)

Country Link
CN (1) CN105718492A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506323A (en) * 2016-09-12 2017-03-15 努比亚技术有限公司 A kind of chat content collating unit and method
CN111917561A (en) * 2020-07-29 2020-11-10 上海掌门科技有限公司 Method and equipment for generating past information

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080189375A1 (en) * 2007-02-02 2008-08-07 Chang Yan Chi Method, apparatus and computer program product for constructing topic structure in instance message meeting
CN103051522A (en) * 2013-01-22 2013-04-17 广州多益网络科技有限公司 Method and system for automatically establishing conversation window in group
CN103226580A (en) * 2013-04-02 2013-07-31 西安交通大学 Interactive-text-oriented topic detection method
CN103490989A (en) * 2013-09-30 2014-01-01 厦门三五互联科技股份有限公司 Multi-user instant chatting method achieving classified display based on content topics
CN104113470A (en) * 2014-07-04 2014-10-22 南京航空航天大学 Method for multi-subject parallel dialogues

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080189375A1 (en) * 2007-02-02 2008-08-07 Chang Yan Chi Method, apparatus and computer program product for constructing topic structure in instance message meeting
CN103051522A (en) * 2013-01-22 2013-04-17 广州多益网络科技有限公司 Method and system for automatically establishing conversation window in group
CN103226580A (en) * 2013-04-02 2013-07-31 西安交通大学 Interactive-text-oriented topic detection method
CN103490989A (en) * 2013-09-30 2014-01-01 厦门三五互联科技股份有限公司 Multi-user instant chatting method achieving classified display based on content topics
CN104113470A (en) * 2014-07-04 2014-10-22 南京航空航天大学 Method for multi-subject parallel dialogues

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506323A (en) * 2016-09-12 2017-03-15 努比亚技术有限公司 A kind of chat content collating unit and method
CN111917561A (en) * 2020-07-29 2020-11-10 上海掌门科技有限公司 Method and equipment for generating past information
CN111917561B (en) * 2020-07-29 2022-06-21 上海掌门科技有限公司 Method and equipment for generating past information

Similar Documents

Publication Publication Date Title
CN106716417B (en) Method, device and equipment for checking information
US11361045B2 (en) Method, apparatus, and computer-readable storage medium for grouping social network nodes
WO2015090137A1 (en) A voice message search method, device, and system
CN108289053B (en) Control method, device and system for instant messaging session
US20210352059A1 (en) Message Display Method, Apparatus, and Device
EP3198469A1 (en) Methods and systems for obscuring text in a conversation
CN104462113A (en) Search method and device and electronic equipment
WO2016082718A1 (en) Information access processing method and device
US20180191649A1 (en) Message presenting method, device, and system
CN109074547B (en) Text message ordering based on message content
CN112947807A (en) Display method and device and electronic equipment
WO2021086573A1 (en) Intelligent e-mail subject line suggestions and reformulation
CN105516504A (en) Method for processing session messages and terminal
CN105718492A (en) Information processing method and electronic device
CN103822433A (en) Information processing method and refrigerator
CN104504051A (en) Input prompt method, input prompt device and terminal
CN104932661A (en) Information prompt method and electronic device
CN103092944B (en) A kind of rendering method of communication information Search Results, device and terminal
CN113138702B (en) Information processing method, device, electronic equipment and storage medium
CN105653533A (en) Method and device for updating classified associated word set
CN111726285B (en) Instant messaging method and device
CN114124874A (en) Chat information sending method and device
CN106250008A (en) A kind of method showing information and terminal
CN106993090B (en) Message processing method and electronic equipment
CN110046352A (en) Address Standardization method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160629

RJ01 Rejection of invention patent application after publication