CN104932853A - Dynamic expression play method and device - Google Patents

Dynamic expression play method and device Download PDF

Info

Publication number
CN104932853A
CN104932853A CN201510271943.2A CN201510271943A CN104932853A CN 104932853 A CN104932853 A CN 104932853A CN 201510271943 A CN201510271943 A CN 201510271943A CN 104932853 A CN104932853 A CN 104932853A
Authority
CN
China
Prior art keywords
image
dynamic
frame images
expression
dynamic expression
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
CN201510271943.2A
Other languages
Chinese (zh)
Other versions
CN104932853B (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.)
SHENZHEN TOMORROW SPATIAL INFORMATION TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN TOMORROW SPATIAL INFORMATION TECHNOLOGY 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 SHENZHEN TOMORROW SPATIAL INFORMATION TECHNOLOGY Co Ltd filed Critical SHENZHEN TOMORROW SPATIAL INFORMATION TECHNOLOGY Co Ltd
Priority to CN201510271943.2A priority Critical patent/CN104932853B/en
Publication of CN104932853A publication Critical patent/CN104932853A/en
Application granted granted Critical
Publication of CN104932853B publication Critical patent/CN104932853B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Television Signal Processing For Recording (AREA)

Abstract

The invention discloses a dynamic expression play method. The dynamic expression play method comprises the following steps of when a dynamic expression play command is received, acquiring the screen size of a terminal; adjusting the size of a play region of a dynamic expression to be the screen size; and determining a dynamic image corresponding to the play command, and inserting the dynamic image in the play region so as to be played. The invention also discloses a dynamic expression play device. Through adoption of the method and device, the problem that conventional dynamic expressions are played only in a certain region but cannot be played in the full screen is solved effectively, and the network communication experience of users is improved.

Description

