WO2018045873A1 - Message processing method for instant messaging application and related product - Google Patents

Message processing method for instant messaging application and related product Download PDF

Info

Publication number
WO2018045873A1
WO2018045873A1 PCT/CN2017/098754 CN2017098754W WO2018045873A1 WO 2018045873 A1 WO2018045873 A1 WO 2018045873A1 CN 2017098754 W CN2017098754 W CN 2017098754W WO 2018045873 A1 WO2018045873 A1 WO 2018045873A1
Authority
WO
WIPO (PCT)
Prior art keywords
red envelope
mobile terminal
server
display
receiving
Prior art date
Application number
PCT/CN2017/098754
Other languages
French (fr)
Chinese (zh)
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 广东欧珀移动通信有限公司
Publication of WO2018045873A1 publication Critical patent/WO2018045873A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephone Function (AREA)

Abstract

The present invention is applicable to the field of mobile terminal technology, and provides a message processing method for an instant messaging application and a related product. The method comprises: when a click event of a red envelope message is received, displaying a red envelope picture; when a click event of the red envelope picture is detected, sending to a server a red envelope receiving instruction, whilst shielding, on the mobile terminal, red envelope animation triggered by the click event; receiving red envelope receiving results returned by the server and displaying same. The present invention shields, in the process of receiving a red envelope in an instant messaging application, red envelope animation therein so as to facilitate the sending of a red envelope receiving instruction, thereby effectively improving the response speed of snatching a red envelope.

Description

