CN101188576A - An implementation method and device for dynamic user image - Google Patents

An implementation method and device for dynamic user image Download PDF

Info

Publication number
CN101188576A
CN101188576A CNA200710160695XA CN200710160695A CN101188576A CN 101188576 A CN101188576 A CN 101188576A CN A200710160695X A CNA200710160695X A CN A200710160695XA CN 200710160695 A CN200710160695 A CN 200710160695A CN 101188576 A CN101188576 A CN 101188576A
Authority
CN
China
Prior art keywords
image file
client
server
file
dynamic
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.)
Pending
Application number
CNA200710160695XA
Other languages
Chinese (zh)
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 CNA200710160695XA priority Critical patent/CN101188576A/en
Publication of CN101188576A publication Critical patent/CN101188576A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a realization method of dynamic user images, and comprises the following steps: more than one image file are uploaded to a server by a client-side; more than one image file are compounded to be dynamic image files by the server, the dynamic image files are stored, and the storage addresses of the dynamic image files are sent to the client-side; and the dynamic image files are called and displayed by the client-side according to the receiving storage addresses. The invention also discloses a client-side for realizing dynamic user images and the server thereof. The technical proposal of the invention can realize the rich and colorful dynamic user images.

Description

A kind of implementation method of dynamic subscriber's image and device
Technical field
The present invention relates to Internet technical field, particularly a kind of implementation method of dynamic subscriber's image and device.
Background technology
At diverse network user's intercommunion platform,, often use user image to distinguish the user as network forum, virtual community, MSN or the like.Some internet exchange platform also supports user oneself to upload the user image file, expresses abundant more and personalized personal style.
Usually, the user image file is the static images form, and for example comparatively common and very ripe static images form is JPEG (joint photographic experts group) (Joint Photographic Expert Group, a JPEG) form at present.The jpeg image storage format is a kind of image lossy compression method form, though a no compressed picture can be lost some data through after being converted into jpeg image, and, human eye is to be not easy to distinguish very much this difference.That is to say that the jpeg image storage format had both satisfied the requirement of human eye to color and resolution, suitable again removal be difficult to the color told by human eye in the image, JPEG has found a good balance point in the clear and size of image.
Though JEPG picture file rich color can only show static effect.In order to make user image abundant more and active, also can adopt the picture of dynamic image file such as gif form.But the gif file has adopted 8 compressions, can only realize dynamic subscriber's image of 256 looks at most.And the user wishes the photo of oneself to be made user images usually, if photochrome is compressed the picture of journey gif form, picture quality will reduce greatly.
In sum, prior art problems is, if the user image file adopts the JEPG form, though can reach higher image quality, can't realize dynamic effect; If the user image file adopts the gif form, though then can realize dynamic effect, its picture quality is lower.
Summary of the invention
In view of this, embodiments of the invention propose a kind of implementation method and device of dynamic subscriber's image, can realize high-quality dynamic subscriber's image.
The implementation method of dynamic subscriber's image of the embodiment of the invention comprises the steps:
Client will be uploaded onto the server more than one image file;
Server synthesizes the dynamic image file with described more than an image file, stores described dynamic image file, and the memory address of described dynamic image file is sent to described client;
Client is called according to the memory address of being received and is shown described dynamic image file.
The client of the realization dynamic image of the embodiment of the invention comprises:
The image file acquiring unit is used to obtain the image file more than;
Uploading unit is used for described image file more than is uploaded onto the server;
Call unit is used for the address information of the dynamic image file that returns according to server, calls described dynamic image file and shows.
The server of the realization dynamic image of the embodiment of the invention comprises:
Receiving element, be used to receive client upload more than one image file;
Synthetic processing unit is used for the synthetic also dynamic image file of the described image file of loop play that shows successively of described image file;
Memory cell is used to store described dynamic image file;
The address transmitting element is used for described dynamic image file is sent to client in the memory address of memory cell.
As can be seen from the above technical solutions, client will upload onto the server more than an image file, server generates and shows the also dynamic image file of these image files of loop play successively, and the described dynamic image file of client call can be realized dynamic subscriber's image.Dynamic subscriber's image that this technical scheme realized both can realize the dynamic effect of similar gif file, can reach again or near the picture quality standard of JEPG file.
Description of drawings
Fig. 1 is the client block diagram of the embodiment of the invention;
Fig. 2 is the server block diagram of the embodiment of the invention;
Fig. 3 is the process chart of the embodiment of the invention.
Embodiment
At the problem that prior art exists, embodiment of the invention scheme adopts the flash technology, and the jpeg file loop play with some makes its dynamic effect with similar gif file, and has kept the coloury advantage of jpeg file again.
The Flash technology is the standard of present actual interactive polar plot and Web animation.Owing to adopted the vector plotting technique in Flash, each element is vector, therefore only just can describe the object of a complexity with a spot of data, thereby significantly reduce the size of animation file.And vector image also has an advantage, just can really accomplish electrodeless amplification and dwindles, can be with piece image convergent-divergent at random, and do not have any distortion.Because these characteristics of Flash, it is fit to be used for showing user's image very much.
The client of the embodiment of the invention is made up of personal terminal and the software that runs on this personal terminal as shown in Figure 1.This client comprises:
Image file acquiring unit 101 is used to obtain the image file as the user image material.Described obtaining can be to read file from the storage device of personal terminal, and perhaps image processing equipments such as the camera that connects from personal terminal, digital camera, scanner obtain image file.If the gained image file is not a jpeg format, image acquisition unit also is converted to jpeg format with the image file that is obtained.
Picture editting unit 102, the image file that is used for image acquisition unit is obtained carries out edit operation, for example be rotated, convergent-divergent, adjustment tone contrast, adopt image filter special effect processing, input characters, animation time be set at interval etc., can also select picture frame file.If picture frame file is arranged on client terminal local, then select picture frame file, if picture frame file is arranged on server, then select the numbering of picture frame file.
Uploading unit 103 is used for image file that the picture editting unit is editted and relevant Word message, time interval information, and the picture frame file information uploading is to server.Method for uploading can adopt the POST method of HTTP(Hypertext Transport Protocol).
Call unit 104 is used for the address information of the user image file that returns according to server, and invoke user image file is showed.Call unit 104 comprises the loader (Loader) of flash file, and Loader obtains animation flash file that server processes, picture frame file, switching time, Word message etc. from described address information; At first load picture frame file, load animation flash file and Word message then,, Word message is presented at the fixed position of animation flash document, thereby restore the effect of user when editing according to playing this animation flash file switching time.
The server of the embodiment of the invention as shown in Figure 2,
Receiving element 201 is used to receive the image file of client upload, and phase related control information such as animation time are at interval; Can adopt common gateway interface (CGI) to receive file.
Verification unit 202 is used for the legitimacy of verification file that receiving element receives.
Synthetic processing unit 203 is used for being treated to the flash file with described image file is synthetic, also is used for picture frame file and/or Word message are loaded into described flash file.
Memory cell 204 is used to store described flash file.
Address transmitting element 205 is used for the memory address of described flash file in memory cell sent to client as URL(uniform resource locator) (URL) address.
The realization flow of the embodiment of the invention comprises the steps: as shown in Figure 3
Step 301: client is obtained image file.
Client has and can obtain image file by several different methods, and way the most frequently used and most convenient is: obtain image file of being stored on the hard disk of personal terminal or the camera photographic images file that connects with personal terminal.Client can provide the image preview interface, the taken image of intercepting camera, and be shown on the image preview interface.At this moment view data leaves in the internal memory, and client Flash can continue to use these data when the user adjusts the photo effect.Camera is taken and is comprised that taking individual takes with continuous.Wherein shooting can allow the user take one group of relevant photo very easily continuously, and it is synthetic to be used for follow-up dynamic image file.Can select time interval of taking when taking continuously.
For the consideration of fail safe, can forbid that also the user directly uploads local image file, but image file is uploaded to a file server through authentication, check the server that is forwarded to the embodiment of the invention after errorless again; Perhaps be forwarded to the client of the embodiment of the invention, upload to server again.
Step 302: client is adjusted animation effect.
Animation effect comprises two parts: the outward appearance and the broadcasting speed that animation is set of adjusting single photo
When handling single photo, can use default handling implement, comprise the various filters of convergent-divergent, rotation and use; Word message and picture frame file can also be set.Word message is exactly user's color of wishing to follow literal that dynamic image shows together and this literal, form and dynamic display effect.Picture frame file is the additional image file that vivid file is beautified in client or server end being used for of setting in advance and since appear at usually image around, and show the decorative pattern of certain color, just look like to be that the photo frame of photo is the same.Picture frame file is the flash file in embodiments of the present invention.
Can regulate or self-defined broadcasting speed, the time interval that picture switches, regulating step-length can be 0.5 second from 0.5 second to 2.5 seconds
Step 303: client upload arrives server more than one image file and control information.
After the user adjusted the photo effect by client, the CGI that the picture data that client just will be handled by http protocol is uploaded to server did further processing.Use the POST method in the http protocol during transmission, made CGI directly from the standard input, to read picture data.Preferably, the image file format of uploading is JPEG.
Step 304: the synthetic dynamic subscriber's image of server file.
In this step, data such as the image file that server is uploaded client, Word message, photo frame information, animation information process, finally synthetic dynamic image.
At first, generate the flash files, be called animation flash file according to the several image files of being received, this animation flash file with these several images according to set time interval Alternation Display, and loop play; With this flash file and picture frame file, literal loads together then, generates the dynamic image file that has photo frame and text effects, and storage this document.
Step 305: server sends to client with the URL address of resulting user image file.
Step 306: client is called described dynamic subscriber's image file and demonstration according to described URL address.
The Loader that client is used the flash file obtains animation flash file that server processes, picture frame file, switching time, Word message etc. from described URL address information; At first load picture frame file, load animation flash file and Word message then,, Word message is presented at the fixed position of animation flash document, thereby restore the effect of user when editing according to playing this animation flash file switching time.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. the implementation method of dynamic subscriber's image is characterized in that, comprises the steps:
Client will be uploaded onto the server more than one image file;
Server synthesizes the dynamic image file with described more than an image file, stores described dynamic image file, and the memory address of described dynamic image file is sent to described client;
Client is called according to the memory address of being received and is shown described dynamic image file.
2. method according to claim 1 is characterized in that, before described client will be uploaded onto the server more than one image file, further comprise: client was obtained image file, and described image file is edited.
3. method according to claim 2 is characterized in that, described described image file is edited comprises: the Word message that is provided for additional image file and/or is used for showing with described image file;
Described client will comprise more than the step that one image file is uploaded onto the server: client is uploaded onto the server set additional image file and/or Word message;
Described server generates after demonstration successively and the described dynamic image file more than an image file of loop play, further comprises:
Additional image file of server loading and/or Word message are in described dynamic image file.
4. method according to claim 1 is characterized in that, described image file is the file of JPEG (joint photographic experts group) jpeg format; And/or described dynamic image file is the flash file.
5. a client that realizes dynamic image is characterized in that, comprising:
The image file acquiring unit is used to obtain the image file more than;
Uploading unit is used for described image file more than is uploaded onto the server;
Call unit is used for the address information of the dynamic image file that returns according to server, calls described dynamic image file and shows.
6. client according to claim 5 is characterized in that, this client also comprises:
The picture editting unit, the image file that is used for that image acquisition unit is obtained carries out following arbitrary edit operation or its combination: rotation, convergent-divergent, adjustment tone contrast, adopt image filter special effect processing, input characters, animation time be set at interval and select picture frame file.
7. a server of realizing dynamic image is characterized in that, comprising:
Receiving element, be used to receive client upload more than one image file;
Synthetic processing unit is used for the synthetic also dynamic image file of the described image file of loop play that shows successively of described image file;
Memory cell is used to store described dynamic image file;
The address transmitting element is used for described dynamic image file is sent to client in the memory address of memory cell.
8. server according to claim 7 is characterized in that, described server comprises:
Verification unit is used for the legitimacy of verification image file that receiving element receives.
CNA200710160695XA 2007-12-29 2007-12-29 An implementation method and device for dynamic user image Pending CN101188576A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA200710160695XA CN101188576A (en) 2007-12-29 2007-12-29 An implementation method and device for dynamic user image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA200710160695XA CN101188576A (en) 2007-12-29 2007-12-29 An implementation method and device for dynamic user image

