CN109146437A - Processing method, client and the storage medium of virtual resource - Google Patents

Processing method, client and the storage medium of virtual resource Download PDF

Info

Publication number
CN109146437A
CN109146437A CN201810825839.7A CN201810825839A CN109146437A CN 109146437 A CN109146437 A CN 109146437A CN 201810825839 A CN201810825839 A CN 201810825839A CN 109146437 A CN109146437 A CN 109146437A
Authority
CN
China
Prior art keywords
virtual resource
option
user
module
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.)
Granted
Application number
CN201810825839.7A
Other languages
Chinese (zh)
Other versions
CN109146437B (en
Inventor
王德尉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810825839.7A priority Critical patent/CN109146437B/en
Publication of CN109146437A publication Critical patent/CN109146437A/en
Application granted granted Critical
Publication of CN109146437B publication Critical patent/CN109146437B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/085Payment architectures involving remote charge determination or related payment systems
    • G06Q20/0855Payment architectures involving remote charge determination or related payment systems involving a third party
    • 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/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Finance (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

This application discloses a kind of processing method of virtual resource, client and storage mediums.This method comprises: receiving the conversation message of the first user, and conversation message is shown in dialog box;Virtual resource request option is preset, when determining includes the first keyword of characterization virtual resource in conversation message, shows that virtual resource requests option in dialog box;According to the operation that second user is done for virtual resource request option, virtual resource config option is shown;And the operation that virtual resource config option is done is directed to according to second user, virtual resource is generated, and virtual resource is shown in dialog box.Using these technical solutions, the resource utilization of client when can be improved passive transmission virtual resource.

Description

Processing method, client and the storage medium of virtual resource
Technical field
This application involves Internet technical field more particularly to the processing methods of virtual resource, client and storage medium.
Background technique
With the rapid development of Internet service, user can exchange all kinds of virtual moneys in social platform between good friend Source.For example, this virtual resource is red packet, discount coupon etc..
Existing virtual resource sending method is all based on active awakening mode.Specifically, sender user actively initiates The operation of red packet is sent, sender itself is arranged the number of red packet, red packet is issued after paying successfully, and then recipient user determines Whether the red packet is received.But this active awakening mode, there is no consideration recipient users can actively ask for red packet, sends Square user passively issues the demand of red packet.In such a scenario, when recipient user asks for red packet, how efficiently to initiate Red packet is not provided with corresponding solution in the prior art.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of processing method of virtual resource, client and storage medium, energy Enough resource utilizations for improving client when passively sending virtual resource.
The technical scheme of the present invention is realized as follows:
The embodiment of the invention provides a kind of processing methods of virtual resource, comprising:
The conversation message of the first user is received, and shows the conversation message in dialog box;
Preset virtual resource request option, when determine in the conversation message include characterization virtual resource first When keyword, the virtual resource request option is shown in the dialog box;
According to the operation that second user is done for virtual resource request option, virtual resource config option is shown; And
It is directed to the operation done of the virtual resource config option according to the second user, generates virtual resource, and The virtual resource is shown in the dialog box.
The embodiment of the invention also provides a kind of clients, including receiving module, setup module, judgment module, displaying mould Block, subscriber interface module and generation module, wherein
The receiving module is used for, and receives the conversation message of the first user;
The setup module is used for, and presets virtual resource request option;
The judgment module is used for, and determines in conversation message that the receiving module receives whether include the virtual money of characterization First keyword in source;
The display module is used for, and the conversation message that the receiving module receives is shown in dialog box;When described Judgment module determines to include when characterizing the first keyword of virtual resource, opening up in the dialog box in the conversation message Show the virtual resource request option of the setup module setting;It is directed to according to the second user that the subscriber interface module receives The operation that virtual resource request option is done, shows virtual resource config option;The generation is shown in the dialog box The virtual resource that module generates;
The subscriber interface module is used for, and receives the behaviour that the second user is done for virtual resource request option Make;It receives the second user and is directed to the operation that the virtual resource config option is done;
The generation module is used for, and the second user received according to the subscriber interface module is for described virtual The operation that resource distribution option is done generates the virtual resource.
The embodiment of the present invention provides a kind of computer readable storage medium again, is stored with computer-readable instruction, can be with At least one processor is set to execute method as described above.
Compared with prior art, method provided by the invention realizes user and actively asks in the scene of virtual resource, will Recipient user asks for the appellative function of virtual resource, the quick entrance for issuing virtual resource occurs by keyword match, Waking up sender user, presently, there are red packet requests, while meeting sender user and quickly generating virtual resource and issue, thus The resource utilization of client when improving passive transmission virtual resource.
Detailed description of the invention
For the clearer technical solution illustrated in the embodiment of the present invention, will make below to required in embodiment description Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.Wherein,
Fig. 1 is the structural schematic diagram of the processing system of virtual resource involved in one embodiment of the invention;
Fig. 2 is the exemplary process diagram of the processing method of the virtual resource of an embodiment according to the present invention;
Fig. 3 a is the interface schematic diagram of the displaying conversation message of an embodiment according to the present invention;
Fig. 3 b is the interface schematic diagram of the displaying virtual resource config option of an embodiment according to the present invention;
Fig. 3 c is the interface schematic diagram of the displaying payment request config option of an embodiment according to the present invention;
Fig. 3 d is the interface schematic diagram of the displaying virtual resource of an embodiment according to the present invention;
Fig. 4 is the exemplary process diagram of the processing method of the virtual resource of another embodiment according to the present invention;
Fig. 5 a is the interface schematic diagram of the displaying conversation message of another embodiment according to the present invention;
Fig. 5 b is the interface schematic diagram of the displaying virtual resource config option of another embodiment according to the present invention;
Fig. 6 is the exemplary process diagram of the processing method of the virtual resource of another embodiment according to the present invention;
Fig. 7 is the interface schematic diagram of the displaying conversation message of another embodiment according to the present invention;
Fig. 8 is the structural schematic diagram of the client of an embodiment according to the present invention;
Fig. 9 is the structural schematic diagram of the client of another embodiment according to the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Fig. 1 is the structural schematic diagram of the processing system of virtual resource involved in one embodiment of the invention.As shown in Figure 1, The processing system 100 of virtual resource include social application server 101, Third-party payment server 102, the first user 1031, First terminal equipment 1041, second user 1032 and second terminal equipment 1042.Running in first terminal equipment 1041 has First social application client 1051, operation has the second social application client 1052 in second terminal equipment 1042, respectively It uses for the first user 1031 and second user 1032 to be interacted on social application platform.For example, the first social application Client 1051 and the second social application client 1052 are QQ chat software.
In an embodiment of the present invention, the first user 1031 and second user 1032 carry out social dialogue, in dialog box The middle exchange for realizing virtual resource.Firstly, the first user 1031 uses first terminal equipment 1041 to social application server 101 Conversation message is sent, which is transmitted to the run in second terminal equipment 1042 by social application server 101 Two social application clients 1052.Determine to include the virtual money of characterization in the conversation message when the second social application client 1052 When first keyword in source, in the dialog box that shows on the screen of first terminal equipment 1041, virtual resource request is shown Option.For example, the virtual resource refers to that red packet, the first keyword are " red packet " two words, the virtual resource request option shown It is any click button associated with giving bonus.
When receiving the operation that second user 1032 is done for virtual resource request option, the second social application visitor Family end 1052 shows virtual resource config option.For example, virtual resource config option refers to each sub- option of setting red packet, packet Include setting text information, the setting amount of money and payment request button etc..The virtual resource is directed to when receiving second user 1032 When the operation that config option is done, virtual resource is generated, and shows that this is virtual in the dialog box for showing above-mentioned conversation message Resource.
During generating virtual resource, second user 1032 configures void using the second social application client 1052 After quasi- resource, virtual resource payment request, third party are sent to Third-party payment server 102 by second terminal equipment 1042 Payment server 102 verifies the virtual resource payment request, after being verified, to the second social application client 1052 return virtual resources pay success messages so that the second social application client 1052 receive the virtual resource payment at After function message, virtual resource is generated.
According to embodiments of the present invention, when the first user 1031 has received shown virtual resource, example by dialog box Such as, red packet has been got, the first social application client 1051 has received virtual resource to the transmission of Third-party payment server 102 The confirmation message is transmitted to the second social application client 1052 and is shown by confirmation message, Third-party payment server 102.
According to embodiments of the present invention, Third-party payment server 102 is returning to void to the second social application client 1052 After quasi- resource payment success message, start timing.When Third-party payment server 102 is not within a preset period of time from the first society When applications client 1051 being handed over to receive the first user 1031 and received the confirmation message of virtual resource, determine shown it is virtual Resource has timed out, and Third-party payment server 102 returns to virtual resource to the second social application client 1052 and has timed out at this time Notification message do not got by the first user 1031 so that the second social application client 1052 is deleted according to the notification message Virtual resource.
Wherein, the first terminal equipment 1041 and second terminal equipment 1042 refer to data calculation processing function Terminal device, including but not limited to (be equipped with communication module) smart phone, palm PC, tablet computer, smart television (Smart TV) etc..Operating system is fitted on these communication terminals, including but not limited to: Android operation system, Symbian operating system, Windows mobile operating system and apple iPhone OS operating system etc..
Social application server 101 and Third-party payment server 102 can be a server, or be taken by several The server cluster or a cloud computing service center of business device composition.Wherein, first terminal equipment 1041, second terminal It can be by using wirelessly or non-wirelessly net between equipment 1042 and social application server 101 and Third-party payment server 102 Network is connected.
Fig. 2 is the exemplary process diagram of the processing method of the virtual resource of an embodiment according to the present invention.This method application The second client used in second user.As shown in Fig. 2, this method may include following steps:
Step 201, the conversation message of the first user is received, and shows conversation message in dialog box.
Chat scenario of the embodiment of the present invention based on the first user and second user excavates the first user in chat process Actively ask for the demand of virtual resource.Firstly, the first first client used by a user issues conversation message, the second client After the conversation message is transferred to from social application server, shown in dialog box.
Fig. 3 a is the interface schematic diagram of the displaying conversation message of an embodiment according to the present invention.The interface shown in Fig. 3 a In, the pet name of the first user is honey, and the conversation message that first user issues to second user is illustrated in dialog box 301 " I wants red packet ", it is seen then that the first user actively asks for red packet to second user.
Step 202, virtual resource request option is preset, when determining to include characterization virtual resource in conversation message When the first keyword, show that virtual resource requests option in dialog box.
In this step, virtual resource request option is preset, which uses dedicated for prompt second user existing first Virtual resource is requested to it in family.The embodiment of the present invention to virtual resource request option concrete form without limitation, arbitrarily A kind of option operated for second user.
When concrete application, it can request to add the mark for characterizing virtual resource in option in virtual resource.In Fig. 3 a Shown in embodiment, bubble shown in 302 is the example that virtual resource requests option, further includes characterization inside the bubble The RMB of virtual resource identifies " $ ", is for requesting red packet to characterize the bubble.
Whether the second client judges in conversation message to include the first keyword for characterizing virtual resource.When determining to talk with When including the first keyword of characterization virtual resource in message, it is believed that the conversation message implys that the first user wishes that request is virtual Resource, the second client shows that virtual resource requests option in dialog box at this time.
In specific implementation, the first keyword of characterization virtual resource is preset, the first keyword includes at least one Chinese character or at least one English character, such as " red packet ", " money given to children as a lunar New year gift ", common saying " benefit is ", the English that red packet is indicated in Guangdong language " the luck money " of money given to children as a lunar New year gift etc. is indicated in middle " the red packet " for indicating red packet, English.
Judge in conversation message whether to include when characterizing the first keyword of virtual resource, first dividing conversation message Word processing, obtains at least one participle;Then, each participle is successively matched with the first keyword, when being matched to, then Think to determine to include the first keyword in conversation message.
Step 203, the operation done according to second user for virtual resource request option shows virtual resource configuration choosing ?.
In this step, virtual resource config option includes that text configures sub- option, numerical value configures sub- option and payment is asked Seek at least one of sub- option.In practical application, the virtual resource can be shown in the form of floating layer on dialog box Config option.
Fig. 3 b is the interface schematic diagram of the displaying virtual resource config option of an embodiment according to the present invention.Such as Fig. 3 b institute Show, in the lower section of dialog box, the sub- option of 4 virtual resources configuration is illustrated in the form of floating layer, is respectively: text configuration Sub- option 311 has input text " merely happy out ";Numerical value configures sub- option 312, shows 2.88 yuan of initial value, and Numerical value including prompt information " changing " replaces sub- option 313, replaces 2.88 yuan of the amount of money of above-mentioned displaying for second user;Branch It pays request sub- option 314, shows prompt information " 2.88 yuan of money of plug ", it is empty for being initiated after second user click to third-party server Quasi- resource payment request.
Step 204, the operation done according to second user for virtual resource config option, generation virtual resource, and Virtual resource is shown in dialog box.
It include that second user is set when operating virtual resource config option in this step, in virtual resource generated Text, numerical information.Virtual resource config option includes payment request option.Second user is done for payment request option Operation, be equivalent to user initiate virtual resource payment request.
When generating virtual resource, the second client can use two ways, specific as follows:
One: the second client of mode locally completes payment
It is directed to the operation that payment request option is done according to second user, the second client is to the virtual resource branch received Request is paid to be verified.Here, virtual resource payment request includes the information of local payment accounts (as the second client is local Change account information), the numerical information of verification information (such as payment cipher) and virtual resource.After being verified, second Client generates virtual resource.
Mode two: it completes to pay by third-party server
It is directed to the operation that payment request option is done according to second user, the second client sends empty to third-party server Quasi- resource payment request, so that third-party server verifies virtual resource payment request, after being verified, to second Client returns to virtual resource and pays success message.Second client receives virtual resource from third-party server and pays successfully After message, virtual resource is generated.
In an embodiment of the present invention, the operation that payment request option is done is directed to according to second user, shows that payment is asked Seek config option, wherein the operation that payment request config option is done is directed to according to second user, virtual resource payment is generated and asks It asks.
Fig. 3 c is the interface schematic diagram of the displaying payment request config option of an embodiment according to the present invention.Such as Fig. 3 c institute Show, the first user and second user are used QQ and chat, and the first user asks for QQ red packet to second user.Second user When generating red packet, payment request is configured.Wherein, payment request config option includes following content: in dialog box Illustrating in the floating layer of lower section and initiating the red packet information 321 of payment request is " QQ Hong Bao $2.88 remaining sum (15.48 yuan) ";It shows Prompt information is the sub- option 322 of numerical value replacement of " replacement ", so that second user also has an opportunity to modify the number in red packet again Volume;It illustrates the means of payment that prompt information is " fingerprint payment " and selects sub- option 323, second user is inputted and is referred to The finger print information is carried in virtual resource payment request and issues Third-party payment server by line;Show that prompt information is The means of payment of " password payment " selects sub- option 324, allows second user to input password, which is carried Third-party payment server is issued in virtual resource payment request.
Fig. 3 d is the interface schematic diagram of the displaying virtual resource of an embodiment according to the present invention.As shown in Figure 3d, talking with Below message 301, the virtual resource 331 of second user sending is illustrated, including text information " merely happy out ".When When one user clicks the virtual resource 331, it will show the amount of money of the virtual resource, (do not opened up in figure for above-mentioned 2.88 yuan such as Show).
According to above-described embodiment, by receiving the conversation message of the first user, and conversation message is shown in dialog box, Virtual resource request option is preset, when determining includes the first keyword of characterization virtual resource in conversation message, Show that virtual resource requests option in dialog box, according to the operation that second user is done for virtual resource request option, exhibition Show virtual resource config option, the operation that virtual resource config option is done is directed to according to second user, generates virtual resource, and Virtual resource is shown in dialog box, is realized user and is actively asked in the scene of red packet, recipient user is asked for into red packet Appellative function, there is the entrance that fast gives bonus by characters matching, waking up sender user, presently, there are issue red packet Request, while meeting sender user and payment processing be rapidly completed, red packet is sent out, without sender user by looking into It looks for the red packet delivery option of unified setting in social application platform actively to initiate red packet, therefore, improves the resource benefit of client With rate.
In addition, above-mentioned technical proposal does not limit operating system used in terminal device, in various different operation systems It can be realized between in system, such as using can be seamless between apple iphone OS system and the terminal device of Android system Connection realizes that the red packet of this passive awakening mode is sent.
Fig. 4 is the exemplary process diagram of the processing method of the virtual resource of another embodiment according to the present invention.This method is answered For the second client used in second user.As shown in figure 4, also being wrapped on step 201 shown in Fig. 2 to 204 bases Step 401 is included to 403, step 405 to 406.Specifically, after executing the step 202, following steps are executed:
Step 401, judge in conversation message whether to include numerical information.If so, executing step 402;Otherwise, step is executed Rapid 403.
In this step, virtual resource config option includes the initial value of virtual resource, which can be me Uncle's number, or Chinese coin number, including zero, one, two, three, wantonly, 5, land, seven, eight, nine, pick up, one hundred, thousand, ten thousand, hundred million.To right After talking about message progress word segmentation processing, each participle is successively matched with Arabic numerals or Chinese coin number, matching is worked as Then, it is determined that going out includes numerical information in conversation message.
Fig. 5 a is the interface schematic diagram of the displaying conversation message of another embodiment according to the present invention.The interface shown in Fig. 5 a In, conversation message 501 " 50 red packet is sent out to me " is shown in dialog box, including numerical information 50.
Step 402, when determining in conversation message includes numerical information, the initial value of virtual resource is arranged to count Value information.
Fig. 5 b is the interface schematic diagram of the displaying virtual resource config option of another embodiment according to the present invention.Such as Fig. 5 b institute Show, numerical value, which configures, shows that initial value is 50.00 yuan in sub- option 502;In the sub- option 503 of payment request, prompt information is shown " 50.00 yuan of money of plug ".
Step 403, it when determining in conversation message does not include numerical information, is virtually provided according to default value strategy setting The initial value in source, and numerical value is set in virtual resource config option and replaces sub- option.
In this step, determine not include numerical information in conversation message, i.e. the void of the first user and not specified specific number Quasi- resource, initial value at this time is then according to default value strategy setting.Embodiment as shown in Figure 3b, initial value are set It at 2.88 yuan of random number, while being also provided with the numerical value including prompt information " changing " and replacing sub- option 343, for second 2.88 yuan of the amount of money of above-mentioned displaying are replaced at family, to input the expectation numerical value of virtual resource.
After executing the step 203, step 204, step 404 is further executed, as follows:
Step 404, after generating virtual resource, generated first notice of instruction virtual resource is sent to server and is disappeared Breath.
In this way, server starts timing according to the first notification message, and the first use is not received within a preset period of time When family has received the confirmation message of virtual resource, the second notice that instruction virtual resource has timed out is sent to the second client and is disappeared Breath.Here, server can be Third-party payment server or social application server.Preset time period is, for example, 24 small When.
Step 405, second notification message is received from server, closes permission for virtual resource setting.
In this way, can show the prompt information of " having timed out " in interface when second user again taps on virtual resource. It further, further include returning field in second notification message, payment path (such as this twelve Earthly Branches of the second client according to virtual resource Pay or paid by third-party server) its numerical value is returned in former payment accounts.
It through the foregoing embodiment, will be empty in virtual resource config option when determining in conversation message including numerical information The initial value of quasi- resource is arranged to numerical information, and the number in the first user session message is matched to the corresponding amount of money, So that second user no longer needs to the step of inputting the amount of money, reducing repetitive operation, the utilization of resources of client is further improved Rate.
Fig. 6 is the exemplary process diagram of the processing method of the virtual resource of another embodiment according to the present invention.This method is answered For the second client used in second user.As shown in fig. 6, this method comprises the following steps:
Step 601, the conversation message of the first user is received, and shows conversation message in dialog box.
Step 602, judge in conversation message whether to include the first keyword for characterizing virtual resource.If so, executing step 603;Otherwise, step 601 is executed.
Step 603, judge in conversation message whether to include the second keyword for characterizing theme.If so, executing step 604; Otherwise, step 601 is executed.
In this step, the second keyword is for characterizing theme.Theme include a variety of red-letter days associated with the date or Person's activity.
Fig. 7 is the interface schematic diagram of the displaying conversation message of another embodiment according to the present invention.Interface shown in Fig. 7 Conversation message 722 " sending out a New Year's Day red packet to me " is shown in 700, in dialog box 720.Here, theme is New Year's Day, and second is crucial Word is " New Year's Day ".
Step 604, judge whether the second keyword matches with current date.If so, executing step 605;Otherwise, it executes Step 601.
For example, whether current date is January 1, if so, judging the second keyword " New Year's Day " and current date phase Match.
Step 605, pre-set virtual resource request option is shown in dialog box.
As it can be seen that after determining includes the first keyword of characterization virtual resource in conversation message, and determine to talk with Message further comprises the second keyword for characterizing theme and when the second keyword and current date matches, and shows empty Quasi- resource request option.
If the first user issued the conversation message of " sending out a New Year's Day red packet to me " on the same day on New Year's Day, then the second client will Corresponding conversation message shows the minute bubbles 723 in virtual resource request an option, such as Fig. 7.
Step 606, the operation done according to second user for virtual resource request option shows virtual resource configuration choosing ?.
Step 607, the operation done according to second user for virtual resource config option, generation virtual resource, and Virtual resource is shown in dialog box.
Through this embodiment, the theme in conversation message is judged, realizes the passive technology for initiating theme red packet Scheme meets user and actively asks for red packet, the quick demand for issuing red packet at theme red-letter day, and improve user uses body It tests.
Fig. 8 is the structural schematic diagram of the client 800 of an embodiment according to the present invention.The client 800 includes: reception mould Block 810, setup module 820, judgment module 830, display module 840, subscriber interface module 850 and generation module 860, wherein
Receiving module 810 is used for, and receives the conversation message of the first user;
Setup module 820 is used for, and presets virtual resource request option;
Judgment module 830 is used for, and determines in conversation message that receiving module 810 receives whether include characterization virtual resource The first keyword;
Display module 840 is used for, and the conversation message that receiving module 810 receives is shown in dialog box;When judging mould Block 830 determines to include that when characterizing the first keyword of virtual resource, setup module is shown in dialog box in conversation message The virtual resource of 820 settings requests option;It is requested according to the second user that subscriber interface module 850 receives for virtual resource The operation that option is done shows virtual resource config option;The virtual money that generation module 860 generates is shown in dialog box Source;
Subscriber interface module 850 is used for, and receives the operation that second user is done for virtual resource request option;Receive the Two users are directed to the operation that virtual resource config option is done;
Generation module 860 is used for, and the second user received according to subscriber interface module 850 is for virtual resource configuration choosing The operation that item is done generates virtual resource.
In an embodiment of the present invention, setup module 820 is used for, and addition is for characterizing void in virtual resource request option The mark of quasi- resource.
In an embodiment of the present invention, virtual resource config option includes the initial value of virtual resource, judgment module 830 It is further used for, determines in conversation message that receiving module 810 receives whether include numerical information;
Setup module 820 is further used for, when judgment module 830 determines the conversation message that receiving module 810 receives In include numerical information when, initial value is arranged to numerical information;When judgment module 830 determines that receiving module 810 receives To conversation message in do not include numerical information when, according to default value strategy setting initial value, and virtual resource configure Numerical value is set in option and replaces sub- option.
In an embodiment of the present invention, whether judgment module 830 is further used for, judge in conversation message to include characterization master Second keyword of topic, and judge whether the second keyword matches with current date;
Display module 840 is used for, when judgment module 830 determines that conversation message further comprises characterize theme second When keyword and the second keyword and current date match, show that virtual resource requests option.
In an embodiment of the present invention, virtual resource config option includes payment request option, subscriber interface module 850 into One step is used for, and is received second user and is directed to the operation that payment request option is done;
Client 800 further comprises:
Sending module 870, the second user for being received according to subscriber interface module 850 are directed to payment request option institute The operation done sends virtual resource payment request to third-party server, so that third-party server asks virtual resource payment It asks and is verified, after being verified, return to virtual resource to client and pay success message;
Receiving module 810 is further used for, and receives virtual resource from third-party server and pays success message;
Generation module 860 is used for, and after receiving virtual resource payment success message from third-party server, is generated virtual Resource.
In an embodiment of the present invention, display module 840 is further used for, and is received according to subscriber interface module 850 Second user is directed to the operation that payment request option is done, and shows payment request config option;
Generation module 860 is used for, and is directed to the operation that payment request config option is done according to second user, generates virtual money Source payment request.
In an embodiment of the present invention, sending module 870 is used for, after generation module 860 generates virtual resource, to service Device sends instruction generated first notification message of virtual resource, so that server starts timing according to the first notification message, and When not receiving the first user within a preset period of time and having received the confirmation message of virtual resource, it is empty that instruction is sent to client The second notification message that quasi- resource has timed out;
Setup module 820 is further used for, and is virtual resource according to the second notification message that receiving module 810 receives Permission is closed in setting.
Fig. 9 is the structural schematic diagram of the client 900 of another embodiment according to the present invention.The client 900 includes: processing Device 910, memory 920, port 930 and bus 940.Processor 910 and memory 920 are interconnected by bus 940.Processor 910 can send and receive data by port 930.Wherein,
Processor 910 is used to execute the machine readable instructions module of the storage of memory 920.
Memory 920 is stored with the executable machine readable instructions module of processor 910.The executable finger of processor 910 Enabling module includes: receiving module 921, setup module 922, judgment module 923, display module 924,925 and of subscriber interface module Generation module 926.Wherein,
Receiving module 921 can be with when being executed by processor 910 are as follows: receives the conversation message of the first user;
Setup module 922 can be with when being executed by processor 910 are as follows: presets virtual resource request option;
Judgment module 923 can be with when being executed by processor 910 are as follows: determines in conversation message that receiving module 921 receives It whether include the first keyword for characterizing virtual resource;
Display module 924 can be with when being executed by processor 910 are as follows: shows that receiving module 921 receives in dialog box Conversation message;When judgment module 923 is determined to include the first keyword of characterization virtual resource in conversation message, talking with The virtual resource for showing that setup module 922 is arranged in window requests option;It is used according to second that subscriber interface module 925 receives The operation that family is done for virtual resource request option, shows virtual resource config option;It is shown in dialog box and generates mould The virtual resource that block 926 generates;
Subscriber interface module 925 can be with when being executed by processor 910 are as follows: receives second user for virtual resource request choosing The operation that item is done;It receives second user and is directed to the operation that virtual resource config option is done;
Generation module 926 can be with when being executed by processor 910 are as follows: is used according to second that subscriber interface module 925 receives Family is directed to the operation that virtual resource config option is done, and generates virtual resource.
In embodiments of the present invention, the executable instruction module of processor 910 further comprises: sending module 927.
In an embodiment of the present invention, virtual resource config option includes payment request option, 925 quilt of subscriber interface module Processor 910 may further be to receive second user to be directed to the operation that payment request option is done when executing;
Sending module 927 can be to be used when being executed by processor 910 according to second that subscriber interface module 925 receives Family is directed to the operation that payment request option is done, and sends virtual resource payment request to third-party server, so that third party takes Business device verifies virtual resource payment request, after being verified, returns to virtual resource to client and pays success message;
Receiving module 921 may further be to receive virtual resource branch from third-party server when being executed by processor 910 Pay success message;
Generation module 926 can be to receive virtual resource payment from third-party server when being executed by processor 910 After success message, virtual resource is generated.
In an embodiment of the present invention, sending module 927 is used for, after generation module 926 generates virtual resource, to service Device sends instruction generated first notification message of virtual resource, so that server starts timing according to the first notification message, and When not receiving the first user within a preset period of time and having received the confirmation message of virtual resource, it is empty that instruction is sent to client The second notification message that quasi- resource has timed out;
Setup module 922 is further used for, and is virtual resource according to the second notification message that receiving module 921 receives Permission is closed in setting.
It can thus be seen that when storing the instruction module in memory 920 and being executed by processor 910, it can be achieved that preceding State receiving module, setup module, judgment module, display module, subscriber interface module, generation module and transmission in each embodiment The various functions of module.
In above-mentioned apparatus and system embodiment, modules and unit realize that the specific method of itself function is implemented in method It is described in example, which is not described herein again.
It, can also be in addition, each functional module in each embodiment of the present invention can integrate in one processing unit It is that modules physically exist alone, can also be integrated in one unit with two or more modules.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
In addition, each embodiment of the invention can pass through the data processing by data processing equipment such as computer execution Program is realized.Obviously, data processor constitutes the present invention.In addition, being commonly stored data in one storage medium Processing routine is by directly reading out storage medium for program or by installing or copying to data processing equipment for program It stores in equipment (such as hard disk and/or memory) and executes.Therefore, such storage medium also constitutes the present invention.Storage medium can be with Use any kind of recording mode, such as paper storage medium (such as paper tape), magnetic storage medium (such as floppy disk, hard disk, flash memory Deng), optical storage media (such as CD-ROM), magnetic-optical storage medium (such as MO) etc..
Therefore, the invention also discloses a kind of storage mediums, wherein it is stored with data processor, the data processor For executing any embodiment of the above method of the present invention.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the present invention.

Claims (15)

1. a kind of processing method of virtual resource characterized by comprising
The conversation message of the first user is received, and shows the conversation message in dialog box;
Virtual resource request option is preset, it is crucial including characterizing the first of virtual resource in the conversation message when determining When word, the virtual resource request option is shown in the dialog box;
According to the operation that second user is done for virtual resource request option, virtual resource config option is shown;And
It is directed to the operation that the virtual resource config option is done according to the second user, generates virtual resource, and described The virtual resource is shown in dialog box.
2. according to the method described in claim 1, wherein, the virtual resource request option that presets includes:
The mark for characterizing virtual resource is added in virtual resource request option.
3. according to the method described in claim 1, wherein, the virtual resource config option includes the initial of the virtual resource Numerical value, the method further includes:
When determining in the conversation message includes numerical information, the initial value is arranged to the numerical information;
When determining in the conversation message does not include numerical information, according to initial value described in default value strategy setting, And numerical value is set in the virtual resource config option and replaces sub- option.
4. described to show the virtual resource request choosing in the dialog box according to the method described in claim 1, wherein Include:
When determine the conversation message further comprise characterize theme the second keyword and second keyword with When current date matches, the virtual resource request option is shown.
5. method according to claim 1 to 4, wherein the virtual resource config option includes that payment is asked Option is sought, it is described that the operation that the virtual resource config option is done is directed to according to the second user, generate virtual resource packet It includes:
It is directed to the operation that the payment request option is done according to the second user, sends virtual resource to third-party server Payment request, so that the third-party server verifies the virtual resource payment request, after being verified, to visitor Family end returns to virtual resource and pays success message;
After virtual resource payment success message is received from the third-party server, the virtual resource is generated.
6. according to the method described in claim 5, further comprising:
It is directed to the operation that the payment request option is done according to the second user, shows payment request config option, wherein It is directed to the operation that the payment request config option is done according to the second user, generates the virtual resource payment request.
7. method according to claim 1 to 4 further comprises:
After generating the virtual resource, is sent to server and indicate generated first notification message of virtual resource, with Make the server according to first notification message, start timing, and does not receive described first within a preset period of time When user has received the confirmation message of the virtual resource, is sent to client and indicate that the virtual resource has timed out second is logical Know message;
According to the second notification message, permission is closed for virtual resource setting.
8. a kind of client, which is characterized in that including receiving module, setup module, judgment module, display module, user interface Module and generation module, wherein
The receiving module is used for, and receives the conversation message of the first user;
The setup module is used for, and presets virtual resource request option;
The judgment module is used for, and determines in conversation message that the receiving module receives whether include characterization virtual resource First keyword;
The display module is used for, and the conversation message that the receiving module receives is shown in dialog box;When the judgement Module determines to include that when characterizing the first keyword of virtual resource, institute is shown in the dialog box in the conversation message State the virtual resource request option of setup module setting;The second user received according to the subscriber interface module is for virtual The operation that resource request option is done shows virtual resource config option;The generation module is shown in the dialog box The virtual resource of generation;
The subscriber interface module is used for, and receives the operation that the second user is done for virtual resource request option; It receives the second user and is directed to the operation that the virtual resource config option is done;
The generation module is used for, and the second user received according to the subscriber interface module is for the virtual resource The operation that config option is done generates the virtual resource.
9. client according to claim 8, wherein the setup module is used for, and requests option in the virtual resource The middle mark added for characterizing virtual resource.
10. client according to claim 8, wherein the virtual resource config option includes the virtual resource Initial value, the judgment module are further used for, and determine in conversation message that the receiving module receives whether include number Value information;
The setup module is further used for, when the judgment module is determined in conversation message that the receiving module receives When including numerical information, the initial value is arranged to the numerical information;When the judgment module determines the reception When not including numerical information in the conversation message that module receives, according to initial value described in default value strategy setting, and Numerical value is set in the virtual resource config option and replaces sub- option.
11. client according to claim 8, wherein the judgment module is further used for, and judges the conversation message In whether include characterization theme the second keyword, and judge whether second keyword matches with current date;
The display module is used for, when the judgment module determines that the conversation message further comprises characterize theme the When two keywords and second keyword and current date match, the virtual resource request option is shown.
12. the client according to any one of claim 8 to 11, wherein the virtual resource config option includes branch Request option is paid, the subscriber interface module is further used for, and receives the second user for the payment request option institute The operation done;
The client further comprises:
Sending module, the second user for being received according to the subscriber interface module are directed to the payment request option The operation done sends virtual resource payment request to third-party server, so that the third-party server is to described virtual Resource payment request is verified, and after being verified, is returned to virtual resource to client and is paid success message;
The receiving module is further used for, and receives the virtual resource from the third-party server and pays success message;
The generation module is used for, raw after receiving the virtual resource payment success message from the third-party server At the virtual resource.
13. client according to claim 12, wherein the display module is further used for, according to user circle The second user that face mould block receives is directed to the operation that the payment request option is done, and shows payment request configuration choosing ?;
The generation module is used for, and is directed to the operation that the payment request config option is done according to the second user, is generated The virtual resource payment request.
14. the client according to any one of claim 8 to 11, further comprises:
Sending module, for being sent to server and indicating the virtual money after the generation module generates the virtual resource Generated first notification message in source, so that the server starts timing according to first notification message, and when default Between when not receiving first user in section and having received the confirmation message of the virtual resource, send instruction institute to client State the second notification message that virtual resource has timed out;
The setup module is further used for, and is the virtual money according to the second notification message that the receiving module receives Permission is closed in source setting.
15. a kind of computer readable storage medium, which is characterized in that be stored with computer-readable instruction, at least one can be made Processor executes the method as described in any one of claims 1 to 7.
CN201810825839.7A 2018-07-25 2018-07-25 Virtual resource processing method, client and storage medium Active CN109146437B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810825839.7A CN109146437B (en) 2018-07-25 2018-07-25 Virtual resource processing method, client and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810825839.7A CN109146437B (en) 2018-07-25 2018-07-25 Virtual resource processing method, client and storage medium

Publications (2)

Publication Number Publication Date
CN109146437A true CN109146437A (en) 2019-01-04
CN109146437B CN109146437B (en) 2022-03-29

Family

ID=64799038

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810825839.7A Active CN109146437B (en) 2018-07-25 2018-07-25 Virtual resource processing method, client and storage medium

Country Status (1)

Country Link
CN (1) CN109146437B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110288328A (en) * 2019-06-25 2019-09-27 腾讯科技(深圳)有限公司 Virtual objects sending method, method of reseptance, device, equipment and storage medium
CN111611075A (en) * 2020-05-19 2020-09-01 北京达佳互联信息技术有限公司 Virtual resource request processing method and device, electronic equipment and storage medium
CN111629038A (en) * 2020-05-19 2020-09-04 北京达佳互联信息技术有限公司 Virtual resource sharing processing method and device, server and storage medium
CN111638954A (en) * 2020-05-22 2020-09-08 支付宝实验室(新加坡)有限公司 Virtual resource allocation method and device and electronic equipment
CN111967878A (en) * 2020-08-28 2020-11-20 维沃移动通信有限公司 Red packet sending and distributing method, device and equipment
CN112184242A (en) * 2020-09-28 2021-01-05 维沃移动通信有限公司 Red packet resource sending method, device, equipment and storage medium
CN112308585A (en) * 2019-07-26 2021-02-02 腾讯科技(深圳)有限公司 Method, device and storage medium for realizing virtual resource distribution
CN113300937A (en) * 2021-03-10 2021-08-24 阿里巴巴新加坡控股有限公司 Resource allocation method, display method, device, system and equipment
CN113490004A (en) * 2021-06-29 2021-10-08 腾讯科技(深圳)有限公司 Live broadcast interaction method and related device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657849A (en) * 2014-02-14 2015-05-27 刘森 Concomitant payment method for realizing compensable instant communication between client sides
CN105976181A (en) * 2016-05-25 2016-09-28 财付通支付科技有限公司 Processing method for virtual resources, server, and client
CN106056369A (en) * 2016-06-02 2016-10-26 财付通支付科技有限公司 Information processing method and device
CN106487872A (en) * 2015-08-24 2017-03-08 阿里巴巴集团控股有限公司 The offer method and device of reward voucher, the distribution of virtual resource and get method
CN106960327A (en) * 2016-01-08 2017-07-18 深圳市星电商科技有限公司 The processing method of data packets, apparatus and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657849A (en) * 2014-02-14 2015-05-27 刘森 Concomitant payment method for realizing compensable instant communication between client sides
CN106487872A (en) * 2015-08-24 2017-03-08 阿里巴巴集团控股有限公司 The offer method and device of reward voucher, the distribution of virtual resource and get method
CN106960327A (en) * 2016-01-08 2017-07-18 深圳市星电商科技有限公司 The processing method of data packets, apparatus and system
CN105976181A (en) * 2016-05-25 2016-09-28 财付通支付科技有限公司 Processing method for virtual resources, server, and client
CN106056369A (en) * 2016-06-02 2016-10-26 财付通支付科技有限公司 Information processing method and device

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110288328A (en) * 2019-06-25 2019-09-27 腾讯科技(深圳)有限公司 Virtual objects sending method, method of reseptance, device, equipment and storage medium
CN112308585A (en) * 2019-07-26 2021-02-02 腾讯科技(深圳)有限公司 Method, device and storage medium for realizing virtual resource distribution
CN111611075A (en) * 2020-05-19 2020-09-01 北京达佳互联信息技术有限公司 Virtual resource request processing method and device, electronic equipment and storage medium
CN111629038A (en) * 2020-05-19 2020-09-04 北京达佳互联信息技术有限公司 Virtual resource sharing processing method and device, server and storage medium
CN111629038B (en) * 2020-05-19 2023-08-08 北京达佳互联信息技术有限公司 Virtual resource sharing processing method and device, server and storage medium
CN111611075B (en) * 2020-05-19 2024-03-05 北京达佳互联信息技术有限公司 Virtual resource request processing method and device, electronic equipment and storage medium
CN111638954A (en) * 2020-05-22 2020-09-08 支付宝实验室(新加坡)有限公司 Virtual resource allocation method and device and electronic equipment
CN111967878A (en) * 2020-08-28 2020-11-20 维沃移动通信有限公司 Red packet sending and distributing method, device and equipment
CN112184242A (en) * 2020-09-28 2021-01-05 维沃移动通信有限公司 Red packet resource sending method, device, equipment and storage medium
CN113300937A (en) * 2021-03-10 2021-08-24 阿里巴巴新加坡控股有限公司 Resource allocation method, display method, device, system and equipment
CN113300937B (en) * 2021-03-10 2023-08-29 淘宝(中国)软件有限公司 Resource allocation method, display method, device, system and equipment
CN113490004A (en) * 2021-06-29 2021-10-08 腾讯科技(深圳)有限公司 Live broadcast interaction method and related device

Also Published As

Publication number Publication date
CN109146437B (en) 2022-03-29

Similar Documents

Publication Publication Date Title
CN109146437A (en) Processing method, client and the storage medium of virtual resource
US11683279B2 (en) System and method of using conversational agent to collect information and trigger actions
JP6605151B2 (en) Bot interaction
EP3407549B1 (en) Resource sharing method, terminal and storage medium
CN105847988B (en) Video sharing method and apparatus
US10235663B2 (en) Method, system and server system of payment based on a conversation group
JP5909597B2 (en) Conversation establishment method, server, apparatus, conversation establishment system, device, program, and recording medium
WO2016131365A1 (en) Information processing method, client, server and computer readable storage medium
US10659408B2 (en) Media information release method, system, and computer storage medium
US10192274B2 (en) Method and device for providing online gifting
CN106027368B (en) Business data processing method and device
CN109102269A (en) Transfer account method and device, block chain node and storage medium based on block chain
CN106097023A (en) A kind of data processing method and device
CN103888600B (en) A kind of instant communication client
CN105207886B (en) Transmission, display methods and the transmission of instant communication message, display device and system
CN106357699A (en) Network system, service platform and login method and system of service platform
US20140236566A1 (en) Computer system and computer implemented method of setting up language translation services
CN106339947A (en) Method and device for performing business operation and acquiring group member information based on chat group
CN112087363A (en) Message processing method and device, terminal and server
CN110766394A (en) Bus taking payment method and device based on credit degree, electronic equipment and storage medium
CN108462658A (en) Object distribution method and device
CN108123839A (en) Message method, device, server and storage medium
CN108022126A (en) Definite method, apparatus, server and the storage medium of prize drawing qualification
CN108076042A (en) User information acquiring method, server and computer-readable medium
CN107506971A (en) Form a team to realize method, apparatus, server and the system using sharing articles task

Legal Events

Date Code Title Description
PB01 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