即时通信应用的消息处理方法及相关产品Message processing method for instant messaging application and related products
本发明要求2016年9月12日递交的发明名称为“即时通信应用的消息处理方法及移动终端”的申请号201610818689.8的在先申请优先权,上述在先申请的内容以引入的方式并入本文本中。The present invention claims the priority of the prior application entitled "Message Processing Method for Instant Messaging Applications and Mobile Terminals", filed on September 12, 2016, the content of which is incorporated herein by reference. This.
技术领域Technical field
本发明涉及互联网技术领域,具体涉及一种即时通信应用的消息处理方法及相关产品。The present invention relates to the field of Internet technologies, and in particular, to a message processing method and related products for an instant messaging application.
背景技术Background technique
随着移动支付业务的发展和普及,各类移动终端应用开发出了红包功能,进一步地,在即时通信类应用中,针对多联系人对话过程还开发出了抢红包功能。抢红包功能主要是由其中一个联系人发出一固定金额的红包,并限定该红包的分发数量,只要红包的分发数量还有剩余,那么其余联系人便可以通过抢红包指令随机地获取到固定金额中的一部分。上述抢红包功能在带来了丰富的娱乐性的同时,也增进了联系人之间的情感交互,因此得到了用户的喜爱。现有的抢红包容易受到网络状况的影响。With the development and popularization of mobile payment services, various types of mobile terminal applications have developed red envelope functions. Further, in instant messaging applications, a red envelope function has been developed for the multi-contact dialogue process. The red envelope function mainly consists of one of the contacts issuing a fixed amount of red packets, and limiting the number of red packets distributed. As long as the red packets are still distributed, the remaining contacts can randomly obtain a fixed amount by grabbing the red packets. Part of it. The above-mentioned red envelope function brings rich entertainment, and also enhances the emotional interaction between contacts, so it is loved by users. Existing red packets are vulnerable to network conditions.
发明内容Summary of the invention
本发明实施例提供了一种即时通信应用的消息处理方法及相关产品,可以降低抢红包的速度容易受到网络状况的影响。The embodiments of the present invention provide a message processing method and related products for an instant messaging application, which can reduce the speed of red packets and is susceptible to network conditions.
本发明实施例第一方面提供了一种即时通信应用的消息处理方法,包括:A first aspect of the embodiments of the present invention provides a message processing method for an instant messaging application, including:
当接收到对红包消息的点击事件时,显示红包图片;When a click event for the red envelope message is received, a red envelope image is displayed;
当检测到对所述红包图片的点击事件时,向服务器发送红包领取指令,并同时在移动终端屏蔽因所述点击事件而触发的红包动画;When a click event to the red envelope picture is detected, a red envelope receiving instruction is sent to the server, and at the same time, the red envelope animation triggered by the click event is blocked at the mobile terminal;
接收所述服务器返回的红包领取结果并显示。 Receiving the red packet receiving result returned by the server and displaying it.
可选的,所述接收所述服务器返回的红包领取结果并显示包括:Optionally, the receiving the red envelope receiving result returned by the server and displaying includes:
接收所述服务器返回的红包领取结果;Receiving a red envelope receiving result returned by the server;
加载因所述点击事件而触发的红包动画;Loading a red envelope animation triggered by the click event;
显示所述领取结果。The result of the collection is displayed.
可选的,所述显示红包图片包括:Optionally, the displaying the red envelope image includes:
从所述移动终端本地获取红包图片并显示。Obtaining a red envelope picture from the mobile terminal and displaying it.
可选的,所述从所述移动终端本地获取红包图片包括:Optionally, the obtaining the red envelope image from the mobile terminal locally includes:
检测即时通信应用是否存在应用版本更新;Detecting whether an instant messaging application has an application version update;
若所述即时通信应用不存在应用版本更新,从所述移动终端本地获取所述红包图片。If the instant messaging application does not have an application version update, the red envelope image is locally obtained from the mobile terminal.
可选的,所述方法还包括:Optionally, the method further includes:
若所述即时通信应用存在应用版本更新,向所述服务器请求红包图片。If the instant messaging application has an application version update, request a red envelope picture from the server.
可选的,所述接收所述服务器返回的红包领取结果并显示,包括:Optionally, the receiving, by the server, a red envelope receiving result and displaying, including:
接收到所述服务器根据所述红包领取指令返回的领取结果,对所述红包动画进行加载显示。Receiving, by the server, according to the receiving result returned by the red envelope receiving instruction, loading and displaying the red envelope animation.
可选的,所述方法还包括:Optionally, the method further includes:
接收所述服务器发送的红包图片,将对所述红包图片进行显示。Receiving a red envelope picture sent by the server, and displaying the red envelope picture.
第二方面,提供一种移动终端,包括:In a second aspect, a mobile terminal is provided, including:
第一显示单元,用于当接收到对红包消息的点击事件时,显示红包图片;a first display unit, configured to display a red envelope image when receiving a click event on the red envelope message;
屏蔽单元,用于当检测到对所述红包图片的点击事件时,向服务器发送红包领取指令,并同时在移动终端屏蔽因所述点击事件而触发的红包动画;a shielding unit, configured to send a red packet receiving instruction to the server when detecting a click event to the red envelope image, and simultaneously mask a red envelope animation triggered by the click event on the mobile terminal;
第二显示单元,用于接收所述服务器返回的红包领取结果并显示。The second display unit is configured to receive a red envelope receiving result returned by the server and display the result.
可选的,所述第二显示单元包括:Optionally, the second display unit includes:
接收子单元,用于接收所述服务器返回的红包领取结果;a receiving subunit, configured to receive a red packet receiving result returned by the server;
第一显示子单元,用于加载因所述点击事件而触发的红包动画;a first display subunit, configured to load a red envelope animation triggered by the click event;
第二显示子单元,用于显示所述领取结果。The second display subunit is configured to display the receiving result.
可选的,所述第一显示单元具体用于:Optionally, the first display unit is specifically configured to:
从所述移动终端本地获取红包图片并显示。Obtaining a red envelope picture from the mobile terminal and displaying it.
可选的,所述第一显示单元包括: Optionally, the first display unit includes:
检测子单元,用于检测即时通信应用是否存在应用版本更新;a detecting subunit, configured to detect whether an application version update exists in the instant messaging application;
获取子单元,用于若所述即时通信应用不存在应用版本更新,从所述移动终端本地获取所述红包图片。Obtaining a subunit, configured to obtain the red envelope picture locally from the mobile terminal if the instant messaging application does not have an application version update.
可选的,所述第一显示单元还包括:Optionally, the first display unit further includes:
请求子单元,用于若所述即时通信应用存在应用版本更新,向所述服务器请求红包图片。And a requesting subunit, configured to request a red envelope picture from the server if the instant messaging application has an application version update.
可选的,所述第二显示单元,具体用于接收到所述服务器根据所述红包领取指令返回的领取结果,对所述红包动画进行加载显示。Optionally, the second display unit is configured to receive, by the server, a loading result displayed according to the red packet receiving instruction, and load display the red envelope animation.
可选的,所述第二显示单元,具体用于接收所述服务器发送的红包图片,将对所述红包图片进行显示。Optionally, the second display unit is specifically configured to receive a red envelope image sent by the server, and display the red envelope image.
第三方面,提供一种移动终端,包括:In a third aspect, a mobile terminal is provided, including:
显示器、处理器、输出设备及输入设备;Display, processor, output device, and input device;
所述显示器用于,当接收到对红包消息的点击事件时,显示红包图片;The display is configured to display a red envelope image when a click event to the red envelope message is received;
当所述处理器检测到对所述红包图片的点击事件时,所述输出设备用于向服务器发送红包领取指令,并同时由所述显示器在移动终端屏蔽因所述点击事件而触发的红包动画;When the processor detects a click event on the red envelope picture, the output device is configured to send a red envelope receiving instruction to the server, and at the same time, the display screen shields the red envelope animation triggered by the click event on the mobile terminal by the display ;
所述输入设备用于接收所述服务器返回的红包领取结果并由所述显示器显示。The input device is configured to receive a red envelope receiving result returned by the server and displayed by the display.
可选的,所述输入设备用于接收所述服务器返回的红包领取结果;Optionally, the input device is configured to receive a red packet receiving result returned by the server;
所述显示器还用于加载因所述点击事件而触发的红包动画;The display is further configured to load a red envelope animation triggered by the click event;
所述显示器还用于显示所述领取结果。The display is further configured to display the result of the receiving.
可选的,所述显示器用于从所述移动终端本地获取红包图片并显示。Optionally, the display is configured to locally acquire and display a red envelope picture from the mobile terminal.
可选的,所述处理器还用于检测即时通信应用是否存在应用版本更新;若所述即时通信应用不存在应用版本更新,从所述移动终端本地获取所述红包图片。Optionally, the processor is further configured to detect whether an application version update exists in the instant messaging application; if the instant messaging application does not have an application version update, obtain the red envelope image locally from the mobile terminal.
可选的,所述输出设备还用于若所述即时通信应用存在应用版本更新,向所述服务器请求红包图片。Optionally, the output device is further configured to request a red envelope picture from the server if the instant messaging application has an application version update.
第四方面,本发明实施例提供了一种计算机可读存储介质,其中,所述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,所述计算机程 序使得计算机执行如本发明实施例第一方面中所描述的部分或全部步骤。In a fourth aspect, an embodiment of the present invention provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program for electronic data exchange, wherein the computer program The sequence causes the computer to perform some or all of the steps as described in the first aspect of the embodiments of the present invention.
第五方面,本发明实施例提供了一种计算机程序产品,其中,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如本发明实施例第一方面中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a fifth aspect, an embodiment of the present invention provides a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause a computer to execute Some or all of the steps described in the first aspect of the invention. The computer program product can be a software installation package.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图1是现有技术提供的红包功能在即时通信应用中的执行流程图;1 is a flow chart of execution of a red envelope function provided by the prior art in an instant messaging application;
图2是本发明实施例提供的即时通信应用的消息处理方法的实现流程图;2 is a flowchart of implementing a message processing method of an instant messaging application according to an embodiment of the present invention;
图3是本发明另一实施例提供的即时通信应用的消息处理方法的实现流程图;3 is a flowchart of implementing a message processing method of an instant messaging application according to another embodiment of the present invention;
图4是本发明另一实施例提供的即时通信应用的消息处理方法的实现流程图;4 is a flowchart of implementing a message processing method of an instant messaging application according to another embodiment of the present invention;
图5是本发明另一实施例提供的即时通信应用的消息处理方法的实现流程图;FIG. 5 is a flowchart of an implementation of a message processing method of an instant messaging application according to another embodiment of the present invention; FIG.
图6是本发明另一实施例提供的移动终端的示意性框图;FIG. 6 is a schematic block diagram of a mobile terminal according to another embodiment of the present invention; FIG.
图7是本发明另一实施例提供的移动终端的示意性框图;FIG. 7 is a schematic block diagram of a mobile terminal according to another embodiment of the present invention; FIG.
图8是与本发明实施例提供的移动终端相关的手机的部分结构的框图。FIG. 8 is a block diagram showing a partial structure of a mobile phone related to a mobile terminal according to an embodiment of the present invention.
具体实施方式detailed description
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本发明实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本发明。在其它情况中,省略对众所周知的系统、移动终端、电路以及方法的详细说明,以免不必要的细节妨碍本发明的描述。 In the following description, for purposes of illustration and description However, it will be apparent to those skilled in the art that the present invention may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, mobile terminals, circuits, and methods are omitted so as not to obscure the description of the invention.
为了便于理解本发明实施例,下面先通过图1对红包功能在即时通信应用中的执行流程进行说明:In order to facilitate the understanding of the embodiment of the present invention, the execution flow of the red envelope function in the instant messaging application is first described by using FIG. 1 :
1、服务器向移动终端发送红包消息;1. The server sends a red envelope message to the mobile terminal;
2、移动终端接收到该红包消息之后,向服务器请求关于该红包消息的相关数据,包括红包图片、红包附言等。2. After receiving the red envelope message, the mobile terminal requests relevant data about the red packet message from the server, including a red envelope picture, a red envelope, and the like.
3、服务器向移动终端返回关于该红包消息的相关数据。3. The server returns relevant data about the red envelope message to the mobile terminal.
4、移动终端根据服务器返回的该红包消息的相关数据,显示该红包消息,包括显示关于该红包消息的红包图片和红包附言。4. The mobile terminal displays the red envelope message according to the related data of the red envelope message returned by the server, including displaying a red envelope picture and a red envelope postscript about the red envelope message.
5、移动终端检测用户在联系人对话中对该红包消息的点击指令并发送至服务器。5. The mobile terminal detects a click command of the red envelope message in the contact conversation and sends the command to the server.
6、服务器在接收到点击指令之后返回网络响应。6. The server returns a network response after receiving the click command.
7、移动终端在接收到服务器返回的网络响应之后,弹出红包领取界面。7. After receiving the network response returned by the server, the mobile terminal pops up the red packet receiving interface.
8、移动终端检测用户在红包领取界面上的点击指令并发送至服务器。8. The mobile terminal detects the click command of the user on the red envelope receiving interface and sends the click command to the server.
9、服务器在接收到点击指令之后根据该红包当前的剩余金额和剩余分发数量,向移动终端返回抢红包结果,此时,若该红包当前仍有剩余金额和剩余分发数量,则在剩余金额中随机产生一个金额,该金额即为该用户抢到的红包金额,同时,该红包的剩余金额和剩余分发数量更新。9. After receiving the click command, the server returns the redemption result to the mobile terminal according to the current remaining amount and the remaining distribution quantity of the red envelope. At this time, if the red envelope currently has the remaining amount and the remaining distribution quantity, the remaining amount is An amount is randomly generated, which is the red envelope amount that the user grabs, and the remaining amount of the red envelope and the remaining distribution amount are updated.
10、移动终端显示抢红包结果。10. The mobile terminal displays the result of grabbing the red envelope.
基于上文中对红包功能在即时通信应用中的执行流程的描述,在步骤5检测到用户对红包消息的点击指令之后,通常会先在移动终端加载用于模拟红包正在被拆开的红包动画,之后再向服务器发送红包领取指令,这无疑会延缓执行红包领取指令的发送动作。因此,在本发明实施例中,选择对该红包动画进行屏蔽,以加快红包领取指令的发送。图2示出了本发明实施例提供的即时通信应用的消息处理方法的实现流程,详述如下:Based on the description of the execution flow of the red envelope function in the instant messaging application, after detecting the user's click command on the red envelope message in step 5, the red envelope animation for simulating the red envelope is usually first loaded on the mobile terminal. After that, the red envelope receiving command is sent to the server, which will undoubtedly delay the execution of the red envelope receiving command. Therefore, in the embodiment of the present invention, the red envelope animation is selected to be shielded to speed up the transmission of the red envelope receiving instruction. FIG. 2 is a flowchart showing an implementation process of a message processing method for an instant messaging application according to an embodiment of the present invention, which is described in detail as follows:
在S201中,当接收到对红包消息的点击事件时,显示红包图片。In S201, when a click event for the red envelope message is received, a red envelope picture is displayed.
在S202中,当检测到对所述红包图片的点击事件时,向服务器发送红包领取指令,并同时在移动终端屏蔽因所述点击事件而触发的红包动画。In S202, when a click event for the red envelope picture is detected, a red envelope receiving instruction is sent to the server, and at the same time, the red envelope animation triggered by the click event is blocked at the mobile terminal.
当用户看见即时通讯应用的实时消息列表中显示红包消息之后,若需要领取该红包,则会点击该红包消息。对于移动终端一侧来说,在接收到对红包消 息的点击事件之后,显示红包图片,该红包图片可以是对红包图形的模拟。用户点击该红包图片,此时,对因此次点击事件而触发的红包动画进行屏蔽,与此同时,向服务器发送红包领取指令。When the user sees the red envelope message displayed in the real-time message list of the instant messaging application, if the red envelope is required to be received, the red envelope message is clicked. For the mobile terminal side, after receiving the red envelope After the click event of the interest, a red envelope picture is displayed, and the red envelope picture can be a simulation of the red envelope graphic. The user clicks on the red envelope image, and at this time, the red envelope animation triggered by the click event is masked, and at the same time, the red envelope receiving instruction is sent to the server.
在S203中,接收所述服务器返回的红包领取结果并显示。In S203, the red packet receiving result returned by the server is received and displayed.
作为本发明的一个实施例,如图3所示,进一步地,将S203接收所述服务器返回的红包领取结果并显示优化为:As an embodiment of the present invention, as shown in FIG. 3, further, S203 receives the red packet receiving result returned by the server and optimizes the display to:
S301,接收所述服务器返回的红包领取结果。S301. Receive a red packet receiving result returned by the server.
S302,加载因所述点击事件而触发的红包动画。S302. Load a red envelope animation triggered by the click event.
S303,显示所述领取结果。S303. Display the receiving result.
在图3对应的实施例中,被屏蔽的红包动画并不是永久被屏蔽,而是在接收到服务器根据红包领取指令所返回的领取结果之后才进行加载显示,这样一来,在保证了红包领取指令的发送速度的前提下,也可以保证红包领取过程中即时通信应用中得到完整的模拟呈现。In the embodiment corresponding to FIG. 3, the masked red envelope animation is not permanently blocked, but is displayed after receiving the receiving result returned by the server according to the red envelope receiving instruction, so that the red envelope is guaranteed. Under the premise of the transmission speed of the instruction, it can also ensure the complete simulation presentation in the instant communication application during the red envelope collection process.
进一步地,如图4所示,S201的显示红包图片优化为:Further, as shown in FIG. 4, the display red envelope image of S201 is optimized as:
S204,从所述移动终端本地获取红包图片并显示。S204. Acquire a red envelope picture from the mobile terminal and display it.
相比于现有技术中,移动终端在接收到红包消息后,需要向服务器请求关于该红包消息的红包显示数据,在本发明实施例中,移动终端从本地获取红包显示数据。Compared with the prior art, after receiving the red packet message, the mobile terminal needs to request the red packet display data about the red packet message from the server. In the embodiment of the present invention, the mobile terminal obtains the red packet display data from the local.
通常来说,红包显示数据包括红包图片,该红包图片是需要在每次接收到红包消息之后,向服务器请求获取的。而在本发明实施例中,将该红包图片预先存储在移动终端本地,这样一来,便可以直接从移动终端本地获取到红包图片并显示,以减少移动终端与服务器之间的网络数据交互,提高抢红包操作的响应速度。Generally speaking, the red envelope display data includes a red envelope image, which is requested to be obtained from the server each time a red envelope message is received. In the embodiment of the present invention, the red envelope image is pre-stored locally in the mobile terminal, so that the red envelope image can be directly obtained from the mobile terminal and displayed, so as to reduce network data interaction between the mobile terminal and the server. Improve the response speed of the red envelope operation.
此外,作为本发明的一个实施例,如图5所示,将图4中的S204优化为:Further, as an embodiment of the present invention, as shown in FIG. 5, S204 in FIG. 4 is optimized to:
S205,检测即时通信应用是否存在应用版本更新。S205. Detect whether an instant messaging application has an application version update.
S206,若所述即时通信应用不存在应用版本更新,从所述移动终端本地获取所述红包图片。S206. If the application version update does not exist in the instant messaging application, obtain the red envelope picture from the mobile terminal.
由于即时通信应用的应用版本更新可能会带来红包图片的更新,因此,在图5对应的实施例中,若检测到即时通信应用在存在应用版本更新,再从移动 终端本地获取红包图片。而若即时通信应用存在应用版本更新,则仍然会向服务器请求红包图片,并基于向服务器请求到的红包图片,对红包消息进行显示。Since the application version update of the instant messaging application may bring an update of the red envelope image, in the embodiment corresponding to FIG. 5, if it is detected that the instant messaging application has an application version update, then move from the mobile terminal. The terminal locally obtains a red envelope picture. If the instant messaging application has an application version update, the red envelope image is still requested from the server, and the red envelope message is displayed based on the red envelope image requested from the server.
在本发明实施例中,对即时通信应用进行应用版本更新的检测可以随时进行,若检测到即时通信应用进行了版本更新,可以在即时通信应用后台添加标记,那么当接收到服务器发送的红包消息之后,若检测到即时通信应用后台添加了该标记,则可得知即时通信应用进行了应用更新,需要向服务器请求红包显示数据。In the embodiment of the present invention, the detection of the application version update of the instant messaging application may be performed at any time. If it is detected that the instant messaging application is updated, the marking may be added in the background of the instant messaging application, and then the red packet message sent by the server is received. Then, if it is detected that the instant messaging application adds the flag in the background, it can be known that the instant messaging application performs the application update, and the red packet display data needs to be requested from the server.
本发明实施例在即时通信应用的红包领取过程中,对其中的红包动画进行屏蔽,以加快红包领取指令的发送,从而能够有效地提升抢红包的响应速度。In the red envelope receiving process of the instant messaging application, the red envelope animation is shielded to speed up the sending of the red packet receiving instruction, so that the response speed of the red packet can be effectively improved.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that the size of the sequence of the steps in the above embodiments does not imply a sequence of executions, and the order of execution of the processes should be determined by its function and internal logic, and should not be construed as limiting the implementation of the embodiments of the present invention.
对应于上文实施例所述的即时通信应用的消息处理方法,图6示出了本发明实施例提供的即时通信应用的消息处理控制移动终端的结构框图,为了便于说明,仅示出了与本实施例相关的部分。Corresponding to the message processing method of the instant messaging application described in the above embodiments, FIG. 6 is a structural block diagram of the message processing control mobile terminal of the instant messaging application provided by the embodiment of the present invention. For convenience of description, only The part related to this embodiment.
参照图6,该移动终端包括:Referring to FIG. 6, the mobile terminal includes:
第一显示单元61,当接收到对红包消息的点击事件时,显示红包图片;The first display unit 61 displays a red envelope picture when receiving a click event on the red envelope message;
屏蔽单元62当检测到对所述红包图片的点击事件时,向服务器发送红包领取指令,并同时在移动终端屏蔽因所述点击事件而触发的红包动画;When detecting the click event on the red envelope picture, the shielding unit 62 sends a red envelope receiving instruction to the server, and simultaneously blocks the red envelope animation triggered by the click event on the mobile terminal;
第二显示单元63,接收所述服务器返回的红包领取结果并显示。The second display unit 63 receives the red packet receiving result returned by the server and displays it.
可选地,所述第二显示单元63包括:Optionally, the second display unit 63 includes:
接收子单元,接收所述服务器返回的红包领取结果;Receiving a subunit, receiving a red envelope receiving result returned by the server;
第一显示子单元,加载因所述点击事件而触发的红包动画;a first display subunit that loads a red envelope animation triggered by the click event;
第二显示子单元,显示所述领取结果。The second display subunit displays the result of the collection.
可选地,所述第一显示单元61具体用于:Optionally, the first display unit 61 is specifically configured to:
从所述移动终端本地获取红包图片并显示。Obtaining a red envelope picture from the mobile terminal and displaying it.
可选地,所述第一显示单元61具体用于:Optionally, the first display unit 61 is specifically configured to:
检测子单元,用于检测即时通信应用是否存在应用版本更新;a detecting subunit, configured to detect whether an application version update exists in the instant messaging application;
获取子单元,用于若所述即时通信应用不存在应用版本更新,从所述移动 终端本地获取所述红包图片。Obtaining a subunit, configured to: if the instant messaging application does not have an application version update, from the mobile The terminal locally obtains the red envelope picture.
可选地,所述第一显示单元61还包括:Optionally, the first display unit 61 further includes:
请求子单元,用于若所述即时通信应用存在应用版本更新,向所述服务器请求红包图片。And a requesting subunit, configured to request a red envelope picture from the server if the instant messaging application has an application version update.
参见图7,是本发明实施例提供的移动终端的示意性框图。如图所示的该移动终端可以包括:一个或多个处理器701(图中仅示出一个);一个或多个输入设备702(图中仅示出一个),一个或多个输出设备703(图中仅示出一个)、存储器704和显示器705。上述处理器701、输入设备702、输出设备703、存储器704和显示器705通过总线706连接。存储器702用于存储指令,处理器701用于执行存储器702存储的指令。其中:FIG. 7 is a schematic block diagram of a mobile terminal according to an embodiment of the present invention. The mobile terminal as shown may include one or more processors 701 (only one shown); one or more input devices 702 (only one shown), one or more output devices 703 (only one is shown in the figure), memory 704, and display 705. The processor 701, the input device 702, the output device 703, the memory 704, and the display 705 are connected by a bus 706. The memory 702 is for storing instructions, and the processor 701 is for executing instructions stored by the memory 702. among them:
所述显示器705用于,当接收到对红包消息的点击事件时,显示红包图片;The display 705 is configured to display a red envelope picture when receiving a click event on the red envelope message;
当所述处理器701检测到对所述红包图片的点击事件时,所述输出设备703用于向服务器发送红包领取指令,并同时由所述显示器705在移动终端屏蔽因所述点击事件而触发的红包动画;When the processor 701 detects a click event on the red envelope picture, the output device 703 is configured to send a red envelope receiving instruction to the server, and at the same time, the display 705 is triggered by the display 705 to be triggered by the click event. Red envelope animation;
所述输入设备702用于接收所述服务器返回的红包领取结果并由所述显示器显示。The input device 702 is configured to receive a red envelope receiving result returned by the server and displayed by the display.
可选地,所述输入设备702用于接收所述服务器返回的红包领取结果;Optionally, the input device 702 is configured to receive a red packet receiving result returned by the server;
所述显示器705还用于加载因所述点击事件而触发的红包动画;The display 705 is further configured to load a red envelope animation triggered by the click event;
所述显示器705还用于显示所述领取结果。The display 705 is further configured to display the receiving result.
可选地,所述显示器705用于从所述移动终端本地获取红包图片并显示。Optionally, the display 705 is configured to locally acquire and display a red envelope picture from the mobile terminal.
可选地,所述处理器701还用于检测即时通信应用是否存在应用版本更新;若所述即时通信应用不存在应用版本更新,从所述移动终端本地获取所述红包图片。Optionally, the processor 701 is further configured to detect whether an application version update exists in the instant messaging application; if the instant messaging application does not have an application version update, obtain the red envelope image locally from the mobile terminal.
可选地,所述输出设备703还用于若所述即时通信应用存在应用版本更新,向所述服务器请求红包图片。Optionally, the output device 703 is further configured to request a red envelope picture from the server if the instant messaging application has an application version update.
图8示出的是与本发明实施例提供的移动终端相关的手机的部分结构的框图。参考图8,手机包括:射频(Radio Frequency,RF)电路810、存储器820、输入单元830、显示单元840、以及处理器850等部件。本领域技术人员可以理解,图8中示出的手机结构并不构成对手机的限定,可以包括比图示更 多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 8 is a block diagram showing a partial structure of a mobile phone related to a mobile terminal provided by an embodiment of the present invention. Referring to FIG. 8, the mobile phone includes components such as a radio frequency (RF) circuit 810, a memory 820, an input unit 830, a display unit 840, and a processor 850. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 8 does not constitute a limitation on the mobile phone, and may include more than the illustration. More or less parts, or some parts, or different parts.
下面结合图8对手机的各个构成部件进行具体的介绍:The following describes the components of the mobile phone in detail with reference to FIG. 8:
RF电路810可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器850处理;另外,将设计上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路810还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 810 can be used for transmitting and receiving information or during a call, and receiving and transmitting the signal. Specifically, after receiving the downlink information of the base station, the processor 850 processes the data. In addition, the uplink data is designed to be sent to the base station. Generally, RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuitry 810 can also communicate with the network and other devices via wireless communication. The above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division). Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), and the like.
存储器820可用于存储软件程序以及模块,处理器850通过运行存储在存储器820的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器820可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器820可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 820 can be used to store software programs and modules, and the processor 850 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 820. The memory 820 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the mobile phone (such as audio data, phone book, etc.). Moreover, memory 820 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
输入单元830可用于接收输入的数字或字符或指纹信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元830可包括触控面板831以及指纹输入设备832。触控面板831,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板831上或在触控面板831附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板831可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信 息,并将它转换成触点坐标,再送给处理器850,并能接收处理器850发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板831。除了触控面板831,输入单元830还可以包括其他输入设备832。具体地,其他输入设备832可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 830 can be configured to receive input numeric or character or fingerprint information, and to generate key signal inputs related to user settings and function controls of the handset. Specifically, the input unit 830 may include a touch panel 831 and a fingerprint input device 832. The touch panel 831, also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 831 or near the touch panel 831. Operation), and drive the corresponding connecting device according to a preset program. Optionally, the touch panel 831 can include two parts: a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits a signal to the touch controller; the touch controller receives the touch signal from the touch detection device. The information is converted into contact coordinates, sent to the processor 850, and can receive commands from the processor 850 and execute them. In addition, the touch panel 831 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 831, the input unit 830 may also include other input devices 832. In particular, other input devices 832 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
显示单元840可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元840可包括显示屏841,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示屏841。进一步的,触控面板831可覆盖显示屏841,当触控面板831检测到在其上或附近的触摸操作后,传送给处理器850以确定触摸事件的类型,随后处理器850根据触摸事件的类型在显示屏841上提供相应的视觉输出。虽然在图8中,触控面板831与显示屏851是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板831与显示屏841集成而实现手机的输入和输出功能。The display unit 840 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone. The display unit 840 can include a display screen 841. Alternatively, the display screen 841 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. Further, the touch panel 831 can cover the display screen 841. When the touch panel 831 detects a touch operation thereon or nearby, the touch panel 831 transmits to the processor 850 to determine the type of the touch event, and then the processor 850 according to the touch event. The type provides a corresponding visual output on display 841. Although in FIG. 8, the touch panel 831 and the display screen 851 function as two separate components to implement the input and input functions of the mobile phone, in some embodiments, the touch panel 831 can be integrated with the display screen 841. Realize the input and output functions of the phone.
处理器850是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器820内的软件程序和/或模块,以及调用存储在存储器820内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器850可包括一个或多个处理单元;优选的,处理器850可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器850中。The processor 850 is the control center of the handset, and connects various portions of the entire handset using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 820, and invoking data stored in the memory 820, executing The phone's various functions and processing data, so that the overall monitoring of the phone. Optionally, the processor 850 may include one or more processing units; preferably, the processor 850 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like. The modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 850.
音频电路860用于完成声音的采集,从而实现移动终端的录音功能。The audio circuit 860 is used to complete the collection of sounds, thereby implementing the recording function of the mobile terminal.
此外,手机还可以包括电源、无线模块、蓝牙模块、传感器等,在此不再赘述。In addition, the mobile phone may also include a power source, a wireless module, a Bluetooth module, a sensor, etc., and details are not described herein.
在本发明实施例中,该终端所包括的处理器850还具有以下功能:In the embodiment of the present invention, the processor 850 included in the terminal further has the following functions:
一种即时通信应用的消息处理方法,包括:A message processing method for an instant messaging application, comprising:
当接收到对红包消息的点击事件时,显示红包图片;When a click event for the red envelope message is received, a red envelope image is displayed;
当检测到对所述红包图片的点击事件时,向服务器发送红包领取指令,并 同时在移动终端屏蔽因所述点击事件而触发的红包动画;Sending a red envelope receiving instruction to the server when a click event for the red envelope image is detected, and At the same time, the red envelope animation triggered by the click event is blocked at the mobile terminal;
接收所述服务器返回的红包领取结果并显示。Receiving the red packet receiving result returned by the server and displaying it.
进一步地,所述接收所述服务器返回的红包领取结果并显示包括:Further, the receiving the red packet receiving result returned by the server and displaying includes:
接收所述服务器返回的红包领取结果;Receiving a red envelope receiving result returned by the server;
加载因所述点击事件而触发的红包动画;Loading a red envelope animation triggered by the click event;
显示所述领取结果。The result of the collection is displayed.
进一步地,所述显示红包图片包括:Further, the displaying the red envelope image includes:
从所述移动终端本地获取红包图片并显示。Obtaining a red envelope picture from the mobile terminal and displaying it.
进一步地,所述从所述移动终端本地获取红包图片包括:Further, the locally obtaining the red envelope picture from the mobile terminal includes:
检测即时通信应用是否存在应用版本更新;Detecting whether an instant messaging application has an application version update;
若所述即时通信应用不存在应用版本更新,从所述移动终端本地获取所述红包图片。If the instant messaging application does not have an application version update, the red envelope image is locally obtained from the mobile terminal.
进一步地,所述方法还包括:Further, the method further includes:
若所述即时通信应用存在应用版本更新,向所述服务器请求红包图片。If the instant messaging application has an application version update, request a red envelope picture from the server.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。It will be apparent to those skilled in the art that, for convenience and brevity of description, only the division of each functional unit and module described above is exemplified. In practical applications, the above functions may be assigned to different functional units as needed. The module is completed by dividing the internal structure of the device into different functional units or modules to perform all or part of the functions described above. Each functional unit and module in the embodiment may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit, and the integrated unit may be hardware. Formal implementation can also be implemented in the form of software functional units. In addition, the specific names of the respective functional units and modules are only for the purpose of facilitating mutual differentiation, and are not intended to limit the scope of protection of the present application. For the specific working process of the unit and the module in the foregoing system, reference may be made to the corresponding process in the foregoing method embodiment, and details are not described herein again.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。 Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
在本发明所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的系统实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the system embodiment described above is merely illustrative. For example, the division of the module or unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be used. Combinations can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明实施例各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the embodiments of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage. The medium includes a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the methods described in various embodiments of the embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
以上所述实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围,均应包含在本发明的保护范围之内。 The embodiments described above are only for explaining the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that The technical solutions described in the examples are modified, or some of the technical features are equivalently replaced; and the modifications or substitutions do not deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in Within the scope of protection of the present invention.

