CN101944024B - Method and system for refreshing emoticon - Google Patents

Method and system for refreshing emoticon Download PDF

Info

Publication number
CN101944024B
CN101944024B CN 201010282563 CN201010282563A CN101944024B CN 101944024 B CN101944024 B CN 101944024B CN 201010282563 CN201010282563 CN 201010282563 CN 201010282563 A CN201010282563 A CN 201010282563A CN 101944024 B CN101944024 B CN 101944024B
Authority
CN
China
Prior art keywords
refresh
object
display
message
emoticon
Prior art date
Application number
CN 201010282563
Other languages
Chinese (zh)
Other versions
CN101944024A (en
Inventor
张明贺
Original Assignee
北京神州泰岳软件股份有限公司
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 北京神州泰岳软件股份有限公司 filed Critical 北京神州泰岳软件股份有限公司
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

Links

Abstract

本发明公开了一种表情图片刷新方法,包括以下步骤:为要显示刷新的表情图片创建刷新对象;将所述表情图片作为参数传递给所述刷新对象;调用播放区域提供的接口将所述刷新对象插入到播放区域,并由刷新对象显示刷新所述表情图片,在第一步之前还包括定义一个用于播放区域刷新表情图片的刷新消息,并构造所述刷新消息对应的处理函数,并在刷新对象也定义相同的消息,在显示刷新时,通过消息回调到该处理函数来控制表情图片的刷新。 The present invention discloses a method of refreshing emoticon, comprising the steps of: creating an object is to refresh the display refresh emoticons; emoticon passed as the argument to the refresh object; interface provides a player calls the refresh area object into the play area, by refreshing the display refresh object emoticon, before the first step further includes a refresh message defining a playing area for the image refresh expression, and the refresh configuration corresponding message handler, and refresh message objects are also defined in the same, when the display refresh, refresh controlled by the emoticon message to the callback handler. 本发明能够将表情图片插入到播放区域显示刷新,并能满足复杂会话业务逻辑条件下的表情刷新显示需求。 The present invention, emoticons can be inserted into the play area to refresh the display, and can satisfy the expression under conditions of complex conversation service logic needs to refresh the display.

Description

表情图片刷新方法及系统 Emoticons refresh method and system

技术领域 FIELD

[0001] 本发明涉及计算机网络通信技术领域,特别涉及ー种表情图片刷新方法及系统。 [0001] Technical Field The present invention relates to computer network communications, and particularly relates ー kinds of expressions image refresh method and system. 背景技术 Background technique

[0002] 计算机网络技术是通信技术与计算机技术相结合的产物。 [0002] The computer network communication technology and computer technology is the product of the combination. 近年来,计算机网络通信在人们的日常生活中有着越来越重要的地位,用户可以在计算机网络上进行文字、声音和视频的交流,共享文件、图片和视频信息等,从而方便用户的生活、工作和学习。 In recent years, computer network communications has in people's daily lives more and more important position, the user can communicate, share documents, pictures and video text, sound and video, etc. on a computer network, so as to facilitate the user's life, work and study. 在使用计算机网络进行沟通交流的过程中,表情图片比文字更直观、更快捷、更形象,比音频视频占用更少的资源,更能适应复杂的网络环境。 In the process of using computer networks to communicate, the emoticons more intuitive than text, faster, more image, audio and video take up less than resources, can adapt to the complex network environment.

[0003]目前显示刷新表情图片有几种实现方案,都使用IE内核实现显示刷新表情图片,但其占用系统资源(内存和CPU)太大,导致效率不高; [0003] Currently there are several display refresh emoticons implementations, use IE kernel implements display refresh emoticons, but the system resources (memory and CPU) is too large, resulting in inefficient;

发明内容 SUMMARY

[0004](一)要解决的技术问题 [0004] (a) To solve technical problems

[0005] 本发明要解决的技术问题是:如何将表情图片插入到播放区域以显示刷新,节省系统资源并提高显示刷新的效率。 [0005] The present invention to solve the technical problem is: how to look picture into the play area to display refresh, save system resources and improve the efficiency of the display refresh.

[0006] (ニ)技术方案 [0006] (Ni) aspect

[0007] —种表情图片刷新方法,包括以下步骤: [0007] - kind of emoticon refresh method comprising the steps of:

[0008] SO:定义ー个用于播放区域刷新表情图片的刷新消息,并构造所述刷新消息对应的处理函数,所述处理函数定义了播放区域在不同的业务逻辑下刷新显示所述表情图片的时机或方式; [0008] SO: defined ー refresh message playback area for refreshing emoticons and configured corresponding to the refresh message handler, the handler defines a playback area to refresh the display at the different service logic emoticons the timing or manner;

[0009] S1:为要显示刷新的表情图片创建刷新对象,在创建的刷新对象中定义ー个与所述刷新消息相同的刷新消息; [0009] S1: Create object to refresh the display refresh emoticons, defined ー the refresh message with a refresh message in the same refresh object created;

[0010] S2:将所述表情图片作为參数传递给所述刷新对象; [0010] S2: The image of the face as a parameter passed to the refresh object;

[0011] S3:调用播放区域提供的接ロ将所述刷新对象插入到播放区域,并由刷新对象显示刷新所述表情图片,在显示刷新时,由刷新对象通过刷新消息调用所述处理函数对图片进行刷新显示。 [0011] S3: providing call access ro playback area to play object into the refresh region, a refresh by said refresh object display emoticon, during display refresh, the refresh message refresh object by the processing function calls picture refresh the display.

[0012] 其中,所述播放区域为RichEdit创建会话消息窗ロ区域,所述播放区域提供的接ロ为RichEdit中的接ロ。 [0012] wherein said playing area create session message window region RichEdit ro, the play area is provided for the connection ro ro RichEdit in contact.

[0013] 其中,所述刷新对象为OLE控件。 [0013] wherein the refresh control OLE object.

[0014] —种表情图片刷新系统,包括: [0014] - kind of emoticon refresh system, including:

[0015] 刷新对象创建模块,用于为要显示刷新的表情图片创建刷新对象; [0015] refresh object creation module for creating an object that you want to refresh the display refresh emoticons;

[0016] 參数传递模块,用于将所述表情图片作为參数传递给所述刷新对象; [0016] The delivery module parameters, for the face image as a parameter to the refresh object;

[0017] 显示刷新模块,用于调用播放区域提供的接ロ将所述刷新对象插入到播放区域,并由刷新对象显示刷新所述表情图片; [0017] The display refresh module for calling the play area to provide access to the refresh ro object into the play area, by refreshing the display refresh object emoticons;

[0018] 还包括:刷新消息及函数构造模块:用于定义ー个用于播放区域刷新表情图片的刷新消息,并构造所述刷新消息对应的处理函数,所述处理函数定义了播放区域在不同的业务逻辑下刷新显示所述表情图片的时机或方式; [0018] further comprising: a refresh function and a message constructing module: used to define a play area from a refresh ー refresh message emoticons and configuration corresponding to the refresh message handler, the handler defines a different playback area under the business logic to refresh the display of the emoticon timing or manner;

[0019] 刷新对象创建模块还用于在创建的刷新对象中定义ー个与所述刷新消息相同的刷新消息,并调用參数传递模块将表情图片作为參数传递给所述刷新对象; [0019] The refresh object creation module is further configured to define ー refresh object created in a refresh message with the same refresh message, and call parameters emoticon module passed as parameters to the refresh object;

[0020] 所述显示刷新模块调用播放区域提供的接ロ将所述刷新对象插入到播放区域,在显示刷新时,由刷新对象通过刷新消息调用所述处理函数对表情图片进行刷新显示。 [0020] The playback module calls a refresh display area provides access to the refresh ro object into the play area, the display refresh time, the image processing function expression to be refreshed by the refresh display refresh message by calling the object.

[0021](三)有益效果 [0021] (c) beneficial effect

[0022] 本发明通过创建OLE控件可将表情图片插入到播放区域以显示刷新,并通过在OLE控件和播放区域定义相同的自定义消息,OLE控件可以通过消息回调到播放区域的消息函数,由播放区域来控制表情图片的刷新,节省系统资源并提高显示刷新的效率,所以能满足复杂会话业务逻辑条件下的表情刷新显示需求。 [0022] The present invention may be an emoticon is inserted by creating OLE control to the playback area to display refresh, and in the same defined in the OLE controls and play area custom message, OLE controls call back to the message function of the play area through a message, from the refresh the play area to control the expression of the picture, save system resources and improve the efficiency of the display refresh, we are able to meet face conversation in complex business logic conditions refreshed display requirements.

附图说明 BRIEF DESCRIPTION

[0023] 图1是本发明实施例的ー种表情图片刷新方法流程图; [0023] FIG. 1 is a kind of embodiment of the present invention ー emoticon refresh flowchart of a method embodiment;

[0024] 图2是本发明实施例的另ー种表情图片刷新方法流程图; [0024] FIG 2 is an embodiment of the present invention further ー kinds of expressions image refresh flowchart of a method;

[0025] 图3是本发明实施例的ー种表情图片刷新系统结构示意图; [0025] FIG. 3 is an embodiment of the present invention ー species emoticon structural diagram of a system embodiment of the refresh;

[0026] 图4是本发明实施例的另一种表情图片刷新系统结构不意图。 [0026] FIG. 4 is a picture of another embodiment of the expression of the present invention is not intended to refresh a system configuration.

具体实施方式 Detailed ways

[0027] 下面结合附图和实施例,对本发明的具体实施方式作进ー步详细描述。 [0027] The following embodiments and the accompanying drawings, specific embodiments of the present invention will be described in detail ー feed step. 以下实施例用于说明本发明,但不用来限制本发明的范围。 The following examples serve to illustrate the present invention but are not intended to limit the scope of the present invention.

[0028] 本发明实施例中的播放区域使用Windows的RichEdit创建的会话消息窗ロ区域。 [0028] Using Windows playback area in the embodiment of the present invention ro session message window region RichEdit created. 通过RichEdit提供的接ロ可以插入符合对象连接与嵌入(Object Linking andEmbedding, OLE)标准的OLE 控件。 Ro RichEdit by providing access may be inserted in line with Object Linking and Embedding (Object Linking andEmbedding, OLE) standard OLE control.

[0029] 如图1所示,本发明实施例的ー种表情图片刷新方法流程图,包括: [0029] 1, ー kinds of expressions of the present invention, image refresh embodiment flowchart of a method, comprising:

[0030] 步骤S101,为要显示刷新的表情图片创建刷新对象,该刷新对象即为可播放表情图片的OLE控件。 [0030] step S101, the object is to create a refreshing display refresh emoticons, shall be subject to the refreshing play emoticons OLE control.

[0031] 步骤S102,将表情图片作为參数传递给刷新对象。 [0031] step S102, the picture will look to refresh the object passed as a parameter.

[0032] 步骤S103,调用播放区域提供的接ロ将刷新对象插入到播放区域,并由刷新对象显示刷新表情图片。 [0032] Step S103, call the play area will provide access ro refresh the object into the play area by the refresh object display refresh emoticon.

[0033] 如图2所示,为本发明实施例的另ー种表情图片刷新方法流程图,包括: [0033] As shown in FIG 2, another embodiment of the present invention, a flowchart of a method ー kinds of expressions refresh picture, comprising:

[0034] 步骤S201,定义ー个用于播放区域刷新表情图片的刷新消息,如:WM_REFRESH,并构造该刷新消息对应的处理函数,处理函数中定义了播放区域在不同的业务逻辑下刷新显示表情图片的时机或方式。 [0034] step S201, the refresh message ー define a play area from the image refresh expression, such as: WM_REFRESH, and configuration corresponding to the refresh message handler, the handler defined playback area to refresh the display under different service logic expression the timing or manner of the picture.

[0035] 步骤S202,在创建的刷新对象(OLE控件)中定义ー个与步骤S201中定义的刷新消息相同的刷新消息(WM_REFRESH )。 [0035] In step S202, the refresh message ー define a step S201 and the same as defined refresh message (WM_REFRESH) in the refresh object (OLE controls) created.

[0036] 步骤S203,将表情图片作为參数传递给刷新对象。 [0036] step S203, the picture will look to refresh the object passed as a parameter.

[0037] 步骤S204,当刷新对象插入到播放区域后,在显示刷新吋,由刷新对象通过刷新消息调用步骤S201创建的处理函数对图片进行刷新显示。 [0037] step S204, when the object is inserted into the playback area to refresh, the refresh-inch display, the refresh object handler S201 refresh message created by the step of calling the picture refresh the display. [0038] 本发明还提供了ー种表情图片刷新系统,如图3所示,包括:刷新对象创建模块,用于为要显示刷新的表情图片创建刷新对象;參数传递模块,用于将表情图片作为參数传递给刷新对象;显示刷新模块,用于调用播放区域提供的接ロ将刷新对象插入到播放区域,并由刷新对象显示刷新表情图片。 [0038] The present invention also provides a kind of emoticon ー refresh system, shown in Figure 3, comprising: a refresh object creating module, for creating a display refresh to refresh object of emoticons; parameter transfer module, configured to look image refresh object passed as a parameter to; display refresh module for calling the play area to provide access ro refreshed object into the play area, the display refresh by the refresh object emoticon.

[0039] 如图4所不,为本发明另一种表情图片刷新系统结构不意图,在图3所不的系统基础上还包括:刷新消息及函数构造模块:用于定义ー个用于播放区域刷新表情图片的刷新消息,并构造该刷新消息对应的处理函数,处理函数中定义了播放区域在不同的业务逻辑下刷新显示表情图片的时机或方式。 [0039] FIG. 4 is not, the present invention provides another expression system configuration is not intended to refresh the image, the system further comprising a base without the FIG. 3: refresh message constructing module and functions: one for playing for defining ーrefresh refresh emoticon message area and is configured to refresh the corresponding message handler, the handler defined in the play area to refresh the display picture face in different service logic or timing mode. 其中,刷新对象创建模块还用于在创建的刷新对象中定义ー个与刷新消息及函数构造模块中的刷新消息相同的刷新消息,并调用參数传递模块将表情图片作为參数传递给所述刷新对象; Wherein the refresh object creation module is further configured to define refresh object created ー and a refresh message with a refresh function construction module refresh message with the same message, and the module will call parameters passed to the face image as a parameter refresh objects;

[0040] 显示刷新模块调用播放区域提供的接ロ将所述刷新对象插入到播放区域,在显示刷新时,由刷新对象通过刷新消息调用所述处理函数对表情图片进行刷新显示。 [0040] The playback module calls the display refresh area provides access to the refresh ro object into the play area, the display refresh time, the image processing function expression to be refreshed by the refresh display refresh message by calling the object.

[0041] 本发明的方法和系统可广泛的用于即时通信(Instant Messaging, IM)软件,及网页会话区要插入播放表情图片的情形。 Method and system for [0041] the present invention can be widely used instant messaging (Instant Messaging, IM) software, and the page area to be inserted into the playback session emoticon situation.

[0042] 以上实施方式仅用于说明本发明,而并非对本发明的限制,有关技术领域的普通技术人员,在不脱离本发明的精神和范围的情况下,还可以做出各种变化和变型,因此所有等同的技术方案也属于本发明的范畴,本发明的专利保护范围应由权利要求限定。 [0042] The above embodiments are merely illustrative of the present invention, and are not restrictive of the invention, relating to ordinary skill in the art, without departing from the spirit and scope of the present invention, can make various changes and modifications , all equivalent technical solutions also within the scope of the present invention, the scope of the present invention patent is defined by the appended claims.

Claims (4)

1.ー种表情图片刷新方法,其特征在于,包括以下步骤: SO:定义ー个用于播放区域刷新表情图片的刷新消息,并构造所述刷新消息对应的处理函数,所述处理函数定义了播放区域在不同的业务逻辑下刷新显示所述表情图片的时机或方式; S1:为要显示刷新的表情图片创建刷新对象,在创建的刷新对象中定义ー个与所述刷新消息相同的刷新消息; S2:将所述表情图片作为參数传递给所述刷新对象; S3:调用播放区域提供的接ロ将所述刷新对象插入到播放区域,并由刷新对象显示刷新所述表情图片,在显示刷新时,由刷新对象通过刷新消息调用所述处理函数对图片进行刷新显示。 1. ー species emoticon updating method comprising the steps of: SO: ー defines a playing area for refresh message emoticon refresh, and the refresh configuration corresponding message handler, the handler defined play area to refresh the display timing of the picture or expression in different ways business logic; S1: Create object to refresh the display refresh emoticons, defined ー the refresh message with a refresh message in the same refresh object created ; S2: the face image as a parameter to the refresh object; S3: call play area provides access to the refresh ro object into the play area, by refreshing the display refresh object emoticons in the display refresh, the image processing function to be refreshed by the refresh display refresh message by calling the object.
2.如权利要求1所述的表情图片刷新方法,其特征在于,所述播放区域为RichEdit创建会话消息窗ロ区域,所述播放区域提供的接ロ为RichEdit中的接ロ。 2. The emoticons according to claim 1 refreshing, characterized in that the play area create session message window region RichEdit ro, the play area to provide access ro ro RichEdit in contact.
3.如权利要求1所述的表情图片刷新方法,其特征在于,所述刷新对象为OLE控件。 Emoticons said refresh claim 1, characterized in that the refresh control OLE object.
4.ー种表情图片刷新系统,其特征在于,包括: 刷新对象创建模块,用于为要显示刷新的表情图片创建刷新对象; 參数传递模块,用于将所述表情图片作为參数传递给所述刷新对象; 显示刷新模块,用于调用播放区域提供的接ロ将所述刷新对象插入到播放区域,并由刷新对象显示刷新所述表情图片; 还包括:刷新消息及函数构造模块:用于定义ー个用于播放区域刷新表情图片的刷新消息,并构造所述刷新消息对应的处理函数,所述处理函数定义了播放区域在不同的业务逻辑下刷新显示所述表情图片的时机或方式; 刷新对象创建模块还用于在创建的刷新对象中定义ー个与所述刷新消息相同的刷新消息,并调用參数传递模块将表情图片作为參数传递给所述刷新对象; 所述显示刷新模块调用播放区域提供的接ロ将所述刷新对象插入到播放区域,在显示刷 4. ー species emoticon refresh system comprising: a refresh object creation module for creating an object is to refresh display refresh emoticon; parameter transfer module, configured to transmit the images to the face as a parameter the refresh object; display refresh module for providing a call connection play area ro refresh object into the play area, by refreshing the display refresh object emoticon; further comprising: a refresh message constructing module and function: with used in the definition of a playback area ー refresh refresh emoticon message, and the configuration corresponding to the refresh message handler, the handler defines a playback area to refresh the display timing of the picture or expression in different ways business logic ; refresh object creating module is further configured to define ー refresh object created in a refresh message with the same refresh message, and the module will call parameters passed to the refresh face image object as a parameter; refresh the display playback module calls ro area provides access to the refresh object into the play area, the brush in the display 时,由刷新对象通过刷新消息调用所述处理函数对表情图片进行刷新显示。 When, by the refresh object handler invoking the refresh message to refresh the display picture face.
CN 201010282563 2010-09-14 2010-09-14 Method and system for refreshing emoticon 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 CN101944024A (en) 2011-01-12
CN101944024B true CN101944024B (en) 2013-11-06

Family

ID=43436025

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN101944024B (en)

Families Citing this family (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 (2)

* 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
CN101296198A (en) 2008-06-25 2008-10-29 腾讯科技(深圳)有限公司 Method and client for inserting affluent interface constituent in instant communication window

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7426734B2 (en) * 2003-10-24 2008-09-16 Microsoft Corporation Facilitating presentation functionality through a programming interface media namespace

Patent Citations (2)

* 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
CN101296198A (en) 2008-06-25 2008-10-29 腾讯科技(深圳)有限公司 Method and client for inserting affluent interface constituent in instant communication window

Also Published As

Publication number Publication date
CN101944024A (en) 2011-01-12

Similar Documents

Publication Publication Date Title
US8832284B1 (en) Virtual socializing
US9986045B2 (en) Shareable applications on telecommunications devices
US20100246800A1 (en) System and method for managing a contact center with a graphical call connection metaphor
CN101299166B (en) Method and system for auxiliary processing of information for a computing device
CN107004412A (en) Device arbitration for listening devices
CN103067577B (en) Terminal and information display method
CN103092325B (en) The method of the terminal and the terminal interface displayed
CN102238097B (en) Instant messaging (IM)-based information reminding method and device
CN101815119A (en) Method and system for processing information of private contact person and mobile communication terminal
US8890929B2 (en) Defining active zones in a traditional multi-party video conference and associating metadata with each zone
CN102209128B (en) Four-sided touch screen mobile phone terminal
CN103118202A (en) Method for controlling mobile phone by swinging
CN103248757A (en) Method and device for message notification
US20120246229A1 (en) Notifying Participants that a Conference is Starting
CN104077183B (en) Species and operating software prompts a method and apparatus to read the new message
CN103078986B (en) Call information storage method of the mobile terminal, the mobile terminal apparatus and
CN102270081B (en) A method and apparatus for adjusting the size of the list elements
CN106462241A (en) Dismissing notifications in response to a presented notification
CN102811284A (en) Method for automatically translating voice input into target language
CN101867621A (en) Method for realizing p2p communication on webpage
CN102307211A (en) Method for realizing full-screen synchronization of whiteboard
CN104836977B (en) Video communication method and system for instant messaging during
CN102255827A (en) Video chatting method, device and system
CN104780458A (en) Method and electronic equipment for loading effects in instant video
CN102984359B (en) The phone is automatically set parameters method

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C14 Granted