CN104199728A - Image transmission information displaying method and device - Google Patents

Image transmission information displaying method and device Download PDF

Info

Publication number
CN104199728A
CN104199728A CN201410401446.5A CN201410401446A CN104199728A CN 104199728 A CN104199728 A CN 104199728A CN 201410401446 A CN201410401446 A CN 201410401446A CN 104199728 A CN104199728 A CN 104199728A
Authority
CN
China
Prior art keywords
picture
thumbnail
transmits
progress
information
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.)
Granted
Application number
CN201410401446.5A
Other languages
Chinese (zh)
Other versions
CN104199728B (en
Inventor
叶思
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410401446.5A priority Critical patent/CN104199728B/en
Publication of CN104199728A publication Critical patent/CN104199728A/en
Application granted granted Critical
Publication of CN104199728B publication Critical patent/CN104199728B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

An image transmission information displaying method comprises the following steps that an image transmission instruction is obtained; a corresponding image is transmitted according to the image transmission instruction and the transmission progress of the image is recorded; a thumbnail of the image is obtained; the thumbnail of the image and image transmission progress information are displayed in the image transmission process. According to the method, in the image transmission process, the picture content of the image is vividly displayed and the image transmission progress information is displayed through the thumbnail of the image, therefore, the readability of the image transmission information is improved, a user can clearly and quickly conduct corresponding on the picture content of the image and the image transmission progress information, and the image transmission information checking speed and convenience are improved. In addition, the invention provides an image transmission information displaying device.

Description

Picture transmits information displaying method and device
Technical field
The present invention relates to technical field of image processing, particularly relate to a kind of picture and transmit information displaying method and device.
Background technology
Along with the develop rapidly of Internet technology, internet is applied more and more extensive in actual life.Can chat on the internet, play games, consult thing, watch video, do shopping, transfer accounts etc.Moreover, a lot of service providers also provide the service of data storage and access to user by internet.Cloud storage belongs to the service of this type.Cloud storage is put on cloud storage resources for user's access data.User can be at any time, Anywhere, sees through any web-enabled device and be connected on cloud, and the data upload of magnanimity, to cloud, or is downloaded to the data of oneself uploading from cloud.User is without being that again local computer disk finite capacity is worried.
User preserves the picture uploading that takies very much disk storage space conventionally to network service end, both can save the storage space of local computer disk, can also guarantee the information security of data.And in network instant communication, a side of communication also may send picture to the opposing party, the picture of transmission first by a side client upload to service end, then be forwarded to the opposing party's client by service end.
In the prior art, in client, in the process of service end uploading pictures, client often only Shows Picture uploads progress msg and picture name, and picture name often can not reflect the image content of picture visually.Want to check the image content of the picture of uploading, need to check that by picture software opens picture.Yet opening the high definition picture that data volume is larger often needs the time of growing, especially in the situation that the processing power of the picture processing hardware of terminal is limited, or in the situation that the processor of terminal is busier, need the time of more growing to open picture.In carrying out the process of uploading pictures in batches, need to open one by one the picture of uploading, could be clearly by picture image information with upload progress msg and carry out correspondingly, operate very loaded down with trivial details.
Summary of the invention
Based on this, be necessary to provide a kind of picture of legibility of the transmission pictorial information that improves displaying to transmit information displaying method and device.
Picture transmits an information displaying method, comprises the following steps:
Obtain picture move instruction;
According to described picture move instruction, transmit corresponding picture, record the transmission progress of described picture;
Obtain the thumbnail of described picture;
Thumbnail and the picture of in picture transport process, showing described picture transmit progress msg.
Picture transmits a device for displaying information, comprising:
Instruction acquisition module, for obtaining picture move instruction;
Picture delivery module, for transmitting corresponding picture according to described picture move instruction, records the transmission progress of described picture;
Thumbnail acquisition module, for obtaining the thumbnail of described picture;
Transport process display module, for showing that at picture transport process thumbnail and the picture of described picture transmits progress msg.
Above-mentioned picture transmits information displaying method and device, obtain picture move instruction, according to picture, move instruction transmits the transmission progress of corresponding picture recordable picture, but also obtain the thumbnail of picture, and thumbnail and the picture of exhibiting pictures transmits progress msg in picture transport process, rather than in picture transport process, show to transmit simply the title of picture, thereby do not need to check that by picture software opens picture and just can recognize the image content that transmits picture, said method and device, thumbnail by picture in picture transport process is the image content of exhibiting pictures visually, and exhibiting pictures transmits progress msg, improved the legibility that transmits pictorial information, can make user know quickly carries out corresponding by the image content of picture with transmission progress msg, improved and checked that picture transmits speed and the convenience of information.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet that a picture in embodiment transmits information displaying method;
Fig. 2 is the schematic flow sheet of the step S30 of Fig. 1 in an embodiment;
Fig. 3 A is the schematic diagram of the thumbnail of generating pictures in an embodiment;
Fig. 3 B is the schematic diagram of the thumbnail of generating pictures in another embodiment;
Fig. 4 is the schematic flow sheet of the step S40 of Fig. 1 in an embodiment;
Fig. 5 A is the schematic diagram that the picture shown in an embodiment transmits picture;
Fig. 5 B is the schematic diagram that a picture in embodiment transmits picture;
Fig. 6 is the schematic flow sheet that a picture in embodiment transmits information displaying method;
Fig. 7 is the schematic diagram that a picture in embodiment transmits record display interface, window;
Fig. 8 is that a picture transmission information displaying method in embodiment divides the schematic diagram of a plurality of thread execution;
Fig. 9 is the structural representation that a picture in embodiment transmits device for displaying information;
Figure 10 is the structural representation of thumbnail acquisition module in an embodiment;
Figure 11 is the structural representation of transport process display module in an embodiment;
Figure 12 is the structural representation that a picture in embodiment transmits device for displaying information;
Figure 13 is the structural representation that a picture in embodiment transmits device for displaying information;
Figure 14 is for realizing the module map of a computer system 1000 of the embodiment of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
As shown in Figure 1, in one embodiment, a kind of picture transmits information displaying method, comprises the following steps:
Step S10, obtains picture move instruction.
In a plurality of network application scenes, can trigger picture move instruction.For example, when monitoring the operation that sends mail, can judge whether this mail has picture annex, if so, can trigger and transmit the instruction of arriving respective mailbox address as the picture of annex.Again for example, when monitoring while pulling file to operation in the dialog box of instant communication client, can judge whether the file being pulled is picture, if so, can trigger and transmit this picture to communication party corresponding to dialog box instruction.Again for example, when monitoring the operation of the file that submission need upload, can judge whether the file of submission comprises picture, if so, can trigger and transmit picture that the file submitted to comprises to the instruction of respective server.
Step S20, according to picture, move instruction transmits corresponding picture, the transmission progress of recordable picture.
In one embodiment, the routing information and the target transfer address that in picture move instruction, comprise the picture that needs transmission, the routing information of the picture that can transmit according to need obtains the picture that needs transmission, the picture that need are transmitted is packaged into one or more packets with default form, and the server relevant to target transfer address establishes a communications link, further, the packet of the picture that need are transmitted sends relevant server to according to the file transfer protocol (FTP) of appointment, in the transport process of the packet of picture, the transmission progress of the packet of recordable picture.
Step S30, obtains the thumbnail of picture.
As shown in Figure 2, in one embodiment, step S30 comprises the following steps:
Step S302, the message digest value of calculating picture.
Message digest value is the value of the regular length of unique corresponding message or text, and it is produced message effect by an one-way hash function encryption function.Message digest value comprises MD2 value, MD4 value, MD5 value etc., and wherein, MD is the abbreviation of Message Digest Algorithm (Message Digest 5).The message digest value of picture can unique identification picture.
Step S304 searches the thumbnail with message digest value name under predetermined directory, if find, performs step S306, if do not find, performs step S308.
Can set in advance a certain particular category for the fixedly catalogue of storage thumbnail.
Step S306, obtains the thumbnail finding.
Step S308, the thumbnail of generating pictures, the message digest value name by the thumbnail generating with picture, and by thumbnail storage under predetermined directory.
In the present embodiment, the thumbnail of all pictures is all unified and stores under predetermined directory, and wherein each thumbnail is all named with the message digest value of corresponding picture.Owing to having, the message digest value that the picture of same frame content is corresponding is also identical, therefore, even if the title of two pictures is different, and if their image content is identical, its corresponding thumbnail also should be identical.When the thumbnail of the message digest value name with picture has existed, do not need the thumbnail of regeneration picture, only need to from predetermined directory, directly obtain the thumbnail of message digest value name, reduced the link of the thumbnail of generating pictures, thereby can save system resource, also can accelerate to obtain the speed of the thumbnail of picture.
In one embodiment, the step that generates the thumbnail of described picture comprises: the local picture of central authorities that obtains picture according to default length breadth ratio; The local picture compression of central authorities is become to have to the picture of presetted pixel size, obtain the thumbnail of picture.
The local picture of central authorities is the local picture that is positioned at picture central authorities.The central point of the local picture of central authorities is the central point of picture.
The Pixel Dimensions of picture can represent the pixel column columns of picture.For example, the Pixel Dimensions of picture is 1024 * 800, can illustrate that picture has the pixel of 1024 row, 800 row.In one embodiment, can the local picture compression of central authorities be become to have according to method of interpolation etc. the picture of presetted pixel size.
General, the picture of picture central authorities is the expressed picture meaning of representative picture roughly, therefore, in the present embodiment, obtain the local picture of central authorities of picture, the local picture compression of central authorities is become to have to the picture of presetted pixel size, both can generate the thumbnail of the expressed picture meaning of representative picture roughly, can reduce again the data calculated amount in picture processing, thereby accelerate the formation speed of picture thumbnail.
In one embodiment, the step of obtaining the local picture of central authorities of picture according to default length breadth ratio comprises the following steps:
(1.1) calculate the long limit size of picture and the ratio of minor face size.
(1.2) judge whether ratio is greater than threshold value, if not, enter step (1.3), if so, enter step (1.4).
If ratio is greater than threshold value, can illustrate that picture is strip picture.
(1.3) calculate the pre-reservation size on the long limit of picture, the ratio that makes to retain in advance the minor face size of size and picture equals default length breadth ratio, in intercepting picture, centered by the central point of picture, point, long limit size equal to retain in advance size, minor face size equals the local picture of the minor face size of picture, thereby obtain the local picture of central authorities of picture.
Can, from the two ends cutting picture on the long limit of picture, the cropped size in two ends on long limit be equated, and make the size on the long limit of picture remainder equal to retain in advance size.
As shown in Figure 3A, in intercepting picture 1, centered by the central point of picture 1, point, long limit size equal to retain in advance size, minor face size equals the local picture of the minor face size of picture 1, thereby obtain the local picture 2 of central authorities of picture 1.Further, central local picture 2 is compressed into thumbnail 3.
(1.4) in the minor face both sides of picture, fill up symmetrical blank image, make the long limit size of the picture after filling up and the ratio of minor face size equal threshold value, and enter step (1.3).As shown in Figure 3 B, in the minor face both sides of picture 4, fill up symmetrical blank image, obtain picture 5, make the long limit size of picture 5 and the ratio of minor face size equal threshold value.Further, in intercepting picture 5, centered by the central point of picture 5, point, long limit size equal to retain in advance size, minor face size equals the local picture of the minor face size of picture 5, thereby obtain the local picture 6 of central authorities of picture 5.Further, central local picture 6 is compressed into thumbnail 7.
In the present embodiment, the local picture that is positioned at picture central authorities (central local picture) of intercepting has default length breadth ratio, and when picture is strip picture, in the minor face both sides of picture, fill up the symmetrical blank image of certain width, in the local picture of central authorities that intercepting is obtained, non-blank-white image section has also retained elongate in shape, thereby make both image contents of representative picture roughly of the thumbnail that generates according to the local picture of the central authorities of picture, the general profile shape that can retain again picture, thereby contribute to express the picture intension of the picture transmitting, to improve the legibility of the transmission pictorial information of showing, improve the speed that transmits pictorial information of checking.
Step S40, in picture transport process, the thumbnail of exhibiting pictures and picture transmit progress msg.
As shown in Figure 4, in one embodiment, step S40 comprises the following steps:
Step S402, after obtaining picture move instruction, draws and exhibiting pictures transmission picture, and picture transmission picture comprises the preset icon that picture/mb-type file is corresponding and represents that picture transmits the visual information of progress.Wherein, the original state of visual information represents that picture transmission progress is 0.
It is that initial picture transmits picture that the picture that step S402 shows transmits picture.While just having got picture move instruction, may not yet get the thumbnail of picture and the transmission progress of picture may be 0, therefore, step S402 can transmit preset icon corresponding to exhibiting pictures type file in picture at initial picture, and displaying represents the visual information that the transmission progress of picture is 0.The preset icon corresponding to picture/mb-type file of showing can illustrate that the file transmitting is picture/mb-type.
Wherein, picture/mb-type file for text file, EXCEL type file, WORD type file, a kind of in polytype file, the file that .jpg .bmp etc. are suffix name of take is generally picture/mb-type file.
As shown in Figure 5A, initial picture transmits preset icon 9 corresponding to exhibiting pictures type file in picture 8, and shows the progress bar 11 of the transmission progress that represents picture, and wherein, the transmission progress of the state representation picture of progress bar 11 is 0.In one embodiment, as shown in Figure 5A, title and picture size also can Show Picture in picture transmission picture.
The visual information that represents picture transmission progress can be the Word messages such as the image informations such as progress bar or percentage.
Step S404, according to the visual information of the transmission progress updating form diagram sheet transmission progress of record.
Can according to the transmission progress updating form diagram sheet of the continuous variation of the packet of picture, transmit in real time the visual information of progress, such as progress bar or percentage etc.
Step S406, after getting the thumbnail of picture, replaces with preset icon corresponding to above-mentioned picture/mb-type file the thumbnail of picture.
As shown in Figure 5 B, picture transmits the breviary Figure 12 Showing Picture in picture 8, and the state representation of progress bar wherein 11 has transmitted a part of image data.
As shown in Figure 6, in one embodiment, it is further comprising the steps of that above-mentioned picture transmits information displaying method:
Step S50, after picture transmits, the thumbnail of exhibiting pictures and expression picture transmit complete information.
As shown in Figure 7, in one embodiment, can transmit breviary Figure 14 of exhibiting pictures in record display interface/window 13 and represent that picture transmits complete information at picture.
In the present embodiment, after picture transmits, by thumbnail, show the picture intension that transmits complete picture, do not need to check that by picture software opens picture, improve the legibility that transmits pictorial information of showing, and accelerated to check the speed that transmits pictorial information.
In one embodiment, step S10 and step S40 carry out in the first thread, and step S20 carries out in the second thread, and step S30 carries out in the 3rd thread.
In one embodiment, comparatively time-consuming picture transmission work (step S20) and the work (step S30) of obtaining the thumbnail of picture can be respectively be carried out in the second thread as background thread (carrying out the thread of background service) and the 3rd thread, and obtain picture move instruction (step S10) and the picture that affect that user experiences transmit picture exhibition work (step S40) and can carry out in the first thread as user-interface thread (UI thread is drawn and shows user interface and carry out and thread that user carries out mutual operation).Wherein, the first thread can be main thread, and the second thread and the 3rd thread can be sub-thread.
Fig. 8 is that a picture transmission information displaying method in embodiment divides the schematic diagram of a plurality of thread execution.
As shown in Figure 8, the first thread obtains picture move instruction, comprises routing information and the target transfer address of the picture that needs transmission in picture move instruction.
The routing information of the picture that the second thread transmits according to need obtains the picture that needs transmission, and picture is sent to the server that target transfer address is relevant, and recordable picture transmits progress
The 3rd thread is inserted into work queue by the routing information of the picture comprising in picture move instruction, and this work queue is for storing the routing information of the picture of thumbnail to be obtained.The 3rd thread judges whether work queue is empty, if not, from queue, take out routing information, the picture that acquisition approach information is corresponding, the message digest value of calculating picture is searched the thumbnail with message digest value name under predetermined directory, if do not find, the thumbnail of generating pictures, if find, obtains the thumbnail finding.
The first thread carries out interface drafting and displaying.Concrete, the first thread is after obtaining picture move instruction, draw also exhibiting pictures and transmit picture, picture transmits the picture preset icon that comprises that picture/mb-type file is corresponding and the visual information that represents picture transmission progress, and visual information wherein represents that the transmission progress of picture is 0.And the first thread transmits the visual information of progress according to the transmission progress updating form diagram sheet of the second thread record.And the first thread, after the 3rd thread gets the thumbnail of picture, replaces with preset icon corresponding to above-mentioned picture/mb-type file the thumbnail of picture.
In the present embodiment, step S10 and step S40, step S20 and step S30, respectively by different thread execution, because thread can concurrent running, therefore, the process that rendered images transmits the process of picture, transmits the process of picture and obtains picture thumbnail can concurrently be carried out, thereby avoid obtaining of the transmission of picture and picture thumbnail to cause picture to transmit the drafting of picture and show, produces Caton phenomenon.
In one embodiment, step S50 also can carry out in the first thread.
As shown in Figure 9, in one embodiment, a kind of picture transmits device for displaying information, comprises instruction acquisition module 10, picture delivery module 20, thumbnail acquisition module 30 and transport process display module 40, wherein:
Instruction acquisition module 10 is for obtaining picture move instruction.
In one embodiment, above-mentioned picture transmission device for displaying information also comprises instruction triggers module (not shown).In an application scenarios, instruction triggers module, for monitoring the operation that whether sends mail, when monitoring the operation that sends mail, can judge whether this mail has picture annex, if so, can trigger and transmit the instruction of arriving respective mailbox address as the picture of annex.In Another application scene, instruction triggers module is for monitoring whether pull file to the operation of the dialog box of instant communication client, when monitoring while pulling file to operation in the dialog box of instant communication client, can judge whether the file being pulled is picture, if so, can trigger and transmit this picture to communication party corresponding to dialog box instruction.In another application scenarios, instruction triggers module is for monitoring the operation whether file that need upload occurs to submit to, when monitoring the operation of the file that submission need upload, whether the file that can judge submission comprises picture, if so, can trigger picture that file that transmit to submit to comprises to the instruction of respective server.The picture move instruction that instruction acquisition module 10 triggers for obtaining instruction triggers module.
Picture delivery module 20 is for according to picture, move instruction transmits corresponding picture, the transmission progress of recordable picture.
In one embodiment, the routing information and the target transfer address that in picture move instruction, comprise the picture that needs transmission, the routing information of the picture that picture delivery module 20 can transmit according to need obtains the picture that needs transmission, the picture that need are transmitted is packaged into one or more packets with default form, and the server relevant to target transfer address establishes a communications link, further, the packet of the picture that need are transmitted sends relevant server to according to the file transfer protocol (FTP) of appointment, in the transport process of the packet of picture, the transmission progress of the packet of recordable picture.
Thumbnail acquisition module 30 is for obtaining the thumbnail of picture.
As shown in figure 10, in one embodiment, thumbnail acquisition module 30 comprises that digest value computing unit 302, thumbnail search unit 304, thumbnail acquiring unit 306, thumbnail generation unit 308 and thumbnail storage unit 310, wherein:
Digest value computing unit 302 is for calculating the message digest value of picture.
Message digest value is the value of the regular length of unique corresponding message or text, and it is produced message effect by an one-way hash function encryption function.Message digest value comprises MD2 value, MD4 value, MD5 value etc., and wherein, MD is the abbreviation of Message Digest Algorithm (Message Digest 5).The message digest value of picture can unique identification picture.
Thumbnail is searched unit 304 for search the thumbnail with message digest value name under predetermined directory.In one embodiment, above-mentioned picture transmits device for displaying information and also comprises that catalogue arranges module (not shown), for particular category being set for the fixedly catalogue of storage thumbnail.
If thumbnail acquiring unit 306 is searched unit 304 for thumbnail and found thumbnail, obtain the thumbnail finding.
If thumbnail generation unit 308 is searched unit 304 for thumbnail and is not found thumbnail, the thumbnail of generating pictures, the message digest value name by the thumbnail generating with picture, and by thumbnail storage under predetermined directory.
In the present embodiment, the thumbnail of all pictures is all unified and stores under predetermined directory, and wherein each thumbnail is all named with the message digest value of corresponding picture.Owing to having, the message digest value that the picture of same frame content is corresponding is also identical, therefore, even if the title of two pictures is different, and if their image content is identical, its corresponding thumbnail also should be identical.When the thumbnail of the message digest value name with picture has existed, do not need the thumbnail of regeneration picture, only need to from predetermined directory, directly obtain the thumbnail of message digest value name, reduced the link of the thumbnail of generating pictures, thereby can save system resource, also can accelerate to obtain the speed of the thumbnail of picture.
In one embodiment, thumbnail generation unit 308 is for obtaining the local picture of central authorities of picture according to default length breadth ratio; The local picture compression of central authorities is become to have to the picture of presetted pixel size, obtain the thumbnail of picture.
The local picture of central authorities is the local picture that is positioned at picture central authorities.The central point of the local picture of central authorities is the central point of picture.
The Pixel Dimensions of picture can represent the pixel column columns of picture.For example, the Pixel Dimensions of picture is 1024 * 800, can illustrate that picture has the pixel of 1024 row, 800 row.In one embodiment, thumbnail generation unit 308 can become to have according to method of interpolation etc. the picture of presetted pixel size by the local picture compression of central authorities.
General, the picture of picture central authorities is the expressed picture meaning of representative picture roughly, therefore, in the present embodiment, obtain the local picture of central authorities of picture, the local picture compression of central authorities is become to have to the picture of presetted pixel size, both can generate the thumbnail of the expressed picture meaning of representative picture roughly, can reduce again the data calculated amount in picture processing, thereby accelerate the formation speed of picture thumbnail.
In one embodiment, the process that thumbnail generation unit 308 obtains the local picture of central authorities of picture according to default length breadth ratio comprises: calculate the long limit size of picture and the ratio of minor face size.Judge whether ratio is greater than threshold value.If ratio is not more than threshold value, calculate the pre-reservation size on the long limit of picture, the ratio that makes to retain in advance the minor face size of size and picture equals default length breadth ratio, in intercepting picture, centered by the central point of picture, point, long limit size equal to retain in advance size, minor face size equals the local picture of the minor face size of picture, thereby obtain the local picture of central authorities of picture.Can, from the two ends cutting picture on the long limit of picture, the cropped size in two ends on long limit be equated, and make the size on the long limit of picture remainder equal to retain in advance size.If ratio is greater than threshold value, in the minor face both sides of picture, fill up symmetrical blank image, make the long limit size of the picture after filling up and the ratio of minor face size equal threshold value, and process the picture after filling up according to the situation that ratio is not more than threshold value.
In the present embodiment, the local picture that is positioned at picture central authorities (central local picture) of intercepting has default length breadth ratio, and when picture is strip picture, in the minor face both sides of picture, fill up the symmetrical blank image of certain width, in the local picture of central authorities that intercepting is obtained, non-blank-white image section has also retained elongate in shape, thereby make both image contents of representative picture roughly of the thumbnail that generates according to the local picture of the central authorities of picture, the general profile shape that can retain again picture, thereby contribute to express the picture intension of the picture transmitting, to improve the legibility of the transmission pictorial information of showing, improve the speed that transmits pictorial information of checking.
Transport process display module 40 transmits progress msg for the thumbnail at picture transport process exhibiting pictures and picture.
As shown in figure 11, in one embodiment, transport process display module 40 comprises initial picture display unit 402, progress updating block 404 and icon replacing unit 406, wherein:
Initial picture display unit 402, for after obtaining picture move instruction, is drawn and exhibiting pictures transmission picture, and picture transmission picture comprises the preset icon that picture/mb-type file is corresponding and represents that picture transmits the visual information of progress.Wherein, the original state of visual information represents that picture transmission progress is 0.
It is that initial picture transmits picture that the picture that initial picture display unit 402 is shown transmits picture.When instruction acquisition module 10 has just got picture move instruction, thumbnail acquisition module 30 may not yet get the thumbnail of picture and the progress of picture delivery module 20 transmission pictures may be 0, therefore, initial picture display unit 402 can transmit preset icon corresponding to exhibiting pictures type file in picture at initial picture, and displaying represents the visual information that the transmission progress of picture is 0.The preset icon corresponding to picture/mb-type file of showing can illustrate that the file transmitting is picture/mb-type.
Wherein, picture/mb-type file for text file, EXCEL type file, WORD type file, a kind of in polytype file, the file that .jpg .bmp etc. are suffix name of take is generally picture/mb-type file.
Picture transmits in picture also can comprise picture name and picture size.
The visual information that represents picture transmission progress can be the Word messages such as the image informations such as progress bar or percentage.
Progress updating block 404 is for transmitting the visual information of progress according to the transmission progress updating form diagram sheet of record.
Progress updating block 404 can transmit the visual information of progress, such as progress bar or percentage etc. in real time according to the transmission progress updating form diagram sheet of the continuous variation of the packet of picture.
Icon replacing unit 406, for after getting the thumbnail of picture, replaces with preset icon corresponding to above-mentioned picture/mb-type file the thumbnail of picture.
As shown in figure 12, in one embodiment, above-mentioned picture transmits device for displaying information and also comprises transmission record display module 50, and after transmitting at picture, the thumbnail of exhibiting pictures and expression picture transmit complete information.
In one embodiment, transmitting record display module 50 can transmit the thumbnail of exhibiting pictures in record display interface/window and represent that picture transmits complete information at picture.
In the present embodiment, after picture transmits, by thumbnail, show the picture intension that transmits complete picture, do not need to check that by picture software opens picture, improve the legibility that transmits pictorial information of showing, and accelerated to check the speed that transmits pictorial information.
As shown in figure 13, in one embodiment, above-mentioned picture transmits device for displaying information and also comprises control module 60, for Monitoring instruction acquisition module 10, whether gets picture move instruction; The routing information and the target transfer address that in the picture move instruction that instruction acquisition module 10 obtains, comprise the picture that needs transmission.
Control module 60 also starts picture delivery module 20 after getting picture move instruction at instruction acquisition module 10; The routing information of the picture that picture delivery module 20 transmits according to need obtains the picture that needs transmission, and picture is sent to the server that target transfer address is relevant, and recordable picture transmits progress.
Control module 60 also starts thumbnail acquisition module 30 after getting picture move instruction at instruction acquisition module 10; Thumbnail acquisition module 30 is inserted into work queue by the routing information of the picture comprising in picture move instruction, and this work queue is for storing the routing information of the picture of thumbnail to be obtained.Thumbnail acquisition module 30 judges whether work queue is empty, if not, from queue, take out routing information, the picture that acquisition approach information is corresponding, the message digest value of calculating picture is searched the thumbnail with message digest value name under predetermined directory, if do not find, the thumbnail of generating pictures, if find, obtains the thumbnail finding.
Control module 60 also starts transport process display module 40 after getting picture move instruction at instruction acquisition module 10; Transport process display module 40 is after obtaining picture move instruction, draw and exhibiting pictures transmission picture, picture transmits the picture preset icon that comprises that picture/mb-type file is corresponding and the visual information that represents picture transmission progress, and visual information wherein represents that the transmission progress of picture is 0.And transport process display module 40 transmits the visual information of progress according to the transmission progress updating form diagram sheet of picture delivery module 20 records.And transport process display module 40, after thumbnail acquisition module 30 gets the thumbnail of picture, replaces with preset icon corresponding to above-mentioned picture/mb-type file the thumbnail of picture.
In the present embodiment, control module 60 starts respectively picture delivery module 20 and carries out picture transmission, starts thumbnail acquisition module 30 and obtain picture thumbnail and start transport process display module 40 and carry out drafting and the displaying that picture transmits picture, modules can concurrent running, thereby can avoid obtaining of the transmission of picture and picture thumbnail to cause picture to transmit the drafting of picture and show, produces Caton phenomenon.
In one embodiment, control module 60 also, for after transmitting at picture, starts and transmits record display module.
Figure 14 is for realizing the module map of a computer system 1000 of the embodiment of the present invention.This computer system 1000 is an example that is applicable to computer environment of the present invention just, can not think to have proposed any restriction to usable range of the present invention.Computer system 1000 can not be interpreted as depending on or having the combination of the one or more parts in illustrated exemplary computer system 1000.
Computer system 1000 shown in Figure 14 is examples that are suitable for computer system of the present invention.Other framework with different sub-systems configuration also can be used.Such as similar devices such as having popular known desktop computer, notebook, personal digital assistant, smart phone, panel computer, go for some embodiments of the present invention.But be not limited to above cited equipment.
As shown in figure 14, computer system 1000 comprises processor 1010, storer 1020 and system bus 1022.The various system components that comprise storer 1020 and processor 1010 are connected on system bus 1022.Processor 1010 is a hardware that is used for coming by arithmetic sum logical operation basic in computer system computer program instruction.Storer 1020 be one for example, for storing temporarily or permanently the physical equipment of calculation procedure or data (, program state information).System bus 1020 can be any one in the bus structure of following several types, comprises memory bus or memory controller, peripheral bus and local bus.Processor 1010 and storer 1020 can carry out data communication by system bus 1022.Wherein storer 1020 comprises ROM (read-only memory) (ROM) or flash memory (all not shown in figure), and random access memory (RAM), and RAM typically refers to the primary memory that has loaded operating system and application program.
Computer system 1000 also comprises display interface 1030 (for example, Graphics Processing Unit), display device 1040 (for example, liquid crystal display), audio interface 1050 (for example, sound card) and audio frequency apparatus 1060 (for example, loudspeaker).Display device 1040 and audio frequency apparatus 1060 are for experiencing the media device of content of multimedia.
Computer system 1000 generally comprises a memory device 1070.Memory device 1070 can be selected from multiple computer-readable medium, and computer-readable medium refers to any available medium that can access by computer system 1000, comprises mobile and fixing two media.For example, computer-readable medium includes but not limited to, flash memory (miniature SD card), CD-ROM, digital versatile disc (DVD) or other optical disc storage, tape cassete, tape, disk storage or other magnetic storage apparatus, or can be used for storing any other medium that information needed also can be accessed by computer system 1000.
Computer system 1000 also comprises input media 1080 and input interface 1090 (for example, IO controller).User can pass through input media 1080, and as the touch panel equipment in keyboard, mouse, display device 1040, input instruction and information are in computer system 1000.Input media 1080 is normally connected on system bus 1022 by input interface 1090, but also can be connected by other interface or bus structure, as USB (universal serial bus) (USB).
Computer system 1000 can be carried out logic with one or more network equipment and is connected in network environment.The network equipment can be PC, server, router, smart phone, panel computer or other common network node.Computer system 1000 is connected with the network equipment by LAN (Local Area Network) (LAN) interface 1100 or mobile comm unit 1110.LAN (Local Area Network) (LAN) refers in limited area, for example family, school, computer laboratory or use the office building of the network media, the computer network of interconnected composition.WiFi and twisted-pair feeder wiring Ethernet is two kinds of technology of the most frequently used structure LAN (Local Area Network).WiFi is a kind of technology that can make computer system 1000 swapping datas or be connected to wireless network by radiowave.Mobile comm unit 1110 is answered and is called by radio communication diagram when can move in a wide geographic area.Except call, mobile comm unit 1110 is also supported in the 2G that mobile data service is provided, and in 3G or 4G cellular communication system, carries out internet access.
It should be pointed out that other computer system that comprises the subsystem more more or less than computer system 1000 also can be applicable to invention.For example, computer system 1000 can comprise can be in short distance the bluetooth unit of swap data, for the imageing sensor of taking a picture, and for the accelerometer of acceleration measurement.
As described in detail above, be applicable to computer system 1000 of the present invention and can carry out the assigned operation that picture transmits information displaying method.The form that computer system 1000 operates in the software instruction in computer-readable medium by processor 1010 is carried out these operations.These software instructions can be read into storer 1020 from another equipment from memory device 1070 or by lan interfaces 1100.The software instruction being stored in storer 1020 makes processor 1010 carry out above-mentioned picture transmission information displaying method.In addition, by hardware circuit or hardware circuit, in conjunction with software instruction, also can realize equally the present invention.Therefore, realize the combination that the present invention is not limited to any specific hardware circuit and software.
The above embodiment has only expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (10)

1. picture transmits an information displaying method, comprises the following steps:
Obtain picture move instruction;
According to described picture move instruction, transmit corresponding picture, record the transmission progress of described picture;
Obtain the thumbnail of described picture;
Thumbnail and the picture of in picture transport process, showing described picture transmit progress msg.
2. picture according to claim 1 transmits information displaying method, it is characterized in that, described in obtain the thumbnail of described picture step comprise:
Calculate the message digest value of described picture;
Under predetermined directory, search the thumbnail with described message digest value name;
If find, obtain the thumbnail finding;
If do not find, generate the thumbnail of described picture, the thumbnail generating is named with described message digest value, and described thumbnail storage is arrived under described predetermined directory.
3. picture according to claim 1 transmits information displaying method, it is characterized in that, describedly in picture transport process, shows that the thumbnail of described picture and the step that picture transmits progress msg comprise:
After obtaining picture move instruction, to draw and exhibiting pictures transmission picture, described picture transmission picture comprises the preset icon that picture/mb-type file is corresponding and represents that picture transmits the visual information of progress;
According to the described transmission progress of record, upgrade the visual information that described expression picture transmits progress;
After getting the thumbnail of described picture, described preset icon is replaced with to described thumbnail.
4. picture according to claim 1 transmits information displaying method, it is characterized in that, further comprising the steps of:
After described picture transmits, show the thumbnail of described picture and represent that described picture transmits complete information.
5. according to the arbitrary described picture of claim 1 to 4, transmit information displaying method, it is characterized in that, described in obtain picture move instruction step in the first thread, carry out;
The described step that transmits corresponding picture and record the transmission progress of described picture according to described picture move instruction is carried out in the second thread;
The described step of obtaining the thumbnail of described picture is carried out in the 3rd thread;
The described thumbnail of showing described picture in picture transport process and picture transmit the step of progress msg and carry out in described the first thread.
6. picture transmits a device for displaying information, it is characterized in that, comprising:
Instruction acquisition module, for obtaining picture move instruction;
Picture delivery module, for transmitting corresponding picture according to described picture move instruction, records the transmission progress of described picture;
Thumbnail acquisition module, for obtaining the thumbnail of described picture;
Transport process display module, for showing that at picture transport process thumbnail and the picture of described picture transmits progress msg.
7. picture according to claim 6 transmits device for displaying information, it is characterized in that, described thumbnail acquisition module comprises:
Digest value computing unit, for calculating the message digest value of described picture;
Thumbnail is searched unit, for search the thumbnail with described message digest value name under predetermined directory;
Thumbnail acquiring unit, finds described thumbnail if search unit for described thumbnail, obtains the thumbnail finding;
Thumbnail generation unit, does not find described thumbnail if search unit for described thumbnail, generates the thumbnail of described picture;
Thumbnail storage unit, for the thumbnail generating is named with described message digest value, and arrives described thumbnail storage under described predetermined directory.
8. picture according to claim 6 transmits information displaying method, it is characterized in that, described transport process display module comprises:
Initial picture display unit, for after obtaining picture move instruction, draws and exhibiting pictures transmission picture, and described picture transmission picture comprises the preset icon that picture/mb-type file is corresponding and represents that picture transmits the visual information of progress;
Progress updating block, for upgrading according to the described transmission progress of record the visual information that described expression picture transmits progress;
Icon replacing unit, for after getting the thumbnail of described picture, replaces with described thumbnail by described preset icon.
9. picture according to claim 6 transmits device for displaying information, it is characterized in that, described device also comprises:
Transmit record display module, after transmitting at described picture, show the thumbnail of described picture and represent that described picture transmits complete information.
10. according to the arbitrary described picture of claim 6 to 9, transmit device for displaying information, it is characterized in that, described device also comprises:
Whether control module, get picture move instruction for monitoring described instruction acquisition module;
Described control module also starts described picture delivery module after getting picture move instruction at described instruction acquisition module;
Described control module also starts described thumbnail acquisition module after getting picture move instruction at described instruction acquisition module;
Described control module also starts described transport process display module after getting picture move instruction at described instruction acquisition module.
CN201410401446.5A 2014-08-14 2014-08-14 Picture transmits information displaying method and device Active CN104199728B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410401446.5A CN104199728B (en) 2014-08-14 2014-08-14 Picture transmits information displaying method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410401446.5A CN104199728B (en) 2014-08-14 2014-08-14 Picture transmits information displaying method and device

Publications (2)

Publication Number Publication Date
CN104199728A true CN104199728A (en) 2014-12-10
CN104199728B CN104199728B (en) 2017-11-21

Family

ID=52085025

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410401446.5A Active CN104199728B (en) 2014-08-14 2014-08-14 Picture transmits information displaying method and device

Country Status (1)

Country Link
CN (1) CN104199728B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503694A (en) * 2014-12-24 2015-04-08 北京奇虎科技有限公司 Drawing data instant messaging based method, client and system
CN105306249A (en) * 2015-07-10 2016-02-03 深圳市美贝壳科技有限公司 Method for displaying uploading status in real time in process of uploading pictures to Cloud
CN105528159A (en) * 2016-01-28 2016-04-27 深圳市创想天空科技股份有限公司 Picture operation method and operation device
CN106453572A (en) * 2016-10-19 2017-02-22 广东欧珀移动通信有限公司 Method and system for synchronizing images based on cloud server
CN109976848A (en) * 2019-03-06 2019-07-05 腾讯科技(深圳)有限公司 A kind of image display method, device, equipment and storage medium
CN113450361A (en) * 2021-05-14 2021-09-28 山东英信计算机技术有限公司 Crawler image processing method and device, computer equipment and storage medium
WO2023066036A1 (en) * 2021-10-22 2023-04-27 华为技术有限公司 Cross-device file display method and system, and device
CN116319638A (en) * 2023-03-16 2023-06-23 杭州安司源科技有限公司 Method and device for sending picture message in encrypted instant messaging system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141476A (en) * 2007-10-09 2008-03-12 创新科存储技术(深圳)有限公司 File storing, downloading method and device
CN103327189A (en) * 2013-06-28 2013-09-25 北京小米科技有限责任公司 Method and device for uploading, browsing and deleting pictures
CN103902595A (en) * 2012-12-27 2014-07-02 北京新媒传信科技有限公司 Method and device for establishing database

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141476A (en) * 2007-10-09 2008-03-12 创新科存储技术(深圳)有限公司 File storing, downloading method and device
CN103902595A (en) * 2012-12-27 2014-07-02 北京新媒传信科技有限公司 Method and device for establishing database
CN103327189A (en) * 2013-06-28 2013-09-25 北京小米科技有限责任公司 Method and device for uploading, browsing and deleting pictures

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
FAKE718: "js实现图片上传预览及进度条", 《HTTP://WEB.ARCHIVE.ORG/WEB/20140111081824/HTTP://WWW.CNBLOGS.COM/FAKE718/P/3510687.HTML》 *
FAKE718: "js实现图片上传预览及进度条", 《HTTP://WWW.CNBLOGS.COM/FAKE718/P/3510687.HTML》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503694A (en) * 2014-12-24 2015-04-08 北京奇虎科技有限公司 Drawing data instant messaging based method, client and system
CN105306249A (en) * 2015-07-10 2016-02-03 深圳市美贝壳科技有限公司 Method for displaying uploading status in real time in process of uploading pictures to Cloud
CN105528159A (en) * 2016-01-28 2016-04-27 深圳市创想天空科技股份有限公司 Picture operation method and operation device
CN105528159B (en) * 2016-01-28 2018-12-04 深圳市创想天空科技股份有限公司 A kind of operating method and operating device of picture
CN106453572A (en) * 2016-10-19 2017-02-22 广东欧珀移动通信有限公司 Method and system for synchronizing images based on cloud server
CN106453572B (en) * 2016-10-19 2019-09-17 Oppo广东移动通信有限公司 Method and system based on Cloud Server synchronous images
CN109976848A (en) * 2019-03-06 2019-07-05 腾讯科技(深圳)有限公司 A kind of image display method, device, equipment and storage medium
CN113450361A (en) * 2021-05-14 2021-09-28 山东英信计算机技术有限公司 Crawler image processing method and device, computer equipment and storage medium
WO2023066036A1 (en) * 2021-10-22 2023-04-27 华为技术有限公司 Cross-device file display method and system, and device
CN116319638A (en) * 2023-03-16 2023-06-23 杭州安司源科技有限公司 Method and device for sending picture message in encrypted instant messaging system

Also Published As

Publication number Publication date
CN104199728B (en) 2017-11-21

Similar Documents

Publication Publication Date Title
CN104199728A (en) Image transmission information displaying method and device
US10911385B2 (en) Method and system for synchronizing instant messages between multiple clients
US10114602B2 (en) Dynamic server-side image sizing for fidelity improvements
CN110096660B (en) Method and device for loading page pictures and electronic equipment
US8087053B2 (en) System and method for transmitting an animated figure
CN109710370B (en) Session list display method and device and electronic equipment
WO2015065955A1 (en) Bandwidth reduction system and method
CN106658064B (en) Virtual gift display method and device
CN109688051B (en) Session list display method and device and electronic equipment
CA2782832C (en) Method and system for displaying using buffer swapping
CN103841460A (en) Image data transmission method and electronic devices
CN110347319A (en) It is a kind of to apply interior screenshot method and device
CN111240793B (en) Method, device, electronic equipment and computer readable medium for cell prerendering
CN104572771B (en) Processing state display method and device
EP3266165B1 (en) Conditional instant delivery of email messages
CN104965692A (en) Method and system for displaying data across multiple processes in a desktop application
CN104753825A (en) Instant messaging multi-terminal login status issuing method and system
CN116109734A (en) Picture processing method and device
CN103942199A (en) Method and device for obtaining picture information on webpages and terminal
CN104079368B (en) A kind of the test data transmission method and server of application software
CN107342981B (en) Sensor data transmission method and device and virtual reality head-mounted equipment
JP2012133668A (en) Display device, screen image transfer method, and program
CN113572676B (en) Mail processing method and device
CN109831367B (en) User interface display method and device and storage equipment
CN111163138B (en) Method, device and server for reducing network load during game

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant