CN101944024A - Method and system for refreshing emoticon - Google Patents

Method and system for refreshing emoticon Download PDF

Info

Publication number
CN101944024A
CN101944024A CN2010102825636A CN201010282563A CN101944024A CN 101944024 A CN101944024 A CN 101944024A CN 2010102825636 A CN2010102825636 A CN 2010102825636A CN 201010282563 A CN201010282563 A CN 201010282563A CN 101944024 A CN101944024 A CN 101944024A
Authority
CN
China
Prior art keywords
refreshing
expression picture
refreshes
refresh
play area
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
CN2010102825636A
Other languages
Chinese (zh)
Other versions
CN101944024B (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.)
Beijing Shenzhou Taiyue Software Co Ltd
Original Assignee
Beijing Shenzhou Taiyue Software 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 Beijing Shenzhou Taiyue Software Co Ltd filed Critical Beijing Shenzhou Taiyue Software Co Ltd
Priority to CN 201010282563 priority Critical patent/CN101944024B/en
Publication of CN101944024A publication Critical patent/CN101944024A/en
Application granted granted Critical
Publication of CN101944024B publication Critical patent/CN101944024B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an emoticon refreshing method. The method comprises the following steps of: establishing a refreshing object for an emoticon to be displayed and refreshed; transmitting the emoticon as a parameter to the refreshing object; inserting the refreshing object into a play area by transferring an interface provided by the play area; and displaying and refreshing the emoticon by the refreshing object, wherein before the first step, the method also comprises the following steps of: defining a refreshing message used for refreshing the emoticon for the play area, constructing a processing function corresponding to the refreshing message, further defining the same message for the refreshing object, and when displaying and refreshing, controlling the refreshing of the emoticon through transferring the message back to the processing function. The invention can be used for inserting the emoticon into the play area to display and refresh and can meet the emoticon refreshing display requirement under a complicated conversational business logical condition.

Description

Expression picture method for refreshing and system
Technical field
The present invention relates to the computer network communication technology field, particularly a kind of expression picture method for refreshing and system.
Background technology
Computer networking technology is the product that the communication technology combines with computer technology.In recent years, computer network communication has more and more important position in daily life, the user can be the exchanging of the enterprising style of writing word of computer network, sound and video, shared file, picture and video information etc., thereby user friendly life, working and learning.Carry out in the process of communication exchange at the network that uses a computer, expression picture is more directly perceived, faster, vivider than literal, takies less resources than audio frequency and video, more can adapt to complicated network environment.
Show that at present refreshing expression picture has several implementations, all use the IE kernel to realize showing and refresh expression picture, but its occupying system resources (internal memory and CPU) is too big, causes efficient not high.
Summary of the invention
(1) technical matters that will solve
The technical problem to be solved in the present invention is: how expression picture is inserted into play area and refreshes with demonstration, save system resource and improve the efficient that demonstration refreshes.
(2) technical scheme
A kind of expression picture method for refreshing may further comprise the steps:
S1: refresh object for showing that the expression picture that refreshes is created;
S2: described expression picture is passed to the described object that refreshes as parameter;
S3: the interface that calling play area provides is inserted into play area with the described object that refreshes, and by refreshing the described expression picture of object demonstration refreshing.
Wherein, also comprise before the described step S1: define one and be used for the refresh message that play area refreshes expression picture, and construct described refresh message corresponding processing function, described processing function definition play area under different service logics, refresh opportunity or the mode that shows described expression picture;
Step S1 also is included in the refresh message identical with described refresh message of definition in the object that refreshes of establishment;
After refreshing object and being inserted into play area, when demonstration refreshes, call described processing function by refresh message picture is refreshed demonstration among the step S3 by refreshing object.
Wherein, described play area is that RichEdit creates the conversation message window area, and the interface that described play area provides is the interface among the RichEdit.
Wherein, the described object that refreshes is the OLE control.
A kind of expression picture updating system comprises:
Refresh the Object Creation module, be used to show expression picture establishment the refreshing object that refreshes;
Parameter is transmitted module, is used for described expression picture is passed to the described object that refreshes as parameter;
Show refresh module, the interface that being used to call play area provides is inserted into play area with the described object that refreshes, and by refreshing the described expression picture of object demonstration refreshing.
Wherein, also comprise: refresh message and construction of function module: be used to define one and be used for the refresh message that play area refreshes expression picture, and construct described refresh message corresponding processing function, described processing function definition play area under different service logics, refresh opportunity or the mode that shows described expression picture;
Refresh the Object Creation module and also be used for defining a refresh message identical, and call parameters transmission module passes to the described object that refreshes with expression picture as parameter with described refresh message at the object of creating that refreshes;
The interface that described demonstration refresh module is called play area to be provided is inserted into play area with the described object that refreshes, and when demonstration refreshes, calls described processing function by refresh message expression picture is refreshed demonstration by refreshing object.
(3) beneficial effect
The present invention can be inserted into play area with expression picture by establishment OLE control and refresh with demonstration, and by defining identical self-defined message at OLE control and play area, the OLE control can be adjusted back the message function of play area by message, control refreshing of expression picture by play area, save system resource and improve the efficient that demonstration refreshes, so the expression that can satisfy under the complicated session service logical condition refreshes the demonstration demand.
Description of drawings
Fig. 1 is a kind of expression picture method for refreshing process flow diagram of the embodiment of the invention;
Fig. 2 is the another kind of expression picture method for refreshing process flow diagram of the embodiment of the invention;
Fig. 3 is a kind of expression picture updating system structural representation of the embodiment of the invention;
Fig. 4 is the another kind of expression picture updating system structural representation of the embodiment of the invention.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail.Following examples are used to illustrate the present invention, but are not used for limiting the scope of the invention.
The conversation message window area that play area in the embodiment of the invention uses the RichEdit of Windows to create.Interface STDMETHOD (InsertObject) (THIS_REOBJECT FAR*lpreobject) PURE that provides by RichEdit can insert and meet object and connect and embed (Object Linking and Embedding, OLE) the OLE control of standard.
As shown in Figure 1, a kind of expression picture method for refreshing process flow diagram of the embodiment of the invention comprises:
Step S101 refreshes object for showing that the expression picture that refreshes is created, and this refreshes object and is the OLE control that can play expression picture.
Step S102 passes to expression picture and to refresh object as parameter.
Step S103, the interface that calling play area provides will refresh object and be inserted into play area, and by refreshing object demonstration refreshing expression picture.
As shown in Figure 2, the another kind of expression picture method for refreshing process flow diagram for the embodiment of the invention comprises:
Step S201, define one and be used for the refresh message that play area refreshes expression picture, as: WM_REFRESH, and construct this refresh message corresponding processing function, define play area in the processing function and under different service logics, refreshed opportunity or the mode that shows expression picture.
Step S202, refreshing of creating define in object (OLE control) one with step S201 in the identical refresh message (WM_REFRESH) of refresh message that defines.
Step S203 passes to expression picture and to refresh object as parameter.
Step S204 after refreshing object and being inserted into play area, when demonstration refreshes, refreshes demonstration by the processing function that refresh message invocation step S201 creates to picture by refreshing object.
The present invention also provides a kind of expression picture updating system, as shown in Figure 3, comprising: refresh the Object Creation module, be used to show expression picture establishment the refreshing object that refreshes; Parameter is transmitted module, is used for expression picture passed to as parameter refreshing object; Show refresh module, the interface that being used to call play area provides will refresh object and be inserted into play area, and by refreshing object demonstration refreshing expression picture.
As shown in Figure 4, be the another kind of expression picture updating system of the present invention structural representation, on system-based shown in Figure 3, also comprise: refresh message and construction of function module: be used to define one and be used for the refresh message that play area refreshes expression picture, and construct this refresh message corresponding processing function, define play area in the processing function and under different service logics, refreshed opportunity or the mode that shows expression picture.Wherein, refresh the Object Creation module and also be used for, and call parameters transmission module passes to the described object that refreshes with expression picture as parameter at the identical refresh message of creating of refresh message in one of object definition and refresh message and the construction of function module of refreshing;
Show that the interface that refresh module is called play area and provided is inserted into play area with the described object that refreshes, when demonstration refreshes, call described processing function by refresh message expression picture is refreshed demonstration by refreshing object.
Method and system of the present invention can be widely used in instant messaging, and (Instant Messaging, IM) software reach the webpage conversation area and will insert the situation of playing expression picture.
Above embodiment only is used to illustrate the present invention; and be not limitation of the present invention; the those of ordinary skill in relevant technologies field; under the situation that does not break away from the spirit and scope of the present invention; can also make various variations and modification; therefore all technical schemes that are equal to also belong to category of the present invention, and scope of patent protection of the present invention should be defined by the claims.

Claims (6)

1. an expression picture method for refreshing is characterized in that, may further comprise the steps:
S1: refresh object for showing that the expression picture that refreshes is created;
S2: described expression picture is passed to the described object that refreshes as parameter;
S3: the interface that calling play area provides is inserted into play area with the described object that refreshes, and by refreshing the described expression picture of object demonstration refreshing.
2. expression picture method for refreshing as claimed in claim 1 is characterized in that,
Also comprise before the described step S1: define one and be used for the refresh message that play area refreshes expression picture, and construct described refresh message corresponding processing function, described processing function definition play area under different service logics, refresh opportunity or the mode that shows described expression picture;
Step S1 also is included in the refresh message identical with described refresh message of definition in the object that refreshes of establishment;
After refreshing object and being inserted into play area, when demonstration refreshes, call described processing function by refresh message picture is refreshed demonstration among the step S3 by refreshing object.
3. expression picture method for refreshing as claimed in claim 1 or 2 is characterized in that, described play area is that RichEdit creates the conversation message window area, and the interface that described play area provides is the interface among the RichEdit.
4. expression picture method for refreshing as claimed in claim 1 or 2 is characterized in that, the described object that refreshes is the OLE control.
5. an expression picture updating system is characterized in that, comprising:
Refresh the Object Creation module, be used to show expression picture establishment the refreshing object that refreshes;
Parameter is transmitted module, is used for described expression picture is passed to the described object that refreshes as parameter;
Show refresh module, the interface that being used to call play area provides is inserted into play area with the described object that refreshes, and by refreshing the described expression picture of object demonstration refreshing.
6. expression picture updating system as claimed in claim 5, it is characterized in that, also comprise: refresh message and construction of function module: be used to define one and be used for the refresh message that play area refreshes expression picture, and construct described refresh message corresponding processing function, described processing function definition play area under different service logics, refresh opportunity or the mode that shows described expression picture;
Refresh the Object Creation module and also be used for defining a refresh message identical, and call parameters transmission module passes to the described object that refreshes with expression picture as parameter with described refresh message at the object of creating that refreshes;
The interface that described demonstration refresh module is called play area to be provided is inserted into play area with the described object that refreshes, and when demonstration refreshes, calls described processing function by refresh message expression picture is refreshed demonstration by refreshing object.
CN 201010282563 2010-09-14 2010-09-14 Method and system for refreshing emoticon Active CN101944024B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010282563 CN101944024B (en) 2010-09-14 2010-09-14 Method and system for refreshing emoticon

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010282563 CN101944024B (en) 2010-09-14 2010-09-14 Method and system for refreshing emoticon

