Summary of the invention
The embodiment of the present invention provides a kind of approaches to IM and terminal, makes user can from the information of terminal storage, find quickly and accurately the information of wanting.
The approaches to IM that embodiment of the present invention first aspect provides, comprising: the classifying rules of configuration information and the class number corresponding with described classifying rules;
Reading information, finds the described classifying rules with described information matches;
The original number of described information is set to the described class number corresponding with the described classifying rules of described information matches, and in the content of described information the sender information of information described in affix;
Described information is shown under described class number with conversation modes.
First aspect in conjunction with the embodiment of the present invention, in the first execution mode of the first aspect of the embodiment of the present invention, described method also comprises: using described class number as contact number, deposit in telephone directory, and for described contact number, corresponding name of contact person is set in described telephone directory, so that described information shows under described name of contact person with conversation modes.
First aspect in conjunction with the embodiment of the present invention, in the second execution mode of the first aspect of the embodiment of the present invention, the method of the classifying rules of described configuration information is specially: it is a class that the information that contains preset number is set, and/or the information that setting contains default keyword is a class.
The second execution mode in conjunction with the first aspect of the embodiment of the present invention, in the third execution mode of the first aspect of the embodiment of the present invention, described method also comprises: revise described classifying rules, described class number, described name of contact person and delete described classifying rules.
In conjunction with the first aspect of the embodiment of the present invention, in the 4th kind of execution mode of the first aspect of the embodiment of the present invention, described method also comprises: described information is arranged and shown according to time of reception order successively.
The second aspect of the embodiment of the present invention provides a kind of terminal, and described terminal comprises: setting unit, for the classifying rules of configuration information and the class number corresponding with described classifying rules;
Matching unit, for reading information, finds the described classifying rules with described information matches;
Processing unit, is set to the described class number corresponding with the described classifying rules of described information matches for the original number of described information, and in the content of described information the sender information of information described in affix;
Display unit, for showing with conversation modes described information under described class number.
Second aspect in conjunction with the embodiment of the present invention, in the first execution mode of the second aspect of the embodiment of the present invention, described terminal also comprises telephone directory associative cell, for depositing described class number in telephone directory as contact number, and for described contact number, corresponding name of contact person is set in described telephone directory, so that described information shows under described name of contact person with conversation modes.
Second aspect in conjunction with the embodiment of the present invention, in the second execution mode of the second aspect of the embodiment of the present invention, the method of the classifying rules of described setting unit configuration information is specially: it is a class that the information that contains preset number is set, and/or the information that setting contains default keyword is a class.
The second execution mode in conjunction with the second aspect of the embodiment of the present invention, in the third execution mode of the second aspect of the embodiment of the present invention, described terminal also comprises: adjustment unit, and for revising described classifying rules, described class number, described name of contact person and deleting described classifying rules.
In conjunction with the second aspect of the embodiment of the present invention, in the 4th kind of execution mode of the second aspect of the embodiment of the present invention, described display unit also for: described information is arranged and is shown according to time of reception order successively.
The embodiment of the present invention third aspect provides a kind of terminal, described terminal comprises processor, for the classifying rules of configuration information and the class number corresponding with described classifying rules, reading information, find the described classifying rules with described information matches, the original number of described information is set to the described class number corresponding with the described classifying rules of described information matches, and in the content of described information the sender information of information described in affix;
Display, for showing with conversation modes described information under described class number.
The third aspect in conjunction with the embodiment of the present invention, in the first execution mode of the third aspect of the embodiment of the present invention, described processor also for: as contact number, deposit described class number in telephone directory, and for described contact number, corresponding name of contact person is set in described telephone directory, so that described display shows with conversation modes described information under described name of contact person.
The third aspect in conjunction with the embodiment of the present invention, in the second execution mode of the third aspect of the embodiment of the present invention, the method of the classifying rules of described processor configuration information is concrete: it is a class that the information that contains preset number is set, and/or the information that setting contains default keyword is a class.
The second execution mode in conjunction with the third aspect of the embodiment of the present invention, in the third execution mode of the third aspect of the embodiment of the present invention, described processor also for, revise described classifying rules, described class number, described name of contact person and delete described classifying rules.
In conjunction with the third aspect of the embodiment of the present invention, in the 4th kind of execution mode of the third aspect of the embodiment of the present invention, described display also for: described information is arranged and is shown according to time of reception order successively.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages:
In the embodiment of the present invention, terminal is the classifying rules of configuration information and the class number corresponding with each classifying rules first, reading information, find the classifying rules with information matches, then the original number of information is set to the class number corresponding with the classifying rules of information matches, and in the content of information the sender information of affix information, finally information is shown with conversation modes.In the embodiment of the present invention, the information merging management that terminal sends different senders by different classifying ruless is set, makes user can from the bulk information of terminal storage, find quickly and accurately the information of wanting.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of approaches to IM and terminal, can make user can find quickly and accurately the information of wanting.
Refer to Fig. 1, in the embodiment of the present invention, embodiment of approaches to IM comprises:
101, the classifying rules of configuration information and corresponding class number;
Existing approaches to IM, makes in terminal canned data disorderly and unsystematic, causes user to be difficult to from bulk information, find quickly and accurately the information of wanting.Therefore, in the present embodiment, terminal can set in advance the classifying rules of information and the class number corresponding with each classifying rules, with the information being associated that jack per station is sent, merges management.
102, reading information, finds the classifying rules with information matches;
Terminal receives and reading information, and information is analyzed, and finds the classifying rules with information matches.
103, the original number of information is set to the class number corresponding to classifying rules of coupling, and in the content of information the sender information of affix information;
As a rule, the number of information is for distinguishing different senders' important sign, and existing information session pattern display packing is that the different information that terminal sends same sender according to the number of information merge management.
The inconvenience bringing to user in view of existing this approaches to IM, in the present embodiment, terminal is after the classifying rules searching out with information matches, the original number of information is set to the class number corresponding with the classifying rules of this information matches, so, the information with certain association (meeting same classifying rules) that different senders send has identical class number, that is to say, the information that meets same classifying rules after setting up, its present information number is all identical, is all corresponding class number.
In order to facilitate user to check the original sender information of information, in the present embodiment, after the original number of information is set to the class number corresponding with the classifying rules of this information matches, affix sender information after the content that can show in this information, sender information can be sender's number of this information or sender's name of this information.
104, information is shown under class number with conversation modes.
After step 103 is handled, belong to the present information number of the different information of same classifying rules all identical, be all corresponding class number, then terminal shows with conversation modes these information under corresponding class number.
In the present embodiment, terminal is the classifying rules of configuration information and the class number corresponding with each classifying rules first, reading information, find the classifying rules with information matches, then the original number of information is set to the class number corresponding with the classifying rules of information matches, and in the content of information the sender information of affix information, finally information is shown under class number with conversation modes.In the present embodiment, the information merging management that terminal sends different senders by different classifying ruless is set, makes user can from bulk information, find quickly and accurately the information of wanting.
For ease of understanding, with a specific embodiment, approaches to IM in the embodiment of the present invention is described below, refer to Fig. 2, in the embodiment of the present invention, another embodiment of approaches to IM comprises:
201, the classifying rules of configuration information and corresponding class number;
Existing approaches to IM, makes in terminal canned data disorderly and unsystematic, causes user to be difficult to from magnanimity information, find quickly and accurately the information of wanting.For example, the notice of meeting that certain company information platform sends, it is inconsistent that the information that different secretaries uses sends number, as using respectively 1065796709140074629,1065796709162165966 these two numbers, two secretaries send notice of meeting information, the unpack storage that existing approaches to IM can send these two numbers, the time sequencing receiving according to information, between the information that these two numbers send, may also can intert the information that some other numbers send, the information of so, inquiring about notice of meeting class to user has caused great inconvenience.
From example above, can find out, the transmission number of these information just after several inconsistent, and several above (10657967091) are identical, the content of information also has identical place in addition, such as all mentioning the words such as the said firm's title " XXX ", " meeting ".For example, and for other information, the advertising message that different businessmans send, although it is completely different to send number, has identical place in the inside.
Therefore, in the present embodiment, can classifying rules be set according to these features of information, the information that classifying rules can be set to contain preset number is a class, and/or the information that setting contains default keyword is a class.Set up information classification rule afterwards for each classifying rules arranges corresponding class number.For example:
Classifying rules 1: contain 10657967091 information, class number: arbitrary numbers (as 11);
Classifying rules 2: contain at least one the information in the keywords such as " purchasing by group ", " sales promotion ", " discounting ", " discount ", " preferential ", class number: arbitrary numbers (as 22);
Classifying rules 3: contain at least one the information in the keywords such as " bank ", " payment ", " transaction ", class number: arbitrary numbers (as 33).
In addition, same information may belong to different classifying ruless, therefore can be as required for each classifying rules arranges priority.
202, reading information, finds the classifying rules with information matches;
Terminal receives and reading information, and information is analyzed, and finds the classifying rules with information matches.For example, for classifying rules 1, terminal is judging in message sender number and the information content whether contain " 10657967091 ", if contain, thinks that this information mates with classifying rules 1, if do not have, continues to find.
203, the original number of information is set to the class number corresponding to classifying rules of coupling, and in the content of information the sender information of affix information;
If sender's number of information is 1065796709140074629, mate with classifying rules 1, the original number of this information of terminal is set to the class number 11 of classifying rules 1 correspondence so, and after the content of this information sender's number 1065796709140074629 or sender's name corresponding to this number of this information of affix.The same information that is 1065796709162165966 for sender's number, also meet classifying rules 1, the original number of this information also will be set to 11, after the content of this information by affix sender number 1065796709162165966 or sender's name corresponding to this number.
204, class number is deposited in telephone directory as contact number, and corresponding name of contact person is set for contact number;
If it is 2 information of 1065796709140074629 transmissions that terminal has been received sender's number, sender's number is 2 information of 1065796709162165966 transmissions, the original number of these 4 information all will be configured to class number 11 so, article 4, all can original sender information corresponding to affix after the content of information, the information that last terminal is replied these 4 information and corresponding terminal shows for 11 times at number in the mode of dialogue.
The mode that information directly shows under a certain number or inconvenient user check, therefore, in the present embodiment, the demonstration of information and telephone directory can be associated.Particularly, terminal can deposit in telephone directory class number as contact number, and in telephone directory for this contact number arranges corresponding name of contact person, so, in terminal, canned data finally may be displayed under name of contact person corresponding to class number, and user's information of searching can be more directly perceived.
For example, the information showing class number 11 times, these information are notices of meeting that secretary sends, therefore, name of contact person that can contact number 11 correspondences is set to " notice of meeting "; The information that is 22 for class number, these information are advertisements that businessman sends, and therefore, name of contact person that can contact number 22 correspondences is set to " junk information ", the information that is 33 for class number, name of contact person that can contact number 33 correspondences is set to " bank information ".
205, information is shown under name of contact person with conversation modes.
The information that final terminal replies to this contact person by the identical information of name of contact person and user is arranged and is shown according to time of reception order successively under this name of contact person, in the above example, information is the most at last in " notice of meeting " or " junk information " or " bank information " lower demonstration.
In addition, user can revise classifying rules as required, class number, name of contact person, or directly delete classifying rules.Delete after classifying rules, in terminal, canned data can show according to existing conversation modes.
Especially, if in step 202, a certain information is not mated with all classifying ruless, this information can be shown with existing conversation modes.
In the present embodiment, the original number that terminal meets the information of same classifying rules is set to the class number corresponding with this classifying rules, and in the content of every information the sender information of affix information, to facilitate user to check original sender information, then information is done associated with telephone directory, so that information is presented under set name of contact person with conversation modes, finally make user can from the bulk information of terminal storage, find quickly and accurately the information of wanting.
The terminal below embodiment of the present invention being provided is described, and refers to Fig. 3, and the embodiment of terminal in the embodiment of the present invention comprises:
Setting unit 301, for the classifying rules of configuration information and the class number corresponding with each classifying rules;
Matching unit 302, for reading information, finds the classifying rules with this information matches;
Processing unit 303, is set to the class number corresponding with the classifying rules of this information matches for the original number of information, and in the content of this information the sender information of this information of affix;
Display unit 304, for showing with conversation modes information under class number.
For ease of understanding, with a practical application scene, the interactive mode between each unit of the terminal in the present embodiment is described below:
Existing approaches to IM, makes in terminal canned data disorderly and unsystematic, causes user to be difficult to from bulk information, find quickly and accurately the information of wanting.Therefore, in the present embodiment, setting unit 301 can set in advance the classifying rules of information and the class number corresponding with each classifying rules, with the information being associated that jack per station is sent, merges management.
In terminal, receive after information, matching unit 302 reading informations, analyze information, find setting unit 301 that arrange with classifying rules this information matches.
As a rule, the number of information is for distinguishing different senders' important sign, and existing information session pattern display packing is that the different information that terminal sends same sender according to the number of information merge management.
The inconvenience bringing to user in view of existing this approaches to IM, in the present embodiment, processing unit 303 searches out after the classifying rules with information matches at matching unit 302, the original number of information is set to the class number corresponding with the classifying rules of this information matches, so, the information with certain association (meeting same classifying rules) that different senders send has identical class number, that is to say, after treated unit 303 is processed, the information that meets same classifying rules, its present information number is all identical, be all corresponding class number.
In order to facilitate user to check the original sender information of information, in the present embodiment, processing unit 303 is after the original number of information is set to the class number corresponding with the classifying rules of this information matches, affix sender information after the content that can show in this information, sender information can be sender's number of this information or sender's name of this information.
Display unit 304 is processed information later by processing unit 303 and is shown under corresponding class number with conversation modes.
In addition, if for certain information, matching unit 302 does not find the classifying rules with this information matches, and display unit 304 can show this information according to existing conversation modes.
In the present embodiment, setting unit is the classifying rules of configuration information and the class number corresponding with each classifying rules first, reading unit reading information, find the classifying rules with information matches, then the original number of processing unit information is set to the class number corresponding with the classifying rules of information matches, and in the content of information the sender information of affix information, last display unit shows with conversation modes information under class number.In the present embodiment, processing unit arranges according to setting unit the information merging management that different classifying ruless sends different senders, makes user can from bulk information, find quickly and accurately the information of wanting.
For the ease of understanding, with a specific embodiment, the terminal in the present invention is described below, refer to Fig. 4, in the embodiment of the present invention, another embodiment of terminal comprises:
Setting unit 401, for the classifying rules of configuration information and the class number corresponding with each classifying rules;
Matching unit 402, for reading information, finds the classifying rules with this information matches;
Processing unit 403, is set to the class number corresponding with the classifying rules of this information matches for the original number of information, and in the content of this information the sender information of this information of affix;
Telephone directory associative cell 404, for depositing class number in telephone directory as contact number, and in telephone directory for each contact number arranges corresponding name of contact person;
Display unit 405, for showing with conversation modes information under name of contact person;
Adjustment unit 406, for revising classifying rules, class number, name of contact person and deleting classifying rules.
For ease of understanding, with a practical application scene, the interactive mode between each unit of the terminal in the present embodiment is described below:
For convenience of description, please first consult the mode that in Fig. 5, existing information shows with conversation modes, as can be seen from Figure 5, on the information display interface of terminal, first number shows 2 information for 1065796709140074629 times, the 4th number also shows 2 information for 1065796709162165966 times, puts into the content of first number 1065796709140074629 rear demonstrations as shown in Figure 6, puts into the content of second number 1065796709162165966 rear demonstration as shown in Figure 7.
From Fig. 6 and Fig. 7, can know, these four information are all notice of meeting category informations that the conference centre of XXX company that receives of terminal sends, it is different that but the information of these four information sends number, so be separately to show under two numbers according to these four information of existing display mode (as Fig. 5), according to being also interspersed with other numbers between time of reception these two numbers of order successively, the information that user will search notice of meeting class in this case just need to be found successively at the display interface of Fig. 5, when in terminal, canned data quantity is huge, well imagine, will be very inconvenient.
Next introduce method of the present invention, in the present embodiment, for above-mentioned notice of meeting category information setting unit 401, can be set to by classifying rules: before number, comprising 10657967091 information is a class, can certainly be set to by classifying rules: the information that contains " XXX(Business Name) ", " meeting " these keywords is a class, then can class number corresponding to this classifying rules be set to 11, concrete method to set up can be as shown in Figure 5.
When terminal receives after above-mentioned four information, matching unit 402 reading informations, information is analyzed, then above-mentioned four information and the classifying rules of " including 10657961091 before number " are matched, processing unit 403 is arranged to the class number corresponding with the classifying rules of these four information matches (11) by the original number of these four information (1065796709140074629 and 1065796709162165966), that is, the present information number of these four information is all 11, for the ease of checking the original sender information of these four information, the original number of processing unit 403 meetings this information of affix after every information, then display unit 405 shows these four information 11 times in class number with conversation modes.Concrete display mode refers to Fig. 9, can see that number shows four information for 11 times.
Click enters the display interface of number 11, display effect after entering refers to Figure 10, can find out that these four information show according to the sequencing arrangement of time of reception, and after every information, have the original number of this information, so just the information of notice of meeting class be merged and managed.
These four information are presented at number 11 times, still directly perceived not, therefore, in the present embodiment, can information and telephone directory be associated by telephone directory associative cell 404, to improve display effect.
Particularly, in the present embodiment, telephone directory associative cell 404 can deposit class number 11 in telephone directory in, and for class number 11, corresponding name of contact person is set in telephone directory, and for example notice of meeting, arranges interface and can consult Figure 11.
After the processing of telephone directory associative cell 404, the information under 11 of being originally presented at will change into and being presented under " notice of meeting ", and the variation of concrete display effect please contrast Fig. 9 and Figure 12, and Figure 12 is the display effect after association.Through such processing, user just can check the information of all notice of meeting classes very easily.
In addition, the adjustment unit 406 in the present embodiment can be revised the classifying rules that arranges, class number, name of contact person etc. above, can also delete classifying rules, delete classifying rules after all information can show with existing conversation modes.
In the present embodiment, the original number that processing unit meets the information of same classifying rules is set to the class number corresponding with this classifying rules, and in the content of every information the sender information of affix information, to facilitate user to check original sender information, then telephone directory associative cell is done associated by information and telephone directory, so that information is presented under set name of contact person with conversation modes, finally make user can from the bulk information of terminal storage, find quickly and accurately the information of wanting.
Below the terminal in the embodiment of the present invention is further described, refers to Figure 13, in the embodiment of the present invention, another embodiment of terminal comprises: processor 1301 and display 1302.
Processor 1301 for, the classifying rules of configuration information and the class number corresponding with each classifying rules; Reading information, finds the classifying rules with this information matches; The original number of information is set to the class number corresponding with the classifying rules of this information matches, and in the content of this information the sender information of this information of affix;
Display 1302 for, information is shown under class number with conversation modes.
In addition, processor 1301 is also for depositing class number in telephone directory as contact number, and in telephone directory for each contact number arranges corresponding name of contact person, so that display 1302 shows with conversation modes information at name of contact person, particularly, the information showing on display 1302 can be arranged according to information time of reception order successively.
The method of the classifying rules of processor 1301 configuration informations is specially: it is a class that the information that contains preset number is set, and/or the information that setting contains default keyword is a class.
In addition, processor 1031 also for, revise classifying rules, class number, name of contact person and delete classifying rules.Delete after classifying rules, display 1032 shows information with existing conversation modes display mode.
In the present embodiment, processor is the classifying rules of configuration information and the class number corresponding with each classifying rules first, after reading information, information is analyzed, find the classifying rules with information matches, the original number of information is set to the class number corresponding with the classifying rules of information matches, and in the content of information the sender information of affix information, last display shows information with conversation modes.In the present embodiment, the information merging management that terminal sends different senders by different classifying ruless is set, makes user can from the bulk information of terminal storage, find quickly and accurately the information of wanting.
It should be noted that in addition, device embodiment described above is only schematic, the wherein said unit as separating component explanation can or can not be also physically to separate, the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in a plurality of network element.Can select according to the actual needs some or all of module wherein to realize the object of the present embodiment scheme.In addition, in device embodiment accompanying drawing provided by the invention, the annexation between module represents to have communication connection between them, specifically can be implemented as one or more communication bus or holding wire.Those of ordinary skills, in the situation that not paying creative work, are appreciated that and implement.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add essential common hardware by software and realize, and can certainly comprise that application-specific integrated circuit (ASIC), dedicated cpu, private memory, special-purpose components and parts etc. realize by specialized hardware.Generally, all functions being completed by computer program can realize with corresponding hardware at an easy rate, and the particular hardware structure that is used for realizing same function can be also diversified, such as analog circuit, digital circuit or special circuit etc.But software program realization is better execution mode under more susceptible for the purpose of the present invention condition.Understanding based on such, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium can read, as the floppy disk of computer, USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) method described in each embodiment of execution the present invention.
A kind of approaches to IM and the terminal that above the embodiment of the present invention are provided are described in detail, for one of ordinary skill in the art, thought according to the embodiment of the present invention, all will change in specific embodiments and applications, therefore, this description should not be construed as limitation of the present invention.