CN105976181A - Processing method for virtual resources, server, and client - Google Patents
Processing method for virtual resources, server, and client Download PDFInfo
- Publication number
- CN105976181A CN105976181A CN201610352465.2A CN201610352465A CN105976181A CN 105976181 A CN105976181 A CN 105976181A CN 201610352465 A CN201610352465 A CN 201610352465A CN 105976181 A CN105976181 A CN 105976181A
- Authority
- CN
- China
- Prior art keywords
- virtual resource
- client
- virtual
- request message
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title abstract description 12
- 238000000034 method Methods 0.000 claims abstract description 41
- 238000012790 confirmation Methods 0.000 claims abstract description 37
- 230000004044 response Effects 0.000 claims description 59
- 238000012545 processing Methods 0.000 claims description 16
- 230000008569 process Effects 0.000 claims description 5
- 239000011248 coating agent Substances 0.000 claims description 4
- 238000000576 coating method Methods 0.000 claims description 4
- 238000002360 preparation method Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 22
- 230000003993 interaction Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000007547 defect Effects 0.000 description 2
- 230000000977 initiatory effect Effects 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/387—Payment using discounts or coupons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/04—Payment circuits
- G06Q20/06—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
- G06Q20/065—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/12—Payment architectures specially adapted for electronic shopping systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q20/401—Transaction verification
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application discloses a processing method for virtual resources, a server, and a client. The method comprises: a fist virtual resource, a second virtual resource, and a combination strategy are configured, the first virtual resource is returned to a first client based on a first virtual resource request message received from the first client, and the second virtual resource is returned back to at least one second client according to a second virtual resource request message received from at least one second client; when an article exchange request message is received from the first client, the first virtual resource and at least one second virtual resource of at least one second client are obtained; and when the first virtual resource and the at least one second virtual resource are determined to be able to be combined based on the combination strategy, combined usage of the first virtual resource and the at least one second virtual resource is determined and an article exchange confirmation message is returned back to the first client. According to the technical scheme, the resource utilization rate of the client during virtual resource usage can be improved.
Description
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method, a server, and a client for processing virtual resources.
Background
With the rapid development of internet services, users can process various services on the internet. For example, to facilitate the user's daily life, the user may purchase items through electronic payment over the internet. In the course of such an exchange of items, the user may use some kind of virtual resource for the exchange of items. For example, a merchant may push out coupons of different values, attracting users to enter the merchant's store to purchase items.
At present, the virtual resources are limited to be used by one user, each user dominates own virtual resources, the virtual resources between different users cannot be used or shared simultaneously, and interaction between the users is lacked. Therefore, the user experience is not high, and the resource utilization rate of the client is reduced. Therefore, there is a need to improve the manner in which such virtual resources are used.
Disclosure of Invention
In view of this, the present invention provides a processing method of virtual resources, a server, and a client, which can improve the resource utilization rate of the client when using the virtual resources.
The technical scheme of the invention is realized as follows:
the invention provides a processing method of virtual resources, which comprises the following steps:
configuring a first virtual resource and a second virtual resource and a combination policy, returning the first virtual resource to a first client based on a first virtual resource request message received from the first client, and returning the second virtual resource to at least one second client based on a second virtual resource request message received from the at least one second client;
when receiving an item exchange request message from the first client, acquiring the first virtual resource and at least one second virtual resource of the at least one second client; and a process for the preparation of a coating,
when the first virtual resource and the at least one second virtual resource are judged to be combinable based on the combination strategy, the combined use of the first virtual resource and the at least one second virtual resource is determined, and an article exchange confirmation message is returned to the first client.
The invention also provides a processing method of the virtual resource, which comprises the following steps:
responding to user operation, sending a virtual resource request message to a server, and receiving a first virtual resource from the server;
receiving an item exchange response message from a client, wherein the client receives a second virtual resource from the server, sends an item exchange request message carrying the second virtual resource to the server, and receives the item exchange response message from the server; and a process for the preparation of a coating,
and sending a virtual resource combination request message carrying the first virtual resource to the server based on the operation of the user on the commodity exchange response message, and receiving a commodity exchange confirmation message from the server, wherein when the server judges that the first virtual resource and the second virtual resource can be combined based on a combination strategy, the server determines the combined use of the first virtual resource and the second virtual resource, and returns the commodity exchange confirmation message.
The present invention also provides a server, including:
the configuration module is used for configuring the first virtual resource, the second virtual resource and the combination strategy;
a receiving module, configured to receive a first virtual resource request message from a first client and a second virtual resource request message from a second client; receiving an item exchange request message from the first client;
a determining module, configured to obtain the first virtual resource and at least one second virtual resource of the at least one second client based on the commodity exchange request message received by the receiving module, and determine a combined usage of the first virtual resource and the at least one second virtual resource when it is determined that the first virtual resource and the at least one second virtual resource can be combined based on the combining policy;
a sending module, configured to return the first virtual resource configured by the configuration module to the first client based on the first virtual resource request message received by the receiving module, and return the second virtual resource configured by the configuration module to the at least one second client based on the second virtual resource request message received by the receiving module; and returning an article exchange confirmation message to the first client.
The invention provides a client, comprising: a sending module and a receiving module, wherein,
the sending module is used for responding to user operation and sending a virtual resource request message to the server; based on the operation of the user on the commodity exchange response message received by the receiving module, sending a virtual resource combination request message carrying the first virtual resource received by the receiving module to the server, so that the server determines the combined use of the first virtual resource and the at least one second virtual resource when judging that the first virtual resource and the at least one second virtual resource can be combined based on a combination policy;
the receiving module is used for receiving a first virtual resource from the server; receiving the commodity exchange response message from a second client, wherein the second client receives the second virtual resource from the server, sends a commodity exchange request message carrying the second virtual resource to the server, and receives the commodity exchange response message from the server; receiving an item exchange confirmation message from the server.
Compared with the prior art, the method provided by the invention utilizes the social relationship among the users when processing the virtual resources, introduces a new participating user, overcomes the defect that only the virtual resources of the client can be used in the prior art, and improves the resource utilization rate when the client uses the virtual resources to exchange articles.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts. Wherein,
FIG. 1a is a schematic block diagram of an implementation environment in accordance with an embodiment of the present invention;
FIG. 1b is a flowchart illustrating a method for processing virtual resources according to an embodiment of the present invention;
FIG. 2 is an exemplary flowchart of a method for processing virtual resources according to an embodiment of the invention;
FIG. 3a is a diagram of a virtual resource allocation table according to an embodiment of the invention;
FIG. 3b is a diagram illustrating a virtual resource allocation table according to another embodiment of the present invention;
FIG. 4 is an exemplary flowchart of a method for processing virtual resources according to another embodiment of the invention;
FIG. 5 is an exemplary flowchart of a method for processing virtual resources according to an embodiment of the invention;
FIG. 6 is an exemplary flowchart of a method for processing virtual resources according to another embodiment of the invention;
FIG. 7a is a diagram illustrating an interface for requesting a virtual resource according to an embodiment of the invention;
FIG. 7b is a schematic diagram of an interface showing an article exchange response message according to an embodiment of the invention;
FIG. 7c is a diagram illustrating an interface for exchanging commodity confirmation messages according to an embodiment of the present invention;
FIG. 8a is an interactive flowchart of a method for processing virtual resources according to an embodiment of the present invention;
FIG. 8b is an interactive flowchart of a method for processing virtual resources according to another embodiment of the present invention;
FIG. 9 is a block diagram of a server according to an embodiment of the present invention;
FIG. 10 is a block diagram of a server according to another embodiment of the present invention;
FIG. 11 is a diagram illustrating a server according to another embodiment of the present invention;
FIG. 12 is a block diagram of a client according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of a client according to another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1a is a schematic structural diagram of an implementation environment according to an embodiment of the present invention. As shown in FIG. 1a, a processing system 100 for virtual resources includes a first client 110, at least one second client 1201-120N, and a server 130. In an embodiment of the present invention, both the first client 110 and the at least one second client 1201-120N may obtain virtual resources, such as a coupon, a red packet, etc., from the server 130.
The first client 110 is a client that uses a virtual resource by logging in a browser or an Application (APP) with an account of a first user, for example, a user a logs in a webpage on the browser with his own account information on a terminal device a to purchase an item; any second client is a client which uses virtual resources by logging in a browser or an APP with an account of a second user, for example, a user B logs in a shopping APP with his own account information on a terminal device B to purchase an article. The terminal device a and the terminal device B may be the same or different.
When the first client 110, the second clients 1201-120N and the server 130 interact with each other, communication can be performed through a wireless network or a wired network.
FIG. 1b is a flowchart illustrating a method for processing virtual resources according to an embodiment of the present invention. The method is applied to the server. As shown in fig. 1b, the method may comprise the steps of:
step 101, configuring a first virtual resource, a second virtual resource and a combination policy.
Step 102, returning the first virtual resource to the first client based on the first virtual resource request message received from the first client, and returning the second virtual resource to the at least one second client based on the second virtual resource request message received from the at least one second client.
Step 103, when receiving the commodity exchange request message from the first client, obtaining the first virtual resource and at least one second virtual resource of at least one second client.
In an embodiment, the commodity exchange request message carries the first virtual resource and at least one second virtual resource of at least one second client, where the at least one second client sends the second virtual resource to the first client in advance. The server reads the commodity exchange request message to obtain the first virtual resource and at least one second virtual resource of the at least one second client.
And 104, when the first virtual resource and the at least one second virtual resource are judged to be combinable based on the combination strategy, determining the combined use of the first virtual resource and the at least one second virtual resource, and returning an article exchange confirmation message to the first client.
In this embodiment, the first client serves as a client initiating an item exchange request, and the virtual resource used for exchanging the item comes from not only the first client but also at least one second client. In the system shown in fig. 1, the first client 110 and the at least one second client 1201-120N together use their own virtual resources to initiate an exchange request for the same item to the server 130, for example, an order is submitted by one of the clients. The server judges whether the virtual resources from the plurality of clients can be used in combination, thereby determining whether the exchange of the articles is successful. For example, when multiple coupons from multiple clients can be used in combination, it is determined that the order can use the multiple coupons, thereby determining that the exchange of items was successful.
Fig. 2 is an exemplary flowchart of a processing method of a virtual resource according to an embodiment of the invention. The method is applied to the server and is described by taking any second client as an example. As shown in fig. 2, the method may include the steps of:
step 201, configuring a first virtual resource, a second virtual resource and a combination policy.
In this step, the server pre-configures a plurality of virtual resources including the first virtual resource and the second virtual resource, and assigns attribute information to each virtual resource. The attribute information includes any one or any several items of gender, geographic position, orientation and role. The combination policy includes attribute information of the virtual resources and a matching rule for determining whether any two virtual resources can be used in combination.
It is noted that each virtual resource may include one or more virtual resource items. The server sets an Identification (ID), a password and a specific numerical value for each virtual resource item. The values of the different virtual resource items may be the same or different.
FIG. 3a is a diagram of a virtual resource allocation table according to an embodiment of the invention. In fig. 3a, the attribute information is classified according to gender. The attribute information of the virtual resource 1 is gender, and comprises M virtual resource items, wherein M is more than or equal to 1; the attribute information of the virtual resource 2 is gender male, and comprises N virtual resource items, wherein N is more than or equal to 1. In addition, each virtual resource item has its own ID and password, and all the virtual resource items have the same value, which is 10.
FIG. 3b is a diagram of a virtual resource allocation table according to another embodiment of the invention. In fig. 3b, a total of 4 virtual resources are configured, and the attribute information is divided according to the geographical location, specifically, according to the city. For example, the attribute information of virtual resource 1 is Beijing, and includes L1 virtual resource items, L1 ≧ 1; the attribute information of the virtual resource 3 is Shenzhen, and comprises L3 virtual resource items, wherein L3 is more than or equal to 1. The values of the plurality of virtual resource items are different, and the value can be 5, 10, 20, 50 or 100.
Step 202, returning the first virtual resource to the first client based on the first virtual resource request message received from the first client, and returning the second virtual resource to the second client based on the second virtual resource request message received from the second client.
In this step, the first client receives the operation of the user, and sends a first virtual resource request message to the server to request to obtain a virtual resource, and at this time, the server returns the first virtual resource to the first client. Similarly, the second client receives the operation of the user, sends a second virtual resource request message to the server to request to obtain a virtual resource, and the server returns the second virtual resource to the second client at this time.
The server determines the first virtual resource and the second virtual resource from the plurality of virtual resources in the following two ways:
in the first mode, the first virtual resource and the second virtual resource are randomly selected from a plurality of virtual resources
For example, when the total number of virtual resource items included in each virtual resource is the same, the server may generate a random number, determine that one virtual resource is the first virtual resource according to the random number, and determine the second virtual resource according to another generated random number. Specifically, at least one virtual resource item in any virtual resource is randomly selected and sent to the first client or the second client.
For example, in the configuration table shown in fig. 3b, if L1, L2, L3, L4 and 100, it is randomly determined that the virtual resource item identified as 13 in the virtual resource 2 is sent to the first client, and the virtual resource item identified as 57 in the virtual resource 3 is sent to the second client.
In the second mode, the first virtual resource and the second virtual resource are selected according to the user account information carried in the virtual resource request message
Specifically, the first virtual resource request message carries user account information of the first client. And if the attribute information of the first virtual resource in the plurality of virtual resources is matched with the user account information of the first client, establishing an association relationship between the first virtual resource and the first client, and returning the first virtual resource to the first client. The second virtual resource request message carries user account information of the second client. And if the attribute information of a second virtual resource in the plurality of virtual resources is matched with the user account information of the second client, establishing an association relationship between the second virtual resource and the second client, and returning the second virtual resource to the second client.
For example, referring to fig. 3a, if the gender in the user account information of the first client is a woman, at least one virtual resource item in the virtual resource 1 whose attribute information is gender woman is sent to the first client as the first virtual resource, and the identifier of the user is recorded, so as to be used for counting the number of "issued" owned users of the virtual resource item in fig. 3 a. For another example, referring to fig. 3b, if the city in the user account information of the second client is shenzhen, at least one virtual resource item in the virtual resource 3 with the attribute information of shenzhen is sent to the second client as the second virtual resource, and the identifier of the user is recorded, so as to be used for counting the number of "issued" owning users of the virtual resource item in fig. 3 b.
When the attribute information and the user account information each include a plurality of information items, for example, both include a gender and a city, the above matching operation may be all matching, that is, all information items are the same; or the above matching operation is partial matching, that is, at least one information item is the same in all the information items, and the at least one information item may have the highest priority among all the information items.
Step 203, receiving the item exchange request message carrying the first virtual resource from the first client, and returning an item exchange response message to the first client.
In this step, the first client responds to the user operation, receives an instruction of exchanging an article, and sends an article exchange request message to the server, where the message carries a first virtual resource that the first client previously obtained from the server. And after the server returns the commodity exchange response message to the first client, the first client displays the commodity exchange response message, sends the commodity exchange response message to the second client, and enables the second client to send a virtual resource combination request message carrying second virtual resources to the server based on the operation of the user on the commodity exchange response message.
Step 204, receiving a virtual resource combination request message carrying the second virtual resource from the second client.
Here, the item exchange request message received by the server from the first client and the virtual resource combination request message received from the second client are for the same item to be exchanged, but carry different virtual resources.
And step 205, when the first virtual resource and the second virtual resource are judged to be combinable based on the combination strategy, determining the combined use of the first virtual resource and the second virtual resource, and returning an article exchange confirmation message to the first client and the second client.
The server may determine whether the first virtual resource and the second virtual resource can be used in combination according to the configured combination policy. When judging that the first virtual resource and the second virtual resource can be combined into a group of virtual resources, aiming at a request initiated by the first client for exchanging an article, the server uses the combined group of virtual resources to complete a final article exchange confirmation message and returns the final article exchange confirmation message to the first client and the second client. It can thus be seen that from the perspective of exchanging items, the first client is a requestor and the second client is a partner.
As can be seen from fig. 3a and 3b, each virtual resource corresponds to one attribute information, and a matching rule may be preset based on the attribute information. When the first virtual resource and/or the second virtual resource include multiple virtual resource items, since multiple resource items in the same virtual resource correspond to the same attribute information, it can still be determined whether multiple virtual resource items of the first virtual resource and/or multiple virtual resource items of the second virtual resource can be used in combination by using a matching rule based on the attribute information.
In this embodiment, an article exchange request message is received from a first client, a virtual resource combination request message is received from a second client, and it is further determined whether a first virtual resource and a second virtual resource carried by the first client and the second client can be combined into a group of virtual resources, when the first virtual resource and the second virtual resource can be combined, an article exchange confirmation message is returned to the first client and the second client, as a result, when the virtual resources are processed, a social relationship between users is utilized, a new participating user (such as the second client) is introduced, the defect that only the virtual resource of the user can be used in the prior art is overcome, the activity of the user and the satisfaction of using the virtual resource are improved, and the probability of successfully exchanging articles is improved, so that the resource utilization rate when the client uses the virtual resource for article exchange is improved.
Fig. 4 is an exemplary flowchart of a processing method of a virtual resource according to another embodiment of the present invention. The method is applied to the server. As shown in fig. 4, above the step 201-204 shown in fig. 2, the method further comprises a step 401-403.
In step 201, configuring the first virtual resource and the second virtual resource and the combination policy includes: the method includes the steps of presetting a plurality of attribute information aiming at the virtual resources, setting a matching rule for combining different virtual resources based on the attribute information, and respectively specifying the attribute information of the first virtual resource and the attribute information of the second virtual resource according to the attribute information.
Specifically, first, the content and the number of attribute information are set in advance, and then, matching rules for combining different virtual resources are set based on a plurality of attribute information. Specifically, if the respective attribute information of a plurality of virtual resources is the same, the plurality of virtual resources are combined into a group of virtual resources; and/or if the attribute information of the two virtual resources is opposite, combining the two virtual resources into a group of virtual resources; and/or if the attribute information of each of the plurality of virtual resources belongs to the same type, combining the plurality of virtual resources into a group of virtual resources.
For example, 2 virtual resources are preset as a group, the content of the attribute information is sex male and sex female, such as virtual resource 1 and virtual resource 2 shown in fig. 3a, at this time, the attribute information of the two virtual resources is opposite; or, 3 virtual resources are preset as a group, the content of the attribute information is respectively the china of the three countries, namely the china of the Shu, the country of the Wei and the country of the Wu, and at this time, the respective attribute information of the 3 virtual resources belongs to the same type; or, 4 virtual resources are preset as a group, the content of the attribute information is east, south, west and north respectively, and at this time, the respective attribute information of the 4 virtual resources belongs to the same type; or, 2 virtual resources are set in advance as a group, and the content of the attribute information is the same geographical location, and as shown in fig. 3b, the virtual resources 4 are all in the city, guangzhou, and at this time, the attribute information of the two virtual resources is the same.
In addition, the total number of virtual resource items in each virtual resource can be determined according to the relative relationship of the plurality of attribute information. For example, in fig. 3a, two attribute information refer to gender of male and female, and M may be set to 300 and N may be set to 700 in consideration of the ratio of male and female.
Step 401, determining whether the first virtual resource and the second virtual resource can be combined into a group of virtual resources according to the combination policy. If yes, go to step 403; otherwise, step 402 is performed.
In this step, when the attribute information of the first virtual resource and the attribute information of the second virtual resource satisfy the matching rule, it is determined that the first virtual resource and the second virtual resource can be combined into a group of virtual resources for use.
Step 402, article exchange failure message is returned to the first client and the second client.
Because the first virtual resource and the second virtual resource can not be used in a combined manner, the server returns an article exchange failure message to the first client, the article exchange failure message can carry prompt information indicating other virtual resources capable of meeting the matching rule, so that the first client can send an article exchange response message to another second client according to the prompt information, and then the another second client sends a virtual resource combination request message carrying the second virtual resources meeting the matching rule to the server.
Step 403, configuring a third virtual resource and a fourth virtual resource, returning an item exchange confirmation message and the third virtual resource to the first client, and returning an item exchange confirmation message and the fourth virtual resource to the second client.
Here, the third virtual resource and the fourth virtual resource only represent a new virtual resource, and the server may refer to the configuration manner of the first virtual resource and the second virtual resource when configuring, as described in step 201.
Through the embodiment, when the first virtual resource and the second virtual resource can be successfully combined, the server respectively sends the third virtual resource and the fourth virtual resource to the first client and the second client as reward means for using the virtual resources in a combined mode, so that users are stimulated to participate in cooperation, attractiveness of using the virtual resources in a combined mode is improved, and commodity exchange experience of the users is improved.
Fig. 5 is an exemplary flowchart of a processing method of virtual resources, which is applied to a first client according to an embodiment of the present invention. In this embodiment, the first client is a partner and the second client is a requestor from the perspective of exchanging items. As shown in fig. 5, the method comprises the following steps:
step 501, responding to a user operation, sending a virtual resource request message to a server, and receiving a first virtual resource from the server.
Before the commodity exchange, the first client and the second client obtain the virtual resource from the server in advance.
Step 502, an item exchange response message is received from the second client.
And the second client receives the second virtual resource from the server, sends an article exchange request message carrying the second virtual resource to the server, and receives an article exchange response message from the server.
Step 503, based on the operation of the user on the item exchange response message, sending a virtual resource combination request message carrying the first virtual resource to the server, and receiving an item exchange confirmation message from the server.
In this way, the server returns an article exchange confirmation message to the first client and the second client when judging that the first virtual resource and the second virtual resource can be combined into a group of virtual resources based on the combination policy.
Fig. 6 is an exemplary flowchart of a processing method of a virtual resource, which is applied to a first client according to an embodiment of the present invention. In this embodiment, the first client is a partner and the second client is a requestor from the perspective of exchanging items. As shown in fig. 6, the method comprises the following steps:
step 601, outputting a first option indicating that a virtual resource is requested.
FIG. 7a is a diagram illustrating an interface for requesting a virtual resource according to an embodiment of the invention. As shown in fig. 7a, in a display interface 710 of a terminal device where a first client is located, a first user logs in the first client by using its own account, login information "the first user is logged in" is displayed in a block 711, and information of items 1 to G including pictures, descriptions, and price information is displayed in the block 712, so that the user can conveniently browse and select items to be exchanged. In block 713, a prompt is displayed to "request to acquire virtual resource", block 713 may be in the form of a button or a representation such as a two-dimensional code.
Step 602, responding to the user operation, sending a virtual resource request message to the server, and receiving the first virtual resource from the server.
Step 603, receiving and displaying the article exchange response message from the second client.
Fig. 7b is a diagram illustrating an interface of the commodity exchange response message according to an embodiment of the present invention. In the interface 720, the contents of the commodity exchange response message "the second user requests purchase of the commodity X using the second virtual resource" are displayed in block 721, and the prompt message "please confirm participation in cooperation" of the commodity exchange response message is displayed in block 722.
Step 604, a second option indicating whether to use the first virtual resource is output.
As shown in fig. 7b, a second option is output in block 723 to display a prompt message "whether to use the first virtual resource".
Step 605, based on the operation performed by the user on the commodity exchange response message and the second option, sending a virtual resource combination request message carrying the first virtual resource to the server.
When the first user clicks "yes" in block 722 and "yes" in block 723 in fig. 7b, a virtual resource combination request message is sent to the server.
And step 606, receiving and displaying the commodity exchange confirmation message and the third virtual resource from the server.
Fig. 7c is a diagram illustrating an interface of an article exchange confirmation message according to an embodiment of the invention. In the interface 730, the contents of the commodity exchange confirm message "you have succeeded in purchasing the commodity X in cooperation with the second user" are displayed in the block 731, and the prompt information "please confirm the receipt of the third virtual resource as the bonus" to receive the third virtual resource "is displayed in the block 732.
Fig. 8a is an interaction flowchart of a processing method of a virtual resource according to an embodiment of the present invention, which includes interactions between a first client (acting as a requester of an item exchange), a second client (acting as a partner of the item exchange), and a server. The method specifically comprises the following steps:
in step 801, a server pre-configures a plurality of resources including a first virtual resource and a second virtual resource and a combination policy, and assigns attribute information to each virtual resource.
In specific implementation, the server determines a good matching rule and generates a plurality of coupons with different attributes.
In step 802, the first client sends a first virtual resource request message to the server in response to a user operation.
For example, a browser or APP where the first client is located outputs a pickup button or a two-dimensional code on an interface for a user to operate. After the first user logs in, the first client side clicks a get button or scans the two-dimensional code, receives an instruction for requesting to acquire the virtual resource, and then sends a first virtual resource request message to the server.
Step 803, the server returns the first virtual resource to the first client.
And step 804, the second client sends a second virtual resource request message to the server in response to the user operation.
Step 805, the server returns the second virtual resource to the second client.
Step 806, the first client receives an instruction to exchange an item in response to the user operation, and sends an item exchange request message carrying the first virtual resource to the server.
For example, a first user browses a shopping website or logs in a shopping APP, selects to purchase an item, uses a coupon, generates an order containing item information and the coupon, and sends the order to a server.
The server returns an item exchange response message to the first client, step 807.
The item exchange response message indicates that the first user successfully places an order and carries complete order information, i.e. order details.
Step 808, the first client displays the commodity exchange response message.
Step 809, the first client sends an item exchange response message to the second client.
In step 810, the second client receives the operation of the user on the commodity exchange response message.
Step 811, sending the virtual resource combination request message carrying the second virtual resource to the server.
For example, the second user opens the order details, confirms it, selects his own coupon, and submits the final order.
Step 812, determining whether the first virtual resource and the second virtual resource can be combined based on the combination policy. If so, go to step 815-; otherwise, step 813 and 814 are performed.
The server verifies the identities of the two users and confirms whether the passwords of the two coupons are accurate.
In step 813, the server returns an item exchange failure message to the second client.
Step 814, the server returns an item exchange failure message to the first client.
Step 815, the server configures a third virtual resource and a fourth virtual resource.
Step 816, the server returns an item exchange confirmation message and the fourth virtual resource to the second client.
In step 817, the server returns the commodity exchange confirm message and the third virtual resource to the first client.
For example, the server notifies the first user and the second user that the purchase was successful and releases the rewarded coupon.
In this embodiment, when there are multiple second clients as partners, the steps 804 and 805, 809 and 811, 813 and 816 are performed between each second client and the first client and the server.
FIG. 8b is an interaction flowchart of a processing method of virtual resources according to another embodiment of the invention. In this embodiment, the first client and the second client exchange respective virtual resources in advance, and then carry themselves and virtual resources from other clients when initiating the item exchange request. On the basis of steps 801-. Specifically, after steps 801 and 805 are performed,
step 806b, the first client sends the first virtual resource to the second client;
step 807b, the second client sends the second virtual resource to the first client;
when the first client, acting as a requestor, initiates an item exchange request,
step 808b, the first client responds to the user operation, receives an instruction of exchanging an article, and sends an article exchange request message carrying the first virtual resource and the second virtual resource to the server.
When the second client is acting as a requestor, the steps performed are shown as dashed line 808 b.
The server then performs steps 8012 along with 817 according to the received commodity exchange request message.
Fig. 9 is a schematic structural diagram of a server 900 according to an embodiment of the present invention. As shown in fig. 9, the server 900 includes:
a configuration module 910, configured to configure a first virtual resource, a second virtual resource, and a combination policy;
a receiving module 920, configured to receive a first virtual resource request message from a first client and a second virtual resource request message from a second client; receiving an item exchange request message carrying a first virtual resource from a first client;
a determining module 930, configured to obtain the first virtual resource and at least one second virtual resource of the at least one second client based on the commodity exchange request message received by the receiving module 920, and determine a combined usage of the first virtual resource and the at least one second virtual resource when it is determined that the first virtual resource and the at least one second virtual resource can be combined based on a combining policy;
a sending module 940, configured to return the first virtual resource configured by the configuration module 910 to the first client based on the first virtual resource request message received by the receiving module 920, and return the second virtual resource configured by the configuration module 910 to at least one second client based on the second virtual resource request message received by the receiving module 920; and returning an article exchange confirmation message to the first client and the second client.
Fig. 10 is a schematic structural diagram of a server 1000 according to another embodiment of the present invention. As shown in fig. 10, the configuration module 910 includes a setting unit 911 and a specifying unit 912.
In an embodiment, the setting unit 911 is configured to preset a plurality of virtual resources including a first virtual resource and a second virtual resource;
a specifying unit 912 configured to specify attribute information for each virtual resource;
the determining module 930 is further configured to, if the attribute information of a first virtual resource in the multiple virtual resources matches the user account information of the first client, establish an association relationship between the first virtual resource and the first client; and if the attribute information of a second virtual resource in the plurality of virtual resources is matched with the user account information of the second client, establishing an association relationship between the second virtual resource and the second client.
In an embodiment, the setting unit 911 is configured to preset a plurality of attribute information for the virtual resources, and set a matching rule for combining different virtual resources based on the plurality of attribute information;
a specifying unit 912 configured to specify attribute information of the first virtual resource and attribute information of the second virtual resource, respectively, based on the plurality of attribute information set by the setting unit 911;
the determining module 930 is configured to confirm that the first virtual resource and the second virtual resource can be combined when the attribute information of the first virtual resource and the attribute information of the second virtual resource satisfy the matching rule set by the setting unit 911.
In one embodiment, the attribute information includes any one or any several of gender, geographic location, orientation, and role; and/or
The setting unit 911 is configured to, if the attribute information of each of the plurality of virtual resources is the same, combine the plurality of virtual resources into a set of virtual resources; and/or if the attribute information of the two virtual resources is opposite, combining the two virtual resources into a group of virtual resources; and/or if the attribute information of each of the plurality of virtual resources belongs to the same type, combining the plurality of virtual resources into a group of virtual resources.
In an embodiment, the commodity exchange request message carries the first virtual resource and at least one second virtual resource of at least one second client, wherein the at least one second client sends the second virtual resource to the first client in advance;
the determining module 930 is configured to read the item exchange request message, so as to obtain the first virtual resource and at least one second virtual resource of the at least one second client.
In an embodiment, the commodity exchange request message carries a first virtual resource;
the sending module 940 is further configured to return an item exchange response message to the first client based on the item exchange request message, so that the first client sends the item exchange response message to the at least one second client, and the at least one second client sends a virtual resource combination request message carrying a second virtual resource to the server based on an operation performed by the user on the item exchange response message;
the receiving module 920 is further configured to receive a virtual resource combination request message from at least one client;
the determining module 930 is configured to read the item exchange request message, so as to obtain a first virtual resource; and reading the virtual resource combination request message so as to obtain at least one second virtual resource.
In an embodiment, the configuration module 910 is further configured to configure a third virtual resource and a fourth virtual resource;
the sending module 940 is further configured to, when an article exchange confirmation message is returned to the first client, return the third virtual resource configured by the configuration module 910 to the first client;
and when the commodity exchange confirmation message is returned to the second client, returning the fourth virtual resource configured by the configuration module to the second client.
Fig. 11 is a schematic structural diagram of a server 1100 according to another embodiment of the invention. The server 1100 may include: a processor 1110, a memory 1120, a port 1130, and a bus 1140. The processor 1110 and the memory 1120 are interconnected by a bus 1140. Processor 1110 can receive and transmit data via port 1130. Wherein,
the processor 1110 is configured to execute modules of machine-readable instructions stored by the memory 1120.
Memory 1120 stores modules of machine-readable instructions executable by processor 1110. The modules of instructions executable by processor 1110 include: a configuration module 1121, a receiving module 1122, a determining module 1123, and a sending module 1124. Wherein,
configuration module 1121, when executed by processor 1110, may be: configuring a first virtual resource, a second virtual resource and a combination strategy;
the receiving module 1122 when executed by the processor 1110 may be: receiving a first virtual resource request message from a first client and a second virtual resource request message from a second client; receiving an item exchange request message carrying a first virtual resource from a first client;
the determining module 1123, when executed by the processor 1110, may be: based on the commodity exchange request message received by the receiving module 1122, obtaining the first virtual resource and at least one second virtual resource of at least one second client, and when it is determined that the first virtual resource and the at least one second virtual resource can be combined based on the combination policy, determining the combined usage of the first virtual resource and the at least one second virtual resource;
the sending module 1124 when executed by the processor 1110 may be: returning the first virtual resource configured by the configuration module 1121 to the first client based on the first virtual resource request message received by the receiving module 1122, and returning the second virtual resource configured by the configuration module 1121 to at least one second client based on the second virtual resource request message received by the receiving module 1122; and returning an article exchange confirmation message to the first client and the second client.
It can be seen that the instructions stored in the memory 1120, when executed by the processor 1110, can implement various functions of the configuration module, the receiving module, the determining module and the sending module in the foregoing embodiments.
Fig. 12 is a schematic structural diagram of a client according to an embodiment of the present invention. As shown in fig. 12, the client 1200 includes:
the sending module 1210 is configured to send a virtual resource request message to a server in response to a user operation; based on the operation performed by the user on the commodity exchange response message received by the receiving module 1220, sending a virtual resource combination request message carrying the first virtual resource received by the receiving module 1220 to the server, so that when the server determines that the first virtual resource and the at least one second virtual resource can be combined, the combined use of the first virtual resource and the at least one second virtual resource is determined;
the receiving module 1220 is configured to receive a first virtual resource from a server; receiving an article exchange response message from a second client, wherein the second client receives a second virtual resource from the server, sends an article exchange request message carrying the second virtual resource to the server, and receives the article exchange response message from the server; an item exchange confirmation message is received from the server.
In addition, client 1200 also includes an output module 1230.
In one embodiment, the output module 1230 is configured to output a first option indicating that a virtual resource is requested;
the sending module 1210 is further configured to generate a virtual resource request message carrying account information of a user in response to an operation performed by the user on the first option output by the output module 1230.
In an embodiment, the output module 1230 is configured to expose the commodity exchange response message received by the receiving module 1220, and output a second option indicating whether to use the first virtual resource;
the sending module 1210 is configured to generate a virtual resource combination request message in response to an operation performed by a user on the second option output by the output module 1230.
In an embodiment, the receiving module 1220 is further configured to receive a third virtual resource from the server upon receiving the item exchange confirmation message.
Fig. 13 is a schematic structural diagram of a client according to another embodiment of the present invention. The server 1300 may include: a processor 1310, a memory 1320, a port 1330, and a bus 1340. The processor 1310 and the memory 1320 are interconnected by a bus 1340. Processor 1310 may receive and transmit data via port 1330. Wherein,
processor 1310 is configured to execute modules of machine-readable instructions stored in memory 1320.
Memory 1320 stores modules of machine-readable instructions executable by processor 1310. The processor 1310 may execute instruction modules including: a sending module 1321 and a receiving module 1322. Wherein,
the sending module 1321 when executed by the processor 1310 may be: responding to user operation, and sending a virtual resource request message to a server; based on the operation of the user on the commodity exchange response message received by the receiving module 1322, sending a virtual resource combination request message carrying the first virtual resource received by the receiving module 1322 to the server, so that when the server judges that the first virtual resource and the at least one second virtual resource can be combined, the combined use of the first virtual resource and the at least one second virtual resource is determined;
the receiving module 1322 when executed by the processor 1310 may be: receiving a first virtual resource from a server; receiving an article exchange response message from a second client, wherein the second client receives a second virtual resource from the server, sends an article exchange request message carrying the second virtual resource to the server, and receives the article exchange response message from the server; an item exchange confirmation message is received from the server.
In one embodiment, the instruction module further comprises: an output module 1323. Wherein,
the output module 1323, when executed by the processor 1310, may be: outputting a first option indicating that a virtual resource is requested;
the sending module 1321, when executed by the processor 1310, may be configured to receive an operation performed by a user on a first option output by the output module 1323, and generate a virtual resource request message carrying account information of the user.
It can thus be seen that the modules of instructions stored in memory 1320, when executed by processor 1310, enable the various functions of the transmit module, receive module, and output module of the various embodiments described above.
In the above device and system embodiments, the specific method for each module and unit to implement its own function is described in the method embodiment, and is not described here again.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each module may exist alone physically, or two or more modules are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
In addition, each of the embodiments of the present invention can be realized by a data processing program executed by a data processing apparatus such as a computer. It is clear that the data processing program constitutes the invention. Further, the data processing program, which is generally stored in one storage medium, is executed by directly reading the program out of the storage medium or by installing or copying the program into a storage device (such as a hard disk and/or a memory) of the data processing device. Such a storage medium therefore also constitutes the present invention. The storage medium may use any type of recording means, such as a paper storage medium (e.g., paper tape, etc.), a magnetic storage medium (e.g., a flexible disk, a hard disk, a flash memory, etc.), an optical storage medium (e.g., a CD-ROM, etc.), a magneto-optical storage medium (e.g., an MO, etc.), and the like.
The invention therefore also discloses a storage medium in which a data processing program is stored which is designed to carry out any one of the embodiments of the method according to the invention described above.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (22)
1. A method for processing virtual resources is characterized by comprising the following steps:
configuring a first virtual resource and a second virtual resource and a combination policy, returning the first virtual resource to a first client based on a first virtual resource request message received from the first client, and returning the second virtual resource to at least one second client based on a second virtual resource request message received from the at least one second client;
when receiving an item exchange request message from the first client, acquiring the first virtual resource and at least one second virtual resource of the at least one second client; and a process for the preparation of a coating,
when the first virtual resource and the at least one second virtual resource are judged to be combinable based on the combination strategy, the combined use of the first virtual resource and the at least one second virtual resource is determined, and an article exchange confirmation message is returned to the first client.
2. The method of claim 1, wherein the configuring the first virtual resource and the second virtual resource comprises:
presetting a plurality of virtual resources including the first virtual resource and the second virtual resource, and assigning attribute information to each virtual resource;
the method further comprises:
if the attribute information of the first virtual resource in the plurality of virtual resources is matched with the user account information of the first client, establishing an association relationship between the first virtual resource and the first client;
and if the attribute information of the second virtual resource in the plurality of virtual resources is matched with the user account information of the second client, establishing an association relationship between the second virtual resource and the second client.
3. The method of claim 1, wherein the configuring the first and second virtual resources and the combining policy comprises:
presetting a plurality of attribute information aiming at the virtual resources, and setting a matching rule for combining different virtual resources based on the attribute information;
respectively specifying attribute information of the first virtual resource and attribute information of the second virtual resource according to the plurality of attribute information; wherein when the attribute information of the first virtual resource and the attribute information of the second virtual resource satisfy the matching rule, it is confirmed that the first virtual resource and the second virtual resource can be combined.
4. The method of claim 3, wherein the attribute information comprises any one or any several of gender, geographic location, orientation, and role; and/or
The setting of the matching rule for combining different virtual resources based on the plurality of attribute information includes:
if the attribute information of the multiple virtual resources is the same, combining the multiple virtual resources into a group of virtual resources; and/or the presence of a gas in the gas,
if the attribute information of the two virtual resources is opposite, combining the two virtual resources into a group of virtual resources; and/or the presence of a gas in the gas,
and if the attribute information of each of the plurality of virtual resources belongs to the same type, combining the plurality of virtual resources into a group of virtual resources.
5. The method according to claim 1, wherein the commodity exchange request message carries the first virtual resource and at least one second virtual resource of the at least one second client, wherein the at least one second client sends the second virtual resource to the first client in advance;
the obtaining the first virtual resource and the at least one second virtual resource of the at least one second client includes:
reading the commodity exchange request message, thereby obtaining the first virtual resource and at least one second virtual resource of the at least one second client.
6. The method of claim 1, wherein the item exchange request message carries the first virtual resource;
the obtaining the first virtual resource and the at least one second virtual resource of the at least one second client includes:
returning an item exchange response message to the first client based on the item exchange request message, so that the first client sends the item exchange response message to the at least one second client, and the at least one second client sends a virtual resource combination request message carrying the second virtual resource based on the operation of the user on the item exchange response message;
reading the commodity exchange request message, thereby obtaining the first virtual resource;
receiving and reading the virtual resource combination request message from the at least one client, thereby obtaining the at least one second virtual resource.
7. The method of any of claims 1 to 6, further comprising:
configuring a third virtual resource and a fourth virtual resource;
returning the third virtual resource to the first client when returning the commodity exchange confirmation message to the first client;
returning the commodity exchange confirmation message and the fourth virtual resource to the at least one second client.
8. A method for processing virtual resources is characterized by comprising the following steps:
responding to user operation, sending a virtual resource request message to a server, and receiving a first virtual resource from the server;
receiving an item exchange response message from a client, wherein the client receives a second virtual resource from the server, sends an item exchange request message carrying the second virtual resource to the server, and receives the item exchange response message from the server; and a process for the preparation of a coating,
and sending a virtual resource combination request message carrying the first virtual resource to the server and receiving an article exchange confirmation message from the server based on the operation of the user on the article exchange response message, wherein the server determines the combined use of the first virtual resource and the at least one second virtual resource and returns the article exchange confirmation message when judging that the first virtual resource and the at least one second virtual resource can be combined based on a combination strategy.
9. The method of claim 8, further comprising:
outputting a first option indicating that a virtual resource is requested;
and responding to the operation of a user on the first option, and generating the virtual resource request message carrying the account information of the user.
10. The method of claim 8, further comprising:
presenting the commodity exchange response message and outputting a second option indicating whether to use the first virtual resource;
and generating the virtual resource combination request message in response to the operation of a user on the second option.
11. The method of any of claims 8 to 10, further comprising:
receiving and presenting a third virtual resource from the server upon receiving the commodity exchange confirmation message.
12. A server, comprising:
the configuration module is used for configuring the first virtual resource, the second virtual resource and the combination strategy;
a receiving module, configured to receive a first virtual resource request message from a first client and a second virtual resource request message from a second client; receiving an item exchange request message from the first client;
a determining module, configured to obtain the first virtual resource and at least one second virtual resource of the at least one second client based on the commodity exchange request message received by the receiving module, and determine a combined usage of the first virtual resource and the at least one second virtual resource when it is determined that the first virtual resource and the at least one second virtual resource can be combined based on the combining policy;
a sending module, configured to return the first virtual resource configured by the configuration module to the first client based on the first virtual resource request message received by the receiving module, and return the second virtual resource configured by the configuration module to the at least one second client based on the second virtual resource request message received by the receiving module; and returning an article exchange confirmation message to the first client.
13. The server of claim 12, wherein the configuration module comprises:
a setting unit configured to set in advance a plurality of virtual resources including the first virtual resource and the second virtual resource;
a specifying unit configured to specify attribute information for each virtual resource;
the judging module is further configured to establish an association relationship between the first virtual resource and the first client if the attribute information of the first virtual resource in the plurality of virtual resources matches the user account information of the first client; and if the attribute information of the second virtual resource in the plurality of virtual resources is matched with the user account information of the second client, establishing an association relationship between the second virtual resource and the second client.
14. The server of claim 12, wherein the configuration module comprises:
a setting unit configured to set a plurality of attribute information for the virtual resources in advance, and set a matching rule for combining different virtual resources based on the plurality of attribute information;
a specifying unit configured to specify attribute information of the first virtual resource and attribute information of the second virtual resource, respectively, according to a plurality of pieces of attribute information;
the judging module is configured to confirm that the first virtual resource and the second virtual resource can be combined when the attribute information of the first virtual resource and the attribute information of the second virtual resource satisfy the matching rule set by the setting unit.
15. The server according to claim 14, wherein the attribute information includes any one or any several of gender, geographic location, orientation, and role; and/or
The setting unit is used for combining the plurality of virtual resources into a group of virtual resources if the attribute information of the plurality of virtual resources is the same; and/or if the attribute information of the two virtual resources is opposite, combining the two virtual resources into a group of virtual resources; and/or if the attribute information of each of the plurality of virtual resources belongs to the same type, combining the plurality of virtual resources into a group of virtual resources.
16. The server according to claim 12, wherein the commodity exchange request message carries the first virtual resource and at least one second virtual resource of the at least one second client, wherein the at least one second client sends the second virtual resource to the first client in advance;
the determining module is configured to read the item exchange request message, so as to obtain the first virtual resource and at least one second virtual resource of the at least one second client.
17. The server according to claim 12, wherein the commodity exchange request message carries the first virtual resource;
the sending module is further configured to return an item exchange response message to the first client based on the item exchange request message, so that the first client sends the item exchange response message to the at least one second client, and the at least one second client sends a virtual resource combination request message carrying the second virtual resource to the server based on an operation performed by a user on the item exchange response message;
the receiving module is further configured to receive the virtual resource combination request message from the at least one client;
the judging module is used for reading the article exchange request message so as to obtain the first virtual resource; reading the virtual resource combination request message, thereby obtaining the at least one second virtual resource.
18. The server of any of claims 12 to 17, wherein the configuration module is further configured to configure a third virtual resource and a fourth virtual resource;
the sending module is further configured to, when the commodity exchange confirmation message is returned to the first client, return the third virtual resource configured by the configuration module to the first client;
and returning the commodity exchange confirmation message and the fourth virtual resource configured by the configuration module to the at least one second client.
19. A client, comprising: a sending module and a receiving module, wherein,
the sending module is used for responding to user operation and sending a virtual resource request message to the server; based on the operation of the user on the commodity exchange response message received by the receiving module, sending a virtual resource combination request message carrying the first virtual resource received by the receiving module to the server, so that the server determines the combined use of the first virtual resource and the at least one second virtual resource when judging that the first virtual resource and the at least one second virtual resource can be combined based on a combination policy;
the receiving module is used for receiving a first virtual resource from the server; receiving the commodity exchange response message from a second client, wherein the second client receives the second virtual resource from the server, sends a commodity exchange request message carrying the second virtual resource to the server, and receives the commodity exchange response message from the server; receiving an item exchange confirmation message from the server.
20. The client of claim 19, further comprising:
an output module to output a first option indicating a request for a virtual resource;
the sending module is further configured to generate the virtual resource request message carrying the account information of the user in response to an operation performed by the user for the first option.
21. The client of claim 19, further comprising:
an output module for presenting the commodity exchange response message and outputting a second option indicating whether to use the first virtual resource;
the sending module is further configured to generate the virtual resource combination request message in response to an operation performed by a user with respect to the second option.
22. The client according to any one of claims 19 to 21, wherein the receiving module is further configured to receive and present a third virtual resource from the server upon receiving the commodity exchange confirmation message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610352465.2A CN105976181A (en) | 2016-05-25 | 2016-05-25 | Processing method for virtual resources, server, and client |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610352465.2A CN105976181A (en) | 2016-05-25 | 2016-05-25 | Processing method for virtual resources, server, and client |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105976181A true CN105976181A (en) | 2016-09-28 |
Family
ID=56955881
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610352465.2A Pending CN105976181A (en) | 2016-05-25 | 2016-05-25 | Processing method for virtual resources, server, and client |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105976181A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106815744A (en) * | 2016-12-12 | 2017-06-09 | 网易无尾熊(杭州)科技有限公司 | A kind of e-sourcing distribution method, equipment and system |
CN107665453A (en) * | 2017-08-31 | 2018-02-06 | 北京三快在线科技有限公司 | A kind of processing method of virtual resource, device and server |
CN107886346A (en) * | 2016-09-30 | 2018-04-06 | 阿里巴巴集团控股有限公司 | Data object resource information processing method and device |
CN109146437A (en) * | 2018-07-25 | 2019-01-04 | 腾讯科技(深圳)有限公司 | Processing method, client and the storage medium of virtual resource |
CN109325745A (en) * | 2018-07-18 | 2019-02-12 | 深圳市金泽智联信息技术有限公司 | A kind of the exchange method, apparatus and terminal device of fictitious assets |
CN113888291A (en) * | 2021-12-08 | 2022-01-04 | 北京达佳互联信息技术有限公司 | Virtual space processing method and device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104125297A (en) * | 2014-08-06 | 2014-10-29 | 华为技术有限公司 | Virtual resource sharing method, device and system |
CN104348830A (en) * | 2014-10-16 | 2015-02-11 | 腾讯科技(深圳)有限公司 | Resource exchanging method, device and system |
CN104780137A (en) * | 2014-01-09 | 2015-07-15 | 腾讯科技(深圳)有限公司 | Data processing method, device, client, server and system |
CN105160522A (en) * | 2015-07-31 | 2015-12-16 | 腾讯科技(深圳)有限公司 | Virtual resource transfer method, related device and system |
-
2016
- 2016-05-25 CN CN201610352465.2A patent/CN105976181A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104780137A (en) * | 2014-01-09 | 2015-07-15 | 腾讯科技(深圳)有限公司 | Data processing method, device, client, server and system |
CN104125297A (en) * | 2014-08-06 | 2014-10-29 | 华为技术有限公司 | Virtual resource sharing method, device and system |
CN104348830A (en) * | 2014-10-16 | 2015-02-11 | 腾讯科技(深圳)有限公司 | Resource exchanging method, device and system |
CN105160522A (en) * | 2015-07-31 | 2015-12-16 | 腾讯科技(深圳)有限公司 | Virtual resource transfer method, related device and system |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107886346A (en) * | 2016-09-30 | 2018-04-06 | 阿里巴巴集团控股有限公司 | Data object resource information processing method and device |
CN107886346B (en) * | 2016-09-30 | 2022-02-01 | 阿里巴巴集团控股有限公司 | Data object resource information processing method and device |
CN106815744A (en) * | 2016-12-12 | 2017-06-09 | 网易无尾熊(杭州)科技有限公司 | A kind of e-sourcing distribution method, equipment and system |
CN107665453A (en) * | 2017-08-31 | 2018-02-06 | 北京三快在线科技有限公司 | A kind of processing method of virtual resource, device and server |
CN109325745A (en) * | 2018-07-18 | 2019-02-12 | 深圳市金泽智联信息技术有限公司 | A kind of the exchange method, apparatus and terminal device of fictitious assets |
CN109146437A (en) * | 2018-07-25 | 2019-01-04 | 腾讯科技(深圳)有限公司 | Processing method, client and the storage medium of virtual resource |
CN113888291A (en) * | 2021-12-08 | 2022-01-04 | 北京达佳互联信息技术有限公司 | Virtual space processing method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105976181A (en) | Processing method for virtual resources, server, and client | |
JP6875433B2 (en) | Service processing methods and devices, and service servers | |
WO2017129083A1 (en) | Method, device, and system for message processing and computer storage medium | |
RU2642328C2 (en) | Making purchases with assistance of other equal network members | |
CN103078830B (en) | Website information provides and sharing method, good friend's adding method and relevant device | |
CN116843420A (en) | Information processing method, information processing device, storage medium and electronic equipment | |
WO2017005097A1 (en) | Methods and devices for carrying out service operation on the basis of a chat group and acquiring group member information | |
WO2017133329A1 (en) | Information processing method, server, first terminal and computer storage medium | |
KR20230134400A (en) | method of implementing a platform that implements an avatar in the metaverse and its server | |
CN103166828A (en) | Interoperate method and system of social networking services | |
WO2018081966A1 (en) | User association method, terminal and server | |
CN109274575B (en) | Message sending method and device and electronic equipment | |
KR101783431B1 (en) | Method for providing funding and consulting information related with entertainment by crowd funding system | |
CN110533403A (en) | A kind of method and relevant apparatus of consumption processing | |
CN104917631B (en) | Prediction initiation, participation and information processing method, apparatus and system | |
CN105335883A (en) | Order processing method and device | |
CN104618420A (en) | Information display method and device | |
CN108874836B (en) | Method and device for transferring electronic ticket | |
JP2018518771A (en) | Transaction processing method and system | |
KR20180016735A (en) | Business processing methods and devices | |
US20150287114A1 (en) | Computer-implemented system of grouping buyer requests matching in combination with a seller offer | |
WO2017062847A1 (en) | Networked request fulfillment and offer/acceptance communications | |
CN110580637A (en) | advertisement putting method, demander platform and computer storage medium | |
CN115439195A (en) | Virtual account creation method, system, server and computer readable storage medium | |
CN112184277B (en) | Virtual article package transmitting and receiving method, device, equipment and storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160928 |
|
RJ01 | Rejection of invention patent application after publication |