Claims (21)

  1. 一种即时通信应用的消息处理方法,其特征在于,包括:A message processing method for an instant messaging application, comprising:
    当接收到对红包消息的点击事件时,显示红包图片;When a click event for the red envelope message is received, a red envelope image is displayed;
    当检测到对所述红包图片的点击事件时,向服务器发送红包领取指令,并同时在移动终端屏蔽因所述点击事件而触发的红包动画;When a click event to the red envelope picture is detected, a red envelope receiving instruction is sent to the server, and at the same time, the red envelope animation triggered by the click event is blocked at the mobile terminal;
    接收所述服务器返回的红包领取结果并显示。Receiving the red packet receiving result returned by the server and displaying it.
  2. 如权利要求1所述的方法,其特征在于,所述接收所述服务器返回的红包领取结果并显示包括:The method of claim 1 wherein said receiving a red envelope receipt result returned by said server and displaying comprises:
    接收所述服务器返回的红包领取结果;Receiving a red envelope receiving result returned by the server;
    加载因所述点击事件而触发的红包动画;Loading a red envelope animation triggered by the click event;
    显示所述领取结果。The result of the collection is displayed.
  3. 如权利要求1所述的方法,其特征在于,所述显示红包图片包括:The method of claim 1 wherein said displaying a red envelope image comprises:
    从所述移动终端本地获取红包图片并显示。Obtaining a red envelope picture from the mobile terminal and displaying it.
  4. 如权利要求3所述的方法,其特征在于,所述从所述移动终端本地获取红包图片包括:The method of claim 3, wherein the locally obtaining a red envelope picture from the mobile terminal comprises:
    检测即时通信应用是否存在应用版本更新;Detecting whether an instant messaging application has an application version update;
    若所述即时通信应用不存在应用版本更新,从所述移动终端本地获取所述红包图片。If the instant messaging application does not have an application version update, the red envelope image is locally obtained from the mobile terminal.
  5. 如权利要求4所述的方法,其特征在于,所述方法还包括:The method of claim 4, wherein the method further comprises:
    若所述即时通信应用存在应用版本更新,向所述服务器请求红包图片。If the instant messaging application has an application version update, request a red envelope picture from the server.
  6. 如权利要求1所述的方法,其特征在于,所述接收所述服务器返回的红包领取结果并显示,包括:The method of claim 1, wherein the receiving the red packet receiving result returned by the server and displaying the method comprises:
    接收到所述服务器根据所述红包领取指令返回的领取结果,对所述红包动画进行加载显示。Receiving, by the server, according to the receiving result returned by the red envelope receiving instruction, loading and displaying the red envelope animation.
  7. 根据权利要求5所述的方法,其特征在于,所述方法还包括:The method of claim 5, wherein the method further comprises:
    接收所述服务器发送的红包图片,将对所述红包图片进行显示。Receiving a red envelope picture sent by the server, and displaying the red envelope picture.
  8. 一种移动终端,其特征在于,包括:A mobile terminal, comprising:
    第一显示单元,用于当接收到对红包消息的点击事件时,显示红包图片; a first display unit, configured to display a red envelope image when receiving a click event on the red envelope message;
    屏蔽单元,用于当检测到对所述红包图片的点击事件时,向服务器发送红包领取指令,并同时在移动终端屏蔽因所述点击事件而触发的红包动画;a shielding unit, configured to send a red packet receiving instruction to the server when detecting a click event to the red envelope image, and simultaneously mask a red envelope animation triggered by the click event on the mobile terminal;
    第二显示单元,用于接收所述服务器返回的红包领取结果并显示。The second display unit is configured to receive a red envelope receiving result returned by the server and display the result.
  9. 如权利要求8所述的移动终端,其特征在于,所述第二显示单元包括:The mobile terminal of claim 8, wherein the second display unit comprises:
    接收子单元,用于接收所述服务器返回的红包领取结果;a receiving subunit, configured to receive a red packet receiving result returned by the server;
    第一显示子单元,用于加载因所述点击事件而触发的红包动画;a first display subunit, configured to load a red envelope animation triggered by the click event;
    第二显示子单元,用于显示所述领取结果。The second display subunit is configured to display the receiving result.
  10. 如权利要求8所述的移动终端,其特征在于,所述第一显示单元具体用于:The mobile terminal of claim 8, wherein the first display unit is specifically configured to:
    从所述移动终端本地获取红包图片并显示。Obtaining a red envelope picture from the mobile terminal and displaying it.
  11. 如权利要求10所述的移动终端,其特征在于,所述第一显示单元包括:The mobile terminal of claim 10, wherein the first display unit comprises:
    检测子单元,用于检测即时通信应用是否存在应用版本更新;a detecting subunit, configured to detect whether an application version update exists in the instant messaging application;
    获取子单元,用于若所述即时通信应用不存在应用版本更新,从所述移动终端本地获取所述红包图片。Obtaining a subunit, configured to obtain the red envelope picture locally from the mobile terminal if the instant messaging application does not have an application version update.
  12. 如权利要求11所述的移动终端,其特征在于,所述第一显示单元还包括:The mobile terminal of claim 11, wherein the first display unit further comprises:
    请求子单元,用于若所述即时通信应用存在应用版本更新,向所述服务器请求红包图片。And a requesting subunit, configured to request a red envelope picture from the server if the instant messaging application has an application version update.
  13. 根据权利要求8所述的移动终端,其特征在于,A mobile terminal according to claim 8, wherein
    所述第二显示单元,具体用于接收到所述服务器根据所述红包领取指令返回的领取结果,对所述红包动画进行加载显示。The second display unit is specifically configured to receive the loading result returned by the server according to the red envelope receiving instruction, and load and display the red envelope animation.
  14. 根据权利要求12所述的移动终端,其特征在于,The mobile terminal of claim 12, wherein
    所述第二显示单元,具体用于接收所述服务器发送的红包图片,将对所述红包图片进行显示。The second display unit is specifically configured to receive a red envelope image sent by the server, and display the red envelope image.
  15. 一种移动终端,其特征在于,包括:A mobile terminal, comprising:
    显示器、处理器、输出设备及输入设备;Display, processor, output device, and input device;
    所述显示器用于,当接收到对红包消息的点击事件时,显示红包图片;The display is configured to display a red envelope image when a click event to the red envelope message is received;
    当所述处理器检测到对所述红包图片的点击事件时,所述输出设备用于向 服务器发送红包领取指令,并同时由所述显示器在移动终端屏蔽因所述点击事件而触发的红包动画;When the processor detects a click event for the red envelope picture, the output device is configured to The server sends a red packet receiving instruction, and at the same time, the display shields the red envelope animation triggered by the click event on the mobile terminal;
    所述输入设备用于接收所述服务器返回的红包领取结果并由所述显示器显示。The input device is configured to receive a red envelope receiving result returned by the server and displayed by the display.
  16. 如权利要求15所述的移动终端,其特征在于,所述输入设备用于接收所述服务器返回的红包领取结果;The mobile terminal according to claim 15, wherein the input device is configured to receive a red packet receiving result returned by the server;
    所述显示器还用于加载因所述点击事件而触发的红包动画;The display is further configured to load a red envelope animation triggered by the click event;
    所述显示器还用于显示所述领取结果。The display is further configured to display the result of the receiving.
  17. 如权利要求15所述的移动终端,其特征在于,所述显示器用于从所述移动终端本地获取红包图片并显示。The mobile terminal of claim 15, wherein the display is configured to locally acquire and display a red envelope picture from the mobile terminal.
  18. 如权利要求17所述的移动终端,其特征在于,所述处理器还用于检测即时通信应用是否存在应用版本更新;若所述即时通信应用不存在应用版本更新,从所述移动终端本地获取所述红包图片。The mobile terminal according to claim 17, wherein the processor is further configured to detect whether an application version update exists in the instant messaging application; if the instant messaging application does not have an application version update, locally acquire from the mobile terminal The red envelope picture.
  19. 如权利要求18所述的移动终端,其特征在于,所述输出设备还用于若所述即时通信应用存在应用版本更新,向所述服务器请求红包图片。The mobile terminal according to claim 18, wherein the output device is further configured to request a red envelope picture from the server if the instant messaging application has an application version update.
  20. 一种计算机存储介质,其特征在于,其用于存储计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-7任一项所述的方法。A computer storage medium for storing a computer program, wherein the computer program causes a computer to perform the method of any of claims 1-7.
  21. 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如权利要求1-7任一项所述的方法。 A computer program product, comprising: a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause a computer to perform as claimed in any one of claims 1-7 The method described.