Dynamic expression player method and device
Technical field
The present invention relates to network instant communication field, particularly relate to a kind of dynamic expression player method and device.
Background technology
At present, along with the fast development of the communication technology and terminal technology, the use of the terminals such as mobile phone, smart phone, notebook computer, PDA (personal digital assistant), PAD (panel computer), PMP (portable media player) is more and more extensive.Interpersonal Communication also becomes more and more convenient, various network instant communication instrument rises thereupon, vivid expression picture has enriched the communication experiences of people greatly, makes vivid expression play the large competitive power becoming network instant communication field.But the broadcasting of existing dynamic expression is limited in certain area, can not carries out played in full screen, exert a certain influence to the network service of people, the network service reducing people is experienced.
Foregoing, only for auxiliary understanding technical scheme of the present invention, does not represent and admits that foregoing is prior art.
Summary of the invention
Fundamental purpose of the present invention is to propose a kind of dynamic expression player method and device, be intended to solve existing dynamic expression be only limitted to play in certain area, can not the problem of played in full screen.
For achieving the above object, the invention provides a kind of dynamic expression player method, described dynamic expression player method comprises the following steps:
When receiving dynamic expression play instruction, obtain the screen size of terminal;
Be described screen size by the play area adjusted size of described dynamic expression;
Determine the dynamic image that described play instruction is corresponding, described dynamic image is inserted in described play area and plays.
Preferably, describedly determine the dynamic image that described play instruction is corresponding, described dynamic image be inserted in described play area the step carrying out playing and comprise:
Determine the dynamic image that described play instruction is corresponding;
Read the image bag of described dynamic image, and extract single-frame images and the configuration file of described dynamic image in described image bag;
The playing sequence of described single-frame images is determined according to described configuration file;
Described single-frame images is inserted in described play area according to described playing sequence and shows.
Preferably, describedly described single-frame images be inserted in described play area according to described playing sequence the step carrying out showing comprise:
Audio file is searched in described configuration file;
When finding audio file, extract described audio file;
Described single-frame images is inserted in described play area according to described playing sequence and shows, and play described audio file simultaneously.
Preferably, described when receiving dynamic expression play instruction, before obtaining the step of the screen size of terminal, also comprise:
The image bag of described dynamic image is obtained from server;
Resolve the stitching image extracting single-frame images in image bag described in described image Bao Bingcong;
Described stitching image is decomposed into multiple single-frame images and is kept in the image bag of described dynamic image.
Preferably, described obtain the step of image bag of described dynamic image from server before, also comprise:
Obtain the dynamic image of dynamic expression to be uploaded, obtained dynamic image is decomposed into multiple single-frame images, and generate corresponding configuration file;
Described single-frame images is carried out splicing and generate stitching image;
Described stitching image and the packing of described configuration file are generated the image bag of corresponding dynamic image;
The image bag of described dynamic image is uploaded onto the server.
In addition, for achieving the above object, the present invention also provides a kind of dynamic expression playing device, and described dynamic expression playing device comprises:
Receiver module, for when receiving dynamic expression play instruction, obtains the screen size of terminal;
Processing module, for being described screen size by the play area adjusted size of described dynamic expression;
Playing module, for determining the dynamic image that described play instruction is corresponding, being inserted into described dynamic image in described play area and playing.
Preferably, described playing module comprises determining unit, reading unit and broadcast unit;
Described determining unit, for determining the dynamic image that described play instruction is corresponding;
Described reading unit, for reading the image bag of described dynamic image, and extracts single-frame images and the configuration file of described dynamic image in described image bag;
Described determining unit, also for determining the playing sequence of described single-frame images according to described configuration file;
Described broadcast unit, shows for being inserted in described play area according to described playing sequence by described single-frame images.
Preferably, described playing module comprises and searches unit;
Describedly search unit, for searching audio file in described configuration file;
Described reading unit, also for when finding audio file, extracts described audio file;
Described broadcast unit, also shows for being inserted in described play area according to described playing sequence by described single-frame images, and plays described audio file simultaneously.
Preferably, described dynamic expression playing device also comprises: acquisition module, parsing module and decomposing module;
Described acquisition module, for obtaining the image bag of described dynamic image from server;
Described parsing module, for resolving the stitching image extracting single-frame images in image bag described in described image Bao Bingcong;
Described decomposing module, for being decomposed into multiple single-frame images by described stitching image and being kept in the image bag of described dynamic image.
Preferably, described dynamic expression playing device also comprises: concatenation module, packetization module and upper transmission module;
Described acquisition module, also for obtaining the dynamic image of dynamic expression to be uploaded, is decomposed into multiple single-frame images by obtained dynamic image, and generates corresponding configuration file;
Described concatenation module, generates stitching image for described single-frame images being carried out splicing;
Described packetization module, for generating the image bag of corresponding dynamic image by described stitching image and the packing of described configuration file;
Described upper transmission module, for uploading onto the server the image bag of described dynamic image.
The present invention is according to the size of the screen size adjustment play area of terminal, make dynamic expression played in full screen in play area, the existing dynamic expression of effective solution is only limitted to play in certain area, can not the problem of played in full screen, the network service that improve user is experienced.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the first embodiment of dynamic expression player method of the present invention;
Fig. 2 is the schematic flow sheet of the second embodiment of dynamic expression player method of the present invention;
Fig. 3 is the schematic flow sheet of the preferred embodiment of step S34 in Fig. 2;
Fig. 4 is the schematic flow sheet of the 3rd embodiment of dynamic expression player method of the present invention;
Fig. 5 is the schematic flow sheet of the preferred embodiment of the image packet procedures of the self-defined generation dynamic image of the present invention;
Fig. 6 is the high-level schematic functional block diagram of the first embodiment of dynamic expression playing device of the present invention;
Fig. 7 is the high-level schematic functional block diagram of the second embodiment of dynamic expression playing device of the present invention;
Fig. 8 is the high-level schematic functional block diagram of the 3rd embodiment of dynamic expression playing device of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The primary solutions of the embodiment of the present invention is: when receiving dynamic expression play instruction, obtains the screen size of terminal; Be described screen size by the play area adjusted size of described dynamic expression; Determine the dynamic image that described play instruction is corresponding, described dynamic image is inserted in described play area and plays.
Existing dynamic expression is only limitted to play in certain area, can not the problem of played in full screen, and then it is on the low side that the network service of user is experienced.
Based on the problems referred to above, the invention provides a kind of dynamic expression player method.
With reference to the schematic flow sheet that Fig. 1, Fig. 1 are the first embodiment of dynamic expression player method of the present invention.
In the present embodiment, described dynamic expression player method comprises:
Step S10, when receiving dynamic expression play instruction, obtains the screen size of terminal;
Described terminal, when receiving dynamic expression play instruction, obtains the screen size of terminal.Described terminal can be implemented in a variety of manners.Such as, described terminal can comprise the such as mobile terminal of mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP (portable media player), guider etc. and the fixed terminal of such as digital TV, desk-top computer etc.
Described terminal can receive by server the dynamic expression icon sent from other terminal, and triggers dynamic expression play instruction by described dynamic expression icon; Or, the dynamic expression icon list of described terminal local also can be provided, trigger dynamic expression play instruction by the dynamic expression icon in described list.Described terminal, when receiving described dynamic expression play instruction, can read the screen size of described terminal by the display driver of described terminal, or obtains the screen size of terminal by the screen pixels calculating described terminal.The screen of described terminal can comprise the screen in order to show information of display device as various in liquid crystal display (LCD), thin film transistor (TFT) LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. enforcement.
The play area adjusted size of described dynamic expression is described screen size by step S20;
The play area adjusted size of described dynamic expression is described screen size by described terminal.Adjusted by the size of the play area to described dynamic expression, to realize the played in full screen to described dynamic expression.
Step S30, determines the dynamic image that described play instruction is corresponding, is inserted in described play area by described dynamic image and plays.
Described terminal is determined to read described dynamic image by the dynamic image that described play instruction is corresponding, and is inserted in described play area by described dynamic image and plays.Preferably, according to the mapping relations between the dynamic image play instruction preset and dynamic image, the dynamic image that described play instruction is corresponding can be determined; By calling the interface that described play area provides, described dynamic image can be inserted in described play area and carry out played in full screen.
The present embodiment is according to the size of the screen size adjustment play area of terminal, make dynamic expression played in full screen in play area, the existing dynamic expression of effective solution is only limitted to play in certain area, can not the problem of played in full screen, the network service that improve user is experienced.
With reference to the schematic flow sheet that Fig. 2, Fig. 2 are the second embodiment of dynamic expression player method of the present invention.Based on the first embodiment of above-mentioned dynamic expression player method, described step S30 comprises:
Step S31, determines the dynamic image that described play instruction is corresponding;
Described terminal determines the dynamic image that described dynamic expression play instruction is corresponding.Preferably, default dynamic expression play instruction and the mapping relations of dynamic image can be obtained, determine according to described mapping relations the dynamic image that described play instruction is corresponding, and determine that the image of described dynamic image wraps in the store path of described terminal local.To read single-frame images and the configuration file of described dynamic image in described image bag.
Step S32, reads the image bag of described dynamic image, and extracts single-frame images and the configuration file of described dynamic image in described image bag;
Described terminal reads the image bag of described dynamic image, and extracts single-frame images and the configuration file of described dynamic image in described image bag.Described terminal according to the store path of the image bag of determined dynamic image and described dynamic image, can read the image bag of described dynamic image.The image bag of described dynamic image includes described dynamic image and decomposes the single-frame images and configuration file that obtain, described configuration file includes the play parameter of described single-frame images, described play parameter comprises the parameter such as playing sequence, playback rate of described single-frame images, can also contain audio file corresponding to described dynamic image in described configuration file.The image bag of described dynamic image can obtain from server, the image bag of the dynamic image preset generated by server; Or the image bag of described dynamic image also can be by the image bag of described terminal by the dynamic image of self-defined generation.
Step S33, determines the playing sequence of described single-frame images according to described configuration file;
Step S34, is inserted into described single-frame images in described play area according to described playing sequence and shows.
Described terminal determines the playing sequence of described single-frame images according to described configuration file; Described single-frame images is inserted in described play area according to described playing sequence and shows.Preferably, by calling the interface that described play area provides, described single-frame images can be inserted in described play area according to described playing sequence and carry out full screen display.Described configuration file can also be resolved and determine the play parameter such as the playback rate of described single-frame images, control according to the display of described play parameter to described single-frame images.Preferably, can while broadcasting dynamic expression, play corresponding expression audio, concrete can pass through following process implementation.
With reference to the schematic flow sheet that Fig. 3, Fig. 3 are the preferred embodiment of described step S34.Described step S34 comprises:
Step S340, searches audio file in described configuration file;
Step S341, when finding audio file, extracts described audio file;
Step S342, is inserted into described single-frame images in described play area according to described playing sequence and shows, and play described audio file simultaneously.
Described terminal searches audio file in described configuration file; When finding audio file, extract described audio file; Described single-frame images is inserted in described play area according to described playing sequence and shows, and play described audio file simultaneously.Achieve while dynamic expression is play and play expression audio, further improve Consumer's Experience.
The present embodiment is according to the size of the screen size adjustment play area of terminal, make dynamic expression played in full screen in play area, the existing dynamic expression of effective solution is only limitted to play in certain area, can not the problem of played in full screen, the network service that improve user is experienced.And dynamic expression is decomposed into single-frame images shows, effectively reduce the occupancy of internal memory, in broadcasting dynamic expression process, play expression audio, the image sound effect achieving dynamic expression is synchronous simultaneously, omnibearing dynamic expression to be shown, improve Consumer's Experience.
With reference to the schematic flow sheet that Fig. 4, Fig. 4 are the 3rd embodiment of dynamic expression player method of the present invention.Based on the second embodiment of above-mentioned dynamic expression player method, before described step S10, also comprise:
Step S11, obtains the image bag of described dynamic image from server;
Described terminal obtains the image bag of described dynamic image from server.Before receiving dynamic expression play instruction, the image bag of all dynamic images can be obtained from server, and is saved in described terminal local; Or, in other embodiments of the invention, also when receiving described dynamic expression play instruction, image bag corresponding to described dynamic expression play instruction can be obtained from server; Or, when described terminal generates the image bag of dynamic image by defined interface, generated image bag is kept at described terminal local.The stitching image that the single-frame images that the described image bag obtained from server includes described dynamic expression is spliced to form and configuration file.
With reference to Fig. 5, the schematic flow sheet of the preferred embodiment of the process of the image bag of described self-defined generation dynamic image.
Step S110, obtains the dynamic image of dynamic expression to be uploaded, and obtained dynamic image is decomposed into multiple single-frame images, and generates corresponding configuration file;
Step S111, carries out splicing and generates stitching image by described single-frame images;
Step S112, generates the image bag of corresponding dynamic image by described stitching image and the packing of described configuration file;
Step S113, uploads onto the server the image bag of described dynamic image.
Described terminal obtains the dynamic image of dynamic expression to be uploaded, and obtained dynamic image is decomposed into multiple single-frame images, and generates corresponding configuration file; Described single-frame images is carried out splicing and generate stitching image; Described stitching image and the packing of described configuration file are generated the image bag of corresponding dynamic image; The image bag of described dynamic image is uploaded onto the server.By dynamic image is decomposed into single-frame images, and single-frame images is spliced into stitching image and carries out preserving and transmitting, effectively reduce storage resources and Internet resources that dynamic image preserves and take in transmitting procedure, improve transfer rate.
Step S12, resolves the stitching image extracting single-frame images in image bag described in described image Bao Bingcong;
The stitching image of single-frame images is extracted in image bag described in image Bao Bingcong described in described terminal parses.The stitching image that the single-frame images that the image bag of dynamic image obtained from server includes described dynamic expression is spliced to form and configuration file, before the described dynamic image of broadcasting, described stitching image need be extracted and decompose.
Step S13, is decomposed into multiple single-frame images by described stitching image and is kept in the image bag of described dynamic image.
Described stitching image is decomposed into multiple single-frame images and is kept in the image bag of the inherent described terminal local of image bag of described dynamic image by described terminal.By carrying out pre-service to the image bag of the dynamic image obtained from server end, so that when receiving the play instruction of dynamic expression, in described image bag, read single-frame images and configuration file is play.
The present embodiment is according to the size of the screen size adjustment play area of terminal, make dynamic expression played in full screen in play area, the existing dynamic expression of effective solution is only limitted to play in certain area, can not the problem of played in full screen, the network service that improve user is experienced.And dynamic expression is decomposed into single-frame images shows, effectively reduce the occupancy of internal memory, in broadcasting dynamic expression process, play expression audio, the image sound effect achieving dynamic expression is synchronous simultaneously, omnibearing dynamic expression to be shown, improve Consumer's Experience.Simultaneously, the image of dynamic expression is decomposed, and the single-frame images of decomposition is spliced into stitching image, stitching image is packaged as image bag to carry out preserving and transmitting, effectively reduce in dynamic expression preservation and transmitting procedure, the storage resources taken and Internet resources etc., effectively raise the transfer rate of dynamic expression.
The executive agent of the dynamic expression player method of the above-mentioned first to the 3rd embodiment can be all network communication terminal.Further, described dynamic expression player method can realize by by the client-side program be arranged in network communication terminal, wherein, described network communication terminal can comprise the such as mobile terminal of mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP (portable media player), guider etc. and the fixed terminal of such as digital TV, desk-top computer etc.
The present invention further provides a kind of dynamic expression playing device.
With reference to the high-level schematic functional block diagram that Fig. 6, Fig. 6 are the first embodiment of dynamic expression playing device of the present invention.
In the present embodiment, described dynamic expression playing device comprises: receiver module 10, processing module 20 and playing module 30.
Described receiver module 10, for when receiving dynamic expression play instruction, obtains the screen size of terminal;
Described terminal, when receiving dynamic expression play instruction, obtains the screen size of terminal.Described terminal can be implemented in a variety of manners.Such as, described terminal can comprise the such as mobile terminal of mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP (portable media player), guider etc. and the fixed terminal of such as digital TV, desk-top computer etc.
Described terminal can receive by server the dynamic expression icon sent from other terminal, and triggers dynamic expression play instruction by described dynamic expression icon; Or, the dynamic expression icon list of described terminal local also can be provided, trigger dynamic expression play instruction by the dynamic expression icon in described list.Described terminal, when receiving described dynamic expression play instruction, can read the screen size of described terminal by the display driver of described terminal, or obtains the screen size of terminal by the screen pixels calculating described terminal.The screen of described terminal can comprise the screen in order to show information of display device as various in liquid crystal display (LCD), thin film transistor (TFT) LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. enforcement.
Described processing module 20, for being described screen size by the play area adjusted size of described dynamic expression;
The play area adjusted size of described dynamic expression is described screen size by described terminal.Adjusted by the size of the play area to described dynamic expression, to realize the played in full screen to described dynamic expression.
Described playing module 30, for determining the dynamic image that described play instruction is corresponding, being inserted into described dynamic image in described play area and playing.
Described terminal is determined to read described dynamic image by the dynamic image that described play instruction is corresponding, and is inserted in described play area by described dynamic image and plays.Preferably, according to the mapping relations between the dynamic image play instruction preset and dynamic image, the dynamic image that described play instruction is corresponding can be determined; By calling the interface that described play area provides, described dynamic image can be inserted in described play area and carry out played in full screen.
The present embodiment is according to the size of the screen size adjustment play area of terminal, make dynamic expression played in full screen in play area, the existing dynamic expression of effective solution is only limitted to play in certain area, can not the problem of played in full screen, the network service that improve user is experienced.
With reference to the high-level schematic functional block diagram that Fig. 7, Fig. 7 are the second embodiment of dynamic expression playing device of the present invention.Based on the first embodiment of above-mentioned dynamic expression playing device, described playing module 30 comprises determining unit 31, reading unit 32, broadcast unit 33 and searches unit 34;
Described determining unit 31, for determining the dynamic image that described play instruction is corresponding;
Described terminal determines the dynamic image that described dynamic expression play instruction is corresponding.Preferably, default dynamic expression play instruction and the mapping relations of dynamic image can be obtained, determine according to described mapping relations the dynamic image that described play instruction is corresponding, and determine that the image of described dynamic image wraps in the store path of described terminal local.To read single-frame images and the configuration file of described dynamic image in described image bag.
Described reading unit 32, for reading the image bag of described dynamic image, and extracts single-frame images and the configuration file of described dynamic image in described image bag;
Described terminal reads the image bag of described dynamic image, and extracts single-frame images and the configuration file of described dynamic image in described image bag.Described terminal according to the store path of the image bag of determined dynamic image and described dynamic image, can read the image bag of described dynamic image.The image bag of described dynamic image includes described dynamic image and decomposes the single-frame images and configuration file that obtain, described configuration file includes the play parameter of described single-frame images, described play parameter comprises the parameter such as playing sequence, playback rate of described single-frame images, can also contain audio file corresponding to described dynamic image in described configuration file.The image bag of described dynamic image can obtain from server, the image bag of the dynamic image preset generated by server; Or the image bag of described dynamic image also can be by the image bag of described terminal by the dynamic image of self-defined generation.
Described determining unit 31, also for determining the playing sequence of described single-frame images according to described configuration file;
Described broadcast unit 33, shows for being inserted in described play area according to described playing sequence by described single-frame images.
Described terminal determines the playing sequence of described single-frame images according to described configuration file; Described single-frame images is inserted in described play area according to described playing sequence and shows.Preferably, by calling the interface that described play area provides, described single-frame images can be inserted in described play area according to described playing sequence and carry out full screen display.Described configuration file can also be resolved and determine the play parameter such as the playback rate of described single-frame images, control according to the display of described play parameter to described single-frame images.Preferably, can while broadcasting dynamic expression, play corresponding expression audio, concrete can pass through following process implementation.
Describedly search unit 34, for searching audio file in described configuration file;
Described reading unit 32, also for when finding audio file, extracts described audio file;
Described broadcast unit 33, also shows for being inserted in described play area according to described playing sequence by described single-frame images, and plays described audio file simultaneously.
Described terminal searches audio file in described configuration file; When finding audio file, extract described audio file; Described single-frame images is inserted in described play area according to described playing sequence and shows, and play described audio file simultaneously.Achieve while dynamic expression is play and play expression audio, further improve Consumer's Experience.
The present embodiment is according to the size of the screen size adjustment play area of terminal, make dynamic expression played in full screen in play area, the existing dynamic expression of effective solution is only limitted to play in certain area, can not the problem of played in full screen, the network service that improve user is experienced.And dynamic expression is decomposed into single-frame images shows, effectively reduce the occupancy of internal memory, in broadcasting dynamic expression process, play expression audio, the image sound effect achieving dynamic expression is synchronous simultaneously, omnibearing dynamic expression to be shown, improve Consumer's Experience.
With reference to the high-level schematic functional block diagram that Fig. 8, Fig. 8 are the 3rd embodiment of dynamic expression playing device of the present invention.Based on the second embodiment of above-mentioned dynamic expression playing device, described dynamic expression playing device also comprises: acquisition module 40, parsing module 50, decomposing module 60, concatenation module 70, packetization module 80 and upper transmission module 90;
Described acquisition module 40, for obtaining the image bag of described dynamic image from server;
Described terminal obtains the image bag of described dynamic image from server.Before receiving dynamic expression play instruction, the image bag of all dynamic images can be obtained from server, and is saved in described terminal local; Or, in other embodiments of the invention, also when receiving described dynamic expression play instruction, image bag corresponding to described dynamic expression play instruction can be obtained from server; Or, when described terminal generates the image bag of dynamic image by defined interface, generated image bag is kept at described terminal local.The stitching image that the single-frame images that the described image bag obtained from server includes described dynamic expression is spliced to form and configuration file.
Described parsing module 50, for resolving the stitching image extracting single-frame images in image bag described in described image Bao Bingcong;
The stitching image of single-frame images is extracted in image bag described in image Bao Bingcong described in described terminal parses.The stitching image that the single-frame images that the image bag of dynamic image obtained from server includes described dynamic expression is spliced to form and configuration file, before the described dynamic image of broadcasting, described stitching image need be extracted and decompose.
Described decomposing module 60, for being decomposed into multiple single-frame images by described stitching image and being kept in the image bag of described dynamic image.
Described stitching image is decomposed into multiple single-frame images and is kept in the image bag of the inherent described terminal local of image bag of described dynamic image by described terminal.By carrying out pre-service to the image bag of the dynamic image obtained from server end, so that when receiving the play instruction of dynamic expression, in described image bag, read single-frame images and configuration file is play.
Described acquisition module 40, described concatenation module 70, described packetization module 80 and described upper transmission module 90 are for the image bag of self-defined generation dynamic image.
Described acquisition module 40, also for obtaining the dynamic image of dynamic expression to be uploaded, is decomposed into multiple single-frame images by obtained dynamic image, and generates corresponding configuration file;
Described concatenation module 70, generates stitching image for described single-frame images being carried out splicing;
Described packetization module 80, for generating the image bag of corresponding dynamic image by described stitching image and the packing of described configuration file;
Described upper transmission module 90, for uploading onto the server the image bag of described dynamic image.
Described terminal obtains the dynamic image of dynamic expression to be uploaded, and obtained dynamic image is decomposed into multiple single-frame images, and generates corresponding configuration file; Described single-frame images is carried out splicing and generate stitching image; Described stitching image and the packing of described configuration file are generated the image bag of corresponding dynamic image; The image bag of described dynamic image is uploaded onto the server.By dynamic image is decomposed into single-frame images, and single-frame images is spliced into stitching image and carries out preserving and transmitting, effectively reduce storage resources and Internet resources that dynamic image preserves and take in transmitting procedure, improve transfer rate.
The present embodiment is according to the size of the screen size adjustment play area of terminal, make dynamic expression played in full screen in play area, the existing dynamic expression of effective solution is only limitted to play in certain area, can not the problem of played in full screen, the network service that improve user is experienced.And dynamic expression is decomposed into single-frame images shows, effectively reduce the occupancy of internal memory, in broadcasting dynamic expression process, play expression audio, the image sound effect achieving dynamic expression is synchronous simultaneously, omnibearing dynamic expression to be shown, improve Consumer's Experience.Simultaneously, the image of dynamic expression is decomposed, and the single-frame images of decomposition is spliced into stitching image, stitching image is packaged as image bag to carry out preserving and transmitting, effectively reduce in dynamic expression preservation and transmitting procedure, the storage resources taken and Internet resources etc., effectively raise the transfer rate of dynamic expression.
It should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or device and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the device comprising this key element and also there is other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better embodiment.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computing machine, server, air conditioner, or the network equipment etc.) perform method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. a dynamic expression player method, is characterized in that, described dynamic expression player method comprises the following steps:
When receiving dynamic expression play instruction, obtain the screen size of terminal;
Be described screen size by the play area adjusted size of described dynamic expression;
Determine the dynamic image that described play instruction is corresponding, described dynamic image is inserted in described play area and plays.
2. dynamic expression player method as claimed in claim 1, is characterized in that, describedly determines the dynamic image that described play instruction is corresponding, described dynamic image is inserted in described play area the step carrying out playing and comprises:
Determine the dynamic image that described play instruction is corresponding;
Read the image bag of described dynamic image, and extract single-frame images and the configuration file of described dynamic image in described image bag;
The playing sequence of described single-frame images is determined according to described configuration file;
Described single-frame images is inserted in described play area according to described playing sequence and shows.
3. dynamic expression player method as claimed in claim 2, is characterized in that, describedly described single-frame images is inserted in described play area according to described playing sequence the step carrying out showing comprises:
Audio file is searched in described configuration file;
When finding audio file, extract described audio file;
Described single-frame images is inserted in described play area according to described playing sequence and shows, and play described audio file simultaneously.
4. dynamic expression player method as claimed in claim 2 or claim 3, is characterized in that, described when receiving dynamic expression play instruction, before obtaining the step of the screen size of terminal, also comprises:
The image bag of described dynamic image is obtained from server;
Resolve the stitching image extracting single-frame images in image bag described in described image Bao Bingcong;
Described stitching image is decomposed into multiple single-frame images and is kept in the image bag of described dynamic image.
5. dynamic expression player method as claimed in claim 4, is characterized in that, described obtain the step of image bag of described dynamic image from server before, also comprise:
Obtain the dynamic image of dynamic expression to be uploaded, obtained dynamic image is decomposed into multiple single-frame images, and generate corresponding configuration file;
Described single-frame images is carried out splicing and generate stitching image;
Described stitching image and the packing of described configuration file are generated the image bag of corresponding dynamic image;
The image bag of described dynamic image is uploaded onto the server.
6. a dynamic expression playing device, is characterized in that, described dynamic expression playing device comprises:
Receiver module, for when receiving dynamic expression play instruction, obtains the screen size of terminal;
Processing module, for being described screen size by the play area adjusted size of described dynamic expression;
Playing module, for determining the dynamic image that described play instruction is corresponding, being inserted into described dynamic image in described play area and playing.
7. dynamic expression playing device as claimed in claim 6, it is characterized in that, described playing module comprises determining unit, reading unit and broadcast unit;
Described determining unit, for determining the dynamic image that described play instruction is corresponding;
Described reading unit, for reading the image bag of described dynamic image, and extracts single-frame images and the configuration file of described dynamic image in described image bag;
Described determining unit, also for determining the playing sequence of described single-frame images according to described configuration file;
Described broadcast unit, shows for being inserted in described play area according to described playing sequence by described single-frame images.
8. dynamic expression playing device as claimed in claim 7, it is characterized in that, described playing module comprises searches unit;
Describedly search unit, for searching audio file in described configuration file;
Described reading unit, also for when finding audio file, extracts described audio file;
Described broadcast unit, also shows for being inserted in described play area according to described playing sequence by described single-frame images, and plays described audio file simultaneously.
9. dynamic expression playing device as claimed in claim 7 or 8, it is characterized in that, described dynamic expression playing device also comprises: acquisition module, parsing module and decomposing module;
Described acquisition module, for obtaining the image bag of described dynamic image from server;
Described parsing module, for resolving the stitching image extracting single-frame images in image bag described in described image Bao Bingcong;
Described decomposing module, for being decomposed into multiple single-frame images by described stitching image and being kept in the image bag of described dynamic image.
10. dynamic expression image playing method as claimed in claim 9, it is characterized in that, described dynamic expression playing device also comprises: concatenation module, packetization module and upper transmission module;
Described acquisition module, also for obtaining the dynamic image of dynamic expression to be uploaded, is decomposed into multiple single-frame images by obtained dynamic image, and generates corresponding configuration file;
Described concatenation module, generates stitching image for described single-frame images being carried out splicing;
Described packetization module, for generating the image bag of corresponding dynamic image by described stitching image and the packing of described configuration file;
Described upper transmission module, for uploading onto the server the image bag of described dynamic image.
CN201510271943.2A 2015-05-25 2015-05-25 Dynamic expression playback method and device Active CN104932853B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510271943.2A CN104932853B (en) 2015-05-25 2015-05-25 Dynamic expression playback method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510271943.2A CN104932853B (en) 2015-05-25 2015-05-25 Dynamic expression playback method and device

