CN105391622B - Share the method and system of resource in instant messaging or social networking application - Google Patents
Share the method and system of resource in instant messaging or social networking application Download PDFInfo
- Publication number
- CN105391622B CN105391622B CN201510895052.4A CN201510895052A CN105391622B CN 105391622 B CN105391622 B CN 105391622B CN 201510895052 A CN201510895052 A CN 201510895052A CN 105391622 B CN105391622 B CN 105391622B
- Authority
- CN
- China
- Prior art keywords
- resource
- message
- instant communication
- sharing
- communication message
- 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.)
- Active
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The present invention relates to a kind of methods for sharing resource in instant messaging or social networking application, which comprises receives message related to resources;It parses the message related to resources and obtains resource essential information;Obtain the instant communication message of input;The instant communication message is matched with the resource essential information, when the instant communication message matches consistent with the resource essential information, trigger request shares resource.Using this method, user activity of instant communication users during sharing resource can be improved, to enhance user's viscosity.In addition, additionally providing the system for sharing resource in a kind of instant messaging or social networking application.
Description
Technical field
The present invention relates to network technique field, more particularly to sharing resource in a kind of instant messaging or social networking application
Method and system.
Background technique
Sharing resource, which refers to, in instant messaging or social networking application answers resource by instant messaging or social networks
The sharing of resource is realized with being issued, these resources include but is not limited to virtual red packet, integral, electronics coupons etc..It will
After resource sharing to instant messaging or social networking application, the user in instant messaging or social networking application can request to share and be somebody's turn to do
Resource.
In traditional technology, after instant communication client receives message related to resources body, need to click message related to resources body could be triggered
Resource is shared in request.For the resource with password, then inputted accordingly in the input frame of pop-up after needing to click message related to resources body
Password ability trigger request shares the resource.However, in the method for traditional this sharing resource, instant messaging or social networks
Using a bridge for being merely possible to resource sharing, there is no any interaction during resource sharing, between user, thus
Cause the user activity in instant messaging or social networking application not high.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide a kind of instant messaging that can improve user activity or society
Hand over the method and system for sharing resource in network application.
Share the method for resource in a kind of instant messaging or social networking application, which comprises
Receive message related to resources;
It parses the message related to resources and obtains resource essential information;
Obtain the instant communication message of input;
The instant communication message is matched with the resource essential information, when the instant communication message with it is described
When the matching of resource essential information is consistent, trigger request shares resource.
A kind of system for sharing resource in instant messaging or social networking application, the system comprises:
Receiving module, for receiving message related to resources;
Parsing module obtains resource essential information for parsing the message related to resources;
Input module, for obtaining the instant communication message of input;
Sharing module is triggered, for matching the instant communication message with the resource essential information, when described
When instant communication message matches consistent with the resource essential information, trigger request shares resource.
The method and system for sharing resource in above-mentioned instant messaging or social networking application, by receiving message related to resources, solution
Analysis message related to resources obtains resource essential information, obtains the instant communication message of input, instant communication message is believed substantially with resource
Breath is matched, and when instant communication message matches consistent with resource essential information, trigger request distributes resource.Relative to existing
Technology shares resource due to input to trigger with the matched instant communication message of resource essential information, is sharing resource
The interaction in instant messaging or social networking application between user is enhanced in the process, improves instant messaging or social networks is answered
User activity in, to enhance user's viscosity.
Detailed description of the invention
Fig. 1 is the applied environment figure for sharing the method for resource in one embodiment in instant messaging or social networking application;
Fig. 2 is the method flow diagram for sharing resource in one embodiment in instant messaging or social networking application;
Fig. 3 is the method flow diagram for sharing resource in another embodiment in instant messaging or social networking application;
Fig. 4 is the method flow diagram for sharing resource in another embodiment in instant messaging or social networking application;
Fig. 5 is the operation interface schematic diagram that resource sharing is initiated in one embodiment;
Fig. 6 is the operation interface schematic diagram that resource is shared in triggering in one embodiment;
Fig. 7 is the operation interface schematic diagram that resource is shared in triggering when having multiple resources in one embodiment;
Fig. 8 is the structural block diagram for sharing the system of resource in one embodiment in instant messaging or social networking application;
Fig. 9 is the internal structure chart of terminal in one embodiment.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
In instant messaging or social networking application provided by the embodiment of the present invention share resource method can be applied to as
In system shown in FIG. 1.Please refer to shown in Fig. 1, instant messaging or social networking application run in terminal 102, by network with
Server 104 interacts, and user's using terminal 102 initiates resource sharing by instant messaging or social networking application, generates
Message related to resources is simultaneously sent to server 104.In the terminal 106 that server 104 uses the good friend that message related to resources is sent to user,
Instant messaging or social networking application are run in terminal 106, and message related to resources, solution are received by instant messaging or social networking application
Analysis message related to resources obtains resource essential information.Terminal 106 by instant messaging or social networking application obtain user's input i.e.
When communication information, when instant communication message matches consistent with resource essential information, then trigger request share resource.
As shown in Fig. 2, in one embodiment, provides in a kind of instant messaging or social networking application and share resource
Method, this method comprises:
Step 202, message related to resources is received.
In the present embodiment, terminal receives message related to resources by instant messaging or social networking application, and the message related to resources is
Resource promoter is initiated by instant messaging or social networking application, and resource promoter can pass through the instant of another terminal operating
Good friend or same group into instant messaging or social networking application of communication or social networking application or its in discussion group
His user initiates resource sharing, generates message related to resources and is sent to server, sends out as the good friend of resource promoter or with resource
It plays other users of the person in same group or discussion group and clothes is received by the instant messaging of terminal operating or social networking application
The message related to resources that business device is sent.Further, terminal receives message related to resources, message related to resources body can be shown in instant messaging or
In the chat interface of social networking application, for example, resource promoter initiates resource sharing in the chat interface with good friend, then provide
Source message body can be displayed in good friend's chat interface of instant messaging or social networking application, and resource promoter is in group or begs for
By resource sharing is initiated in the chat interface of group, then message related to resources body can be displayed in the group of instant messaging or social networking application
Or in the chat interface of discussion group.
Step 204, resolving resource message obtains resource essential information.
In the present embodiment, after terminal receives message related to resources by instant messaging or social networking application, resolving resource disappears
It ceases and obtains resource essential information, including resource identification, sharing password, instant messaging mark, asset creation resource and resource are expired
Time etc..Terminal gets resource essential information and can store resource essential information in the local database.Further, terminal
When showing message related to resources body by the chat interface of instant messaging or social networking application, some resource essential informations can be shown
On message related to resources body, share password for example, showing on message related to resources body.
Step 206, the instant communication message of input is obtained.
In the present embodiment, the instant communication message of user's input can be obtained by instant communication message input frame.It can be direct
The instant communication message input frame shown on the chat interface of instant messaging or social networking application is clicked on to input Instant Messenger
Message is believed, alternatively, can trigger by the message related to resources body shown on the chat interface of click instant messaging or social networking application
Instant communication message input frame is positioned, then obtains the instant communication message of input by instant communication message input frame.Further
, it sends instant communication message on server, while being shown on the chat interface of instant messaging or social networking application
The instant communication message.
Step 208, instant communication message is matched with resource essential information, when instant communication message is basic with resource
When information matches are consistent, trigger request shares resource.
In the present embodiment, the instant communication message that user is inputted by instant communication message input frame is got, if logical
The instant messaging for crossing the message related to resources body triggering positioning shown in the chat interface for clicking instant messaging or social networking application disappears
Input frame is ceased, then is matched the instant communication message of input resource essential information corresponding with the message related to resources body of click,
Judge whether that matching is consistent, if so, the corresponding resource of message related to resources body clicked is shared in triggering.If directly passing through chat circle
The instant communication message input frame that face is shown inputs instant communication message, then can be by the money of the instant communication message of input and storage
Source essential information is matched one by one, gets the consistent resource essential information of matching, and trigger request, which is shared, matches consistent money
Source.
In one embodiment, terminal can carry out the resource essential information of instant communication message and local data base storage
Matching.In another embodiment, terminal can also send instant communication message to server, by server by receive i.e.
When communication information and database in the resource essential information that stores matched.Further, it obtains matching consistent resource base
The corresponding message related to resources of this information, terminal can trigger request and share the resource, for example, the fixed number in resource can be obtained at any time
Volume.Terminal can be used to show the money that sharing obtains in pop-up display frame on the chat interface of instant messaging or social networking application
Source and resource by sharing result etc..In addition, terminal can also by resource sharing request be sent to server, by server Lai
The resource of certain number is randomly assigned to user, after terminal receives distribution number, then pop-up display frame is shared for showing
The resource that arrives and resource by sharing result etc..
In the present embodiment, by receiving message related to resources, resolving resource message obtains resource essential information, obtain input i.e.
When communication information, instant communication message is matched with resource essential information, when instant communication message and resource essential information
When matching consistent, trigger request distributes resource.Compared with the existing technology, matched immediately with resource essential information due to input
Communication information could trigger sharing resource, enhance user in instant messaging or social networking application during sharing resource
Between interaction, improve the user activity in instant messaging or social networking application, thus enhance user viscosity.
In one embodiment, resource essential information includes sharing password;By instant communication message and resource essential information
Matched, when instant communication message matches consistent with resource essential information, trigger request share resource the step of, comprising:
The message content of instant communication message is matched with password is shared, when message content is consistent with password match is shared, touching
Resource is shared in hair request.
It is settable when resource promoter initiates resource sharing by instant messaging or social networking application in the present embodiment
The sharing password of resource, the sharing password include but is not limited to a word and/or at least one expression etc..Resource promoter passes through
Instant messaging or social networking application to good friend or can share resource sharing into group or discussion group.Resource sharing is gone out
Afterwards, the other users in the good friend of resource promoter or group or discussion group can by using terminal on the Instant Messenger that runs
Credit household receives message related to resources, obtains message related to resources body and is shown in good friend's chat circle of instant messaging or social networking application
In the chat interface of face or group or discussion group.
Further, terminal can resolving resource message obtain resource essential information, by sharing password therein with plaintext shape
Formula is shown on message related to resources body, in order to which user knows that kind of, which should be inputted, shares password ability trigger request sharing resource.
Terminal obtains the instant communication message of user's input by instant communication message input frame, by the message content of instant communication message
It is matched with password is shared, when the two matching is consistent, then trigger request shares resource.In the present embodiment, input can be passed through
Share the consistent instant communication message content of password with resource and trigger sharing resource, that is to say, that instant messaging or social network
Network needs to input and shares the consistent instant communication message of password and could share to obtain resource using user, in the mistake of sharing resource
Cheng Zhong is produced by instant messaging or social networking application between user and user and is interacted, and instant messaging or social activity are improved
The liveness of network application user enhances the viscosity of user.
In one embodiment, resource essential information includes resource identification, shares password and corresponding instant messaging mark;
Instant communication message is matched with resource essential information, when instant communication message matches consistent with resource essential information,
Trigger request shares the step of resource, comprising: obtains the corresponding instant messaging mark of instant communication message;According to get i.e.
When communication identifier search corresponding resource identification;The message content of instant communication message is corresponding with the resource identification found
Share password to be matched, when message content is consistent with password match is shared, trigger request shares resource.
It is settable when resource promoter initiates resource sharing by instant messaging or social networking application in the present embodiment
The sharing password of resource, the sharing password include but is not limited to a word and/or at least one expression etc..Resource promoter passes through
Instant messaging or social networking application to good friend or can share resource sharing into group or discussion group.Resource sharing is gone out
Afterwards, the user in the good friend of resource promoter or group or discussion group can be received by the instant communication users run in terminal
To message related to resources, obtains message related to resources body and be shown in good friend's chat interface or the group of instant messaging or social networking application
Or in the chat interface of discussion group.
Further, resource essential information further includes resource identification and corresponding instant messaging mark.Wherein, resource identification
For one resource of unique identification, it can be and automatically generate corresponding identification number when initiating resource sharing for the resource of sharing.
Here instant messaging mark refers to instant communication number related with resource, the resource promoter's including initiation resource sharing
Instant communication number, the instant communication number of good friend, group or identification number of discussion group etc..Pass through instant messaging or social activity
The different chat interfaces of network application initiate the resource shared, and corresponding instant messaging mark is also different.For example, passing through
Good friend's chat interface of instant messaging or social networking application initiates the resource shared, and corresponding instant messaging mark can be good friend
Instant communication number.For another example, it initiates to divide by the chat interface of the group or discussion group of instant messaging or social networking application
The resource enjoyed, corresponding instant messaging mark can be group or the identification number of discussion group etc..
Further, the instant communication message that input is got by instant communication message input frame obtains the Instant Messenger
Believe the corresponding instant messaging mark of message.Here instant messaging mark refers to Instant Messenger beacon related with instant communication message
Know, the instant communication number of the sender including instant communication message, the instant communication number of good friend, group or discussion group mark
Know number etc., the instant communication message received by different chat interfaces, corresponding instant messaging mark is not yet
Together.For example, the instant communication message received by good friend's chat interface, corresponding instant messaging mark can be for sender
When communicating number, the instant communication message received by the chat interface of group or discussion group, corresponding instant messaging mark
It can be group or the identification number of discussion group etc..
In the present embodiment, the corresponding instant messaging mark of instant communication message is obtained, for example send the instant communication message
Sender instant communication number or receive group or the identification number of discussion group etc. of instant communication message.Further root
According to the corresponding resource identification of instant messaging identifier lookup got.Specifically, initiating resource sharing by good friend's chat interface
In the case where, then the user for receiving message related to resources is the good friend of resource promoter, according to the instant communication number of good friend
Search corresponding resource identification.In the case where initiating resource sharing by group or discussion group interface, then sends instant messaging and disappear
The user of breath is the other users in group or discussion group, group or discussion where the user for sending instant communication message
The identification number of group can find corresponding resource identification.Further, after getting resource identification, by instant communication message
Message content sharing password corresponding with the resource identification found matched, when message content with share password match one
When cause, trigger request shares resource.
In one embodiment, resource essential information further includes the asset creation time;It will be in the message of instant communication message
Hold sharing password corresponding with the resource identification found to be matched, when message content is consistent with password match is shared, touching
The step of resource is shared in hair request, comprising: by corresponding with the resource identification found point of the message content of instant communication message
Password is enjoyed to be matched;It obtains sharing password and matches the consistent and resource identification of asset creation time the latest with message content;Touching
The corresponding resource of resource identification obtained is shared in hair request.
In the present embodiment, terminal can by the message related to resources that the chat interface of instant messaging or social networking application receives
It can be multiple, and the sharing password of multiple messages related to resources may also be identical.The Instant Messenger that user directly shows on chat interface
Believe that message input frame inputs instant communication message, that is to say, that user does not simultaneously click on some message related to resources body with specified desired touching
Send out the resource shared.Therefore, by the message content of instant communication message sharing password corresponding with the resource identification found into
It after row matching, obtains sharing password and matches consistent resource with message content and may have multiple, then get in these resources and provide
The resource identification of source creation time the latest, that is, newest resource, trigger request share the newest resource.
In one embodiment, resource essential information further includes resource expired time;It will be in the message of instant communication message
Hold sharing password corresponding with the resource identification found to be matched, when message content is consistent with password match is shared, touching
The step of resource is shared in hair request, comprising: match message content sharing password corresponding with the resource identification found;
It obtains sharing password and matches consistent resource identification with message content;According to the corresponding resource expired time of the resource identification of acquisition
Whether out of date resource is judged, if so, not dealing with.In the present embodiment, resource has certain effective time, if when current
Between not within the effective time of resource, show that resource is out of date, cannot be shared again.
In another embodiment, the money in the chat interface as user by clicking instant messaging or social networking application
When the message body of source, the resource essential information of the message related to resources body can be got, judges to request according to the resource expired time of resource
Whether the resource of sharing is out of date, if so, user's resource can be prompted out of date, cannot share again, otherwise further obtain
The instant communication message for taking input matches instant communication message with resource essential information.
As shown in figure 3, in one embodiment, provides in a kind of instant messaging or social networking application and share resource
Method, in the embodiment, user does not click on the message related to resources body shown in the chat interface of instant messaging or social networking application,
But instant communication message is directly inputted by the instant communication message input frame on chat interface.This method detailed process is such as
Under:
Step 302, message related to resources is received.
Specifically, the good friend's chat interface or group of instant messaging or social networking application or chatting for discussion group can be passed through
Its interface receives message related to resources, message related to resources body is shown in chat interface, wherein the sharing password of resource can be with plaintext version
It is shown on message related to resources body.
Step 304, resolving resource message obtains resource essential information.
Specifically, resource essential information includes resource identification, shares password, corresponding instant messaging mark, asset creation
Time and resource expired time etc..Terminal resolving resource message obtains resource essential information, can be stored in resource essential information
In local data base.
Step 306, the instant communication message inputted by instant communication message input frame is obtained, the instant messaging is obtained and disappears
Corresponding instant messaging mark is ceased, according to the corresponding resource identification of instant messaging identifier lookup got.
Specifically, when receiving message related to resources by good friend's chat interface, then after the instant communication message for getting input,
The consistent resource of instant communication number with the sender for sending instant communication message is searched in obtained resource essential information
Mark;When the chat interface by group or discussion group receives message related to resources, then the instant communication message of input is obtained,
To resource essential information in search the consistent resource identification of identification number of corresponding group or discussion group.
Step 308, the message content of instant communication message sharing password corresponding with the resource identification found is carried out
Matching obtains the resource identification of asset creation time the latest if matching obtains multiple resource identifications.
Step 310, judge whether resource is out of date according to the corresponding resource expired time of the resource identification of acquisition, if so,
It does not deal with then, if trigger request shares the resource without expired.
In the present embodiment, disappear when user directly passes through the input instant messaging of the instant communication message input frame in chat interface
When breath, it can get and match consistent password of sharing with the message content of Instant Messenger message and correspond to resource, if having multiple, obtain
Newest resource is got, if the resource is not out of date, the trigger request resource.
In one embodiment, the step of obtaining the instant communication message of input includes: in instant messaging or social networks
The chat interface of application shows message related to resources body;The trigger action to message related to resources body is obtained, is positioned according to trigger action instant
Communication information input frame, and the step of entering the instant communication message for obtaining input.
In the present embodiment, message related to resources body, Yong Huke are shown by the chat interface of instant messaging or social networking application
Request to share the resource by triggering any one message related to resources body.For example, user can click the money shown in chat interface
Source message body is to request to share the resource.Further, Instant Messenger is navigated to when getting the trigger action of message related to resources body
Believe message input frame, instant communication message input frame is that can input message status at this time, and terminal obtains user and passes through instant messaging
The instant communication message of message input frame input.
Further, in the present embodiment, the step of instant communication message is matched with resource essential information, comprising:
The resource essential information of instant communication message message related to resources body corresponding with trigger action is matched.It, can in the present embodiment
The instant communication message that user is obtained by instant messaging input frame is matched with the password of sharing of the resource of triggering, if
With consistent, then it can trigger and request the resource.
In one embodiment, the trigger action to message related to resources body is being obtained, instant messaging is positioned according to trigger action
After the step of message input frame, further includes: display rapidly inputs the control of password in chat interface;It obtains to the control
Trigger action inputs the sharing password in message related to resources body in instant communication message input frame.
In the present embodiment, when user triggers some message related to resources body in chat interface, instant communication message is defeated at this time
Entering frame is that can input message status, and the control for rapidly inputting password can be shown in chat interface, and clicking the control then can be straight
Password entry will be shared into instant communication message input frame by connecing.Share rapidly inputting for password so as to realize, improves
Resource sharing efficiency.
As shown in figure 4, in one embodiment, provides in a kind of instant messaging or social networking application and share resource
Method, in the embodiment, user can click the resource that some message related to resources body in chat interface is shared with specified request, specifically
Process is as follows:
Step 402, message related to resources is received.
In the present embodiment, terminal can receive resource by good friend's chat interface or the chat interface of group or discussion group and disappear
Breath shows message related to resources body, wherein the sharing password of resource and is shown on message related to resources body with plaintext version, so as to user
It understand that kind of sharing password should be inputted and just can request that and share the resource.
Step 404, resolving resource message obtains resource essential information.
Specifically, resource essential information includes resource identification, shares password, corresponding instant messaging mark, asset creation
Time and resource expired time etc..Terminal resolving resource message obtains resource essential information, can be stored in resource essential information
Local data base.
Step 406, the trigger action for obtaining the message related to resources body shown in user's chat interface, according to the trigger action
Instant communication message input frame is positioned, and obtains the instant communication message of input by instant communication message input frame.
In the present embodiment, user can click some message related to resources body in chat interface, then instant communication message is defeated at this time
Entering frame is that can input message status, and the instant communication message that can take family input is obtained by instant communication message input frame.
Step 408, the instant communication message that will acquire is matched with the password of sharing of the resource of triggering, if matching
Unanimously, then trigger request shares the resource.
In the present embodiment, before step 408, also it can judge whether resource is already expired according to the resource expired time of resource
Phase does not deal with if resource is out of date, and shows that resource has expired prompt information in chat interface.If resource
It is not out of date, then judge whether the message content of instant communication message is consistent with password is shared again, if unanimously, trigger request is shared
The resource.
In one embodiment, it gets after matching consistent resource with instant communication message, sharing in trigger request should
It before resource, also can detect whether the resource has been shared, if so, no longer resource is shared in triggering, can be shown in chat interface
Show the prompt information that resource has been shared.
In one embodiment, the method for resource is shared in above-mentioned instant messaging or social networking application further include: work as inspection
When logging on linear state of instant communication users is measured, receives the corresponding instant messaging mark of instant communication users during offline
The message related to resources received;The message related to resources is parsed to obtain resource essential information and store.In the present embodiment, Instant Messenger is detected
Credit household becomes presence from off-line state, then the instant communication users can be answered received resource during offline by server
Message sends terminal, and terminal receives the message related to resources that instant communication users receive during offline, parses the message related to resources and obtain
To resource essential information and be stored in local data base, with for it is subsequent when detect user input instant communication message when,
Matching operation is carried out to the instant communication message of user's input.In the present embodiment, even if user offline on it after line can connect
Message related to resources is received, the roaming of message related to resources is realized, the situation reduced resource waste.
Illustrate the method for sharing resource in above-mentioned instant messaging or social networking application with a specific example below
Principle.In the present embodiment, resource is virtual red packet, and it is in Instant Messenger that resource is shared in instant messaging or social networking application
Share virtual red packet in letter or social networking application.It is understood that resource is not limited to a kind of this form of virtual red packet, also
It can be other virtual resources or real-life asset, for example can be integral, electronics coupons etc., not office of the embodiment of the present invention
It is limited to certain specific resources that can share.
When instant messaging or the application of social networking application need to share resource, instant messaging or social networks can be passed through
Using initiation resource sharing.As shown in (a) in Fig. 5, to initiate the operation interface that red packet is shared.User can pass through operation circle
Face carries out some resource sharing settings, such as number, the number of resource etc., the money that could share for needing to input certain password
Source, password can be also arranged in user by the operation interface, for example it is " I love you that password is shared in setting!".User is by being somebody's turn to do
Operation interface initiates resource sharing after being provided with, generate message related to resources and be sent to server.Further, user initiates money
Message related to resources can be sent to the good friend of instant messaging or social networking application by source after sharing, or directly in instant messaging or society
It hands in group or discussion group in network application and initiates resource sharing.Correspondingly, the message related to resources generated will be sent to the user
Good friend where terminal, or the terminal where the other users that are sent in group or discussion group.Further, such as Fig. 5
In (b) shown in, user initiate resource sharing after, shown in the chat interface of the user oneself send message related to resources, money
Source message is shown in chat interface in the form of resource message body 502.Likewise, the user for receiving message related to resources can be by i.e.
Shi Tongxin or the chat interface of social networking application receive the message related to resources, and show message related to resources body, wherein point of resource
Enjoying password can be shown on message related to resources body with plaintext version.
Further, the user for receiving message related to resources can be received by the chat interface of instant messaging or social networking application
To the message related to resources, and show message related to resources body, wherein the sharing password of resource can be shown in message related to resources body with plaintext version
On.As shown in (a) in Fig. 6, the user for receiving message related to resources receives message related to resources by instant messaging or social networking application,
Message related to resources body 602 is shown on the chat interface of group or discussion group.It is shown on message related to resources body due to sharing password, because
This user knows that should input what kind of instant communication message just can request that sharing resource.Further, message related to resources body is clicked
602, it may also display the control for rapidly inputting password on chat interface.As shown in (b) in Fig. 6, disappear in instant messaging
The top of breath input frame 606 shows the control 604 for rapidly inputting password.Click the control 604, then it can be in instant messaging
Sharing password is rapidly input in message input frame 606, as shown in (c) in Fig. 6.It is fast in instant communication message input frame 606
Speed input is shared password and is sent, which can be shown in chat interface.Further, it is by sending
When communication information matched with the password of sharing in message related to resources body 602, if matching is consistent, trigger request shares money
Source, instant messaging or social networking application will pop up the resource that display box is used to show that user shares and resource and shared knot
The (not shown)s such as fruit.
Further, user can also be manually entered instant communication message in instant communication message input frame 606, immediately
Communication information is shown in chat interface after sending.The message content of the instant communication message sent out is disappeared about resource
Sharing password in breath body 602 is matched, if matching is consistent, trigger request shares the resource, instant messaging or social activity
Network application will pop up display box and be used to show resource and resource that user shares by sharing result etc..In addition, working as some
User shares to obtain resource, then resource sharing information, including resource promoter, resource winner can be also shown in chat interface
With the resource number specifically shared.For example, the resource sharing information shown in chat interface is that " xxx user has got xxx
The red packet of user ".In order to which instant communication users can understand resource sharing situation in real time.
In another embodiment, there can be the situation of multiple messages related to resources in the same chat interface.For example, same use
Family can initiate multiple resource sharings to good friend or in group or discussion group, and for another example, different users can be in group or discussion
The identical resource sharing for sharing password of multiple bands is initiated in group.For showing message related to resources body in chat interface, user can be clicked
Some message related to resources body shares the resource with trigger request, and as shown in (a) in Fig. 7, user can click a message related to resources body
702 share the resource with trigger request, and after clicking some message related to resources body 702, instant communication message input frame 704 is can be defeated
Enter message status, user can input instant communication message and be issued in instant communication message input frame 704.As described above, with
Family can click the control input sharing password for sharing password for rapidly inputting, and can also be manually entered instant communication message, more
The instant communication message that can be issued to users other in chat interface copies, then pastes instant communication message input frame
In 704.By this various ways can rapid requests share some resource.
Further, if user does not click on any message related to resources body on chat interface, by clicking instant communication message
Input frame 704 makes instant communication message input frame 704 become that message status can be inputted, as shown in (b) in Fig. 7, user Ke Tong
Instant communication message is inputted in communication information input frame 704 when crossing in sight manually, the other users of stickup can also be replicated and chatted
The instant communication message that interface issues.It, will be instant after instant communication message input frame 704 issues instant communication message therein
Communication information is matched with the resource essential information of all resources in the chat interface got, obtain share password with
The consistent resource of the message of instant communication message, if the sharing password for getting multiple resources is all consistent with the message content,
Then can be according to the asset creation time of resource, wherein newest resource, trigger request share the newest resource for acquisition.Such as Fig. 7
(c) shown in, after trigger request shares resource, the pop-up display frame 706 on the chat interface of instant messaging or social networking application,
For showing that this shares the situation of resource.Further, it is also possible to show resource sharing as a result, such as showing by display box 706
Resource sharing person information, request share the user of resource and the resource number shared, resources left number etc..
As shown in figure 8, in one embodiment, additionally provides in a kind of instant messaging or social networking application and share resource
System, which includes:
Receiving module 802, for receiving message related to resources.
Parsing module 804 obtains resource essential information for resolving resource message.
Input module 806, for obtaining the instant communication message of input.
Sharing module 808 is triggered, for matching the instant communication message with resource essential information, is when described
When communication information when matching consistent with resource essential information, trigger request shares resource.
In one embodiment, resource essential information includes sharing password;Sharing module 808 is triggered to be used for instant messaging
The message content of message is matched with password is shared, when message content is consistent with the sharing password match, trigger request
Share resource.
In one embodiment, resource essential information includes resource identification, shares password and corresponding instant messaging mark;
Triggering sharing module 808 is for obtaining the corresponding instant messaging mark of the instant communication message;According to the Instant Messenger got
Believe the corresponding resource identification of identifier lookup;By the sharing corresponding with the resource identification found of the message content of instant communication message
Password is matched, and when message content is consistent with the sharing password match, trigger request shares resource.
Further, in one embodiment, resource essential information further includes the asset creation time;Trigger sharing module
808 for matching the message content of instant communication message sharing password corresponding with the resource identification found;It obtains
Share password and matches the consistent and resource identification of asset creation time the latest with the message content;Trigger request shares acquisition
The corresponding resource of the resource identification.
In one embodiment, resource essential information further includes resource expired time;Sharing module 808 is triggered to be used for institute
Stating message content, sharing password corresponding with the resource identification found is matched;It obtains and shares password and the message content
Match consistent resource identification;Judge whether resource is out of date according to the corresponding resource expired time of the resource identification of acquisition, if
It is not deal with then.
In one embodiment, input module 806 is used to show in the chat interface of instant messaging or social networking application
Message related to resources body;The trigger action to message related to resources body is obtained, instant communication message input frame is positioned according to trigger action, is passed through
Instant communication message input frame obtains the instant communication message of input;
Triggering sharing module 808 is also used to the money of instant communication message message related to resources body corresponding with trigger action
Source essential information is matched.
In one embodiment, input module 808 is also used to show the control for rapidly inputting password in chat interface, obtains
The trigger action to the control is taken, the sharing password in the message related to resources body is inputted in instant communication message input frame.
In one embodiment, as shown in figure 9, additionally providing a kind of terminal, which includes being connected by system bus
Processor, graphics processing unit, storage medium, memory, network interface, display screen and input equipment, deposit in storage medium
Contain the system for sharing resource in operating system and a kind of instant messaging or social networking application, the instant messaging or social networks
The system for sharing resource in is used to execute a kind of method for sharing resource in instant messaging or social networking application.The processing
Device supports the operation of entire portable electronic device for improving calculating and control ability.Graphics processing unit in terminal is used
In at least providing the drawing ability at aobvious application operating interface, for example, draw instant messaging or social networking application chat interface,
Rendering resource message body, drafting rapidly input control of password etc., and memory is used for as the instant messaging or social activity in storage medium
The operation for sharing the system of resource in network application provides environment, and network interface is used to carry out network communication with server, receive
Or data are sent, such as send and receive message related to resources to server, instant communication message etc. is sent and received to server.It is aobvious
Display screen curtain is for the various interface elements etc. in the icon of various applications and the display at interface, such as display chat interface.Input
Equipment inputs the click commands of message related to resources body for inputting various data, message and instruction, such as input instant communication message
Deng.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality
It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention
Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.
Claims (14)
1. sharing the method for resource in a kind of instant messaging or social networking application, which comprises
Receive message related to resources;
It parses the message related to resources and obtains resource essential information;The resource essential information includes asset creation time, resource mark
Know and shares password;
Obtain the instant communication message of input;
The instant communication message is matched with the resource essential information, when the instant communication message and the resource
When essential information matching is consistent, trigger request shares resource;Include:
The message content of instant communication message sharing password corresponding with the resource identification found is matched;
It obtains sharing password and matches the consistent and resource identification of asset creation time the latest with the message content;
Trigger request shares the corresponding resource of the resource identification obtained.
2. the method according to claim 1, wherein the resource essential information includes sharing password;It is described to incite somebody to action
Instant communication message is matched with the resource essential information, when the instant communication message and the resource essential information
With it is consistent when, trigger request share resource the step of, comprising:
The message content of the instant communication message is matched with the password of sharing, when the message content and described point
Enjoy password match it is consistent when, trigger request share resource.
3. the method according to claim 1, wherein the resource essential information includes corresponding Instant Messenger beacon
Know;It is described to match the instant communication message with the resource essential information, when the instant communication message with it is described
Resource essential information matching it is consistent when, trigger request share resource the step of, comprising:
Obtain the corresponding instant messaging mark of the instant communication message;
According to the corresponding resource identification of instant messaging identifier lookup got;
The message content of instant communication message sharing password corresponding with the resource identification found is matched, institute is worked as
State message content it is consistent with the sharing password match when, trigger request share resource.
4. according to the method described in claim 3, it is characterized in that, the resource essential information further includes resource expired time;
The message content by instant communication message sharing password corresponding with the resource identification found matches, and disappears when described
Cease content it is consistent with the sharing password match when, trigger request sharing resource the step of, comprising:
Message content sharing password corresponding with the resource identification found is matched;
It obtains sharing password and matches consistent resource identification with the message content;
It is whether out of date that the resource is judged according to the corresponding resource expired time of the resource identification of acquisition, if so, not making to locate
Reason.
5. the method according to claim 1, wherein the step of instant communication message for obtaining input, packet
It includes:
Message related to resources body is shown in the chat interface of instant messaging or social networking application;
The trigger action to the message related to resources body is obtained, instant communication message input frame is positioned according to the trigger action, is led to
Cross the instant communication message that the instant communication message input frame obtains input;
Described the step of being matched the instant communication message with the resource essential information, comprising:
The resource essential information of instant communication message message related to resources body corresponding with the trigger action is matched.
6. according to the method described in claim 5, it is characterized in that, described the step of obtaining the instant communication message inputted, go back
Include:
Display rapidly inputs the control of password in the chat interface;
The trigger action to the control is obtained, is inputted in the instant communication message input frame in the message related to resources body
Share password.
7. sharing the system of resource in a kind of instant messaging or social networking application, which is characterized in that the system comprises:
Receiving module, for receiving message related to resources;
Parsing module obtains resource essential information for parsing the message related to resources;The resource essential information includes resource wound
It builds time, resource identification and shares password;
Input module, for obtaining the instant communication message of input;
Sharing module is triggered, for matching the instant communication message with the resource essential information, when described instant
When communication information matches consistent with the resource essential information, trigger request shares resource;
The triggering sharing module is also used to corresponding with the resource identification found point of the message content of instant communication message
Password is enjoyed to be matched;It obtains sharing password and matches the consistent and resource mark of asset creation time the latest with the message content
Know;Trigger request shares the corresponding resource of the resource identification obtained.
8. system according to claim 7, which is characterized in that the resource essential information includes sharing password;The touching
Hair sharing module is for matching the message content of the instant communication message with the password of sharing, when in the message
When holding consistent with the sharing password match, trigger request shares resource.
9. system according to claim 8, which is characterized in that the resource essential information includes corresponding Instant Messenger beacon
Know;The triggering sharing module is for obtaining the corresponding instant messaging mark of the instant communication message;According to get i.e.
When communication identifier search corresponding resource identification;By the message content of the instant communication message and the resource identification pair found
The sharing password answered is matched, and when the message content is consistent with the sharing password match, trigger request shares resource.
10. system according to claim 7, which is characterized in that the resource essential information further includes resource expired time;
The triggering sharing module is for matching message content sharing password corresponding with the resource identification found;It obtains
Sharing password is taken to match consistent resource identification with the message content;When expired according to the corresponding resource of the resource identification of acquisition
Between whether judge the resource out of date, if so, not dealing with.
11. system according to claim 8, which is characterized in that the input module is used in instant messaging or social network
The chat interface of network application shows message related to resources body;The trigger action to the message related to resources body is obtained, is grasped according to the triggering
Make positioning instant communication message input frame, the instant communication message of input is obtained by the instant communication message input frame;
The triggering sharing module is also used to instant communication message message related to resources body corresponding with the trigger action
Resource essential information is matched.
12. system according to claim 11, which is characterized in that the input module is also used in the chat interface
Display rapidly inputs the control of password, obtains the trigger action to the control, defeated in the instant communication message input frame
Enter the sharing password in the message related to resources body.
13. a kind of storage medium, is stored thereon with computer program, which is characterized in that can when described program is executed by processor
Realize the method as shared resource in instant messaging described in any one of claims 1 to 6 or social networking application.
14. a kind of terminal device, including storage medium, processor and storage can be run on a storage medium and on a processor
Computer program, the processor realize when executing described program such as instant messaging described in any one of claims 1 to 6 or
Share the method for resource in social networking application.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510895052.4A CN105391622B (en) | 2015-12-07 | 2015-12-07 | Share the method and system of resource in instant messaging or social networking application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510895052.4A CN105391622B (en) | 2015-12-07 | 2015-12-07 | Share the method and system of resource in instant messaging or social networking application |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105391622A CN105391622A (en) | 2016-03-09 |
CN105391622B true CN105391622B (en) | 2019-08-23 |
Family
ID=55423473
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510895052.4A Active CN105391622B (en) | 2015-12-07 | 2015-12-07 | Share the method and system of resource in instant messaging or social networking application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105391622B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107092904B (en) * | 2016-05-16 | 2020-12-01 | 阿里巴巴集团控股有限公司 | Method and device for acquiring resources |
CN106656747B (en) * | 2016-11-14 | 2020-08-04 | 腾讯科技(深圳)有限公司 | Information processing method and information processing apparatus |
CN106780065A (en) * | 2016-12-05 | 2017-05-31 | 深圳万发创新进出口贸易有限公司 | A kind of social networks resource sharing system |
CN107025541A (en) * | 2016-12-19 | 2017-08-08 | 阿里巴巴集团控股有限公司 | Implementation method, client and the service end of transactional operation |
CN106952131A (en) * | 2017-03-02 | 2017-07-14 | 华为机器有限公司 | Information processing method and device |
CN109600408B (en) * | 2017-09-30 | 2020-12-29 | 腾讯科技(深圳)有限公司 | Resource sharing method and device, storage medium and computer equipment |
CN110648122B (en) * | 2018-06-27 | 2024-02-02 | 比亚迪股份有限公司 | Electronic red envelope sending method and device, readable storage medium and electronic equipment |
CN109242479A (en) * | 2018-09-04 | 2019-01-18 | 深圳市百宝廊珠宝首饰有限公司 | A kind of method and apparatus that red packet is got based on integrating system |
CN109257192B (en) * | 2018-11-07 | 2020-09-29 | 北京小米移动软件有限公司 | Group information sharing method and device |
CN111339508A (en) * | 2020-02-28 | 2020-06-26 | 北京达佳互联信息技术有限公司 | Shared password analysis method and device, electronic equipment and storage medium |
CN112866084A (en) * | 2020-12-31 | 2021-05-28 | 上海掌门科技有限公司 | Virtual resource processing method, equipment and computer readable medium for chat group |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1855828A (en) * | 2005-04-21 | 2006-11-01 | 腾讯科技(深圳)有限公司 | Uploading announcing method and system for demand communication system |
CN101179550A (en) * | 2006-12-14 | 2008-05-14 | 腾讯科技(深圳)有限公司 | Personal homepage implementing method and system |
CN103929350A (en) * | 2013-01-16 | 2014-07-16 | 阿里巴巴集团控股有限公司 | Information pushing method, device and system |
CN104618217A (en) * | 2014-03-24 | 2015-05-13 | 腾讯科技(北京)有限公司 | Method, terminal, server and system for sharing resource |
-
2015
- 2015-12-07 CN CN201510895052.4A patent/CN105391622B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1855828A (en) * | 2005-04-21 | 2006-11-01 | 腾讯科技(深圳)有限公司 | Uploading announcing method and system for demand communication system |
CN101179550A (en) * | 2006-12-14 | 2008-05-14 | 腾讯科技(深圳)有限公司 | Personal homepage implementing method and system |
CN103929350A (en) * | 2013-01-16 | 2014-07-16 | 阿里巴巴集团控股有限公司 | Information pushing method, device and system |
CN104618217A (en) * | 2014-03-24 | 2015-05-13 | 腾讯科技(北京)有限公司 | Method, terminal, server and system for sharing resource |
Non-Patent Citations (1)
Title |
---|
手机qq趣味红包在哪里 手机qq6.1如何发趣味红包;无梦为安;《91单机游戏》;20151126;参见第1-6页,附图1-8 |
Also Published As
Publication number | Publication date |
---|---|
CN105391622A (en) | 2016-03-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105391622B (en) | Share the method and system of resource in instant messaging or social networking application | |
US10785345B2 (en) | Information processing method, client, server and computer-readable storage medium | |
CN104601641B (en) | Application link sharing method, apparatus and system | |
US9813373B2 (en) | Methods and devices for online contacts expansion | |
CN111756917B (en) | Information interaction method, electronic device and computer readable medium | |
CN110391970B (en) | Message management system, method, device and storage medium for communication application | |
CN103401763B (en) | Method and device for receiving group message and method and device for processing group message | |
CN107104874B (en) | Resource sharing method, device, terminal and computer readable storage medium | |
US20170091717A1 (en) | Auto extraction of tasks from unstructured communications such as emails and messages | |
CN107645524A (en) | A kind of message push processing method and device | |
WO2014183427A1 (en) | Method and apparatus for displaying webcast rooms | |
US10863312B2 (en) | Moving track sharing method and apparatus, and storage medium | |
WO2016082718A1 (en) | Information access processing method and device | |
JP2017191601A5 (en) | ||
CN104606884B (en) | Matching process and device in a kind of game fighting | |
CN109062489A (en) | Message treatment method, device, storage medium and electronic device | |
CN106973075A (en) | Share comment method and system, domain name code-transferring method, client and server | |
CN110781421B (en) | Virtual resource display method and related device | |
WO2015014310A1 (en) | Method, apparatus, and server for displaying information | |
CN114726947B (en) | Message display method, device, user terminal and readable storage medium | |
CN106060097B (en) | A kind of management system and management method of information security contest | |
JP2018510440A (en) | Information processing method, terminal, and computer storage medium | |
CN102147660B (en) | A kind of method and apparatus of the input based on multiple user collaborative editor | |
CN104935496B (en) | Instant communicating method, system, device and instant communication terminal | |
CN112152901A (en) | Virtual image control method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |