CN104836820A - Method and system for client interaction, and client terminals - Google Patents
Method and system for client interaction, and client terminals Download PDFInfo
- Publication number
- CN104836820A CN104836820A CN201410046695.7A CN201410046695A CN104836820A CN 104836820 A CN104836820 A CN 104836820A CN 201410046695 A CN201410046695 A CN 201410046695A CN 104836820 A CN104836820 A CN 104836820A
- Authority
- CN
- China
- Prior art keywords
- client
- identification code
- image
- gif image
- gif
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
本申请实施方式公开了一种客户端交互方法与系统以及客户端。客户端交互方法,包括:第一客户端向第二客户端发出消息,所述消息中附带有GIF图像的下载地址和标识码,所述标识码能够唯一标识一个GIF图像,访问所述GIF图像的下载地址能够下载所述标识码对应的GIF图像;所述第二客户端接收所述消息,判断本地存储的标识码是否包括接收的标识码;所述第二客户端本地存储的标识码中不包括接收的标识码,所述第二客户端访问所述GIF图像的下载地址下载所述GIF图像;所述第二客户端显示所述GIF图像。本申请提供的客户端交互方法与系统以及客户端,使不同版本的客户端之间可以顺利的进行GIF图像交互。
The implementation mode of the present application discloses a client interaction method and system and a client. The client interaction method includes: the first client sends a message to the second client, the download address and identification code of the GIF image are attached to the message, the identification code can uniquely identify a GIF image, and access the GIF image The download address of the download address can download the GIF image corresponding to the identification code; the second client receives the message, and judges whether the locally stored identification code includes the received identification code; the locally stored identification code of the second client If the received identification code is not included, the second client accesses the download address of the GIF image to download the GIF image; the second client displays the GIF image. The client interaction method and system and the client provided by this application enable GIF image interaction between clients of different versions to be carried out smoothly.
Description
技术领域technical field
本申请涉及网络通信技术领域,特别涉及一种客户端交互方法与系统以及客户端。The present application relates to the technical field of network communication, and in particular to a client interaction method and system and a client.
背景技术Background technique
GIF(Graphics Interchange Format)是一种常见的的图像文件格式,其可以将多幅图片保存为一个图像文件,从而形成动画。GIF图像在现如今的网络中,应用非常广泛,比如一些网站用GIF图像展示搞笑片段以吸引访客,一些网店通过GIF图像展示其销售的产品,以及一些即时通信软件通过GIF图像展示动画。GIF (Graphics Interchange Format) is a common image file format, which can save multiple pictures as one image file to form animation. GIF images are widely used in today's network. For example, some websites use GIF images to display funny clips to attract visitors, some online stores display products they sell through GIF images, and some instant messaging software display animations through GIF images.
即时通信软件是一种基于互联网的即时交流软件,用户之间可以通过连接网络的电脑在线交流。在现有的即时通信软件中集成有GIF图像的交互功能,即软件中提供给若干可以进行交互的GIF图像选项给用户选择,用户之间可以通过GIF图像展示人物的表情和动作,如此提高了用户之间沟通的趣味性。传统方案中,将GIF图像存储在服务器中,客户端需要展现GIF图像时,将GIF图像下载到本地。Instant messaging software is an instant communication software based on the Internet. Users can communicate online through computers connected to the network. The interactive function of GIF images is integrated in the existing instant messaging software, that is, the software provides several interactive GIF image options for users to choose, and users can display the expressions and actions of characters through GIF images, which improves the The fun of communication between users. In the traditional solution, the GIF image is stored in the server, and when the client needs to display the GIF image, the GIF image is downloaded to the local.
随着移动终端的发展,比如智能手机和平板电脑等,即时通信软件在移动终端有着非常广泛的应用,用户可以在任意的场合使用移动终端中的即时通信软件进行交流。现在有的移动终端多采用2G、3G或Wifi网络进行上网,相较于传统电脑由双绞线连接的网络来说,移动终端的网络稳定性较差,在使用即时通信软件中的GIF图像交互功能时,容易产生GIF图像下载失败的问题,而导致难以完成GIF图像的展现。With the development of mobile terminals, such as smart phones and tablet computers, instant messaging software is widely used in mobile terminals, and users can use the instant messaging software in mobile terminals to communicate on any occasion. Now some mobile terminals mostly use 2G, 3G or Wifi network to access the Internet. Compared with the traditional computer network connected by twisted pair, the network stability of mobile terminals is poor. When using GIF image interaction in instant messaging software, When the function is used, it is easy to cause the problem that the GIF image download fails, which makes it difficult to complete the display of the GIF image.
为了解决上述问题,厂商在推出即时通信软件时,在软件的安装包内集成了GIF图像,如此在进行GIF图像的交互时,无需下载GIF图像。然而,通常厂商在推出一款即时通信软件之后,还会陆续推出更新的软件版本,并且随着版本的更新,会在新版本中增加新的GIF图像选项。在一些情况下,使用新版本软件用户与使用老版本软件的用户进行沟通,新版本软件用户选择了新增的GIF图像选项,此时而老版本中没有新增的GIF图像导致难以展现GIF图像的内容,如此存在新老版本难以兼容的问题。In order to solve the above-mentioned problem, when the manufacturer launches the instant messaging software, the GIF image is integrated in the software installation package, so that there is no need to download the GIF image when interacting with the GIF image. However, usually after a manufacturer releases an instant messaging software, an updated software version will be released one after another, and along with the version update, a new GIF image option will be added in the new version. In some cases, the user of the new version of the software communicates with the user of the old version of the software. The user of the new version of the software chooses the option of the newly added GIF image. At this time, there is no new GIF image in the old version, which makes it difficult to display the GIF image. Content, so there is a problem that the old and new versions are difficult to be compatible.
发明内容Contents of the invention
本申请实施方式的目的是提供一种客户端交互方法与系统以及客户端,以使新老版本客户端之间沟通顺畅。The purpose of the embodiments of the present application is to provide a client interaction method and system as well as a client, so as to facilitate smooth communication between clients of new and old versions.
为解决上述技术问题,本申请提供一种客户端交互方法,包括:In order to solve the above technical problems, this application provides a client interaction method, including:
第一客户端向第二客户端发出消息,所述消息中附带有GIF图像的下载地址和标识码,所述标识码能够唯一标识一个GIF图像,访问所述GIF图像的下载地址能够下载所述标识码对应的GIF图像;The first client sends a message to the second client, and the download address and identification code of the GIF image are attached in the message, and the identification code can uniquely identify a GIF image, and the download address of the GIF image can be downloaded by visiting the download address of the GIF image. The GIF image corresponding to the identification code;
所述第二客户端接收所述消息,判断本地存储的标识码是否包括接收的标识码;The second client receives the message, and judges whether the locally stored identification code includes the received identification code;
所述第二客户端本地存储的标识码中不包括接收的标识码,所述第二客户端访问所述GIF图像的下载地址下载所述GIF图像;The identification code stored locally by the second client does not include the received identification code, and the second client accesses the download address of the GIF image to download the GIF image;
所述第二客户端显示所述GIF图像。The second client displays the GIF image.
本申请还提供一种客户端交互系统,包括:The present application also provides a client interaction system, including:
第一客户端包括消息发送模块,所述消息发送模块用于向所述第二客户端发出消息,所述消息中附带有GIF图像的下载地址和标识码,所述标识码能够唯一标识一个GIF图像,访问所述GIF图像的下载地址能够下载所述GIF图像;The first client includes a message sending module, the message sending module is used to send a message to the second client, the message is attached with the download address and identification code of the GIF image, and the identification code can uniquely identify a GIF image, accessing the download address of the GIF image can download the GIF image;
所述第二客户端包括:The second client includes:
消息接收模块,用于接收所述第一客户端发出的消息;a message receiving module, configured to receive a message sent by the first client;
存储模块,用于存储标识码;A storage module, configured to store the identification code;
匹配模块,用于判断本地存储的标识码是否包括所述接收的标识码;A matching module, configured to determine whether the locally stored identification code includes the received identification code;
第一下载模块,用于在本地存储的标识码中不包括接收的标识码时,访问所述GIF图像的下载地址下载所述GIF图像;The first download module is used to access the download address of the GIF image to download the GIF image when the locally stored identification code does not include the received identification code;
显示模块,用于显示所述GIF图像。The display module is used to display the GIF image.
本申请还提供一种客户端交互方法,包括:The present application also provides a client interaction method, including:
接收发来的消息,所述消息中附带有GIF图像的下载地址和标识码,所述标识码能够唯一标识一个GIF图像;Receive the sent message, the download address and identification code of GIF image are attached in the described message, and described identification code can uniquely identify a GIF image;
判断本地存储的标识码是否包括所述接收的标识码;judging whether the locally stored identification code includes the received identification code;
本地存储的标识码中不包括所述接收的标识码,访问所述GIF图像的下载地址下载所述GIF图像;The locally stored identification code does not include the received identification code, accessing the download address of the GIF image to download the GIF image;
显示所述GIF图像。Display the GIF image.
本申请还提供一种客户端,包括:This application also provides a client, including:
消息发送模块,所述消息发送模块用于发出消息,所述消息中附带有GIF图像的下载地址和标识码,所述标识码能够唯一标识一个GIF图像,访问所述GIF图像的下载地址能够下载所述GIF图像;The message sending module, the message sending module is used to send a message, the download address and the identification code of the GIF image are attached in the message, the identification code can uniquely identify a GIF image, and the download address of the GIF image can be downloaded by visiting said GIF image;
消息接收模块,用于接收发来的消息;A message receiving module, configured to receive incoming messages;
存储模块,用于存储标识码;A storage module, configured to store the identification code;
匹配模块,用于判断本地存储的标识码是否包括所述接收的标识码;A matching module, configured to determine whether the locally stored identification code includes the received identification code;
第一下载模块,用于在本地存储的标识码中不包括接收的标识码时,访问所述GIF图像的下载地址下载所述GIF图像;The first download module is used to access the download address of the GIF image to download the GIF image when the locally stored identification code does not include the received identification code;
显示模块,用于显示所述GIF图像。The display module is used to display the GIF image.
由以上本申请实施方式提供的技术方案可见,本申请实现客户端发出的消息中附带有GIF图像的下载地址和标识码,接收消息的客户端可以首先通过标识码与本地的GIF图像匹配,匹配成功则显示GIF图像,匹配失败则通过下载地址下载GIF图像,然后进一步展示。如此实现不同版本的客户端通信时,老版本的客户端接收到新版本客户端的消息时,能够展示新版本客户端中的GIF图像,使新版本客户端与老版本客户端之间有着较佳的兼容性,给使用者带来了便利。It can be seen from the technical solutions provided by the above embodiments of the present application that the application realizes that the download address and identification code of the GIF image are attached to the message sent by the client, and the client receiving the message can first match the identification code with the local GIF image, and match If the match is successful, the GIF image will be displayed, and if the match fails, the GIF image will be downloaded through the download address, and then further displayed. When communication between clients of different versions is realized in this way, when the client of the old version receives a message from the client of the new version, it can display the GIF image in the client of the new version, so that there is a better relationship between the client of the new version and the client of the old version. Compatibility brings convenience to users.
附图说明Description of drawings
为了更清楚地说明本申请实施方式或现有技术中的技术方案,下面将对实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请中记载的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some implementations described in this application. Those skilled in the art can also obtain other drawings based on these drawings without any creative work.
图1为本申请一个实施方式提供的客户端交互方法的流程图;FIG. 1 is a flowchart of a client interaction method provided in an embodiment of the present application;
图2为本申请一个实施方式提供的客户端交互方法中,展示GIF图像的子步骤的流程图;Fig. 2 is a flow chart showing the sub-steps of GIF images in the client interaction method provided by one embodiment of the present application;
图3为本申请一个实施方式提供的客户端交互方法的流程图;FIG. 3 is a flowchart of a client interaction method provided in an embodiment of the present application;
图4为本申请一个实施方式提供的客户端交互方法的流程图;FIG. 4 is a flowchart of a client interaction method provided in an embodiment of the present application;
图5为本申请一个实施方式提供的客户端交互方法的流程图;FIG. 5 is a flowchart of a client interaction method provided in an embodiment of the present application;
图6为本申请一个实施方式提供的客户端交互方法的流程图;FIG. 6 is a flowchart of a client interaction method provided by an embodiment of the present application;
图7为本申请一个实施方式提供的客户端交互系统的模块图;FIG. 7 is a block diagram of a client interaction system provided by an embodiment of the present application;
图8为本申请一个实施方式提供的客户端交互方法的流程图;FIG. 8 is a flowchart of a client interaction method provided in an embodiment of the present application;
图9为本申请一个实施方式提供的客户端交互方法中,展示GIF图像的子步骤的流程图;FIG. 9 is a flow chart showing the sub-steps of GIF images in the client interaction method provided by an embodiment of the present application;
图10为本申请一个实施方式提供的客户端交互方法的流程图;FIG. 10 is a flowchart of a client interaction method provided in an embodiment of the present application;
图11为本申请一个实施方式提供的客户端交互方法的流程图;FIG. 11 is a flowchart of a client interaction method provided in an embodiment of the present application;
图12为本申请一个实施方式提供的客户端交互方法的流程图;FIG. 12 is a flowchart of a client interaction method provided by an embodiment of the present application;
图13为本申请一个实施方式提供的客户端交互方法的流程图;Fig. 13 is a flowchart of a client interaction method provided by an embodiment of the present application;
图14为本申请一个实施方式提供的客户端的模块图。FIG. 14 is a block diagram of a client provided by an embodiment of the present application.
具体实施方式Detailed ways
本申请实施方式提供一种文件传输方法和装置及服务器系统。Embodiments of the present application provide a file transmission method and device, and a server system.
为了使本技术领域的人员更好地理解本申请中的技术方案,下面将结合本申请实施方式中的附图,对本申请实施方式中的技术方案进行清楚、完整地描述,显然,所描述的实施方式仅仅是本申请一部分实施方式,而不是全部的实施方式。基于本申请中的实施方式,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施方式,都应当属于本申请保护的范围。In order to enable those skilled in the art to better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described The implementations are only some of the implementations of the present application, not all of them. Based on the implementation manners in this application, all other implementation manners obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of this application.
请参阅图1,为本申请的一个实施方式提供的客户端交互方法。客户端可以为任意形式的移动终端如手机、平板电脑或笔记本电脑,还可以为运行在上述硬件设备中的由程序语言编制形成的逻辑体。所述客户端交互方法包括以下步骤。Please refer to FIG. 1 , which is a client interaction method provided by an embodiment of the present application. The client can be any form of mobile terminal such as a mobile phone, a tablet computer or a notebook computer, and can also be a logic body compiled by a programming language running on the above-mentioned hardware devices. The client interaction method includes the following steps.
步骤S10:第一客户端向第二客户端发出消息,所述消息中附带有GIF图像的下载地址和标识码,所述标识码能够唯一标识所述GIF图像。Step S10: the first client sends a message to the second client, and the message is attached with a download address of the GIF image and an identification code, and the identification code can uniquely identify the GIF image.
在本实施方式中,客户端之间的版本可以相同,也可以不同。其中,客户端之间的版本相同是指,客户端在默认出厂设置状态下的功能和结构相同。客户端之间的版本不同是因为随着科技发展和技术进步,厂商可能对客户端的技术方案存在一定的改进,比如提升客户端硬件的性能,或者改进客户端的算法,或者增加了客户端的功能或内容,此时便会发布新版本的客户端,由于新版本的客户端和老版本的客户端均会在业内得到使用,所以便会存在不同版本的客户端。In this embodiment, the versions of the clients may be the same or different. Wherein, the versions of the clients are the same, which means that the functions and structures of the clients are the same in the default factory setting state. The version differences between clients are due to the fact that with the development of technology and technological progress, manufacturers may have certain improvements to the client’s technical solutions, such as improving the performance of client hardware, or improving the algorithm of the client, or adding functions or content, a new version of the client will be released at this time, because both the new version and the old version of the client will be used in the industry, so there will be different versions of the client.
在本实施方式中,客户端之间可以发送消息。消息可以包括文字、图片或二者结合。标识码能够唯一标识一个GIF图像,即标识码与GIF图像之间存在对应关系,通过获知一个标识码,便可以明确该标识码对应的GIF图像。标识码可以附带在消息内,从一个客户端发送至另一个客户端。接收消息的客户端可以仅显示标识码对应的GIF图像而不显示标识码本身,如此使客户端提供给用户的信息较为干净而不杂乱。当然,接收消息的客户端也可以显示标识码本身,如此可以让使用者了解GIF图像对应的标识码。具体的举例为,标识码可以为任意长度的字符串“sdjfosdufdsd15”,或者为数字编号“16230”,或者为GIF图像的特征值比如MD5(Message-Digest Algorithm5)值,或者base64值。In this embodiment, messages can be sent between clients. Messages can include text, pictures, or a combination of both. The identification code can uniquely identify a GIF image, that is, there is a corresponding relationship between the identification code and the GIF image. By knowing an identification code, the GIF image corresponding to the identification code can be specified. Identifiers can be sent with messages from one client to another. The client receiving the message may only display the GIF image corresponding to the identification code without displaying the identification code itself, so that the information provided by the client to the user is relatively clean and not messy. Of course, the client receiving the message can also display the identification code itself, so that the user can know the identification code corresponding to the GIF image. For example, the identification code can be a string "sdjfosdufdsd15" of any length, or a number "16230", or a characteristic value of a GIF image such as MD5 (Message-Digest Algorithm5) value, or base64 value.
在本实施方式中,在GIF图像发布时,会将GIF图像存储在服务器中,服务器会提供GIF图像的存储路径,该存储路径既可以为下载地址。具体的,下载地址可以为GIF图像在服务器中的URL(Uniform Resource Locator)地址,通过访问URL地址便可以下载GIF图像至本地。In this embodiment, when the GIF image is published, the GIF image will be stored in the server, and the server will provide the storage path of the GIF image, and the storage path can be a download address. Specifically, the download address can be the URL (Uniform Resource Locator) address of the GIF image in the server, and the GIF image can be downloaded to the local by accessing the URL address.
步骤S20:所述第二客户端接收所述消息,判断本地存储的标识码是否包括接收的标识码。Step S20: the second client receives the message, and judges whether the locally stored identification code includes the received identification code.
在本实施方式中,客户端内存储有该客户端已知的标识码。客户端获取标识码的途径可以为在客户端制作过程中集成,也可以为在使用过程中接收其它客户端发来的标识码而存储于本地。客户端接收到其它客户端发来的标识码后,将接收的标识码与本地存储的标识码进行匹配,即判断接收的标识码在其本地存储的标识码中是否存在,若接收的标识码与本地存储的某一个标识码相同,即客户端本地存储的标识码包括接收的标识码。若接收的标识码与客户端本地存储的标识码均不相同,则客户端本地存储的标识码不包括接收的标识码。In this embodiment, an identification code known to the client is stored in the client. The way for the client to obtain the identification code can be integrated during the production process of the client, or it can be stored locally by receiving the identification code sent by other clients during the use process. After the client receives the identification code sent by other clients, it matches the received identification code with the locally stored identification code, that is, judges whether the received identification code exists in its locally stored identification code, if the received identification code It is the same as an identification code stored locally, that is, the identification code stored locally by the client includes the received identification code. If the received identification code is different from the identification code stored locally by the client, the identification code stored locally by the client does not include the received identification code.
步骤S30:所述第二客户端本地存储的标识码中不包括接收的标识码,所述第二客户端访问所述GIF图像的下载地址下载所述GIF图像。Step S30: The identification code stored locally by the second client does not include the received identification code, and the second client accesses the download address of the GIF image to download the GIF image.
在本实施方式中,客户端通过访问接收的下载地址下载GIF图像至本地,如此便可以进一步完成GIF图像的展现。具体的,例如客户端可以利用Http协议的Request命令访问下载地址,也可以利用套接字Socket访问下载地址,下载GIF图像。In this embodiment, the client downloads the GIF image locally by accessing the received download address, so that the presentation of the GIF image can be further completed. Specifically, for example, the client can use the Request command of the Http protocol to access the download address, or use the socket to access the download address to download the GIF image.
步骤S40:所述第二客户端显示所述GIF图像。Step S40: the second client displays the GIF image.
在本实施方式中,客户端从下载地址完成GIF图像的下载之后,会进一步将下载的GIF图像向用户展现。In this embodiment, after the client finishes downloading the GIF image from the download address, it will further display the downloaded GIF image to the user.
本实施方式提供的客户端交互方法,通过设置标识码,实现每个GIF图像均能够被唯一标识,如此客户端在接收到一个标识码之后,便可以清晰的判断本地是否存储有该标识码对应的GIF图像。再者通过将接收消息的客户端提供GIF图像的下载地址,实现接收消息的客户端在本地没有存储标识码对应的GIF图像时,可以通过下载地址下载获得GIF图像,避免出现客户端难以展现GIF图像的情况。进一步的,通过本实施方式提供的方案,不同版本的客户端之间发生GIF图像互动时,老版本的客户端可以通过下载地址下载新本版的客户端提供的标识码对应的GIF图像,解决了新老版本兼容的问题。The client interaction method provided in this embodiment realizes that each GIF image can be uniquely identified by setting an identification code, so that after receiving an identification code, the client can clearly determine whether the corresponding identification code is stored locally. GIF image. Furthermore, by providing the download address of the GIF image to the client receiving the message, when the client receiving the message does not store the GIF image corresponding to the identification code locally, the GIF image can be obtained by downloading the download address, so that it is difficult for the client to display the GIF The condition of the image. Further, through the scheme provided by this embodiment, when GIF image interaction occurs between different versions of clients, the old version of the client can download the GIF image corresponding to the identification code provided by the new version of the client through the download address, so as to solve the problem. There is a problem of compatibility between the old and new versions.
在本申请的一个实施方式中,所述步骤S30还包括子步骤:在下载GIF图像的过程中,所述第二客户端显示预设图片。In one embodiment of the present application, the step S30 further includes a sub-step: during the process of downloading the GIF image, the second client displays a preset picture.
在本实施方式中,客户端内部可以具有预设图片。预设图片用于在客户端下载GIF图像的过程中向用户展示。客户端从下载地址下载GIF图像需要一定的时间,在这个时间内,通过向用户展示预设图片,提升用户体验。预设图片的内容可以具有文字,以提示用户正在下载GIF图像,或者具有GIF图像下载的进度条,再或者仅仅是一个图片。In this embodiment, the client may have a preset picture inside. The preset image is used to display to the user during the client downloading the GIF image. It takes a certain amount of time for the client to download the GIF image from the download address. During this time, the user experience is improved by displaying the preset image to the user. The content of the preset picture may have text to prompt the user that the GIF image is being downloaded, or have a progress bar for downloading the GIF image, or be just a picture.
请参阅图2,在本申请的一个实施方式中,所述客户端交互方法的步骤S40还包括如下子步骤。Please refer to FIG. 2 , in an embodiment of the present application, step S40 of the client interaction method further includes the following sub-steps.
步骤S41:所述第二客户端展现所述GIF图像的预览图。Step S41: The second client presents a preview image of the GIF image.
在本实施方式中,客户端获取GIF图像之后,首先展现GIF图像的预览图,如此用户可以初步了解GIF图像的内容。再者,由于客户端展现GIF图像需要花费较多的运算和存储资源,如果一个客户端同时接收到了多个消息需要展现GIF图像,在接收完成之后,同时展现可能会导致客户端资源不足而死机,所以客户端首先向用户展现预览图,避免了上述问题。In this embodiment, after the client acquires the GIF image, it first displays a preview image of the GIF image, so that the user can initially understand the content of the GIF image. Furthermore, since the client needs to spend more computing and storage resources to display GIF images, if a client receives multiple messages at the same time and needs to display GIF images, displaying them at the same time after receiving them may cause the client to crash because of insufficient resources , so the client first displays the preview image to the user, avoiding the above problems.
步骤S42:所述第二客户端接收到预定命令,展现所述预览图对应的GIF图像。Step S42: the second client receives a predetermined command to display the GIF image corresponding to the preview image.
在本实施方式中,预定命令可以为用户通过任意形式向客户端输入的操作命令。具体的,比如客户端为触屏式手机或平板电脑,用户可以通过点击某一预览图,实现展现对应的GIF图像,预览图被用户点击即可以为预定命令;比如客户端为键盘式手机,用户可以通过按钮选择某一预览图,并通过点击播放按钮实现展现预览图对应的GIF图像,此时预览图被播放按钮选择即可以为预定命令。In this embodiment, the predetermined command may be an operation command input by the user to the client in any form. Specifically, for example, if the client is a touch-screen mobile phone or a tablet computer, the user can click on a preview image to display the corresponding GIF image, and the preview image can be used as a predetermined command when the user clicks; for example, the client is a keyboard-type mobile phone, The user can select a preview image through the button, and display the GIF image corresponding to the preview image by clicking the play button. At this time, the preview image is selected by the play button as a predetermined command.
请参阅图3,在本申请的一个实施方式中,所述客户端交互方法还包括步骤S50:所述第二客户端从下载的GIF图像中解析出一张或一张以上图片作为所述GIF图像的预览图。Please refer to FIG. 3 , in one embodiment of the present application, the client interaction method further includes step S50: the second client parses one or more pictures from the downloaded GIF image as the GIF A preview of the image.
在本实施方式中,客户端从下载地址下载GIF图像之后,对GIF图像进行解析,从GIF图像中的多张图片中,选择一张或一张以上图片作为GIF图像的预览图。具体的,若从GIF图像中选择一张图片作为预览图,则可以选择GIF图像的多个图片中的任意一个,优选地,选择第一张图片作为预览图。若从GIF图像中选择一张以上图片,可以间隔一定数量选择一张图片,如此可以将选择的一张以上图片制作成一个较小的GIF图像作为原GIF图像的预览图。In this embodiment, after the client downloads the GIF image from the download address, the GIF image is analyzed, and one or more pictures are selected from the multiple pictures in the GIF image as the preview image of the GIF image. Specifically, if a picture is selected from the GIF image as the preview image, any one of the multiple pictures of the GIF image may be selected, preferably, the first picture is selected as the preview image. If more than one picture is selected from the GIF image, one picture can be selected at intervals of a certain number, so that more than one picture selected can be made into a smaller GIF image as a preview of the original GIF image.
在本实施方式中,所述客户端交互方法还进一步包括步骤S60:所述第二客户端将所述预览图与所述接收的标识码对应存储。In this embodiment, the client interaction method further includes step S60: the second client correspondingly stores the preview image and the received identification code.
在本实施方式中,客户端取得预览图之后,将预览图与标识码对应存储,如此实现增加了客户端已知的GIF图像的数量。再者,GIF图像较大而预览图较小,通过仅存储预览图实现避免占用过多的存储空间。当然,客户端也可以将预览图与GIF图像一同对应标识码存储。具体的,在客户端中可以存储有标识码列表,对应每个标识码存储预览图的存储路径,或者对应每个标识码存储GIF图像和预览图的存储路径,如此在明确标识码之后,便可以进一步获取预览图,或者获取GIF图像和预览图。In this embodiment, after the client obtains the preview image, it stores the preview image and the identification code correspondingly, which increases the number of GIF images known to the client. Furthermore, the GIF image is large and the preview image is small, and only the preview image is stored to avoid occupying too much storage space. Certainly, the client may also store the preview image and the GIF image corresponding to the identification code. Specifically, a list of identification codes may be stored in the client, corresponding to each identification code to store the storage path of the preview image, or corresponding to each identification code to store the storage path of the GIF image and the preview image, so that after the identification code is specified, the You can further obtain a preview image, or obtain a GIF image and a preview image.
请参阅图4,在本申请的一个实施方式中,在所述客户端交互方法的步骤S10中:所述消息中附带有GIF图像的下载地址和预览图的下载地址以及标识码,所述标识码能够唯一标识所述GIF图像和所述预览图。Please refer to Fig. 4, in an embodiment of the present application, in the step S10 of the client interaction method: the download address and the download address and identification code of the GIF image and the preview image are attached to the message, and the identification The code can uniquely identify the GIF image and the preview image.
在本实施方式中,在GIF图像发布时,即指定一张图片作为该GIF图像的预览图,并将GIF图像和预览图同时存储至服务器中,如此GIF图像和预览图分别存在一个下载地址,如此便可以实现通过访问GIF图像的下载地址下载GIF图像,访问预览图的下载地址下载预览图。In this embodiment, when the GIF image is released, a picture is designated as the preview image of the GIF image, and the GIF image and the preview image are stored in the server simultaneously, so that the GIF image and the preview image respectively have a download address, In this way, the GIF image can be downloaded by accessing the download address of the GIF image, and the preview image can be downloaded by accessing the download address of the preview image.
在本实施方式中,标识码与GIF图像和预览图均相对应,如此便可以通过标识码实现将GIF图像和预览图相对应。具体的,比如通过一个列表存储有标识码,对应标识码存储GIF图像在客户端中的存储路径,和预览图在客户端中的存储路径,如此在明确标识码之后,便可以通过GIF图像或预览图的存储路径,获取GIF图像或预览图。In this embodiment, the identification code corresponds to both the GIF image and the preview image, so that the GIF image can be associated with the preview image through the identification code. Specifically, for example, the identification code is stored in a list, and the corresponding identification code stores the storage path of the GIF image in the client, and the storage path of the preview image in the client, so that after the identification code is specified, the GIF image or The storage path of the preview image, to get the GIF image or preview image.
在本实施方式中,所述步骤S30可以为:所述第二客户端本地存储的标识码不包括接收的标识码时,所述第二客户端访问所述GIF图像的下载地址下载所述GIF图像,访问所述预览图的下载地址下载所述预览图。In this embodiment, the step S30 may be: when the identification code stored locally by the second client does not include the received identification code, the second client accesses the download address of the GIF image to download the GIF image, visit the download address of the preview image to download the preview image.
在本实施方式中,客户端本地不包括接收的标识码,表明客户端不存在与接收的标识码对应的预览图,或者不存在与接收的标识码对应的GIF图像和预览图,客户端可以通过访问GIF图像的下载地址下载GIF图像,通过访问预览图的下载地址下载预览图。进一步的,可以优先下载预览图,在下载GIF图像的过程中,客户端展现预览图。如此可以尽早使用户了解GIF图像可能展示的内容。In this embodiment, the client does not include the received identification code locally, indicating that the client does not have a preview image corresponding to the received identification code, or there is no GIF image and preview image corresponding to the received identification code, and the client can Download the GIF image by visiting the download address of the GIF image, and download the preview image by visiting the download address of the preview image. Further, the preview image may be downloaded first, and the client displays the preview image during the process of downloading the GIF image. This gives the user an early idea of what the GIF image might show.
在本实施方式中,所述客户端交互方法还进一步包括步骤S60:所述第二客户端将所述预览图与所述接收的标识码对应存储。In this embodiment, the client interaction method further includes step S60: the second client correspondingly stores the preview image and the received identification code.
在本实施方式中,客户端取得预览图之后,将该预览图与标识码对应存储,如此实现增加了客户端已知的GIF图像的数量。再者,GIF图像较大而预览图较小,通过仅存储预览图实现避免占用过多的存储空间。当然,客户端也可以将预览图与GIF图像一同对应标识码存储。具体的,在客户端中可以存储有标识码列表,对应每个标识码存储预览图的存储路径,或者对应每个标识码存储GIF图像和预览图的存储路径,如此在明确标识码之后,便可以进一步获取预览图,或者获取GIF图像和预览图。In this embodiment, after the client obtains the preview image, it stores the preview image and the identification code correspondingly, which increases the number of GIF images known to the client. Furthermore, the GIF image is large and the preview image is small, and only the preview image is stored to avoid occupying too much storage space. Certainly, the client may also store the preview image and the GIF image corresponding to the identification code. Specifically, a list of identification codes may be stored in the client, corresponding to each identification code to store the storage path of the preview image, or corresponding to each identification code to store the storage path of the GIF image and the preview image, so that after the identification code is specified, the You can further obtain a preview image, or obtain a GIF image and a preview image.
请参阅图5,在本申请的一个实施方式中,所述客户端交互方法还包括步骤S70:所述第二客户端本地存储的标识码中包括所述接收的标识码,所述第二客户端从本地读取所述接收的标识码对应的GIF图像。Please refer to FIG. 5 , in one embodiment of the present application, the client interaction method further includes step S70: the identification code stored locally by the second client includes the received identification code, and the second client The terminal reads the GIF image corresponding to the received identification code locally.
在本实施方式中,客户端本地存储的标识码中包括接收的标识码,表明客户端本地存储有接收的标识码对应的GIF图像,仅需要从本地读取GIF图像,便可以进行进一步的展现。具体的,客户端中可以设置有标识码存储列表,在该列表中对应每个标识码存储GIF图像的存储路径。In this embodiment, the identification code stored locally on the client side includes the received identification code, indicating that the client locally stores the GIF image corresponding to the received identification code, and only needs to read the GIF image locally for further presentation . Specifically, an identification code storage list may be set in the client, and the storage path of the GIF image is stored corresponding to each identification code in the list.
请参阅图6,在本申请的一个实施方式中,所述客户端交互方法还包括步骤S80:所述第二客户端本地存储的标识码中包括所述接收的标识码,所述第二客户端读取所述接收的标识码对应的GIF图像的预览图,访问所述GIF图像的下载地址下载所述GIF图像。Please refer to FIG. 6. In one embodiment of the present application, the client interaction method further includes step S80: the identification code stored locally by the second client includes the received identification code, and the second client The terminal reads the preview image of the GIF image corresponding to the received identification code, and accesses the download address of the GIF image to download the GIF image.
在本实施方式中,GIF图像往往较大,若在客户端存储GIF图像需要较大的存储空间,为了减少客户端存储空间的占用,在客户端仅存储GIF图像的预览图,进一步的通过访问GIF图像的下载地址下载GIF图像,实现可以展现GIF图像的详细内容。再者,客户端读取预览图之后,可以在下载GIF图像的过程中展示预览图,然用户首先了解GIF图像可能的内容,待GIF图像下载完成之后,再进一步展现GIF图像,或者接收到预定命令之后再展现GIF图像,具体方案,在前述实施方式中已经描述,在此不再重复介绍。In this embodiment, the GIF image is often larger, if storing the GIF image at the client requires a larger storage space, in order to reduce the occupation of the client storage space, only the preview image of the GIF image is stored at the client, further through the access The download address of the GIF image Download the GIF image, so that the detailed content of the GIF image can be displayed. Furthermore, after the client reads the preview image, it can display the preview image during the process of downloading the GIF image. Then the user first understands the possible content of the GIF image, and then further displays the GIF image after the download of the GIF image is completed, or receives a predetermined The GIF image is displayed after the command. The specific solution has been described in the foregoing implementation manner, and will not be repeated here.
请参阅图7,在本申请的实施方式还提供一种客户端交互系统100。客户端交互系统100包括第一客户端10和第二客户端11。第一客户端10和第二客户端11均可以为任意形式的移动终端如手机、平板电脑或笔记本电脑,也可以为台式电脑,还可以为运行在上述硬件设备中的由程序语言编制形成的逻辑体。Referring to FIG. 7 , the embodiment of the present application also provides a client interaction system 100 . The client interaction system 100 includes a first client 10 and a second client 11 . Both the first client 10 and the second client 11 can be mobile terminals in any form such as mobile phones, tablet computers or notebook computers, and can also be desktop computers. logical body.
第一客户端10包括消息发送模块13,第二客户端11包括消息接收模块15、存储模块16、匹配模块17、第一下载模块19和显示模块21。The first client 10 includes a message sending module 13 , and the second client 11 includes a message receiving module 15 , a storage module 16 , a matching module 17 , a first download module 19 and a display module 21 .
消息发送模块13用于向第二客户端11发出消息,所述消息中附带有GIF图像的下载地址和标识码,所述标识码能够唯一标识一个GIF图像,访问所述GIF图像的下载地址能够下载所述GIF图像。The message sending module 13 is used to send a message to the second client 11, and the download address and the identification code of the GIF image are attached in the said message, and the identification code can uniquely identify a GIF image, and the download address of the access to the GIF image can be Download said GIF image.
在本实施方式中,消息发送模块13可以为任何具有信息发送功能的硬件,比如手机中的GSM模块、Wifi模块等。当然,消息发送模块13也可以为运行在硬件上的逻辑体。In this embodiment, the message sending module 13 can be any hardware with a message sending function, such as a GSM module or a Wifi module in a mobile phone. Certainly, the message sending module 13 may also be a logical body running on hardware.
在本实施方式中,客户端之间的版本可以相同,也可以不同。其中,客户端之间的版本相同是指,客户端在默认出厂设置状态下的功能和结构相同。客户端之间的版本不同是因为随着科技发展和技术进步,厂商可能对客户端的技术方案存在一定的改进,比如提升客户端硬件的性能,或者改进客户端的算法,或者增加了客户端的功能或内容,此时便会发布新版本的客户端,由于新版本的客户端和老版本的客户端均会在业内得到使用,所以便会存在不同版本的客户端。In this embodiment, the versions of the clients may be the same or different. Wherein, the versions of the clients are the same, which means that the functions and structures of the clients are the same in the default factory setting state. The version differences between clients are due to the fact that with the development of technology and technological progress, manufacturers may have certain improvements to the client’s technical solutions, such as improving the performance of client hardware, or improving the algorithm of the client, or adding functions or content, a new version of the client will be released at this time, because both the new version and the old version of the client will be used in the industry, so there will be different versions of the client.
在本实施方式中,客户端之间可以发送消息。消息可以包括文字、图片或二者结合。标识码能够唯一标识一个GIF图像,即标识码与GIF图像之间存在对应关系,通过获知一个标识码,便可以明确该标识码对应的GIF图像。标识码可以附带在消息内,从一个客户端发送至另一个客户端。接收消息的客户端可以仅显示标识码对应的GIF图像而不显示标识码本身,如此使客户端提供给用户的信息较为干净而不杂乱。当然,接收消息的客户端也可以显示标识码本身,如此可以让使用者了解GIF图像对应的标识码。具体的举例为,标识码可以为任意长度的字符串“sdjfosdufdsd15”,或者为数字编号“16230”,或者为GIF图像的特征值比如MD5(Message-Digest Algorithm5)值,或者base64值。In this embodiment, messages can be sent between clients. Messages can include text, pictures, or a combination of both. The identification code can uniquely identify a GIF image, that is, there is a corresponding relationship between the identification code and the GIF image. By knowing an identification code, the GIF image corresponding to the identification code can be specified. Identifiers can be sent with messages from one client to another. The client receiving the message may only display the GIF image corresponding to the identification code without displaying the identification code itself, so that the information provided by the client to the user is relatively clean and not messy. Of course, the client receiving the message can also display the identification code itself, so that the user can know the identification code corresponding to the GIF image. For example, the identification code can be a string "sdjfosdufdsd15" of any length, or a number "16230", or a characteristic value of a GIF image such as MD5 (Message-Digest Algorithm5) value, or base64 value.
在本实施方式中,在GIF图像发布时,会将GIF图像存储在服务器中,服务器会提供GIF图像的存储路径,该存储路径既可以为下载地址。具体的,下载地址可以为GIF图像在服务器中的URL(Uniform Resource Locator)地址,通过访问URL地址便可以下载GIF图像至本地。In this embodiment, when the GIF image is published, the GIF image will be stored in the server, and the server will provide the storage path of the GIF image, and the storage path can be a download address. Specifically, the download address can be the URL (Uniform Resource Locator) address of the GIF image in the server, and the GIF image can be downloaded to the local by accessing the URL address.
消息接收模块15用于接收第一客户端10发出的消息。The message receiving module 15 is configured to receive a message sent by the first client 10 .
在本实施方式中,客户端通过消息接收模块15接收其它客户端发来的消息。消息接收模块15可以为硬件的通信接口,比如网络接口,也可以为无线信号接收芯片,比如蓝牙信号接收芯片或Wifi模块。还可以为运行在硬件上,对消息进行处理的逻辑体。In this embodiment, the client receives messages from other clients through the message receiving module 15 . The message receiving module 15 can be a hardware communication interface, such as a network interface, or a wireless signal receiving chip, such as a Bluetooth signal receiving chip or a Wifi module. It can also be a logic body that runs on hardware and processes messages.
存储模块16用于存储标识码。The storage module 16 is used for storing the identification code.
在本实施方式中,存储模块16可以为任何具有存储功能的硬件,比如磁盘存储器、闪存存储器等,也可以为在一个硬件存储器中划分的一部分存储区域,还可以为驱动存储器存储文件的逻辑体。客户端获取标识码的途径可以为在客户端制作过程中集成,也可以为在使用过程中接收其它客户端发来的标识码而积累得到。存储模块16可以将标识码与GIF图像相对应存储,即可以将标识码集成在GIF图像内,如此实现二者一一对应,也可以将标识码作为GIF图像的命名,还可以设置存储列表,在存储列表中对应存储标识码和GIF图像的存储路径。In this embodiment, the storage module 16 can be any hardware with storage functions, such as disk storage, flash memory, etc., or it can be a part of the storage area divided in a hardware storage, and it can also be a logic volume for storing files in the drive storage. . The way for the client to obtain the identification code can be integrated during the production process of the client, or accumulated by receiving identification codes sent by other clients during the use process. The storage module 16 can correspondingly store the identification code and the GIF image, that is, the identification code can be integrated in the GIF image, so that the two are one-to-one, and the identification code can also be used as the name of the GIF image, and a storage list can also be set. The storage path corresponding to the storage identification code and the GIF image is stored in the storage list.
匹配模块17用于判断本地存储的标识码是否包括接收的标识码。The matching module 17 is used for judging whether the locally stored identification code includes the received identification code.
在本实施方式中,匹配模块17可以为具有运算处理功能的芯片,也可以为由芯片执行的逻辑体。消息接收模块15接收到其它客户端发来的标识码后,匹配模块17将接收的标识码与存储的标识码进行匹配,即判断接收的标识码在其本地的标识码中是否存在,若接收的标识码与本地存储的某一个标识码相同,即存储模块16存储的标识码包括接收的标识码,表示存储模块16存储有接收的标识码对应的GIF图像。若接收的标识码与存储模块16存储的标识码均不相同,则存储模块16中的标识码不包括接收的标识码,表示客户端本地没有接收的标识码对应的GIF图像。In this embodiment, the matching module 17 may be a chip with arithmetic processing functions, or may be a logic body executed by the chip. After the message receiving module 15 receives the identification codes sent by other clients, the matching module 17 matches the received identification code with the stored identification code, that is, judges whether the received identification code exists in its local identification code, if received The identification code is the same as a certain identification code stored locally, that is, the identification code stored in the storage module 16 includes the received identification code, indicating that the storage module 16 stores the GIF image corresponding to the received identification code. If the received identification code is different from the identification code stored in the storage module 16, the identification code in the storage module 16 does not include the received identification code, indicating that the client does not have a GIF image corresponding to the received identification code locally.
第一下载模块19用于在存储模块16存储的标识码中不包括接收的标识码时,访问所述GIF图像的下载地址下载所述GIF图像。The first download module 19 is used for accessing the download address of the GIF image to download the GIF image when the identification code stored in the storage module 16 does not include the received identification code.
在本实施方式中,第一下载模块19通过访问接收的下载地址下载GIF图像至本地,如此便可以进一步完成GIF图像的展现。具体的,例如第一下载模块19可以利用Http协议的Request命令访问下载地址,也可以利用套接字Socket访问下载地址,下载GIF图像。In this embodiment, the first download module 19 downloads the GIF image locally by accessing the received download address, so that the display of the GIF image can be further completed. Specifically, for example, the first download module 19 may use the Request command of the Http protocol to access the download address, or use the socket to access the download address to download the GIF image.
显示模块21用于显示所述GIF图像。The display module 21 is used for displaying the GIF image.
在本实施方式中,第一下载模块19从下载地址完成GIF图像的下载之后,显示模块21会进一步将下载的GIF图像向用户展现。显示模块21可以为具有显示功能的显示器,如LCD显示器或CRD显示器,也可以为驱动显示器显示影像的逻辑体。In this embodiment, after the first download module 19 finishes downloading the GIF image from the download address, the display module 21 will further display the downloaded GIF image to the user. The display module 21 may be a display with a display function, such as an LCD display or a CRD display, or a logic body that drives the display to display images.
本实施方式提供的客户端交互系统,通过设置标识码,实现每个GIF图像均能够被唯一标识,如此客户端在接收到一个标识码之后,便可以清晰的判断本地是否存储有该标识码对应的GIF图像。再者通过将接收消息的客户端提供GIF图像的下载地址,实现接收消息的客户端在本地没有存储标识码对应的GIF图像时,可以通过下载地址下载获得GIF图像,避免出现客户端难以展现GIF图像的情况。进一步的,通过本实施方式提供的方案,不同版本的客户端之间发生GIF图像互动时,老版本的客户端可以通过下载地址下载新本版的客户端提供的标识码对应的GIF图像,解决了新老版本兼容的问题。The client interaction system provided by this embodiment realizes that each GIF image can be uniquely identified by setting an identification code, so that after the client receives an identification code, it can clearly determine whether the corresponding identification code is stored locally. GIF image. Furthermore, by providing the download address of the GIF image to the client receiving the message, when the client receiving the message does not store the GIF image corresponding to the identification code locally, the GIF image can be obtained by downloading the download address, so that it is difficult for the client to display the GIF The condition of the image. Further, through the scheme provided by this embodiment, when GIF image interaction occurs between different versions of clients, the old version of the client can download the GIF image corresponding to the identification code provided by the new version of the client through the download address, so as to solve the problem. There is a problem of compatibility between the old and new versions.
请参阅图8,本申请的实施方式还提供一种客户端交互方法,所述客户端交互方法包括如下步骤。Referring to FIG. 8 , the embodiment of the present application further provides a client interaction method, and the client interaction method includes the following steps.
步骤S110:接收发来的消息,所述消息中附带有GIF图像的下载地址和标识码,所述标识码能够唯一标识一个GIF图像。Step S110: Receive the sent message, the message is attached with the download address of the GIF image and an identification code, and the identification code can uniquely identify a GIF image.
在本实施方式中,消息可以包括文字、图片或二者结合,或者消息本身仅仅附带有有GIF图像的下载地址和标识码而不具有其它内容。标识码能够唯一标识一个GIF图像,即标识码与GIF图像之间存在对应关系,通过获知一个标识码,便可以明确该标识码对应的GIF图像。具体的举例为,所述标识码可以为任意长度的字符串“sdjfosdufdsd15”,或者为数字编号“16230”,或者为GIF图像的特征值比如MD5(Message-Digest Algorithm5)值,或者base64值。In this embodiment, the message may include text, pictures or a combination of both, or the message itself is only accompanied by the download address and identification code of the GIF image without other content. The identification code can uniquely identify a GIF image, that is, there is a corresponding relationship between the identification code and the GIF image. By knowing an identification code, the GIF image corresponding to the identification code can be specified. For example, the identification code can be a character string "sdjfosdufdsd15" of any length, or a digital number "16230", or a characteristic value of a GIF image such as MD5 (Message-Digest Algorithm5) value, or a base64 value.
在本实施方式中,在GIF图像发布时,会将GIF图像存储在服务器中,服务器会提供GIF图像的存储路径,该存储路径既可以为下载地址。具体的,下载地址可以为GIF图像在服务器中的URL(Uniform Resource Locator)地址,通过访问URL地址便可以下载GIF图像至本地。In this embodiment, when the GIF image is published, the GIF image will be stored in the server, and the server will provide the storage path of the GIF image, and the storage path can be a download address. Specifically, the download address can be the URL (Uniform Resource Locator) address of the GIF image in the server, and the GIF image can be downloaded to the local by accessing the URL address.
步骤S120:判断本地存储的标识码是否包括所述接收的标识码。Step S120: Determine whether the locally stored identification code includes the received identification code.
在本实施方式中,在客户端本地存储有标识码。标识码可以与GIF图像相对应存储,即可以将标识码集成在GIF图像内,如此实现二者一一对应,也可以将标识码作为GIF图像的命名,还可以设置存储列表,在存储列表中对应存储标识码和GIF图像的存储路径。In this embodiment, the identification code is locally stored on the client. The identification code can be stored corresponding to the GIF image, that is, the identification code can be integrated in the GIF image, so as to realize the one-to-one correspondence between the two, or the identification code can be used as the name of the GIF image, and the storage list can also be set. In the storage list Corresponds to the storage path for storing identification codes and GIF images.
在本实施方式中,客户端获取消息中的标识码后,将接收的标识码与本地存储的标识码进行匹配,即判断接收的标识码在其本地存储的标识码中是否存在,若接收的标识码与本地存储的某一个标识码相同,表示客户端本地存储有接收的标识码对应的GIF图像。若接收的标识码与本地存储的标识码不相同,则客户端本地存储的标识码不包括接收的标识码,表示客户端本地没有接收的标识码对应的GIF图像。In this embodiment, after the client obtains the identification code in the message, it matches the received identification code with the locally stored identification code, that is, judges whether the received identification code exists in its locally stored identification code, and if the received The identification code is the same as a certain identification code stored locally, which means that the client locally stores the GIF image corresponding to the received identification code. If the received identification code is not the same as the locally stored identification code, the locally stored identification code of the client does not include the received identification code, indicating that the client does not have a GIF image corresponding to the received identification code locally.
步骤S130:本地存储的标识码中不包括所述接收的标识码,访问所述GIF图像的下载地址下载所述GIF图像。Step S130: The received identification code is not included in the locally stored identification code, and the download address of the GIF image is accessed to download the GIF image.
在本实施方式中,客户端通过访问接收的下载地址下载GIF图像至本地,如此便可以进一步完成GIF图像的展现。具体的,例如客户端可以利用Http协议的Request命令访问下载地址,也可以利用套接字Socket访问下载地址,下载GIF图像。In this embodiment, the client downloads the GIF image locally by accessing the received download address, so that the presentation of the GIF image can be further completed. Specifically, for example, the client can use the Request command of the Http protocol to access the download address, or use the socket to access the download address to download the GIF image.
步骤S140:显示所述GIF图像。Step S140: Display the GIF image.
在本实施方式中,客户端从下载地址完成GIF图像的下载之后,会进一步将下载的GIF图像向用户展现。In this embodiment, after the client finishes downloading the GIF image from the download address, it will further display the downloaded GIF image to the user.
在本申请的一个实施方式中,所述步骤S130还包括子步骤:在下载GIF图像的过程中,显示预设图片。In one embodiment of the present application, the step S130 further includes a sub-step: displaying a preset picture during the process of downloading the GIF image.
在本实施方式中,客户端内部可以具有预设图片。预设图片用于在客户端下载GIF图像的过程中向用户展示。客户端从下载地址下载GIF图像需要一定的时间,在这个时间内,通过向用户展示预设图片,提升用户体验。预设图片的内容可以具有文字,以提示用户正在下载GIF图像,或者具有GIF图像下载的进度条,再或者仅仅是一个图片。In this embodiment, the client may have a preset picture inside. The preset image is used to display to the user during the client downloading the GIF image. It takes a certain amount of time for the client to download the GIF image from the download address. During this time, the user experience is improved by displaying the preset image to the user. The content of the preset picture may have text to prompt the user that the GIF image is being downloaded, or have a progress bar for downloading the GIF image, or be just a picture.
请参阅图9,在本申请的一个实施方式中,所述客户端交互方法的步骤S140还包括如下子步骤。Please refer to FIG. 9 , in an embodiment of the present application, step S140 of the client interaction method further includes the following sub-steps.
步骤S141:展现所述GIF图像的预览图。Step S141: Display a preview image of the GIF image.
在本实施方式中,客户端获取GIF图像之后,首先展现GIF图像的预览图,如此用户可以初步了解GIF图像的内容。再者,由于客户端展现GIF图像需要花费较多的运算和存储资源,如果一个客户端同时接收到了多个消息需要展现GIF图像,在接收完成之后,同时展现可能会导致客户端资源不足而死机,所以客户端首先向用户展现预览图,避免了上述问题。In this embodiment, after the client acquires the GIF image, it first displays a preview image of the GIF image, so that the user can initially understand the content of the GIF image. Furthermore, since the client needs to spend more computing and storage resources to display GIF images, if a client receives multiple messages at the same time and needs to display GIF images, displaying them at the same time after receiving them may cause the client to crash because of insufficient resources , so the client first displays the preview image to the user, avoiding the above problems.
步骤S142:接收到预定命令,展现所述预览图对应的GIF图像。Step S142: After receiving a predetermined command, display the GIF image corresponding to the preview image.
在本实施方式中,预定命令可以为用户通过任意形式向客户端输入的操作命令。具体的,比如客户端为触屏式手机或平板电脑,用户可以通过点击某一预览图,实现展现对应的GIF图像,预览图被用户点击即可以为预定命令;比如客户端为键盘式手机,用户可以通过按钮选择某一预览图,并通过点击播放按钮实现展现预览图对应的GIF图像,此时预览图被播放按钮选择即可以为预定命令。In this embodiment, the predetermined command may be an operation command input by the user to the client in any form. Specifically, for example, if the client is a touch-screen mobile phone or a tablet computer, the user can click on a preview image to display the corresponding GIF image, and the preview image can be used as a predetermined command when the user clicks; for example, the client is a keyboard-type mobile phone, The user can select a preview image through the button, and display the GIF image corresponding to the preview image by clicking the play button. At this time, the preview image is selected by the play button as a predetermined command.
请参阅图10,在本申请的一个实施方式中,所述客户端交互方法还包括步骤S150:从下载的GIF图像中解析出一张或一张以上图片作为所述GIF图像的预览图。Please refer to FIG. 10 , in one embodiment of the present application, the client interaction method further includes step S150: analyzing one or more pictures from the downloaded GIF image as the preview image of the GIF image.
在本实施方式中,客户端从下载地址下载GIF图像之后,对GIF图像进行解析,从GIF图像中的多张图片中,选择一张或一张以上图片作为GIF图像的预览图。具体的,若从GIF图像中选择一张图片作为预览图,则可以选择GIF图像的多个图片中的任意一个,优选地,选择第一张图片作为预览图。若从GIF图像中选择一张以上图片,可以间隔一定数量选择一张图片,如此可以将选择的一张以上图片制作成一个较小的GIF图像作为原GIF图像的预览图。In this embodiment, after the client downloads the GIF image from the download address, the GIF image is analyzed, and one or more pictures are selected from the multiple pictures in the GIF image as the preview image of the GIF image. Specifically, if a picture is selected from the GIF image as the preview image, any one of the multiple pictures of the GIF image may be selected, preferably, the first picture is selected as the preview image. If more than one picture is selected from the GIF image, one picture can be selected at intervals of a certain number, so that more than one picture selected can be made into a smaller GIF image as a preview of the original GIF image.
在本实施方式中,所述客户端交互方法还进一步包括步骤S160:将所述预览图与所述接收的标识码对应存储。In this embodiment, the client interaction method further includes step S160: correspondingly storing the preview image and the received identification code.
在本实施方式中,客户端取得预览图之后,将预览图与标识码对应存储,如此实现增加了客户端已知的GIF图像的数量。再者,GIF图像较大而预览图较小,通过仅存储预览图实现避免占用过多的存储空间。当然,客户端也可以将预览图与GIF图像一同对应标识码存储。具体的,在客户端中可以存储有标识码列表,对应每个标识码存储预览图的存储路径,或者对应每个标识码存储GIF图像和预览图的存储路径,如此在明确标识码之后,便可以进一步获取预览图,或者获取GIF图像和预览图。In this embodiment, after the client obtains the preview image, it stores the preview image and the identification code correspondingly, which increases the number of GIF images known to the client. Furthermore, the GIF image is large and the preview image is small, and only the preview image is stored to avoid occupying too much storage space. Certainly, the client may also store the preview image and the GIF image corresponding to the identification code. Specifically, a list of identification codes may be stored in the client, corresponding to each identification code to store the storage path of the preview image, or corresponding to each identification code to store the storage path of the GIF image and the preview image, so that after the identification code is specified, the You can further obtain a preview image, or obtain a GIF image and a preview image.
请参阅图11,在本申请的一个实施方式中,在所述客户端交互方法的步骤S110中:所述消息中附带有GIF图像的下载地址和预览图的下载地址以及标识码,所述标识码能够唯一标识所述GIF图像和所述预览图。Please refer to Fig. 11, in one embodiment of the present application, in the step S110 of the client interaction method: the download address of the GIF image and the download address and identification code of the preview image are attached to the message, and the identification The code can uniquely identify the GIF image and the preview image.
在本实施方式中,在GIF图像发布时,即指定一张图片作为该GIF图像的预览图,并将GIF图像和预览图同时存储至服务器中,如此GIF图像和预览图分别存在一个下载地址,如此便可以实现通过访问GIF图像的下载地址下载GIF图像,访问预览图的下载地址下载预览图。In this embodiment, when the GIF image is released, a picture is designated as the preview image of the GIF image, and the GIF image and the preview image are stored in the server simultaneously, so that the GIF image and the preview image respectively have a download address, In this way, the GIF image can be downloaded by accessing the download address of the GIF image, and the preview image can be downloaded by accessing the download address of the preview image.
在本实施方式中,标识码与GIF图像和预览图均相对应,如此便可以通过标识码实现将GIF图像和预览图相对应。具体的,比如通过一个列表存储有标识码,对应标识码存储GIF图像在客户端中的存储路径,和预览图在客户端中的存储路径,如此在明确标识码之后,便可以通过GIF图像或预览图的存储路径,获取GIF图像或预览图。In this embodiment, the identification code corresponds to both the GIF image and the preview image, so that the GIF image can be associated with the preview image through the identification code. Specifically, for example, the identification code is stored in a list, and the corresponding identification code stores the storage path of the GIF image in the client, and the storage path of the preview image in the client, so that after the identification code is specified, the GIF image or The storage path of the preview image, to get the GIF image or preview image.
在本实施方式中,所述步骤S130可以为:本地存储的标识码不包括接收的标识码,访问所述GIF图像的下载地址下载所述GIF图像,访问所述预览图的下载地址下载所述预览图。In this embodiment, the step S130 may be: the locally stored identification code does not include the received identification code, accessing the download address of the GIF image to download the GIF image, accessing the download address of the preview image to download the preview.
在本实施方式中,客户端本地不包括接收的标识码,表明客户端不存在与接收的标识码对应的预览图,或者不存在与接收的标识码对应的GIF图像和预览图,客户端可以通过访问GIF图像的下载地址下载GIF图像,通过访问预览图的下载地址下载预览图。进一步的,可以优先下载预览图,在下载GIF图像的过程中,客户端展现预览图。如此可以尽早使用户了解GIF图像可能展示的内容。In this embodiment, the client does not include the received identification code locally, indicating that the client does not have a preview image corresponding to the received identification code, or there is no GIF image and preview image corresponding to the received identification code, and the client can Download the GIF image by visiting the download address of the GIF image, and download the preview image by visiting the download address of the preview image. Further, the preview image may be downloaded first, and the client displays the preview image during the process of downloading the GIF image. This gives the user an early idea of what the GIF image might show.
在本实施方式中,所述客户端交互方法还进一步包括步骤S160:将所述预览图与所述接收的标识码对应存储。In this embodiment, the client interaction method further includes step S160: correspondingly storing the preview image and the received identification code.
在本实施方式中,客户端取得预览图之后,将该预览图与标识码对应存储,如此实现增加了客户端已知的GIF图像的数量。再者,GIF图像较大而预览图较小,通过仅存储预览图实现避免占用过多的存储空间。当然,客户端也可以将预览图与GIF图像一同对应标识码存储。具体的,在客户端中可以存储有标识码列表,对应每个标识码存储预览图的存储路径,或者对应每个标识码存储GIF图像和预览图的存储路径,如此在明确标识码之后,便可以进一步获取预览图,或者获取GIF图像和预览图。In this embodiment, after the client obtains the preview image, it stores the preview image and the identification code correspondingly, which increases the number of GIF images known to the client. Furthermore, the GIF image is large and the preview image is small, and only the preview image is stored to avoid occupying too much storage space. Certainly, the client may also store the preview image and the GIF image corresponding to the identification code. Specifically, a list of identification codes may be stored in the client, corresponding to each identification code to store the storage path of the preview image, or corresponding to each identification code to store the storage path of the GIF image and the preview image, so that after the identification code is specified, the You can further obtain a preview image, or obtain a GIF image and a preview image.
请参阅图12,在本申请的一个实施方式中,所述客户端交互方法还包括步骤S170:本地存储的标识码中包括所述接收的标识码,从本地读取所述接收的标识码对应的GIF图像。Please refer to FIG. 12 , in one embodiment of the present application, the client interaction method further includes step S170: the locally stored identification code includes the received identification code, and reads the received identification code corresponding to GIF image.
在本实施方式中,客户端本地存储的标识码中包括接收的标识码,表明客户端本地存储有接收的标识码对应的GIF图像,仅需要从本地读取GIF图像,便可以进行进一步的展现。具体的,客户端中可以设置有标识码存储列表,在该列表中对应每个标识码存储GIF图像的存储路径。In this embodiment, the identification code stored locally on the client side includes the received identification code, indicating that the client locally stores the GIF image corresponding to the received identification code, and only needs to read the GIF image locally for further presentation . Specifically, an identification code storage list may be set in the client, and the storage path of the GIF image is stored corresponding to each identification code in the list.
请参阅图13,在本申请的一个实施方式中,所述客户端交互方法还包括步骤S180:本地存储的标识码中包括所述接收的标识码,从本地读取所述接收的标识码对应的GIF图像的预览图,访问所述GIF图像的下载地址下载所述GIF图像。Please refer to FIG. 13 , in one embodiment of the present application, the client interaction method further includes step S180: the locally stored identification code includes the received identification code, and reads the received identification code corresponding to For the preview image of the GIF image, visit the download address of the GIF image to download the GIF image.
在本实施方式中,GIF图像往往较大,若在客户端存储GIF图像需要较大的存储空间,为了减少客户端存储空间的占用,在客户端仅存储GIF图像的预览图,进一步的通过访问GIF图像的下载地址下载GIF图像,实现可以展现GIF图像的详细内容。再者,客户端读取预览图之后,可以在下载GIF图像的过程中展示预览图,然用户首先了解GIF图像可能的内容,待GIF图像下载完成之后,再进一步展现GIF图像,或者接收到预定命令之后再展现GIF图像,具体方案,在前述实施方式中已经描述,在此不再重复介绍。In this embodiment, the GIF image is often larger, if storing the GIF image at the client requires a larger storage space, in order to reduce the occupation of the client storage space, only the preview image of the GIF image is stored at the client, further through the access The download address of the GIF image Download the GIF image, so that the detailed content of the GIF image can be displayed. Furthermore, after the client reads the preview image, it can display the preview image during the process of downloading the GIF image. Then the user first understands the possible content of the GIF image, and then further displays the GIF image after the download of the GIF image is completed, or receives a predetermined The GIF image is displayed after the command. The specific scheme has been described in the foregoing implementation manner, and will not be repeated here.
请参阅图14,本申请的实施方式还提供一种客户端200。客户端200包括:消息接收模块15、存储模块16、匹配模块17、第一下载模块19和显示模块21。Referring to FIG. 14 , the embodiment of the present application also provides a client 200 . The client 200 includes: a message receiving module 15 , a storage module 16 , a matching module 17 , a first download module 19 and a display module 21 .
客户端200可以为任意形式的移动终端如手机、平板电脑或笔记本电脑,也可以为台式电脑,还可以为运行在上述硬件设备中的由程序语言编制形成的逻辑体。The client 200 can be any form of mobile terminal such as a mobile phone, a tablet computer or a notebook computer, or a desktop computer, or a logic body compiled by a programming language running on the above-mentioned hardware devices.
在本实施方式中,客户端之间的版本可以相同,也可以不同。其中,客户端之间的版本相同是指,客户端在默认出厂设置状态下的功能和结构相同。客户端之间的版本不同是因为随着科技发展和技术进步,厂商可能对客户端的技术方案存在一定的改进,比如提升客户端硬件的性能,或者改进客户端的算法,此时便会发布新版本的客户端,由于新版本的客户端和老版本的客户端均会在业内得到使用,所以便会存在不同版本的客户端。In this embodiment, the versions of the clients may be the same or different. Wherein, the versions of the clients are the same, which means that the functions and structures of the clients are the same in the default factory setting state. The version differences between clients are due to the fact that with the development of technology and technological progress, manufacturers may have certain improvements to the client’s technical solutions, such as improving the performance of client hardware, or improving the algorithm of the client, and a new version will be released at this time client, since both the new version and the old version of the client will be used in the industry, there will be different versions of the client.
消息接收模块15用于接收其它客户端200发来的消息,所述消息中附带有GIF图像的下载地址和标识码,所述标识码能够唯一标识一个GIF图像。The message receiving module 15 is used to receive messages sent by other clients 200, and the message is attached with the download address of the GIF image and an identification code, and the identification code can uniquely identify a GIF image.
在本实施方式中,消息可以包括文字、图片或二者结合,或者消息本身仅仅附带有有GIF图像的下载地址和标识码而不具有其它内容。标识码能够唯一标识一个GIF图像,即标识码与GIF图像之间存在对应关系,通过获知一个标识码,便可以明确该标识码对应的GIF图像。具体的举例为,所述标识码可以为任意长度的字符串“sdjfosdufdsd15”,或者为数字编号“16230”,或者为GIF图像的特征值比如MD5(Message-Digest Algorithm5)值,或者base64值。In this embodiment, the message may include text, pictures or a combination of both, or the message itself is only accompanied by the download address and identification code of the GIF image without other content. The identification code can uniquely identify a GIF image, that is, there is a corresponding relationship between the identification code and the GIF image. By knowing an identification code, the GIF image corresponding to the identification code can be specified. For example, the identification code can be a character string "sdjfosdufdsd15" of any length, or a digital number "16230", or a characteristic value of a GIF image such as MD5 (Message-Digest Algorithm5) value, or a base64 value.
在本实施方式中,在GIF图像发布时,会将GIF图像存储在服务器中,服务器会提供GIF图像的存储路径,该存储路径既可以为下载地址。具体的,下载地址可以为GIF图像在服务器中的URL(Uniform Resource Locator)地址,通过访问URL地址便可以下载GIF图像至本地。In this embodiment, when the GIF image is published, the GIF image will be stored in the server, and the server will provide the storage path of the GIF image, and the storage path can be a download address. Specifically, the download address can be the URL (Uniform Resource Locator) address of the GIF image in the server, and the GIF image can be downloaded to the local by accessing the URL address.
在本实施方式中,客户端200通过消息接收模块15接收其它客户端200发来的消息。消息接收模块15可以为硬件的通信接口,比如网络接口,也可以为无线信号接收芯片,比如蓝牙信号接收芯片或Wifi模块。In this embodiment, the client 200 receives messages from other clients 200 through the message receiving module 15 . The message receiving module 15 can be a hardware communication interface, such as a network interface, or a wireless signal receiving chip, such as a Bluetooth signal receiving chip or a Wifi module.
存储模块16用于存储标识码。The storage module 16 is used for storing the identification code.
在本实施方式中,存储模块16可以为任何具有存储功能的硬件,比如磁盘存储器、闪存存储器等,也可以为在一个硬件存储器中划分的一部分存储区域,还可以为驱动存储器存储文件的逻辑体。存储模块16获取标识码的途径可以为在客户端200制作过程中集成,也可以为在使用过程中接收其它客户端200发来的标识码而积累得到。标识码可以与GIF图像相对应存储,即可以将标识码集成在GIF图像内,如此实现二者一一对应,也可以将标识码作为GIF图像的命名,还可以设置存储列表,在存储列表中对应存储标识码和GIF图像的存储路径。In this embodiment, the storage module 16 can be any hardware with storage functions, such as disk storage, flash memory, etc., or it can be a part of the storage area divided in a hardware storage, and it can also be a logic volume for storing files in the drive storage. . The way for the storage module 16 to obtain the identification code can be integrated during the production process of the client 200, or can be accumulated by receiving identification codes sent by other clients 200 during use. The identification code can be stored corresponding to the GIF image, that is, the identification code can be integrated in the GIF image, so as to realize the one-to-one correspondence between the two, or the identification code can be used as the name of the GIF image, and the storage list can also be set. In the storage list Corresponds to the storage path for storing identification codes and GIF images.
匹配模块17用于判断存储的标识码是否包括接收的标识码。The matching module 17 is used for judging whether the stored identification code includes the received identification code.
在本实施方式中,匹配模块17可以为具有运算处理功能的芯片,也可以为由芯片执行的逻辑体。消息接收模块15接收到其它客户端200发来的标识码后,将接收的标识码与存储的标识码进行匹配,即判断接收的标识码在其本地存储的标识码中是否存在,若接收的标识码与本地存储的某一个标识码相同,即存储模块16存储的标识码包括接收的标识码,表示客户端200本地存储有接收的标识码对应的GIF图像。若接收的标识码与存储模块16存储的标识码均不相同,则客户端200本地存储的标识码不包括接收的标识码,表示客户端200本地没有接收的标识码对应的GIF图像。In this embodiment, the matching module 17 may be a chip with an arithmetic processing function, or may be a logic body executed by the chip. After receiving the identification codes sent by other clients 200, the message receiving module 15 matches the received identification codes with the stored identification codes, that is, judges whether the received identification codes exist in its locally stored identification codes. The identification code is the same as an identification code stored locally, that is, the identification code stored in the storage module 16 includes the received identification code, indicating that the client 200 locally stores the GIF image corresponding to the received identification code. If the received identification code is different from the identification code stored in the storage module 16, the identification code stored locally by the client 200 does not include the received identification code, indicating that the client 200 does not have a GIF image corresponding to the received identification code locally.
第一下载模块19用于在存储模块16存储的标识码中不包括接收的标识码时,访问所述GIF图像的下载地址下载所述GIF图像。The first download module 19 is used for accessing the download address of the GIF image to download the GIF image when the identification code stored in the storage module 16 does not include the received identification code.
在本实施方式中,第一下载模块19通过访问接收的下载地址下载GIF图像至本地,如此便可以进一步完成GIF图像的展现。具体的,例如第一下载模块19可以利用Http协议的Request命令访问下载地址,也可以利用套接字Socket访问下载地址,下载GIF图像。In this embodiment, the first download module 19 downloads the GIF image locally by accessing the received download address, so that the display of the GIF image can be further completed. Specifically, for example, the first download module 19 may use the Request command of the Http protocol to access the download address, or use the socket to access the download address to download the GIF image.
显示模块21用于展示所述GIF图像。The display module 21 is used to display the GIF image.
在本实施方式中,第一下载模块19从下载地址完成GIF图像的下载之后,显示模块21会进一步将下载的GIF图像向用户展现。显示模块21可以为具有显示功能的显示器,如LCD显示器或CRD显示器,也可以为驱动显示器显示影响的逻辑体。In this embodiment, after the first download module 19 finishes downloading the GIF image from the download address, the display module 21 will further display the downloaded GIF image to the user. The display module 21 may be a display with a display function, such as an LCD display or a CRD display, or a logic body that drives the display to display effects.
本实施方式提供的客户端200,通过设置标识码,实现每个GIF图像均能够被唯一标识,如此客户端200在接收到一个标识码之后,便可以清晰的判断本地是否存储有该标识码对应的GIF图像。再者通过将接收消息的客户端200提供GIF图像的下载地址,实现接收消息的客户端200在本地没有存储标识码对应的GIF图像时,可以通过下载地址下载获得GIF图像,避免出现客户端200难以展现GIF图像的情况。进一步的,通过本实施方式提供的方案,不同版本的客户端200之间发生GIF图像互动时,老版本的客户端可以通过下载地址下载新本版的客户端提供的标识码对应的GIF图像,解决了新老版本兼容的问题。The client 200 provided in this embodiment realizes that each GIF image can be uniquely identified by setting an identification code, so that after receiving an identification code, the client 200 can clearly determine whether the corresponding identification code is stored locally. GIF image. Furthermore, by providing the download address of the GIF image to the client 200 receiving the message, when the client 200 receiving the message does not store the GIF image corresponding to the identification code locally, the GIF image can be obtained by downloading the download address to avoid the occurrence of the client 200. Cases where it is difficult to show GIF images. Further, through the solution provided in this embodiment, when GIF image interaction occurs between different versions of the client 200, the old version of the client can download the GIF image corresponding to the identification code provided by the new version of the client through the download address, Solved the problem of compatibility between old and new versions.
本申请实现客户端发出的消息中附带有GIF图像的下载地址和标识码,接收消息的客户端可以首先通过标识码与本地的GIF图像匹配,匹配成功则显示GIF图像,匹配失败则通过下载地址下载GIF图像,然后进一步展示。如此实现不同版本的客户端通信时,老版本的客户端接收到新版本客户端的消息时,能够展示新版本客户端中的GIF图像,时新版本客户端与老版本客户端之间有着较佳的兼容性,给使用者带来了便利。This application implements that the download address and identification code of the GIF image are attached to the message sent by the client. The client receiving the message can first match the local GIF image through the identification code. If the match is successful, the GIF image will be displayed. If the match fails, the download address Download the GIF image and display it further. When communication between clients of different versions is realized in this way, when the client of the old version receives a message from the client of the new version, it can display the GIF image in the client of the new version. Compatibility brings convenience to users.
虽然通过实施方式描绘了本申请,本领域普通技术人员知道,本申请有许多变形和变化而不脱离本申请的精神,希望所附的权利要求包括这些变形和变化而不脱离本申请的精神。Although the present application has been described by means of embodiments, those of ordinary skill in the art know that there are many variations and changes in the present application without departing from the spirit of the application, and it is intended that the appended claims cover these variations and changes without departing from the spirit of the application.
Claims (22)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410046695.7A CN104836820A (en) | 2014-02-10 | 2014-02-10 | Method and system for client interaction, and client terminals |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410046695.7A CN104836820A (en) | 2014-02-10 | 2014-02-10 | Method and system for client interaction, and client terminals |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN104836820A true CN104836820A (en) | 2015-08-12 |
Family
ID=53814456
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410046695.7A Pending CN104836820A (en) | 2014-02-10 | 2014-02-10 | Method and system for client interaction, and client terminals |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104836820A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106789560A (en) * | 2016-12-01 | 2017-05-31 | 腾讯音乐娱乐(深圳)有限公司 | A kind of image display method and image processing device |
| CN106878145A (en) * | 2016-12-19 | 2017-06-20 | 北京新美互通科技有限公司 | A kind of display methods of self-defined picture, display device and display system |
| CN107154892A (en) * | 2016-03-03 | 2017-09-12 | 游戏橘子数位科技股份有限公司 | Real-time communication interaction method |
| CN108418890A (en) * | 2018-03-15 | 2018-08-17 | 武汉斗鱼网络科技有限公司 | Facial special effect resource generation method, device, system and readable storage medium |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01122288A (en) * | 1987-11-06 | 1989-05-15 | Mitsubishi Electric Corp | Communication system for still picture video telephone |
| JPH04100495A (en) * | 1990-08-20 | 1992-04-02 | Mitsubishi Electric Corp | Still image videophone device |
| CN101137152A (en) * | 2007-09-27 | 2008-03-05 | 腾讯科技(深圳)有限公司 | Method, system and equipment for interacting three-dimensional cartoon in mobile instant communication |
| CN101350790A (en) * | 2007-07-19 | 2009-01-21 | 阿里巴巴集团控股有限公司 | File transfer method and device based on instant messaging system |
| CN101699879A (en) * | 2007-07-03 | 2010-04-28 | 卢苇 | Method for transmitting voice message by mobile terminal |
| CN102870081A (en) * | 2012-06-30 | 2013-01-09 | 华为技术有限公司 | Method and mobile terminal for dynamic display expressions |
-
2014
- 2014-02-10 CN CN201410046695.7A patent/CN104836820A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01122288A (en) * | 1987-11-06 | 1989-05-15 | Mitsubishi Electric Corp | Communication system for still picture video telephone |
| JPH04100495A (en) * | 1990-08-20 | 1992-04-02 | Mitsubishi Electric Corp | Still image videophone device |
| CN101699879A (en) * | 2007-07-03 | 2010-04-28 | 卢苇 | Method for transmitting voice message by mobile terminal |
| CN101350790A (en) * | 2007-07-19 | 2009-01-21 | 阿里巴巴集团控股有限公司 | File transfer method and device based on instant messaging system |
| CN101137152A (en) * | 2007-09-27 | 2008-03-05 | 腾讯科技(深圳)有限公司 | Method, system and equipment for interacting three-dimensional cartoon in mobile instant communication |
| CN102870081A (en) * | 2012-06-30 | 2013-01-09 | 华为技术有限公司 | Method and mobile terminal for dynamic display expressions |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107154892A (en) * | 2016-03-03 | 2017-09-12 | 游戏橘子数位科技股份有限公司 | Real-time communication interaction method |
| CN106789560A (en) * | 2016-12-01 | 2017-05-31 | 腾讯音乐娱乐(深圳)有限公司 | A kind of image display method and image processing device |
| CN106878145A (en) * | 2016-12-19 | 2017-06-20 | 北京新美互通科技有限公司 | A kind of display methods of self-defined picture, display device and display system |
| CN106878145B (en) * | 2016-12-19 | 2020-11-13 | 北京新美互通科技有限公司 | Display method, display device and display system of user-defined picture |
| CN108418890A (en) * | 2018-03-15 | 2018-08-17 | 武汉斗鱼网络科技有限公司 | Facial special effect resource generation method, device, system and readable storage medium |
| CN108418890B (en) * | 2018-03-15 | 2020-09-04 | 武汉斗鱼网络科技有限公司 | Facial effect resource generation method, device, system and readable storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR101496875B1 (en) | Apparatus and methods for retrieving/downloading content on a communication device | |
| US9990128B2 (en) | Messaging application interacting with one or more extension applications | |
| US11082490B2 (en) | Method and apparatus for execution of applications in a cloud system | |
| US20200236513A1 (en) | Message extension app store | |
| CN102017673B (en) | Interworking system between user terminal and smart card for executing widget, and method thereof | |
| CN107390994B (en) | Interface presentation method and device | |
| EP3255909A1 (en) | Messaging application interacting with one or more extension applications | |
| CN105824836B (en) | Screenshot sharing method and device, and information receiving method and device | |
| US10637804B2 (en) | User terminal apparatus, communication system, and method of controlling user terminal apparatus which support a messenger service with additional functionality | |
| CN107656768B (en) | Method and system for controlling page jump | |
| CN105589631A (en) | Information display method and device | |
| CN105094824A (en) | Display method for notification messages on intelligent watch and intelligent watch | |
| CN113645308A (en) | Mobile terminal TCP communication, device, equipment and storage medium | |
| CN110532494B (en) | User personalized configuration method and system of B/S application and computer equipment | |
| CN104836820A (en) | Method and system for client interaction, and client terminals | |
| CN109168012B (en) | Information processing method and apparatus for terminal equipment | |
| CN104506616A (en) | Method, device and system for sending information by browser client side | |
| CN106911666A (en) | A kind of wearable smart machine and its message treatment method, system | |
| CN110442416B (en) | Method, electronic device, and computer-readable medium for presenting information | |
| JP5643449B1 (en) | Server and method for displaying display screen on terminal device | |
| CN105721604A (en) | Data sending method and device based on downloading request of user | |
| CN117707583A (en) | Page updating method, electronic device and page updating system | |
| CN103793459A (en) | Webpage opening method and webpage opening device | |
| CN113326089A (en) | Method and device for replacing application software skin and storage medium | |
| CN104063246B (en) | A kind of method and device of loading tool bar |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| EXSB | Decision made by sipo to initiate substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150812 |
|
| RJ01 | Rejection of invention patent application after publication |