Publications (2)

Publication Number Publication Date
CN104932853A true CN104932853A (en) 2015-09-23
CN104932853B CN104932853B (en) 2018-05-08

Family

ID=54120031

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510271943.2A Active CN104932853B (en) 2015-05-25 2015-05-25 Dynamic expression playback method and device

Country Status (1)

Country Link
CN (1) CN104932853B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019024700A1 (en) * 2017-07-31 2019-02-07 腾讯科技(深圳)有限公司 Emoji display method and device, and computer readable storage medium
CN111464430A (en) * 2020-04-09 2020-07-28 腾讯科技(深圳)有限公司 Dynamic expression display method, dynamic expression creation method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002085023A1 (en) * 2001-04-12 2002-10-24 Webstream Corporation Streaming delivery management system and method
CN101420393A (en) * 2008-12-10 2009-04-29 腾讯科技(深圳)有限公司 Method for implementing expression edition based on instant messaging and terminal based on instant message
CN102541515A (en) * 2010-12-08 2012-07-04 腾讯科技(深圳)有限公司 Method and device for realizing special screen switching effect
CN102903137A (en) * 2011-07-27 2013-01-30 腾讯科技(深圳)有限公司 Animation playing method and system
CN102946592A (en) * 2012-11-21 2013-02-27 广东欧珀移动通信有限公司 Method and system for mobile terminal to send and receive messages
CN103200258A (en) * 2013-03-28 2013-07-10 广东威创视讯科技股份有限公司 Distributed image stitching method, distributed image stitching server and distributed image stitching terminal
US20140051402A1 (en) * 2009-01-29 2014-02-20 Rick Qureshi Mobile Device Messaging Application
CN103971391A (en) * 2013-02-01 2014-08-06 腾讯科技(深圳)有限公司 Animation method and device
CN104079468A (en) * 2013-03-25 2014-10-01 腾讯科技(深圳)有限公司 Animation transmission method and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002085023A1 (en) * 2001-04-12 2002-10-24 Webstream Corporation Streaming delivery management system and method
CN101420393A (en) * 2008-12-10 2009-04-29 腾讯科技(深圳)有限公司 Method for implementing expression edition based on instant messaging and terminal based on instant message
US20140051402A1 (en) * 2009-01-29 2014-02-20 Rick Qureshi Mobile Device Messaging Application
CN102541515A (en) * 2010-12-08 2012-07-04 腾讯科技(深圳)有限公司 Method and device for realizing special screen switching effect
CN102903137A (en) * 2011-07-27 2013-01-30 腾讯科技(深圳)有限公司 Animation playing method and system
CN102946592A (en) * 2012-11-21 2013-02-27 广东欧珀移动通信有限公司 Method and system for mobile terminal to send and receive messages
CN103971391A (en) * 2013-02-01 2014-08-06 腾讯科技(深圳)有限公司 Animation method and device
CN104079468A (en) * 2013-03-25 2014-10-01 腾讯科技(深圳)有限公司 Animation transmission method and system
CN103200258A (en) * 2013-03-28 2013-07-10 广东威创视讯科技股份有限公司 Distributed image stitching method, distributed image stitching server and distributed image stitching terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019024700A1 (en) * 2017-07-31 2019-02-07 腾讯科技(深圳)有限公司 Emoji display method and device, and computer readable storage medium
US11204684B2 (en) 2017-07-31 2021-12-21 Tencent Technology (Shenzhen) Company Limited Sticker presentation method and apparatus and computer-readable storage medium
CN111464430A (en) * 2020-04-09 2020-07-28 腾讯科技(深圳)有限公司 Dynamic expression display method, dynamic expression creation method and device
CN111464430B (en) * 2020-04-09 2023-07-04 腾讯科技(深圳)有限公司 Dynamic expression display method, dynamic expression creation method and device