Publications (1)

Publication Number Publication Date
CN101188576A true CN101188576A (en) 2008-05-28

Family

ID=39480771

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA200710160695XA Pending CN101188576A (en) 2007-12-29 2007-12-29 An implementation method and device for dynamic user image

Country Status (1)

Country Link
CN (1) CN101188576A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546280A (en) * 2010-12-26 2012-07-04 上海量明科技发展有限公司 Method and system for achieving interval data recording in instant messaging
CN102868923A (en) * 2012-09-13 2013-01-09 北京富年科技有限公司 Method, equipment and system applied to special-effect cloud treatment of videos of mobile terminal
WO2013159368A1 (en) * 2012-04-26 2013-10-31 青岛海信信芯科技有限公司 Data overlaying display and synthesis method and system, and display device
CN105024924A (en) * 2015-07-30 2015-11-04 中国传媒大学 Intelligent life diary gif picture system
CN105094513A (en) * 2014-05-23 2015-11-25 腾讯科技(北京)有限公司 User avatar setting method and apparatus as well as electronic device
CN106534485A (en) * 2016-10-12 2017-03-22 乐视控股(北京)有限公司 Method and device for setting group head portrait
WO2019101190A1 (en) * 2017-11-27 2019-05-31 阿里巴巴集团控股有限公司 Product information publishing and viewing method, related apparatus, and system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546280A (en) * 2010-12-26 2012-07-04 上海量明科技发展有限公司 Method and system for achieving interval data recording in instant messaging
WO2013159368A1 (en) * 2012-04-26 2013-10-31 青岛海信信芯科技有限公司 Data overlaying display and synthesis method and system, and display device
CN102868923A (en) * 2012-09-13 2013-01-09 北京富年科技有限公司 Method, equipment and system applied to special-effect cloud treatment of videos of mobile terminal
CN102868923B (en) * 2012-09-13 2016-04-06 北京富年科技有限公司 Be applied to special-effect cloud processing method, the equipment and system of mobile terminal video
CN105094513A (en) * 2014-05-23 2015-11-25 腾讯科技(北京)有限公司 User avatar setting method and apparatus as well as electronic device
CN105024924A (en) * 2015-07-30 2015-11-04 中国传媒大学 Intelligent life diary gif picture system
CN105024924B (en) * 2015-07-30 2018-02-09 中国传媒大学 Intelligent life diary cardon system
CN106534485A (en) * 2016-10-12 2017-03-22 乐视控股(北京)有限公司 Method and device for setting group head portrait
WO2019101190A1 (en) * 2017-11-27 2019-05-31 阿里巴巴集团控股有限公司 Product information publishing and viewing method, related apparatus, and system