Publications (2)

Publication Number Publication Date
CN101944024A true CN101944024A (en) 2011-01-12
CN101944024B CN101944024B (en) 2013-11-06

Family

ID=43436025

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010282563 Active CN101944024B (en) 2010-09-14 2010-09-14 Method and system for refreshing emoticon

Country Status (1)

Country Link
CN (1) CN101944024B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546476A (en) * 2013-10-30 2014-01-29 北京华胜天成科技股份有限公司 Transmission method and system for information between page assemblies

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1369826A (en) * 2001-02-14 2002-09-18 英业达股份有限公司 Method for supporting dynamic updating of page
US20050091672A1 (en) * 2003-10-24 2005-04-28 Microsoft Corporation Facilitating presentation functionality through a programming interface media namespace
CN101296198A (en) * 2008-06-25 2008-10-29 腾讯科技(深圳)有限公司 Method and client for inserting affluent interface constituent in instant communication window

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1369826A (en) * 2001-02-14 2002-09-18 英业达股份有限公司 Method for supporting dynamic updating of page
US20050091672A1 (en) * 2003-10-24 2005-04-28 Microsoft Corporation Facilitating presentation functionality through a programming interface media namespace
CN101296198A (en) * 2008-06-25 2008-10-29 腾讯科技(深圳)有限公司 Method and client for inserting affluent interface constituent in instant communication window

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546476A (en) * 2013-10-30 2014-01-29 北京华胜天成科技股份有限公司 Transmission method and system for information between page assemblies

Also Published As

Publication number Publication date
CN101944024B (en) 2013-11-06

Similar Documents

Publication Publication Date Title
RU2355121C2 (en) Device and method of interface with high data transfer rate
US10621681B1 (en) Method and device for automatically generating tag from a conversation in a social networking website
CN108681436A (en) Image quality parameter adjusting method, device, terminal and storage medium
RU2353066C2 (en) Device and method for high-speed data transmission interface commitment
CN101950239A (en) Large size image display method and system
CN101950238B (en) Method for displaying document transmission progress and system
US20140052801A1 (en) Method for transmitting messages in instant messaging, client and storage medium thereof
CN105025164A (en) Communication information management system and method
CN105207886A (en) Instant messaging (IM) message sending and display methods, IM message sending and display devices, and IM message system
WO2019201340A1 (en) Processor core scheduling method and apparatus, terminal, and storage medium
CN103838531A (en) Information processing and displaying method and mobile terminal
CN101977209A (en) Method for realizing page-turning synchronization on web page
CN103491176A (en) Method and system for automatically releasing micro-blogs
CN104778022A (en) Data processing method and electronic equipment
CN102546762A (en) Instant messaging system and method of webpage
CN108924030A (en) Electronic device, the method for dynamically configuration message exhibition method and storage medium
CN101944024B (en) Method and system for refreshing emoticon
CN103914859A (en) Information processing method and apparatus capable of converting input character into picture
CN1964527B (en) A method to display short message with graphical effect in mobile communication terminal
CN103095556B (en) A kind of list method for refreshing based on instant messaging and device
CN101374053A (en) Method for implementing multitask parallel execution of multi-channel by wireless internet card
US20150249693A1 (en) Method and system for enabling communication between at least two communication devices using an animated character in real-time.
CN101383043B (en) Image processing method and system
CN105988795B (en) Message processing method and device
CN103905404A (en) Network media content instant sharing device and method

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
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: Room 818, 8 / F, 34 Haidian Street, Haidian District, Beijing 100080

Patentee after: BEIJING ULTRAPOWER SOFTWARE Co.,Ltd.

Address before: 100089 Beijing city Haidian District wanquanzhuang Road No. 28 Wanliu new building A block 5 layer

Patentee before: BEIJING ULTRAPOWER SOFTWARE Co.,Ltd.