Also Published As

Publication number Publication date
CN104932853B (en) 2018-05-08

Similar Documents

Publication Publication Date Title
US10200763B2 (en) Video-based interaction method, terminal, server and system
US11153620B2 (en) Media broadcasting method, server, terminal device, and storage medium
CN109151597B (en) Information display method and device
US20150120654A1 (en) Method, apparatus and terminal for processing documents
US20130326575A1 (en) Social Media Driven Generation of a Highlight Clip from a Media Content Stream
US10142701B2 (en) Method and apparatus for audio communication of information
CN104796743A (en) Content item display system, method and device
CN108111874B (en) file processing method, terminal and server
US10841647B2 (en) Network aggregation of streaming data interactions from distinct user interfaces
CN111222063A (en) Rich text rendering method and device, electronic equipment and storage medium
CN105187733A (en) Video processing method, device and terminal
TW202029778A (en) Method and apparatus for pushing video content object, and electronic device
CN112004156A (en) Video playing method, related device and storage medium
CN105049959A (en) Multimedia file playing method and device
CN103686246B (en) Player method, device, equipment and system when transmission stream video is selected
CN107396193A (en) The method and apparatus of video playback
CN105608124A (en) Screen capturing method and apparatus
CN107770624A (en) It is a kind of it is live during multimedia file player method, device and storage medium
CN110909241B (en) Information recommendation method, user identification recommendation method, device and equipment
CN113891168B (en) Subtitle processing method, subtitle processing device, electronic equipment and storage medium
CN108174270A (en) Data processing method, device, storage medium and electronic equipment
US20150026744A1 (en) Display system, display apparatus, display method, and program
CN104932853A (en) Dynamic expression play method and device
CN104038832A (en) Video playing method and device
CN108833983A (en) Played data acquisition methods, device, equipment and storage medium

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