PCT/CN2017/098754 2016-09-12 2017-08-24 Message processing method for instant messaging application and related product WO2018045873A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610818689.8A CN106330682A (en) 2016-09-12 2016-09-12 Message processing method of immediate communication application and mobile terminal
CN201610818689.8 2016-09-12

Publications (1)

Publication Number Publication Date
WO2018045873A1 true WO2018045873A1 (en) 2018-03-15

Family

ID=57787136

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/098754 WO2018045873A1 (en) 2016-09-12 2017-08-24 Message processing method for instant messaging application and related product

Country Status (2)

Country Link
CN (1) CN106330682A (en)
WO (1) WO2018045873A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11405678B2 (en) * 2020-02-25 2022-08-02 Beijing Dajia Internet Information Technology Co., Ltd. Live streaming interactive method, apparatus, electronic device, server and storage medium

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106330682A (en) * 2016-09-12 2017-01-11 广东欧珀移动通信有限公司 Message processing method of immediate communication application and mobile terminal
CN106850411A (en) * 2017-02-17 2017-06-13 河源市行聊智能科技有限公司 A kind of implementation method of voice red packet and its realize system
CN107105023A (en) * 2017-04-10 2017-08-29 上海哇嗨网络科技有限公司 Content delivery method, reading method and client containing red packet
CN107333166B (en) * 2017-07-03 2020-06-09 广州市网星信息技术有限公司 Method, device and equipment for grabbing virtual gift based on Internet
CN108388385A (en) * 2017-12-29 2018-08-10 阿里巴巴集团控股有限公司 A kind of method, apparatus and equipment of displaying red packet
CN109116989B (en) * 2018-08-17 2020-11-10 广东小天才科技有限公司 Red envelope robbing method and device and smart watch
CN110875869B (en) * 2018-08-31 2022-05-31 Oppo广东移动通信有限公司 Red packet identification method, system and terminal equipment
CN110874723B (en) * 2018-09-04 2023-09-01 Oppo广东移动通信有限公司 Electronic red envelope detection method, electronic red envelope detection device and mobile terminal
CN109343889A (en) * 2018-09-28 2019-02-15 北京三快在线科技有限公司 Operation processing method, device and the electronic equipment of application program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105760158A (en) * 2016-01-29 2016-07-13 珠海市魅族科技有限公司 Method and device for loading information
CN106330682A (en) * 2016-09-12 2017-01-11 广东欧珀移动通信有限公司 Message processing method of immediate communication application and mobile terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104954468A (en) * 2015-06-18 2015-09-30 小米科技有限责任公司 Resource allocation method and resource allocation device
CN105389117B (en) * 2015-12-07 2020-09-08 腾讯科技(深圳)有限公司 Method and device for acquiring resources and method, device and system for processing resources

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105760158A (en) * 2016-01-29 2016-07-13 珠海市魅族科技有限公司 Method and device for loading information
CN106330682A (en) * 2016-09-12 2017-01-11 广东欧珀移动通信有限公司 Message processing method of immediate communication application and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11405678B2 (en) * 2020-02-25 2022-08-02 Beijing Dajia Internet Information Technology Co., Ltd. Live streaming interactive method, apparatus, electronic device, server and storage medium