Similar Documents

Publication Publication Date Title
KR101167432B1 (en) Method for implementing rich video on mobile terminals
CN101188576A (en) An implementation method and device for dynamic user image
US7936484B2 (en) Internet-based synchronized imaging
US20050143136A1 (en) Mms system and method with protocol conversion suitable for mobile/portable handset display
CN101179688B (en) Method and apparatus for implementing dynamic expression picture
CN103177015A (en) Method and system for webpage image presentation
KR20060097920A (en) Method for converting photo slide into moving picture in mobile terminal
JP3789902B2 (en) Communication terminal device
CN112584194A (en) Video code stream pushing method and device, computer equipment and storage medium
CN112817671A (en) Image processing method, device, equipment and computer readable storage medium
CN111787111B (en) Data transmission method and device based on cloud game
JP4444623B2 (en) Moving image conversion apparatus and method, moving image distribution apparatus, mail relay apparatus, and program
KR101143408B1 (en) System for Providing Service of Compositing Imageor Video
JP2007259095A (en) Moving image distribution system
CN109361747A (en) A kind of lightweight image converting method
KR100593813B1 (en) System for providing composed moving-image and method thereof
KR20010106823A (en) Proffer method for web image of picture frame type in mobile communication device
KR20060030278A (en) Mobile communication system for offering image editing service and method thereof
EP2209301A1 (en) Camera control method for remote controlling a camera and a related camera control server
JP4261934B2 (en) Video clip generation device, video clip generation method, program, and storage medium
WO2007146324A2 (en) Internet-based synchronized imaging
KR101160990B1 (en) Method for Providing Information Image(or Video)
JP4170150B2 (en) Mail relay apparatus and method, and program
JP4096354B2 (en) Communication terminal and image server
KR100612697B1 (en) Mobile Communication Terminal with Function for Generating of Animation File and Method for Generating of Animation File Using the Same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20080528