Summary of the invention
Embodiments provide a kind of approaches to IM and terminal, make user can find the information wanted quickly and accurately from the information of terminal storage.
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.
In conjunction with the first aspect of 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 stored in telephone directory, and for described contact number arranges corresponding name of contact person in described telephone directory, show under described name of contact person with conversation modes to make described information.
In conjunction with the first aspect of 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: the information arranged containing preset number is a class, and/or the information arranged containing the keyword preset is a class.
In conjunction with the second execution mode of 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 according to time of reception order successively and shown.
The second aspect of the embodiment of the present invention provides a kind of terminal, and described terminal comprises: setting unit, for classifying rules and the class number corresponding with described classifying rules of configuration information;
Matching unit, for reading information, finds the described classifying rules with described information matches;
Processing unit, for 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 unit, for showing described information with conversation modes under described class number.
In conjunction with the second aspect of 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 using described class number as contact number stored in telephone directory, and for described contact number arranges corresponding name of contact person in described telephone directory, show under described name of contact person with conversation modes to make described information.
In conjunction with the second aspect of 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: the information arranged containing preset number is a class, and/or the information arranged containing the keyword preset is a class.
In conjunction with the second execution mode of 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, 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 according to time of reception order successively and shows.
The embodiment of the present invention third aspect provides a kind of terminal, described terminal comprises processor, for classifying rules and the class number corresponding with described classifying rules of configuration information, 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 described information with conversation modes under described class number.
In conjunction with the third aspect of 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: using described class number as contact number stored in telephone directory, and for described contact number arranges corresponding name of contact person in described telephone directory, to make described display, described information is shown under described name of contact person with conversation modes.
In conjunction with the third aspect of 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: the information arranged containing preset number is a class, and/or the information arranged containing the keyword preset is a class.
In conjunction with the second execution mode of 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 according to time of reception order successively and shows.
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 different senders sends by arranging different classifying ruless by terminal, makes user can find the information wanted quickly and accurately from the bulk information of terminal storage.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiments provide a kind of approaches to IM and terminal, user can be made can to find the information wanted quickly and accurately.
Refer to Fig. 1, in the embodiment of the present invention, approaches to IM embodiment comprises:
101, the classifying rules of configuration information and the class number of correspondence;
Existing approaches to IM, makes the information clutter stored in terminal without chapter, causes user to be difficult to from bulk information, find the information wanted quickly and accurately.Therefore, in the present embodiment, terminal can pre-set the classifying rules of information and the class number corresponding with each classifying rules, merges management with the information be associated sent by jack per station.
102, read information, find the classifying rules with information matches;
Terminal receives and reads information, analyzes information, finds the classifying rules with information matches.
103, the original number of information is set to the class number corresponding to classifying rules of mating, and in the content of information the sender information of affix information;
As a rule, the number of information is used to the important mark distinguishing different sender, and the different information that same sender sends according to the number of information by existing information session pattern display packing and terminal merge management.
In view of the inconvenience that existing this approaches to IM brings to user, in the present embodiment, terminal is after searching out the classifying rules 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 (meeting same classifying rules) with necessarily association that different sender sends has identical class number, that is, the information of same classifying rules is met after setting up, its present information number is all identical, is namely all corresponding class number.
Conveniently user checks 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, can after the content of this information displaying affix sender 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 processes, the information number belonging to the different information of same classifying rules present is all identical, and be namely all corresponding class number, then these information show under the class number of correspondence with conversation modes by terminal.
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 different senders sends by arranging different classifying ruless by terminal, makes user can find the information wanted quickly and accurately from bulk information.
For ease of understanding, be described approaches to IM in the embodiment of the present invention with a specific embodiment 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 the class number of correspondence;
Existing approaches to IM, makes the information clutter stored in terminal without chapter, causes user to be difficult to from magnanimity information, find the information wanted quickly and accurately.Such as, the notice of meeting that certain company information platform sends, it is inconsistent that the information that different secretaries uses sends number, as two secretaries use 1065796709140074629,1065796709162165966 these two numbers to send notice of meeting information respectively, the unpack that these two numbers send can store by existing approaches to IM, according to the time sequencing of receives information, the information that some other numbers send also may can be interted between the information that these two numbers send, so, the information of inquiring about notice of meeting class to user causes great inconvenience.
As can be seen from example above, 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 can mention the word such as the said firm's title " XXX ", " meeting ".Such as, and for other information, the advertising message that different businessman sends, although it is completely different to send number, has identical place in the inside.
Therefore, in the present embodiment, can arrange classifying rules according to these features of information, the classifying rules information that can be set to containing preset number is a class, and/or the information arranged containing preset keyword is a class.For each classifying rules arranges corresponding class number after setting up information classification rule.Such as:
Classifying rules 1: containing the information of 10657967091, class number: arbitrary numbers (as 11);
Classifying rules 2: containing the information of at least one in the keyword such as " purchasing by group ", " sales promotion ", " discounting ", " discount ", " preferential ", class number: arbitrary numbers (as 22);
Classifying rules 3: containing the information of at least one in the keyword such as " bank ", " payment ", " transaction ", class number: arbitrary numbers (as 33).
In addition, same information may belong to different classifying ruless, therefore can arrange priority for each classifying rules as required.
202, read information, find the classifying rules with information matches;
Terminal receives and reads information, analyzes information, finds the classifying rules with information matches.Such as classifying rules 1, terminal will judge whether contain " 10657967091 " in message sender number and the information content, if contain, then think that this information is mated with classifying rules 1, if do not have, then continue to find.
203, the original number of information is set to the class number corresponding to classifying rules of mating, 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, so the original number of this information is set to the class number 11 of classifying rules 1 correspondence by terminal, and after the content of this information sender's number 1065796709140074629 of this information of affix or sender's name corresponding to this number.Same is the information of 1065796709162165966 for sender's number, also classifying rules 1 is met, the original number of this information also will be set to 11, by affix sender number 1065796709162165966 or sender's name corresponding to this number after the content of this information.
204, using class number as contact number stored in telephone directory, and corresponding name of contact person is set for contact number;
If terminal have received 2 information that sender's number is 1065796709140074629 transmissions, sender's number is 2 information of 1065796709162165966 transmissions, so the original number of these 4 information all will be configured to class number 11, article 4, all can original sender information corresponding to affix after the content of information, the information of the terminal replies of these 4 information and correspondence shows for 11 times at number by last terminal in the dialog.
The mode that information directly shows under a certain number or inconvenient user check, therefore, in the present embodiment, the display of information can be associated with telephone directory.Particularly, terminal can using class number as contact number stored in telephone directory, and in the phonebook for this contact number arranges corresponding name of contact person, so, under the information stored in terminal finally may be displayed on name of contact person corresponding to class number, user's information of searching can be more directly perceived.
Such as, in the information of class number 11 times displays, these information are notices of meeting that secretary sends, and therefore, the name of contact person of contact number 11 correspondence can be set to " notice of meeting "; Be the information of 22 for class number, these information are advertisements that businessman sends, and therefore, the name of contact person of contact number 22 correspondence can be set to " junk information ", be the information of 33 for class number, the name of contact person of contact number 33 correspondence can be set to " bank information ".
205, information is shown under name of contact person with conversation modes.
The information that information identical for name of contact person and user are replied to this contact person by final terminal shows according to time of reception order successively under this name of contact person, in the above example, information shows the most at last under " notice of meeting " or " junk information " or " bank information ".
In addition, user can revise classifying rules as required, class number, name of contact person, or directly deletes classifying rules.After deleting classifying rules, the information stored in terminal can show according to existing conversation modes.
Especially, if in step 202, a certain information is not mated with all classifying ruless, then this information can be shown with existing conversation modes.
In the present embodiment, the original number of the information meeting same classifying rules is set to the class number corresponding with this classifying rules by terminal, and in the content of every bar information the sender information of affix information, original sender information is checked to facilitate user, then information associates with telephone directory, under being presented at set name of contact person to make information with conversation modes, finally make user can find the information wanted quickly and accurately from the bulk information of terminal storage.
Be described the terminal that the embodiment of the present invention provides below, refer to Fig. 3, the embodiment of the terminal in the embodiment of the present invention comprises:
Setting unit 301, for classifying rules and the class number corresponding with each classifying rules of configuration information;
Matching unit 302, for reading information, finds the classifying rules with this information matches;
Processing unit 303, for 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 unit 304, for showing information with conversation modes 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 the information clutter stored in terminal without chapter, causes user to be difficult to from bulk information, find the information wanted quickly and accurately.Therefore, in the present embodiment, setting unit 301 can pre-set the classifying rules of information and the class number corresponding with each classifying rules, merges management with the information be associated sent by jack per station.
After terminal receives information, matching unit 302 reads information, analyzes information, find that setting unit 301 arranges with the classifying rules of this information matches.
As a rule, the number of information is used to the important mark distinguishing different sender, and the different information that same sender sends according to the number of information by existing information session pattern display packing and terminal merge management.
In view of the inconvenience that existing this approaches to IM brings to user, in the present embodiment, processing unit 303 is after matching unit 302 searches out the classifying rules 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 (meeting same classifying rules) with necessarily association that different sender sends has identical class number, that is, after treated unit 303 processes, meet the information of same classifying rules, its present information number is all identical, namely be all corresponding class number.
Conveniently user checks the original sender information of information, in the present embodiment, processing unit 303 is after being set to the class number corresponding with the classifying rules of this information matches by the original number of information, can after the content of this information displaying affix sender information, sender information can be sender's number of this information or sender's name of this information.
Information after processing unit 303 processes by display unit 304 shows under the class number of correspondence with conversation modes.
In addition, if for certain information, matching unit 302 does not find the classifying rules with this information matches, then this information can show according to existing conversation modes by display unit 304.
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 reads 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 by processing unit, and in the content of information the sender information of affix information, information shows under class number with conversation modes by last display unit.In the present embodiment, processing unit arranges according to setting unit the information that different senders sends by different classifying ruless and merges management, makes user can find the information wanted quickly and accurately from bulk information.
For the ease of understanding, be described the terminal in the present invention with a specific embodiment below, refer to Fig. 4, in the embodiment of the present invention, another embodiment of terminal comprises:
Setting unit 401, for classifying rules and the class number corresponding with each classifying rules of configuration information;
Matching unit 402, for reading information, finds the classifying rules with this information matches;
Processing unit 403, for 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;
Telephone directory associative cell 404, for using class number as contact number stored in telephone directory, and in the phonebook for each contact number arranges corresponding name of contact person;
Display unit 405, for showing information with conversation modes 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, 4th number also shows 2 articles of information for 1065796709162165966 times, and the content putting display after first number 1065796709140074629 as shown in Figure 6, puts the content of display after second number 1065796709162165966 as shown in Figure 7.
Can know from Fig. 6 and Fig. 7, these four information are all the notice of meeting category informations of conference centre of the XXX company transmission that terminal receives, but it is different that the information of these four information sends number, so be separately show under two numbers according to these four information of existing display mode (as Fig. 5), other numbers are also interspersed with according between these two numbers of order of time of reception priority, in this case the information that user will search notice of meeting class just needs to find successively at the display interface of Fig. 5, when the information content stored in terminal is huge time, well imagine, will be very inconvenient.
Next method of the present invention is introduced, classifying rules can be set to for above-mentioned notice of meeting category information setting unit 401 in the present embodiment: the information comprising 10657967091 before number is a class, classifying rules can certainly be set to: the information containing " XXX(Business Name) ", " meeting " these keywords is a class, then class number corresponding for this classifying rules can be set to 11, concrete method to set up can be as shown in Figure 5.
After terminal receives above-mentioned four information, matching unit 402 reads information, information is analyzed, then the classifying rules of above-mentioned four information with " including 10657961091 before number " is matched, the original number (1065796709140074629 and 1065796709162165966) of these four information is arranged to the class number (11) corresponding with the classifying rules of these four information matches by processing unit 403, 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 meeting this information of affix after every bar information, then these four information show with conversation modes for 11 times in class number by display unit 405.Concrete display mode refers to Fig. 9, can see that number shows four information for 11 times.
Click the display interface entering number 11, display effect after entering refers to Figure 10, can find out that these four information show according to the sequencing of time of reception, and have the original number of this information after every bar information, so just the information of notice of meeting class be merged and managed.
These four information displaying are number 11 times, still directly perceived not, therefore, in the present embodiment, information can be associated with telephone directory, to improve display effect by telephone directory associative cell 404.
Particularly, in the present embodiment, telephone directory associative cell 404 can by class number 11 stored in telephone directory, and be that class number 11 arranges corresponding name of contact person in the phonebook, and such as notice of meeting, arranges interface and can consult Figure 11.
After the process of telephone directory associative cell 404, under the information be presented under 11 will change into and be presented at " notice of meeting " originally, the change of concrete display effect please contrast Fig. 9 and Figure 12, and Figure 12 is the display effect after association.Through such process, 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 revise the classifying rules, class number, name of contact person etc. that arrange above, can also delete classifying rules, and after deleting classifying rules, all information can show with existing conversation modes.
In the present embodiment, the original number of the information meeting same classifying rules is set to the class number corresponding with this classifying rules by processing unit, and in the content of every bar information the sender information of affix information, original sender information is checked to facilitate user, then information associates with telephone directory by telephone directory associative cell, under being presented at set name of contact person to make information with conversation modes, finally make user can find the information wanted quickly and accurately from the bulk information of terminal storage.
Be further described the terminal in the embodiment of the present invention below, refer 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 also for using class number as contact number stored in telephone directory, and in the phonebook for each contact number arranges corresponding name of contact person, to make display 1302, information is shown at name of contact person with conversation modes, particularly, on display 1302, the information of display can arrange according to the order of receives information time order and function.
The method of the classifying rules of processor 1301 configuration information is specially: the information arranged containing preset number is a class, and/or the information arranged containing the keyword preset is a class.
In addition, processor 1031 also for, amendment classifying rules, class number, name of contact person and delete classifying rules.After deleting classifying rules, information shows with existing conversation modes display mode by display 1032.
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, information shows with conversation modes by last display.In the present embodiment, the information merging management that different senders sends by arranging different classifying ruless by terminal, makes user can find the information wanted quickly and accurately from the bulk information of terminal storage.
It should be noted that in addition, device embodiment described above is only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs 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 skill in the art, when not paying creative work, are namely 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 required common hardware by software and realize, and can certainly comprise application-specific integrated circuit (ASIC), dedicated cpu, private memory, special components and parts etc. realize by specialized hardware.Generally, all functions completed by computer program can realize with corresponding hardware easily, and the particular hardware structure being used for realizing same function also can be diversified, such as analog circuit, digital circuit or special circuit etc.But under more susceptible for the purpose of the present invention condition, software program realizes is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in the storage medium that can read, as the floppy disk of computer, USB flash disk, portable hard drive, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform method described in the present invention each embodiment.
A kind of approaches to IM provided the embodiment of the present invention above and terminal are described in detail, for one of ordinary skill in the art, according to the thought of 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.