Also Published As

Publication number Publication date
CN106330682A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
WO2018045873A1 (en) Message processing method for instant messaging application and related product
CN115357178B (en) Control method applied to screen-throwing scene and related equipment
WO2018103484A1 (en) Data processing method, apparatus and system for live broadcast page
CN106651522B (en) Information interaction method and device
US9703971B2 (en) Sensitive operation verification method, terminal device, server, and verification system
CN107040609B (en) Network request processing method and device
US20170316781A1 (en) Remote electronic service requesting and processing method, server, and terminal
CN110869907B (en) Method and terminal for browsing application page
WO2017129031A1 (en) Information acquisition method and device
WO2014206101A1 (en) Gesture-based conversation processing method, apparatus, and terminal device
CN109003194B (en) Comment sharing method, terminal and storage medium
WO2017211205A1 (en) Method and device for updating whitelist
WO2014206143A1 (en) Method, apparatus and device for displaying number of unread messages
CN111064713B (en) Node control method and related device in distributed system
US20140379824A1 (en) Apparatuses and methods for web page sharing
WO2018120905A1 (en) Message reminding method for terminal, and terminal
CN107220132B (en) Method, equipment and storage medium for monitoring file creation information
CN106843868B (en) Multi-account login method and device and mobile terminal
US11063962B2 (en) Malicious URL detection method and apparatus, terminal, and computer storage medium
CN104298666A (en) Web page sharing method and web page sharing device
WO2015003549A1 (en) Method and system for application message alerting
JP6974620B2 (en) Notification message processing method and terminal
CN111209031B (en) Data acquisition method, device, terminal equipment and storage medium
WO2015101254A1 (en) Information interaction method, apparatus and system
WO2017211260A1 (en) Data access method and related device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17848046

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17848046

Country of ref document: EP

Kind code of ref document: A1