CN102591980B - Method and system used for classifying image files in instant messaging - Google Patents
Method and system used for classifying image files in instant messaging Download PDFInfo
- Publication number
- CN102591980B CN102591980B CN201210002224.7A CN201210002224A CN102591980B CN 102591980 B CN102591980 B CN 102591980B CN 201210002224 A CN201210002224 A CN 201210002224A CN 102591980 B CN102591980 B CN 102591980B
- Authority
- CN
- China
- Prior art keywords
- thumbnail
- image information
- information
- instant communication
- order
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
The invention provides a method and a system used for classifying image files in instant messaging, belonging to the technical field of computers and software. The method comprises the following steps: collecting instant messaging information transmitted by an instant messaging tool, judging whether the information type is image information or not, if so, utilizing the image information to generate a corresponding thumbnail, establishing a mapping relationship between the thumbnail and a storage path of the image information, and storing the mapping relationship; classifying the thumbnail of the image information, and outputting the thumbnail of the image information in the instant messaging tool; and collecting triggering operation information specific to the thumbnail, recalling an original image corresponding to the thumbnail for outputting, and/or recalling an instant messaging information record corresponding to the thumbnail for outputting. In the invention, the method and the system are utilized, so that the image information in the instant messaging information can be classified and output in a thumbnail manner, a user can check the original image information by the thumbnail and the context corresponding to the original image information.
Description
Technical field
The invention belongs to computer, software technology field.
Background technology
Application with JICQ is increasingly extensive, and carrying out information communication by JICQ has become people
Carry out a kind of important way of communication for information.User can be realized with contact person timely and effectively by network instant communication instrument
Link up.
During the network user is linked up with contact person using JICQ, not only need mode word
Communication, is also required to other communication way, the transmission of for example various self-defined expressions and various picture can be very big simultaneously
The interest that abundant user links up, at present various JICQs generally there is the work(supporting self-defined expression and picture transfer
Energy.
In prior art, instant communication users want to look up the image information of transmission and certain contact person between, need head
First open the Message Record window with this contact person, then search the image letter being transmitted across again from substantial amounts of message record content
Breath, operating process is relatively complicated time-consuming.
Therefore, being currently needed for the urgent technical problem solving of those skilled in the art is exactly:Develop and be more easily
The classifying mode of Shi Tongxin image information, with facilitate user be directed to instant messaging exchange in image information make a look up with clear
Look at.
Content of the invention
It is an object of the invention to, provide in a kind of instant messaging in order to carry out the method and system of image file classification.
Using the present invention, the image informations such as the icon in instant communication message, picture, video are carried out statistics and sorts out, and in IMU
Exported in the form of thumbnail in letter instrument, original image can be checked when user's triggering thumbnail, or original image pair
The Message Record context answered.User is made to check that the operation of image information in instant communication message is more convenient.
The technical scheme that the present invention provides includes:
A kind of method in order to carry out image file classification in instant messaging, the method comprises the steps:
Step 1, is gathered the instant communication message being transmitted by JICQ, judges whether this type of message is image
Information, if then execute next step, if it is not, then terminating;
Step 2, generates corresponding thumbnail using described image information, and the preservation road by this thumbnail and image information
Mapping relations are set up in footpath, are preserved;
Step 3, the thumbnail of described image information is sorted out, and exports in JICQ;
Step 4, collection is directed to the trigger action information of aforementioned thumbnail, recalls the corresponding original image of this thumbnail and enters
Row exports, and/or the instant communication message record recalling corresponding to this thumbnail is exported.
Preferably, described image information includes icon, picture, animation, video, multi-medium data form.
Preferably, in described step 1, judge that whether this type of message is that the process of image information is:
Recipient's client receives instant communication message packet, it is deciphered after parsing, extracts message class therein
Type-word section;
According to the message type field being extracted, judge whether described type of message is image information.
Preferably, in described step 2, the storing path of image information is the storing path of instant communication message system default
Or user is directed to image information execution and is separately stored to corresponding storing path during destination path.
Preferably, described step 2 also includes obtaining the timestamp information of described image information.
Preferably, the timestamp of described image information is, client sends or receives time during described image information.
Preferably, using described image information generate corresponding thumbnail when, using the timestamp of described image information as
The timestamp of its thumbnail generating.
Preferably, in described step 2 using the process that described image information generates corresponding thumbnail it is:
When described image information is picture or icon data form, judge whether described picture or the size of icon meet
Pre-set dimension scope;
If meeting pre-set dimension scope, directly using described image information as thumbnail;
If being unsatisfactory for pre-set dimension scope, according to the pre-set dimension of thumbnail, described image information is calculated through overcompression
Corresponding thumbnail is generated after method.
Preferably, in described step 2 using the process that described image information generates corresponding thumbnail it is:
When described image information is animation, video or multi-medium data form, obtain one from corresponding view data
Image content more than frame or a frame;
The image content that will obtain, according to the pre-set dimension of thumbnail, generates corresponding thumbnail after compression algorithm.
Preferably, the mode in described step 3, the thumbnail of described image information sorted out include following at least its
One:
According to described image information, corresponding contact person is sorted out;
Data form according to described image information is sorted out;
Sorted out according to date-time during described image information transfer.
Preferably, the mode bag in described step 3, the thumbnail of described image information being exported in JICQ
Include following at least one:
Arrange to check the control of thumbnail in the function bar of instant messaging main panel, by triggering the output of this control
Thumbnail;
The position that correspond to contact person's ITEM item in instant communication contact list is arranged in order to check the control of thumbnail
Part, by triggering the thumbnail that the output of this control is associated with this contact person;
The thumbnail that contact person corresponding with this interactive interface is associated is exported in instant communication interaction interface.
Preferably, the described contracting that output contact person corresponding with this interactive interface is associated in instant communication interaction interface
Sketch map includes the mode of one of:
Instant communication interaction interface correspond at the position of contact object place title bar, export and this contact person
The thumbnail of association;
In top or bottom or the sidepiece of instant communication interaction interface Output bar, export the breviary associating with this contact person
Figure;
Arrange to check the control of the thumbnail associating with this contact person in the function bar at instant communication interaction interface,
By triggering the thumbnail that the output of this control is associated with this contact person.
Preferably, recalling the process that the corresponding original image of this thumbnail exported in described step 4 is:
According to the mapping relations between thumbnail and image information storing path, obtain the corresponding original image of thumbnail
Storing path;
According to the storing path of the original image obtaining, transfer corresponding image information and exported.
Preferably, recall the process that the instant communication message record corresponding to this thumbnail is exported in described step 4
For:
According to the corresponding associated person information of described thumbnail, obtain the instant communication message record of user and this contact person;
According to the timestamp information of described thumbnail, the instant communication message record obtaining is traveled through;
Obtain the instant communication message record consistent with thumbnail timestamp information to be exported.
The present invention also provides in order to carry out the system of image file classification in a kind of instant messaging, and this system includes:
Image information judging unit, in order to gather the instant communication message receiving, judges whether this type of message is figure
As information;
Thumbnail signal generating unit, is connected with described image information judging unit, in order in described image information judging unit
When judging type of message for image information, generate corresponding thumbnail using described image information, and by this thumbnail and image
The storing path of information sets up mapping relations, is preserved;
Thumbnail sorts out unit, is connected with described thumbnail signal generating unit, in order to enter the thumbnail of described image information
Row is sorted out, and exports in JICQ;
Related information output unit, sorts out unit with described thumbnail and is connected, tactile for described thumbnail when collecting
When sending out operation information, exported in order to recall the corresponding original image of this thumbnail, and/or recalled corresponding to this thumbnail
Instant communication message record is exported.
Preferably, described related information output unit includes:
Original image output module, for when receiving the trigger action information being directed to aforementioned thumbnail, recalling this
The corresponding original image of thumbnail is exported;
Association messages output module, for when receiving the trigger action information being directed to aforementioned thumbnail, recalling this
Instant communication message record corresponding to thumbnail is exported.
Compared with prior art, beneficial effects of the present invention are as follows:
(1) it is directed to the message content exchanging by JICQ, obtain image information therein, and for acquisition
Image information is sorted out, and is exported, when user triggers thumbnail by mouse in the form of thumbnail in JICQ
When can check original image, facilitate user search history image record.
(2) be directed to and sorted out by the image information that JICQ exchanges, and with breviary diagram form in sight when logical
The mode of output in letter instrument, we are bright to additionally provide the scheme checking related news record by thumbnail, user's triggering contracting
The context message content related to the corresponding original image of this thumbnail can be checked during sketch map, make user pass through image information
Check that the operating process of association messages is convenient.
Brief description
In order to carry out the method stream of image file classification in a kind of instant messaging that Fig. 1 provides for first embodiment of the invention
Cheng Tu;
Fig. 2 is to arrange to check the control of thumbnail in the function bar of instant messaging main panel in the embodiment of the present invention
Schematic diagram;
Fig. 3 is the schematic diagram of thumbnail output interface in the embodiment of the present invention;
Fig. 4 is the position setting that correspond to contact person's ITEM item in the embodiment of the present invention in instant communication contact list
In order to check the schematic diagram of the control of thumbnail;
Fig. 5 is the schematic diagram exporting thumbnail in the embodiment of the present invention in instant communication interaction interface;
In order to carry out the method stream of image file classification in a kind of instant messaging that Fig. 6 provides for second embodiment of the invention
Cheng Tu;
In order to carry out the method stream of image file classification in a kind of instant messaging that Fig. 7 provides for third embodiment of the invention
Cheng Tu;
Show in order to carry out the system of image file classification in a kind of instant messaging that Fig. 8 provides for fourth embodiment of the invention
It is intended to.
Specific embodiment
With reference to the accompanying drawings and detailed description embodiment of the present invention is described in further detail.
Referring to Fig. 1, in order to carry out image file classification in a kind of instant messaging providing for first embodiment of the invention
Method flow diagram, comprises the following steps that described.
S11, gathers the instant communication message transmitting by JICQ, judges whether this type of message is image letter
Breath, if then execution step S12, if it is not, then terminate;
Described image information includes multiple view data form such as icon, picture, animation, video, multimedia.At present
Network instant communication instrument to the process that image information is transmitted is:Send client when sending image information, sending
The type of message specifying this packet in message packets is to send image message;Recipient's client receives this packet, right
It is decrypted and parses operation, extracts message type field therein, if type of message is ordinary text message, connects
Receive client and directly display the ordinary text message receiving, if type of message is image message, receives client and utilize
IP address in packet and PORT port are opened corresponding TCP and are connected socket, enter with the TCP socket of sender's client
Row connects, and carries out the reception of view data bag after successful connection, after receiving success, receives client in message window to reception
To image shown.
Recipient's client, according to the message type field in message packets, judges whether this type of message is image letter
Breath, if then execute next step.
S12, generates corresponding thumbnail using described image information, and the storing path by this thumbnail and image information
Set up mapping relations, preserved;
Using the process that described image information generates corresponding thumbnail it is:Judge the data mode of described image information,
When described image information is picture or icon data form, judge whether described picture or the size of icon meet pre-set dimension
Scope;If meeting pre-set dimension scope, directly using described image information as thumbnail;If being unsatisfactory for pre-set dimension scope,
The then pre-set dimension according to thumbnail, described image information is generated corresponding thumbnail after compression algorithm.
Here pre-set dimension scope can be the picture size size of the acquiescence of system setting, also dependent on user itself
Demand, arrange pre-set dimension scope.Thumbnail is all to be obtained after compression algorithm according to original picture, except size
Size different outer, the image of thumbnail itself does not have difference, simply larger-size thumbnail have accordingly higher
Definition.
It is noted that when described image information is icon, size all very littles of general icon, when icon size exists
When within the scope of pre-set dimension, this icon does not then need any compression to process, you can directly as corresponding thumbnail.
When described image information is animation, video or multi-medium data form, then need from corresponding view data
Obtain the image content of more than a frame or a frame;The image content that will obtain, according to the pre-set dimension of thumbnail, calculates through overcompression
Corresponding thumbnail is generated after method.When only obtaining a frame image content, that is, by the thumbnail of this static images be used as animation,
Video or the form of expression of multi-medium data;When obtaining the picture of more than two frames or two frames, can be by alternately showing different figures
The thumbnail of piece is as the form of expression of animation, video or multi-medium data.
When recipient's client is received, image information can be saved in the preservation of system default for image information
In path, or execution is separately stored to the operation of destination path, and image information is saved in destination path.By image in this step
The storing path of the thumbnail of information and image information sets up mapping relations, is associated preserving.
S13, the thumbnail of described image information is sorted out, and exports in JICQ;
The mode that the thumbnail of described image information is sorted out includes following several:
Mode 1, according to described image information, corresponding contact person is sorted out;
Two clients, respectively subscription client and contact be correspond to by the image information that JICQ transmits
Image information, when subscription client is sorted out for image information, can be categorized in corresponding contact person by people's client
In, such as between user and contact person " Mary ", the image information of transmission, that is, be categorized in the corresponding list of contact person " Mary ",
The image of transmission is then categorized in the corresponding list of other contact persons between other contact persons.
Mode 2, the data form according to described image information is sorted out;
Described image information includes multiple view data form such as icon, picture, animation, video, multimedia, can root
Go up different data forms according to this to be sorted out.For example iconic format is classified as a class;Picture is classified as a class, video format is returned
For class etc., thus facilitating user to check the image information of different data format.
Mode 3, is sorted out according to date-time during described image information transfer.
The image information transmitted in same date is categorized in the corresponding list of this date, thus facilitate user according to when
Between the date search image information.
The mode that the thumbnail of described image information exports in JICQ includes following several:
Mode 1, arranges to check the control of thumbnail, by triggering this control in the function bar of instant messaging main panel
Part exports thumbnail;
Referring to Fig. 2, illustrate showing of the control arranging to check thumbnail in the function bar of instant messaging main panel
It is intended to.As illustrated, including contacts list 110 and function bar 120 in instant messaging main panel 100, in function bar 120
In include to check the control button 130 of thumbnail.When user passes through click control button 130, that is, assume contracting
Sketch map output interface 140, referring to Fig. 3, illustrates the schematic diagram of thumbnail output interface 140.As shown in figure 3, thumbnail output
Interface 140 includes associated person information hurdle 141 and thumbnail Output bar 142, the image letter of output in thumbnail Output bar 142
Breath is sorted out according to associated person information, when triggering certain contact person in associated person information hurdle 141 by mouse, then
In thumbnail Output bar 142, the thumbnail information of output is the image information being associated with this contact person.In addition, exported
Thumbnail information also can be sorted out according to iconic format or date-time.
Mode 2, the position that correspond to contact person's ITEM item in instant communication contact list is arranged in order to check breviary
The control of figure, by triggering the thumbnail that the output of this control is associated with this contact person;
Referring to Fig. 4, illustrate correspond in instant communication contact list the position setting of contact person's ITEM item in order to
Check the schematic diagram of the control of thumbnail.As illustrated, in corresponding contacts list 110 in instant messaging main panel 100, exhibition
Show the contact object of user, wherein each contact object is to should have toggle area, as illustrated, rectangular area 112
It is the corresponding toggle area of contact person " Linking ", ITEM the item such as pet name, identification code, the head portrait figure of contact person " Linking "
The information such as mark are shown in corresponding toggle area, and the control button 130 in order to check thumbnail is arranged on described touching
Send out in region.When the control button 130 described in user passes through click, you can check the breviary being associated with this contact person
Figure.
Mode 3, exports the thumbnail that contact person corresponding with this interactive interface is associated in instant communication interaction interface.
Referring to Fig. 5, illustrate the schematic diagram exporting thumbnail in instant communication interaction interface.As illustrated, instant
The mode exporting thumbnail in communication interaction interface 200 includes following several situation:
It is possible, firstly, to correspond to defeated at the position of contact object place title bar 210 in instant communication interaction interface
Go out thumbnail.
Secondly, thumbnail can also be exported in the top of instant communication interaction interface Output bar 220 or bottom or sidepiece;
Furthermore it is also possible to arrange to check the control button of thumbnail in the function bar at instant communication interaction interface
130, when user passes through this control button 130 of click, you can check the thumbnail associating with this contact person.
The above-mentioned mode exporting thumbnail in instant communication interaction interface, the thumbnail being exported is and this instant messaging
The image information that the corresponding contact person of interactive interface is associated.
S14, collection is directed to the trigger action information of aforementioned thumbnail, according to thumbnail and image information storing path
Mapping relations, recall image information;
For the thumbnail of output in JICQ, when collecting user, described thumbnail is triggered by mouse
When, then according to the mapping relations between thumbnail and image information storing path, obtain the guarantor of the corresponding image information of thumbnail
Deposit path;According to the storing path of the image information obtaining, transfer corresponding image information.
S15, the image information recalling is exported in JICQ.
Using the related api function of image in system, the position that the image information recalling be correspond to thumbnail carries out defeated
Go out.
In method described in the present embodiment, it is acquired for the image information in instant communication message, and with thumbnail
Form carry out sort out output after, user can by breviary diagram form fully understand instant messaging in image information, also may be used
Check corresponding original image information by triggering thumbnail, thus facilitating the image letter that user checks in instant communication message
Breath.
In method described in the present embodiment, the image information except receiving for client is acquired and sorts out, and also may be used
The image information sending for client carries out image file classification, and its implementation process and such scheme are identicals, simply exist
It is acquired from the instant communication message that client sends during collection image information, here is omitted.
Referring to Fig. 6, in order to carry out image file classification in a kind of instant messaging providing for second embodiment of the invention
Method flow diagram, comprises the following steps that described.
S21, gathers the instant communication message transmitting by JICQ, judges whether this type of message is image letter
Breath, if then execution step S22, if it is not, then terminate;
Recipient's client receives instant communication message packet, it is deciphered after parsing, extracts message class therein
Type-word section;According to the message type field being extracted, judge whether described type of message is image information.
S22, according to the time sending or receiving described image information, is described image information setting timestamp;
The timestamp of described image information can be that sender's client sends the time value of image information or connects
Debit's client receives the time value of image information.
S23, generates corresponding thumbnail using described image information, and the storing path by this thumbnail and image information
Set up mapping relations, preserved;
When described image information is picture or icon data form, judge whether described picture or the size of icon meet
Pre-set dimension scope;If meeting pre-set dimension scope, directly using described image information as thumbnail;If being unsatisfactory for default chi
Very little scope, then the pre-set dimension according to thumbnail, described image information is generated corresponding thumbnail after compression algorithm.
When described image information is animation, video or multi-medium data form, obtain one from corresponding view data
Image content more than frame or a frame;The image content that will obtain, according to the pre-set dimension of thumbnail, raw after compression algorithm
Become corresponding thumbnail.
S24, the thumbnail of described image information is sorted out, and exports in JICQ;
The mode that the thumbnail of described image information is sorted out includes:According to the corresponding contact of described image information
People is sorted out;Data form according to described image information is sorted out;During according to date during described image information transfer
Between sorted out.
S25, collection is directed to the trigger action information of aforementioned thumbnail, according to thumbnail and image information storing path
Mapping relations, recall image information;
According to the mapping relations between thumbnail and image information storing path, obtain the corresponding original image of thumbnail
Storing path;According to the storing path of the original image obtaining, transfer corresponding image information.
S26, according to the timestamp of the image information recalling, obtains image information corresponding instant communication message record and carries out
Output.
According to the timestamp of image information, obtain the time value receiving or sending this image information, according to time value and
The corresponding associated person information of image information, you can obtain user and respective contacts carry out the message of instant messaging in this time value
Content.API bottom function in the windows operating system being located by client obtains the sentence of Message Record display window
Handle, then sends windows and adds text message, directly the message content obtaining is shown in the text formatting parsing and disappears
In breath record display window.
In method described in the present embodiment, it is acquired for the image information in instant communication message, and with thumbnail
Form carry out sort out output after, user pass through trigger thumbnail can recall this thumbnail corresponding instant communication message note
Record, thus facilitate user to check the message record content being associated with instant messaging image information.
Referring to Fig. 7, in order to carry out image file classification in a kind of instant messaging providing for third embodiment of the invention
Method flow diagram, comprises the following steps that described.
S31, gathers the instant communication message transmitting by JICQ, judges whether this type of message is image letter
Breath, if then execution step S22, if it is not, then terminate;
Recipient's client receives instant communication message packet, it is deciphered after parsing, extracts message class therein
Type-word section;According to the message type field being extracted, judge whether described type of message is image information.
S32, according to the time sending or receiving described image information, is described image information setting timestamp;
The timestamp of described image information can be that sender's client sends the time value of image information or connects
Debit's client receives the time value of image information.
S33, generates corresponding thumbnail using described image information, and using the timestamp of image information as thumbnail
Timestamp;
When described image information is picture or icon data form, judge whether described picture or the size of icon meet
Pre-set dimension scope;If meeting pre-set dimension scope, directly using described image information as thumbnail;If being unsatisfactory for default chi
Very little scope, then the pre-set dimension according to thumbnail, described image information is generated corresponding thumbnail after compression algorithm.
When described image information is animation, video or multi-medium data form, obtain one from corresponding view data
Image content more than frame or a frame;The image content that will obtain, according to the pre-set dimension of thumbnail, raw after compression algorithm
Become corresponding thumbnail.
When thumbnail is generated by image information, it is thumbnail setting timestamp, the wherein timestamp of thumbnail and correspondence
Image information timestamp identical.
S34, the thumbnail of described image information is sorted out, and exports in JICQ;
S35, collection is directed to the trigger action information of aforementioned thumbnail, according to the timestamp of thumbnail, obtains this breviary
Scheme corresponding instant communication message record to be exported.
According to the corresponding associated person information of described thumbnail, obtain the instant communication message record of user and this contact person;
According to the timestamp information of described thumbnail, the instant communication message record obtaining is traveled through;Obtain and the thumbnail time
The consistent instant communication message record of stamp information.Then the API bottom in the windows operating system being located by client
Function obtains the handle of Message Record display window, then sends windows and adds text message, directly in the message obtaining
Hold and be shown in Message Record display window with the text formatting parsing.
In conjunction with previously described instant messaging, in order to carry out the embodiment of the method for image file classification, the present invention also provides
Supporting system.
Referring to Fig. 8, in order to carry out image file classification in a kind of instant messaging providing for fourth embodiment of the invention
System schematic, this system includes:
Image information judging unit 410, in order to gather the instant communication message transmitting by JICQ, judging should
Whether type of message is image information;
Thumbnail signal generating unit 420, is connected with described image information judging unit 410, in order to sentence in described image information
When disconnected unit judges type of message is image information, generate corresponding thumbnail using described image information, and by this thumbnail
Set up mapping relations with the storing path of image information, preserved;
Thumbnail sorts out unit 430, is connected with described thumbnail signal generating unit 420, in order to by the contracting of described image information
Sketch map is sorted out, and exports in JICQ;
Related information output unit 440, sorts out unit 430 with described thumbnail and is connected, when collecting for described breviary
During the trigger action information of figure, exported in order to recall the corresponding original image of this thumbnail, and/or recalled this thumbnail institute
Corresponding instant communication message record is exported.
Described related information output unit 440 includes following construction module:
Original image output module 441, for when receiving the trigger action information being directed to aforementioned thumbnail, recalling
The corresponding original image of this thumbnail is exported;
Association messages output module 442, for when receiving the trigger action information being directed to aforementioned thumbnail, recalling
Instant communication message record corresponding to this thumbnail is exported.
In system described in the present embodiment, for the instant communication message being transmitted by JICQ, believed by image
Breath judging unit 410 judges whether this instant communication message type is image information;If so, then thumbnail signal generating unit 420
Generate corresponding thumbnail according to described image information, and the storing path of thumbnail and image information is set up mapping relations, protect
Exist in instant communication client or server;For the thumbnail being generated by image information, unit 430 is sorted out by thumbnail
Sorted out according to default classification criterion, and exported in JICQ;It is directed to described thumbnail when collecting user
Trigger action information when, thumbnail is recalled by the original image output module 441 in related information output unit 440 corresponding
Original image is exported, or is recalled the instant communication message record corresponding to thumbnail by association messages output module 442
Exported.
It is more than the description of this invention and non-limiting, based on the other embodiment of inventive concept, all in the present invention
Protection domain among.
Claims (16)
1. in order to carry out the method for image file classification it is characterised in that the method comprises the steps in a kind of instant messaging:
Step 1, is gathered the instant communication message being transmitted by JICQ with object contact person, judges that this type of message is
No for image information, if then executing next step, if it is not, then terminating;
Step 2, described image information is generated corresponding thumbnail, and the storing path of this thumbnail and image information is set up
Mapping relations, are preserved;
Step 3, the thumbnail of described image information is sorted out, and correspond to preceding aim contact in JICQ
Thumbnail described in people's output display;
Step 4, collection is directed to the trigger action information of aforementioned thumbnail, recalls the instant communication message corresponding to this thumbnail
Record is exported;Or, recall the corresponding original image of this thumbnail and the note of the instant communication message corresponding to this thumbnail
Record is exported.
2. in a kind of instant messaging according to claim 1 in order to carry out image file classification method it is characterised in that:
Described image information includes icon, picture, animation, video, multi-medium data form.
3. in a kind of instant messaging according to claim 1 in order to carry out image file classification method it is characterised in that:
In described step 1, judge that whether this type of message is that the process of image information is,
Recipient's client receives instant communication message packet, it is deciphered after parsing, extracts type of message word therein
Section;
According to the message type field being extracted, judge whether described type of message is image information.
4. in a kind of instant messaging according to claim 1 in order to carry out image file classification method it is characterised in that:
In described step 2, the storing path of image information is the storing path of instant communication message system default or user is directed to image
Information execution is separately stored to corresponding storing path during destination path.
5. in a kind of instant messaging according to claim 1 in order to carry out image file classification method it is characterised in that:
Described step 2 also includes obtaining the timestamp information of described image information.
6. in a kind of instant messaging according to claim 5 in order to carry out image file classification method it is characterised in that:
The timestamp of described image information is that client sends or receives time during described image information.
7. according to claim 1 or 5 in a kind of instant messaging in order to the method carrying out image file classification, its feature exists
In:When generating corresponding thumbnail using described image information, the breviary that the timestamp of described image information is generated as it
The timestamp of figure.
8. in a kind of instant messaging according to claim 1 in order to carry out image file classification method it is characterised in that:
In described step 2 using the process that described image information generates corresponding thumbnail it is,
When described image information is picture or during icon data form, judge whether the size of described picture or icon meets default
Size range;
If meeting pre-set dimension scope, directly using described image information as thumbnail;
If being unsatisfactory for pre-set dimension scope, according to the pre-set dimension of thumbnail, by described image information after compression algorithm
Generate corresponding thumbnail.
9. in a kind of instant messaging according to claim 1 in order to carry out image file classification method it is characterised in that:
In described step 2 using the process that described image information generates corresponding thumbnail it is,
When described image information be animation, video or during multi-medium data form, obtain from corresponding view data a frame or
Image content more than one frame;
The image content that will obtain, according to the pre-set dimension of thumbnail, generates corresponding thumbnail after compression algorithm.
10., in order to the method carrying out image file classification in a kind of instant messaging according to claim 1, its feature exists
In:The mode in described step 3, the thumbnail of described image information sorted out include following at least first,
According to described image information, corresponding contact person is sorted out;
Data form according to described image information is sorted out;
Sorted out according to date-time during described image information transfer.
In order to the method carrying out image file classification in a kind of 11. instant messagings according to claim 1, its feature exists
In:The mode in described step 3, the thumbnail of described image information being exported in JICQ include following at least its
One,
Arrange to check the control of thumbnail in the function bar of instant messaging main panel, export breviary by triggering this control
Figure;
The position setting that correspond to contact person's ITEM item in instant communication contact list, in order to check the control of thumbnail, is led to
Cross and trigger the thumbnail that the output of this control is associated with this contact person;
The thumbnail that contact person corresponding with this interactive interface is associated is exported in instant communication interaction interface.
In order to the method carrying out image file classification in a kind of 12. instant messagings according to claim 11, its feature exists
In:The described thumbnail that output contact person corresponding with this interactive interface is associated in instant communication interaction interface includes following
The mode of one of them,
Instant communication interaction interface correspond at the position of contact object place title bar, output is associated with this contact person
Thumbnail;
In top or bottom or the sidepiece of instant communication interaction interface Output bar, export the thumbnail associating with this contact person;
Arrange to check the control of the thumbnail associating with this contact person in the function bar at instant communication interaction interface, pass through
Trigger the thumbnail that the output of this control is associated with this contact person.
In order to the method carrying out image file classification in a kind of 13. instant messagings according to claim 1, its feature exists
In:Recalling the process that the corresponding original image of this thumbnail exported in described step 4 is,
According to the mapping relations between thumbnail and image information storing path, obtain the preservation of the corresponding original image of thumbnail
Path;
According to the storing path of the original image obtaining, transfer corresponding image information and exported.
In order to the method carrying out image file classification in a kind of 14. instant messagings according to claim 1, its feature exists
In:Recalling the process that the instant communication message record corresponding to this thumbnail exported in described step 4 is,
According to the corresponding associated person information of described thumbnail, obtain the instant communication message record of user and this contact person;
According to the timestamp information of described thumbnail, the instant communication message record obtaining is traveled through;
Obtain the instant communication message record consistent with thumbnail timestamp information to be exported.
In order to carry out the system of image file classification it is characterised in that this system includes in a kind of 15. instant messagings:
Image information judging unit, in order to gather the instant communication message receiving for object contact person, judges this message class
Whether type is image information;
Thumbnail signal generating unit, is connected with described image information judging unit, in order to judge in described image information judging unit
When type of message is image information, described image information is generated corresponding thumbnail, and by this thumbnail and image information
Storing path sets up mapping relations, is preserved;
Thumbnail sorts out unit, is connected with described thumbnail signal generating unit, in order to be returned the thumbnail of described image information
Class, and correspond to thumbnail described in preceding aim contact person's output display in JICQ;
Related information output unit, sorts out unit with described thumbnail and is connected, and grasps when collecting the triggering for described thumbnail
When making information, recall the instant communication message record corresponding to this thumbnail and exported;Or, recall this thumbnail corresponding
Original image and the instant communication message record corresponding to this thumbnail are exported.
In order to carry out the system of image file classification in a kind of 16. instant messagings according to claim 15, its feature exists
In:Described related information output unit includes,
Original image output module, for when receiving the trigger action information being directed to aforementioned thumbnail, recalling this breviary
Scheme corresponding original image to be exported;
Association messages output module, for when receiving the trigger action information being directed to aforementioned thumbnail, recalling this breviary
The corresponding instant communication message record of figure is exported.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210002224.7A CN102591980B (en) | 2012-01-05 | 2012-01-05 | Method and system used for classifying image files in instant messaging |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210002224.7A CN102591980B (en) | 2012-01-05 | 2012-01-05 | Method and system used for classifying image files in instant messaging |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102591980A CN102591980A (en) | 2012-07-18 |
CN102591980B true CN102591980B (en) | 2017-02-22 |
Family
ID=46480618
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210002224.7A Active CN102591980B (en) | 2012-01-05 | 2012-01-05 | Method and system used for classifying image files in instant messaging |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102591980B (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102780647A (en) * | 2012-07-21 | 2012-11-14 | 上海量明科技发展有限公司 | Method, client and system for implementing mind map function by instant messaging tool |
CN102780652B (en) * | 2012-07-23 | 2018-04-20 | 上海量明科技发展有限公司 | The method and system for sorting out collection are carried out in instant messaging to information |
CN102819598B (en) * | 2012-08-14 | 2017-01-25 | 上海量明科技发展有限公司 | Method, client and system for displaying instant communication message by using thumbnail |
CN103914205B (en) * | 2013-01-09 | 2015-11-25 | 腾讯科技(深圳)有限公司 | A kind of file thumbnail methods of exhibiting of intelligent terminal and device |
CN103338256B (en) | 2013-06-28 | 2015-09-23 | 腾讯科技(深圳)有限公司 | Image sharing method, device, server and system |
CN103414628B (en) * | 2013-07-17 | 2016-08-10 | 腾讯科技(深圳)有限公司 | A kind of conversation recording consults method and device |
CN104869103B (en) | 2014-02-24 | 2018-05-18 | 华为终端(东莞)有限公司 | Search method, terminal device and the server of multimedia file |
CN105354231B (en) * | 2015-09-30 | 2021-05-11 | 腾讯科技(深圳)有限公司 | Picture selection method and device, and picture processing method and device |
KR102553886B1 (en) * | 2015-12-24 | 2023-07-11 | 삼성전자주식회사 | Electronic device and method for image control thereof |
CN106936980B (en) * | 2015-12-31 | 2020-07-14 | 华为终端有限公司 | Message display method and terminal |
CN107579903B (en) * | 2017-07-11 | 2020-10-16 | 深圳市中易通安全芯科技有限公司 | Picture message secure transmission method and system based on mobile device |
WO2022088046A1 (en) * | 2020-10-30 | 2022-05-05 | 游戏橘子数位科技股份有限公司 | Method for customizing exclusive album for chat room |
CN112764688A (en) * | 2021-01-26 | 2021-05-07 | 维沃移动通信有限公司 | Storage method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101488927A (en) * | 2009-02-19 | 2009-07-22 | 腾讯科技(深圳)有限公司 | Method for managing literal information by an instant communication device and the instant communication device |
CN101950239A (en) * | 2010-09-14 | 2011-01-19 | 北京神州泰岳软件股份有限公司 | Large size image display method and system |
CN102158431A (en) * | 2003-05-16 | 2011-08-17 | 谷歌公司 | Method of providing and performing immediate message, machine readable media and graphical user interface |
CN102209044A (en) * | 2010-03-29 | 2011-10-05 | 腾讯科技(深圳)有限公司 | Method for displaying picture message, apparatus and system thereof |
-
2012
- 2012-01-05 CN CN201210002224.7A patent/CN102591980B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102158431A (en) * | 2003-05-16 | 2011-08-17 | 谷歌公司 | Method of providing and performing immediate message, machine readable media and graphical user interface |
CN101488927A (en) * | 2009-02-19 | 2009-07-22 | 腾讯科技(深圳)有限公司 | Method for managing literal information by an instant communication device and the instant communication device |
CN102209044A (en) * | 2010-03-29 | 2011-10-05 | 腾讯科技(深圳)有限公司 | Method for displaying picture message, apparatus and system thereof |
CN101950239A (en) * | 2010-09-14 | 2011-01-19 | 北京神州泰岳软件股份有限公司 | Large size image display method and system |
Also Published As
Publication number | Publication date |
---|---|
CN102591980A (en) | 2012-07-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102591980B (en) | Method and system used for classifying image files in instant messaging | |
CN103369121B (en) | unread message display method and device | |
CN103220210A (en) | Method, client and system for collecting instant communication message | |
CN102420778B (en) | Instant messaging has been read to the method and system of message Mark as Unread state | |
CN101556609B (en) | Customer behavior analysis and service system based on web contents | |
US20110125748A1 (en) | Method and Apparatus for Real Time Identification and Recording of Artifacts | |
CN102426568A (en) | Instant messaging text information picture editing method, client and system | |
US20060148527A1 (en) | Mobile graphics device and server | |
CN102819598B (en) | Method, client and system for displaying instant communication message by using thumbnail | |
CN102611641B (en) | Gather the method and system that instant messaging record carries out gathering | |
CN102404251A (en) | Realization method, client and system for instant messaging with remarking function | |
CN102594724A (en) | Method, client side and system for setting contact person object state in instant messaging | |
CN103095559A (en) | Method of outputting advertisement prompting message in instant messaging and system thereof | |
CN102497333A (en) | Method, client end and system used for outputting contact object weather information | |
CN102833188A (en) | Method, client and system for displaying transmission file in instant messaging | |
CN102546462B (en) | The method of recommending contact persons, client and system in instant messaging | |
CN112947807A (en) | Display method and device and electronic equipment | |
CN102566863A (en) | Method and system for setting auxiliary area in instant messaging tool | |
CN102523296B (en) | Method, device and system for optimizing wireless webpage browsing resources | |
CN102780652A (en) | Method and system for classified collection of information in instant messaging | |
CN102299868A (en) | Method, client and system for transmitting and receiving email | |
CN102629919B (en) | In order to add the method for contact person, client and system in instant messaging | |
CN102541600A (en) | Method for starting document through instant messaging tool, client and system | |
CN102664830A (en) | Method, client side and system for collecting communication mode data in instant messaging | |
CN113325978A (en) | Message display method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |