CN103186533A - Method and device for uploading picture in comment or reply - Google Patents
Method and device for uploading picture in comment or reply Download PDFInfo
- Publication number
- CN103186533A CN103186533A CN2011104439917A CN201110443991A CN103186533A CN 103186533 A CN103186533 A CN 103186533A CN 2011104439917 A CN2011104439917 A CN 2011104439917A CN 201110443991 A CN201110443991 A CN 201110443991A CN 103186533 A CN103186533 A CN 103186533A
- Authority
- CN
- China
- Prior art keywords
- thumbnail
- comment
- original image
- replying
- module
- 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
Links
Images
Abstract
The invention discloses a method for uploading a picture in a comment or a reply. The method comprises the following steps that a backstage system of the comment or the reply is used for receiving an uploaded original picture to generate a thumbnail; the backstage system is used for saving the original picture and the thumbnail; and after the comment or the reply is submitted, the thumbnail of the original picture is displayed in the comment or the reply. The invention further discloses a device for uploading the picture in the comment or the reply, according to the scheme, the picture can be conveniently and rapidly uploaded in the comment or the reply, a loading speed of a page is improved, and the rapid browse is realized.
Description
Technical field
The present invention relates to the internet information treatment technology, relate in particular to a kind of method and apparatus of uploading pictures in comment or in replying.
Background technology
Flourish along with social network sites, the instant communication function of social network sites from strength to strength, can directly write at social network sites by immediate communication tool such as QQ and MSN content distributed, even in the place that does not have network, as long as but also immediate updating oneself content distributed of mobile phone arranged.
Most social network sites all have comment and recovery function, as: SNS community website, Tengxun's microblogging, Sina's microblogging etc., the comment function is that the article of delivering or transmitting is estimated, answer is the answer that existing comment is carried out.But comment or the answer in the social network sites perhaps can't be uploaded the information that contains picture at present, and the picture of perhaps uploading is bigger, more, influences the load time of the page.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of method and apparatus of uploading pictures in comment or in replying, can be quickly and easily uploading pictures in comment or in replying, improve the loading velocity of the page, realize fast browsing.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of method of uploading pictures in comment or in replying provided by the invention, this method comprises:
Comment or the background system of replying receive the original image of uploading and generate thumbnail;
Described background system is preserved described original image and thumbnail;
After comment or replying submission, in comment or answer, show the thumbnail of included original image.
In the such scheme, described generation thumbnail is: original image is handled obtaining thumbnail by compress mode.
In the such scheme, describedly show that in comment or in replying the thumbnail of included original image is: according to the storing path of the thumbnail of original image, in comment or show the thumbnail of included original image in replying.
In the such scheme, this method further comprises: whether comment or the background system detection mouse of replying focus on the thumbnail in comment or the answer, during thumbnail in focusing on comment or replying, according to the hyperlink of described thumbnail, at the other original image that shows described thumbnail correspondence of thumbnail.
A kind of device of uploading pictures in comment or in replying provided by the invention, this device comprises: receiver module, thumbnail generation module, preserve module, display module; Wherein,
Receiver module is used for receiving the original image of uploading;
The thumbnail generation module is for the thumbnail that generates original image;
Preserve module, be used for preserving described original image and thumbnail;
Display module is used for after comment or replying submission, shows the thumbnail of included original image in commenting on or replying.
In the such scheme, described thumbnail generation module, concrete being used for obtains thumbnail with original image by the compress mode processing.
In the such scheme, described display module, concrete be used in comment or reply submit to after, according to the storing path of the thumbnail of original image, in comment or show the thumbnail of included original image in replying.
In the such scheme, this device further comprises former figure display module, for detection of mouse whether focus on comment or reply in thumbnail, during thumbnail in focusing on comment or replying, according to the hyperlink of described thumbnail, at the other original image that shows described thumbnail correspondence of thumbnail.
The invention provides a kind of method and apparatus of uploading pictures in comment or in replying, comment or the background system of replying receive the original image of uploading and also generate thumbnail; Described background system is preserved original image and thumbnail; After comment or replying submission, in comment or answer, show the thumbnail of included original image; So, can be quickly and easily uploading pictures in comment or in replying, improve the loading velocity of the page, realize fast browsing.
Description of drawings
Fig. 1 realizes a kind of schematic flow sheet of the method for uploading pictures in comment or in replying for the present invention;
Fig. 2 realizes a kind of structural representation of the device of uploading pictures in comment or in replying for the present invention.
Embodiment
Basic thought of the present invention is: comment or the background system of replying receive the original image of uploading and generate thumbnail; Described background system is preserved described original image and thumbnail; After comment or replying submission, in comment or answer, show the thumbnail of included original image.
Here, among the present invention, described original image refers to that the user selects the picture of uploading in computing machine; Described thumbnail refers on the webpage or dwindles picture after the compressed mode of original image is handled in the computing machine, wherein can comprise the hyperlink of the picture that points to full size usually; Generally, thumbnail is used at Web browser, can make Web browser more promptly pack into figure or the more webpage of picture, and thumbnail is small and exquisite because of it, loading velocity is very fast, can be used for fast browsing, is equivalent to the effect of picture file preview and catalogue.
The present invention is described in further detail below by drawings and the specific embodiments.
The present invention realizes a kind of method of uploading pictures in comment or in replying, and as shown in Figure 1, this method comprises following step:
Step 101: eject the dialog box that is used for selecting uploading pictures in comment or the answer page, behind the selected original image of uploading of user, described original image is uploaded to the background system of commenting on or replying;
Step 102: comment or the background system of replying receive the original image of uploading and generate thumbnail;
In this step, described generation thumbnail is handled original image exactly and is obtained thumbnail by compress mode.
Step 103: comment or the background system of replying are preserved described original image and thumbnail;
Step 104: after comment or replying submission, in comment or answer, show the thumbnail of included original image;
Concrete, in comment or reply submit to after, according to the storing path of the thumbnail of original image, in comment or show the thumbnail of included original image in replying.
Said method further comprises: whether comment or the background system detection mouse of replying focus on the thumbnail in comment or the answer, during thumbnail in focusing on comment or replying, according to the hyperlink of described thumbnail, at the other original image that shows described thumbnail correspondence of thumbnail.
In order to realize said method, the present invention also provides a kind of device of uploading pictures in comment or in replying, the background system that this device is placed on comment or replys, as shown in Figure 2, this device comprises: receiver module 21, thumbnail generation module 22, preservation module 23, display module 24; Wherein,
Receiver module 21 is used for receiving the original image of uploading;
Thumbnail generation module 22 is for the thumbnail that generates original image;
Preserve module 23, be used for preserving described original image and thumbnail;
Display module 24 is used for after comment or replying submission, shows the thumbnail of included original image in commenting on or replying;
Described thumbnail generation module 22, concrete being used for obtains thumbnail with original image by the compress mode processing;
Described display module 24, concrete be used in comment or reply submit to after, according to the storing path of the thumbnail of original image, in comment or show the thumbnail of included original image in replying;
This device further comprises former figure display module 25, for detection of mouse whether focus on comment or reply in thumbnail, during thumbnail in focusing on comment or replying, according to the hyperlink of described thumbnail, at the other original image that shows described thumbnail correspondence of thumbnail.
By said method, can be quickly and easily uploading pictures in comment or in replying, and in comment or only show the thumbnail of uploading pictures in replying, thereby improve the loading velocity of the page, realize fast browsing.
The above is preferred embodiment of the present invention only, is not for limiting protection scope of the present invention.
Claims (8)
1. the method for a uploading pictures in comment or in replying is characterized in that this method comprises:
Comment or the background system of replying receive the original image of uploading and generate thumbnail;
Described background system is preserved described original image and thumbnail;
After comment or replying submission, in comment or answer, show the thumbnail of included original image.
2. method according to claim 1 is characterized in that, described generation thumbnail is: original image is handled obtaining thumbnail by compress mode.
3. method according to claim 1, it is characterized in that, describedly show that in comment or in replying the thumbnail of included original image is: according to the storing path of the thumbnail of original image, in comment or show the thumbnail of included original image in replying.
4. method according to claim 1, it is characterized in that, this method further comprises: whether comment or the background system detection mouse of replying focus on the thumbnail in comment or the answer, during thumbnail in focusing on comment or replying, according to the hyperlink of described thumbnail, at the other original image that shows described thumbnail correspondence of thumbnail.
5. the device of a uploading pictures in comment or answer is characterized in that this device comprises: receiver module, thumbnail generation module, preservation module, display module; Wherein,
Receiver module is used for receiving the original image of uploading;
The thumbnail generation module is for the thumbnail that generates original image;
Preserve module, be used for preserving described original image and thumbnail;
Display module is used for after comment or replying submission, shows the thumbnail of included original image in commenting on or replying.
6. device according to claim 5 is characterized in that, described thumbnail generation module, and concrete being used for obtains thumbnail with original image by the compress mode processing.
7. device according to claim 5 is characterized in that, described display module, concrete be used in comment or reply submit to after, according to the storing path of the thumbnail of original image, in comment or show the thumbnail of included original image in replying.
8. device according to claim 5, it is characterized in that, this device further comprises former figure display module, for detection of mouse whether focus on comment or reply in thumbnail, during thumbnail in focusing on comment or replying, according to the hyperlink of described thumbnail, at the other original image that shows described thumbnail correspondence of thumbnail.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110443991.7A CN103186533B (en) | 2011-12-27 | 2011-12-27 | A kind of method and apparatus of uploading pictures in comment or in replying |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110443991.7A CN103186533B (en) | 2011-12-27 | 2011-12-27 | A kind of method and apparatus of uploading pictures in comment or in replying |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103186533A true CN103186533A (en) | 2013-07-03 |
CN103186533B CN103186533B (en) | 2016-05-18 |
Family
ID=48677704
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110443991.7A Active CN103186533B (en) | 2011-12-27 | 2011-12-27 | A kind of method and apparatus of uploading pictures in comment or in replying |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103186533B (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103838484A (en) * | 2014-02-21 | 2014-06-04 | 联想(北京)有限公司 | Method for deleting redundancy images, and electronic device |
CN104391854A (en) * | 2014-09-28 | 2015-03-04 | 用友优普信息技术有限公司 | Device and method for displaying pictures in ERP (enterprise resource planning) document list |
CN104461477A (en) * | 2013-09-13 | 2015-03-25 | 腾讯科技(北京)有限公司 | Method, system and corresponding device for adding network comment information |
CN105162817A (en) * | 2015-05-25 | 2015-12-16 | 腾讯科技(北京)有限公司 | Method and apparatus for image upload |
CN106375178A (en) * | 2015-07-23 | 2017-02-01 | 小米科技有限责任公司 | Message display method and device based on instant messaging |
CN107092622A (en) * | 2016-12-14 | 2017-08-25 | 口碑控股有限公司 | The methods of exhibiting and device of a kind of comment information |
CN107145494A (en) * | 2016-03-01 | 2017-09-08 | 广州市动景计算机科技有限公司 | A kind of method and device for browsing thumbnail in webpage |
CN104391854B (en) * | 2014-09-28 | 2018-08-31 | 用友优普信息技术有限公司 | The device and method of picture is shown in ERP system document list |
CN108984098A (en) * | 2018-07-12 | 2018-12-11 | 北京达佳互联信息技术有限公司 | The control method and device that information based on social software is shown |
CN109525896A (en) * | 2018-11-08 | 2019-03-26 | 北京微播视界科技有限公司 | Comment on answering method, device, equipment and storage medium |
CN110096665A (en) * | 2019-04-28 | 2019-08-06 | 北京字节跳动网络技术有限公司 | Methods of exhibiting, device, equipment and the medium of picture category comment data |
US11483264B2 (en) | 2020-12-25 | 2022-10-25 | Beijing Bytedance Network Technology Co., Ltd. | Information interaction method, apparatus, device, storage medium and program product |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1574830A (en) * | 2003-06-03 | 2005-02-02 | 村田机械株式会社 | Server device having electronic bulletin board function |
CN101193074A (en) * | 2007-05-22 | 2008-06-04 | 腾讯科技(深圳)有限公司 | A method and system for display image on instant communication demonstration frame |
CN101359336A (en) * | 2008-08-15 | 2009-02-04 | 深圳市中兴移动通信有限公司 | Method for producing reduced graph with different specifications based on page need |
US20100317373A1 (en) * | 2001-06-27 | 2010-12-16 | Fumiaki Matsumoto | Image provision device and image provision system |
-
2011
- 2011-12-27 CN CN201110443991.7A patent/CN103186533B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100317373A1 (en) * | 2001-06-27 | 2010-12-16 | Fumiaki Matsumoto | Image provision device and image provision system |
CN1574830A (en) * | 2003-06-03 | 2005-02-02 | 村田机械株式会社 | Server device having electronic bulletin board function |
CN101193074A (en) * | 2007-05-22 | 2008-06-04 | 腾讯科技(深圳)有限公司 | A method and system for display image on instant communication demonstration frame |
CN101359336A (en) * | 2008-08-15 | 2009-02-04 | 深圳市中兴移动通信有限公司 | Method for producing reduced graph with different specifications based on page need |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10484315B2 (en) | 2013-09-13 | 2019-11-19 | Tencent Technology (Shenzhen) Company Limited | Method, system and apparatus for adding network comment information |
CN104461477A (en) * | 2013-09-13 | 2015-03-25 | 腾讯科技(北京)有限公司 | Method, system and corresponding device for adding network comment information |
CN103838484A (en) * | 2014-02-21 | 2014-06-04 | 联想(北京)有限公司 | Method for deleting redundancy images, and electronic device |
CN104391854A (en) * | 2014-09-28 | 2015-03-04 | 用友优普信息技术有限公司 | Device and method for displaying pictures in ERP (enterprise resource planning) document list |
CN104391854B (en) * | 2014-09-28 | 2018-08-31 | 用友优普信息技术有限公司 | The device and method of picture is shown in ERP system document list |
CN105162817A (en) * | 2015-05-25 | 2015-12-16 | 腾讯科技(北京)有限公司 | Method and apparatus for image upload |
CN106375178A (en) * | 2015-07-23 | 2017-02-01 | 小米科技有限责任公司 | Message display method and device based on instant messaging |
CN107145494A (en) * | 2016-03-01 | 2017-09-08 | 广州市动景计算机科技有限公司 | A kind of method and device for browsing thumbnail in webpage |
CN107092622A (en) * | 2016-12-14 | 2017-08-25 | 口碑控股有限公司 | The methods of exhibiting and device of a kind of comment information |
CN108984098A (en) * | 2018-07-12 | 2018-12-11 | 北京达佳互联信息技术有限公司 | The control method and device that information based on social software is shown |
CN108984098B (en) * | 2018-07-12 | 2020-10-02 | 北京达佳互联信息技术有限公司 | Information display control method and device based on social software |
CN109525896A (en) * | 2018-11-08 | 2019-03-26 | 北京微播视界科技有限公司 | Comment on answering method, device, equipment and storage medium |
CN110096665A (en) * | 2019-04-28 | 2019-08-06 | 北京字节跳动网络技术有限公司 | Methods of exhibiting, device, equipment and the medium of picture category comment data |
WO2020220776A1 (en) * | 2019-04-28 | 2020-11-05 | 北京字节跳动网络技术有限公司 | Picture comment data presentation method and apparatus, device and medium |
CN110096665B (en) * | 2019-04-28 | 2022-03-04 | 北京字节跳动网络技术有限公司 | Method, device, equipment and medium for displaying picture comment data |
US11483264B2 (en) | 2020-12-25 | 2022-10-25 | Beijing Bytedance Network Technology Co., Ltd. | Information interaction method, apparatus, device, storage medium and program product |
US11838251B2 (en) | 2020-12-25 | 2023-12-05 | Beijing Bytedance Network Technology Co., Ltd. | Information interaction method, apparatus, device, storage medium and program product |
Also Published As
Publication number | Publication date |
---|---|
CN103186533B (en) | 2016-05-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103186533A (en) | Method and device for uploading picture in comment or reply | |
CN104219617B (en) | Service acquisition method and device | |
US20130298238A1 (en) | Method and system for automatic detection of eavesdropping of an account based on identifiers and conditions | |
CN102737065B (en) | Method and device for acquiring data | |
CN104519404B (en) | The player method and device of graphic interchange format file | |
CN103971244A (en) | Commodity information issuing and browsing method, device and system | |
CN103514581A (en) | Screen picture capturing method, device and terminal equipment | |
US20160094615A1 (en) | Reducing web page load latency by scheduling sets of successive outgoing http calls | |
CN103309998A (en) | Message query method, message query device and terminal equipment | |
WO2008089079A3 (en) | Using a cellular telephone for searching and retrieving functions | |
CN102215215A (en) | Method for recovering page and electronic terminal | |
CN105808649B (en) | A kind of search result ordering method and its equipment | |
CN105139188A (en) | On-line electronic contract signing method based on mobile terminal | |
CN104216915A (en) | Webpage processing method, device and terminal equipment | |
CN103714161A (en) | Image thumbnail generation method and device and terminal | |
CN104618416A (en) | Credit account establishing method, device and system | |
CN105094513A (en) | User avatar setting method and apparatus as well as electronic device | |
CN104182429A (en) | Web page processing method and terminal | |
CN104182401A (en) | Method and device for searching in mobile terminal browser | |
CN203204657U (en) | Product specification transmission system based on mobile terminal | |
CN101470729A (en) | Web page picture displaying method and system, and server | |
MY184602A (en) | Method, device and system for storing social networking services content | |
CN104516890A (en) | Business processing method, business processing device and electronic equipment | |
CN102222095A (en) | Equipment for converting webpage to be displayed and method thereof | |
CN104750722A (en) | Information acquisition and display method and information acquisition and display device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |