Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide a method for transferring a usage right of a virtual commodity, which enables the usage right to be transferred before a user.
Correspondingly, the embodiment of the invention also provides a device and equipment for transferring the virtual commodity use right, which are used for ensuring the realization and application of the method.
In order to solve the above problem, an embodiment of the present invention discloses a method for transferring usage rights of a virtual commodity, where the method includes:
receiving a request initiated by a source user account number for transferring the use right of the virtual commodity; the virtual commodity is provided with a virtual commodity identifier, and the virtual commodity identifier is associated with the source user account;
generating transfer information of the virtual commodity according to the request;
transmitting transfer information of the virtual commodity;
receiving virtual commodity use right acquisition information returned by the target user account aiming at the transfer information;
and according to the virtual commodity use right acquisition information, the association between the source user account and the virtual commodity identification is released, and the association between the target user account and the virtual commodity identification is increased.
Preferably, the request is a request initiated by the source user account on a common platform to transfer usage rights of the virtual commodity, the target user account is a user account that obtains transfer information of the virtual commodity from the common platform and requests to obtain the usage rights of the virtual commodity, and the step of sending the transfer information of the virtual commodity includes:
and sending the transfer information of the virtual commodity to the public platform.
Preferably, the request is a request initiated by the source user account to the target user account to transfer the usage right of the virtual commodity, and the step of sending transfer information of the virtual commodity includes:
and sending the transfer information of the virtual commodity to the target user account.
Preferably, the virtual good identification is associated with an authorization status of the virtual good.
Preferably, after the step of generating transfer information of the virtual commodity according to the request, the method further includes:
changing the authorization state of the virtual commodity into a waiting for transferring out state; and the waiting transferring-out state is a state of forbidding the source user account to download, install and use the virtual commodity.
Preferably, the method further comprises:
when the target user account returns virtual commodity use right rejection information aiming at the transfer information, changing the authorization state of the virtual commodity into a normal state according to the virtual commodity use right rejection information; and the normal state is a state of allowing the source user account to download, install and use the virtual commodity.
Preferably, before or after the step of receiving the request for transferring the usage rights of the virtual commodity initiated by the source user account, the method further comprises:
receiving the source user account, and the equipment identifier and the virtual commodity identifier corresponding to the source user account;
inquiring the authorization state of the virtual commodity when the source user account and the virtual commodity identification have an incidence relation;
when the authorization state is a normal state, generating an authorization file according to the source user account, the equipment identifier corresponding to the source user account and the virtual commodity identifier; the normal state is a state allowing the source user account to download, install and use the virtual commodity;
sending the authorization file to equipment corresponding to the source user account; and the equipment corresponding to the source user account is used for allowing the source user account to transfer the use right of the virtual commodity when the authorization file is verified to be legal.
Preferably, when the authorization status is a normal status, the step of generating the authorization file according to the source user account, the device identifier corresponding to the source user account, and the virtual product identifier includes:
creating an authorization file according to the DRM specification of the content digital rights encryption protection technology;
adding the source user account, the equipment identifier corresponding to the source user account and the virtual commodity identifier to the authorization file;
signing the source user account, the equipment identification and the virtual commodity identification corresponding to the source user account by using a private key;
adding the private key signature to the authorization file;
the equipment corresponding to the source user account verifies whether the authorization file is legal or not through the following modes:
analyzing the authorization file, and extracting the source user account, the equipment identifier corresponding to the source user account and the virtual commodity identifier signature from the authorization file;
signing the source user account, the equipment identification corresponding to the source user account and the virtual commodity identification by using a public key;
comparing the public key signature with the private key signature; when the public key signature is consistent with the private key signature, judging that the authorization file is legal; and when the public key signature is inconsistent with the private key signature, judging that the authorization file is illegal.
Preferably, after the step of receiving the request for transferring the usage rights of the virtual commodity initiated by the source user account, the method further comprises:
generating an operation instruction for deleting the virtual commodity and the corresponding authorization file;
sending the operation instruction to equipment corresponding to the source user account; and the equipment corresponding to the source user account is used for deleting the virtual commodity and the corresponding authorization file according to the operation instruction.
Preferably, the method further comprises:
when the target user account returns virtual commodity use right rejection information aiming at the transfer information, generating an operation instruction for adding the virtual commodity and a corresponding authorization file;
sending the operation instruction to equipment corresponding to the source user account; and the equipment corresponding to the source user account is also used for adding the virtual commodity and the corresponding authorization file according to the operation instruction.
Preferably, after the step of releasing the association between the source user account and the virtual product identifier according to the virtual product usage right acquisition information and the step of adding the association between the target user account and the virtual product identifier, the method further includes:
generating an operation instruction for adding the virtual commodity and the corresponding authorization file;
sending the operation instruction to equipment corresponding to the target user account; and the equipment corresponding to the target user account is used for adding the virtual commodity and the corresponding authorization file according to the operation instruction.
Preferably, after the step of receiving the request for transferring the usage rights of the virtual commodity initiated by the source user account, the method further comprises:
generating prompt information for judging whether to delete the historical data of the virtual commodity used by the source user account;
sending the prompt information to equipment corresponding to the source user account;
receiving deletion confirmation information returned by the source user account aiming at the prompt information, or receiving deletion rejection information returned by the source user account aiming at the prompt information;
and/or the presence of a gas in the gas,
generating prompt information whether the source user account loses the virtual commodity use right;
sending the prompt information to equipment corresponding to the source user account;
receiving a loss confirmation message returned by the source user account aiming at the prompt message, and executing the step of generating the transfer information of the virtual commodity according to the request according to the loss confirmation message; or receiving the loss rejection information returned by the source user account aiming at the prompt information, and terminating the transfer of the virtual commodity use right according to the loss rejection information.
Preferably, after the step of receiving the virtual commodity usage right acquisition information returned by the target user account for the transfer information, the method further includes:
deleting the historical data of the virtual commodity used by the source user account according to the deletion confirmation information;
or,
and reserving historical data of the virtual commodity used by the source user account according to the deletion refusing information.
The embodiment of the invention discloses a transfer device of virtual commodity use right, which comprises:
the transfer request receiving module is used for receiving a request initiated by a source user account for transferring the virtual commodity usage right; the virtual commodity is provided with a virtual commodity identifier, and the virtual commodity identifier is associated with the source user account;
the transfer information generation module is used for generating transfer information of the virtual commodity according to the request;
the transfer information sending module is used for sending transfer information of the virtual commodities;
the usage right acquisition information receiving module is used for receiving virtual commodity usage right acquisition information returned by the target user account aiming at the transfer information;
the association releasing module is used for releasing the association between the source user account and the virtual commodity identification according to the virtual commodity use right acquisition information;
and the association increasing module is used for increasing the association between the target user account and the virtual commodity identifier.
Preferably, the request is a request initiated by the source user account on a common platform to transfer the usage right of the virtual commodity, and the target user account is a user account that obtains transfer information of the virtual commodity from the common platform and requests to obtain the usage right of the virtual commodity, and the transfer information sending module includes:
and the first sending submodule is used for sending the transfer information of the virtual commodity to the public platform.
Preferably, the request is a request for transferring the usage right of the virtual commodity initiated by the source user account to the target user account, and the transfer information sending module includes:
and the second sending submodule is used for sending the transfer information of the virtual commodity to the target user account.
Preferably, the virtual good identification is associated with an authorization status of the virtual good.
Preferably, the apparatus further comprises:
the first authorization state changing module is used for changing the authorization state of the virtual commodity into a waiting for transferring out state; and the waiting transferring-out state is a state of forbidding the source user account to download, install and use the virtual commodity.
Preferably, the apparatus further comprises:
a second authorization state changing module, configured to change, when the target user account returns virtual commodity usage right rejection information for the assignment information, an authorization state of the virtual commodity to a normal state according to the virtual commodity usage right rejection information; and the normal state is a state of allowing the source user account to download, install and use the virtual commodity.
Preferably, the apparatus further comprises:
the source information receiving module is used for receiving the source user account, the equipment identifier corresponding to the source user account and the virtual commodity identifier;
the authorization state query module is used for querying the authorization state of the virtual commodity when the source user account and the virtual commodity identification have an incidence relation;
the authorization file generation module is used for generating an authorization file according to the source user account, the equipment identifier corresponding to the source user account and the virtual commodity identifier when the authorization state is a normal state; the normal state is a state allowing the source user account to download, install and use the virtual commodity;
the authorization file sending module is used for sending the authorization file to equipment corresponding to the source user account; and the equipment corresponding to the source user account is used for allowing the source user account to transfer the use right of the virtual commodity when the authorization file is verified to be legal.
Preferably, the authorization file generation module includes:
the authorization file creating submodule is used for creating an authorization file according to the DRM specification of the content digital copyright encryption protection technology;
the source information adding submodule is used for adding the source user account, the equipment identifier corresponding to the source user account and the virtual commodity identifier to the authorization file;
the private key signature module is used for signing the source user account, the equipment identification and the virtual commodity identification corresponding to the source user account by using a private key;
a private key adding submodule for adding the private key signature to the authorization file;
the device corresponding to the source user account is used for verifying whether the authorization file is legal or not through the following modes:
analyzing the authorization file, and extracting the source user account, the equipment identifier corresponding to the source user account and the virtual commodity identifier signature from the authorization file;
signing the source user account, the equipment identification corresponding to the source user account and the virtual commodity identification by using a public key;
comparing the public key signature with the private key signature; when the public key signature is consistent with the private key signature, judging that the authorization file is legal; and when the public key signature is inconsistent with the private key signature, judging that the authorization file is illegal.
Preferably, the apparatus further comprises:
the first operation instruction generation module is used for generating an operation instruction for deleting the virtual commodity and the corresponding authorization file;
the first operation instruction sending module is used for sending the operation instruction to equipment corresponding to the source user account; and the equipment corresponding to the source user account is used for deleting the virtual commodity and the corresponding authorization file according to the operation instruction.
Preferably, the apparatus further comprises:
a second operation instruction generating module, configured to generate an operation instruction for adding the virtual commodity and a corresponding authorization file when the target user account returns virtual commodity usage right rejection information for the assignment information;
the second operation instruction sending module is used for sending the operation instruction to the equipment corresponding to the source user account; and the equipment corresponding to the source user account is also used for adding the virtual commodity and the corresponding authorization file according to the operation instruction.
Preferably, the apparatus further comprises:
the third operation instruction generating module is used for generating an operation instruction for adding the virtual commodity and the corresponding authorization file;
a third operation instruction sending module, configured to send the operation instruction to a device corresponding to the target user account; and the equipment corresponding to the target user account is used for adding the virtual commodity and the corresponding authorization file according to the operation instruction.
Preferably, the apparatus further comprises:
the first prompt information generation module is used for generating prompt information for judging whether to delete the historical data of the virtual commodity used by the source user account;
the first prompt information sending module is used for sending the prompt information to equipment corresponding to the source user account;
a deletion confirmation information receiving module, configured to receive deletion confirmation information returned by the source user account for the prompt information;
a deletion rejection information receiving module, configured to receive deletion rejection information returned by the source user account for the prompt information;
and/or the presence of a gas in the gas,
the second prompt message generation module is used for generating prompt messages for judging whether the source user account loses the use right of the virtual commodity;
the second prompt information sending module is used for sending the prompt information to equipment corresponding to the source user account;
a lost confirmation information receiving module, configured to receive lost confirmation information returned by the source user account for the prompt information;
the transfer information sending module is used for sending transfer information to the transfer module according to the confirmation loss information;
a loss information rejection receiving module, configured to receive the loss information rejection returned by the source user account for the prompt information;
and the transfer termination module is used for terminating the transfer of the virtual commodity usage right according to the loss rejection information.
Preferably, the apparatus further comprises:
a historical data deleting module, configured to delete the historical data of the virtual commodity used by the source user account according to the deletion confirmation information;
or,
and the historical data retaining module is used for retaining the historical data of the virtual commodity used by the source user account according to the deletion refusing information.
The embodiment of the invention discloses equipment, which comprises:
one or more processors;
a memory; and
one or more modules stored in the memory and configured to be executed by the one or more processors, the one or more modules having the functionality to:
receiving a request initiated by a source user account number for transferring the use right of the virtual commodity; the virtual commodity is provided with a virtual commodity identifier, and the virtual commodity identifier is associated with the source user account;
generating transfer information of the virtual commodity according to the request;
transmitting transfer information of the virtual commodity;
receiving virtual commodity use right acquisition information returned by the target user account aiming at the transfer information;
and according to the virtual commodity use right acquisition information, the association between the source user account and the virtual commodity identification is released, and the association between the target user account and the virtual commodity identification is increased.
Compared with the background art, the embodiment of the invention has the following advantages:
according to the embodiment of the invention, the user account loses the use right of the virtual commodity through the release of the association between the user account and the virtual commodity identifier, and the user account obtains the use right of the virtual commodity through the establishment of the association between the other user account and the virtual commodity identifier, so that the transfer of the use right of the virtual commodity among users is realized, and the operation is simple and convenient.
According to the embodiment of the invention, the source user account does not need to be logged in on the equipment of the target user, so that the risk of revealing user account data is reduced, the safety is high, the limitation of installation times is not limited, and the flexibility is high.
According to the embodiment of the invention, the user is prompted to clear the historical data of the virtual commodity before transfer, so that the transfer safety is improved.
Detailed Description
In order to make the aforementioned objects, features and advantages of the embodiments of the present invention more comprehensible, embodiments of the present invention are described in detail below with reference to the accompanying drawings and the detailed description.
Referring to fig. 1a, a flowchart illustrating steps of an embodiment of a method for transferring usage rights of a virtual commodity according to an embodiment of the present invention is shown, in the embodiment of the present invention, a virtual commodity has a virtual commodity identifier, and the virtual commodity identifier is associated with a source user account; the present embodiment may include the following steps:
step 101, receiving a request initiated by a source user account for transferring the use right of a virtual commodity; the virtual commodity has a virtual commodity identifier, and the virtual commodity identifier is associated with the source user account;
102, generating transfer information of the virtual commodity according to the request;
step 103, transmitting transfer information of the virtual commodity;
104, receiving virtual commodity use right acquisition information returned by the target user account aiming at the transfer information;
105, according to the virtual commodity use right acquisition information, removing the association between the source user account and the virtual commodity identification;
and step 106, increasing the association between the target user account and the virtual commodity identification.
It should be noted that the virtual product may be a third-party application, an electronic song, an electronic book, and other digital products, which is not limited in this embodiment of the present invention. If the owner of the virtual good (e.g., sales platform side, developer, etc.) allows the usage rights for the virtual good to be transferred, when the user who has purchased the virtual good no longer uses the virtual good, the user can transfer the usage rights he has to other users who wish to use the virtual good. Then, the source user may be a user who initiates transfer of the virtual goods, and the target user may be a user who receives the virtual goods. Of course, the information interaction between users is performed based on the corresponding account.
In order to make those skilled in the art better understand the embodiments of the present invention, the manner in which the product management center manages the virtual product of the user is described as an example in the present specification.
The user operates the virtual commodity on the equipment, and the commodity management center built in the operating system can communicate with the server to realize the control of the authority. If the user wants to download or install the virtual goods purchased by the user, the user needs to perform corresponding operations in the goods management center of the device.
In a commerce management center, a user is required to log in using an account and a password. After the user logs in the commodity management center by using the own account and the password, the free commodity can be downloaded or the charged commodity can be downloaded after the commodity is purchased for payment.
For example, on the purchased goods page of the goods management center, it can be seen that:
The user has purchased the commodity S and the commodity T, wherein the commodity S is not installed, and the commodity S can be downloaded and installed after clicking 'install'. The interface of the purchased page of the goods management center is shown in fig. 1 b.
In a preferred embodiment of the invention, the virtual good identification is associated with an authorization status of the virtual good.
The authorization state can be predefined by a system and can be in a normal state, and a user can freely download, install and use the virtual goods corresponding to the authorization state; a waiting transfer-out state can exist, which is a limit caused by transferring the use right of the virtual commodity, and during the transfer period, the user can not download, install and use the virtual commodity corresponding to the authorization state temporarily; the method has the limitations caused by a frozen state, suspected illegal operation and the like, and a user cannot download, install and use the virtual goods corresponding to the authorization state temporarily during the period of verifying whether the suspected illegal operation and the like exist; the virtual commodity with the expiration date limit is used, the use right of the virtual commodity corresponding to the expiration state is expired, and the user cannot download, install and use the virtual commodity corresponding to the authorization state; or other authorization status, embodiments of the invention are not limited herein.
When a user logs in a commodity management center and purchases a certain virtual commodity, the server records that the user has the use right of the virtual commodity, for example, table 1, and the user can download and use the virtual commodity after verification.
TABLE 1 record of user purchases of virtual goods
| serial_id | user_id | app_id | buy_time | status |
| 100111 | user_aexample.com | 1234 | 2010-1-112∶00∶00 | 1 |
TABLE 2 data Structure of Purchase records
| The field name: | data format | The meaning is as follows: |
| serial_id | Bigint | authorized serial number |
| user_id | VarChar(100) | User ID |
| app_id | Bigint | Commodity ID |
| buy_time | DateTime | Time of purchase |
| status | Int | Authorization status |
Of course, the above mentioned purchase recording manner of the commodity authority is only an example, and when the embodiment of the present invention is implemented, the purchase recording manner of other commodity authorities may be set according to actual situations, for example, if the virtual commodity limits the use time, the use time may be increased, and the like.
In a preferred embodiment of the present invention, before or after step 101, the following steps may be further included:
step S1, receiving a source user account, a device identifier and a virtual commodity identifier corresponding to the source user account;
step S2, when the account of the source user has an association relation with the virtual commodity identification, inquiring the authorization state of the virtual commodity;
step S3, when the authorization state is normal, generating an authorization file according to the source user account, the device identifier corresponding to the source user account and the virtual commodity identifier; the normal state is a state allowing the source user account to download, install and use the virtual commodity;
step S4, sending the authorization file to the device corresponding to the source user account; and the equipment corresponding to the source user account is used for allowing the source user account to transfer the use right of the virtual commodity when the authorization file is verified to be legal.
The usage right of the virtual commodity transferred by the source user is the usage right of the virtual commodity owned by the source user. The embodiment of the present invention may further authenticate the usage right of the virtual goods of the source user, and the authentication operation may be performed before the source user initiates the transfer request, after the source user initiates the transfer request, or at irregular time.
In a preferred example of the embodiment of the present invention, step S3 may include the following sub-steps:
substep S301, creating an authorization file according to the DRM specification of the content digital rights encryption protection technology;
step S302, adding the source user account, the equipment identifier corresponding to the source user account and the virtual commodity identifier to an authorization file;
step S303, signing the source user account, the equipment identifier corresponding to the source user account and the virtual commodity identifier by using a private key;
substep S304, adding the private key signature to the authorization file;
in the embodiment of the present invention, the device corresponding to the source user account may verify whether the authorization file is legal through the following substeps:
the substep S401 is to analyze the authorization file and extract the source user account, the equipment identifier corresponding to the source user account and the virtual commodity identifier signature from the authorization file;
substep S402, signing the source user account, the device identification corresponding to the source user account and the virtual commodity identification by using the public key;
substep S403, comparing the public key signature with the private key signature; when the public key signature is consistent with the private key signature, judging that the authorization file is legal; and when the public key signature is inconsistent with the private key signature, judging that the authorization file is illegal.
In the embodiment of the present invention, the device identifier may be an international Mobile Equipment identity imei (international Mobile Equipment identity) of the device, and the virtual product identifier may be an ID of the virtual product.
It can be understood that, in the embodiment of the present invention, the product management center may transmit the source user account, the IMEI number of the device corresponding to the source user account, and the ID of the virtual product to the server, and the server may determine whether the source user has the authorization for the virtual product through the record of the product authority of the source user, for example, table 1. If the user has purchased the product and the authorization status is normal, the server adds the source user account, the IMEI number of the device corresponding to the source user account, and the ID information of the virtual product to an open document odf (opendocument format) file conforming to the drm (digital Rights management) specification of the content digital Rights encryption protection technology, and simultaneously signs the information using a private key, puts the obtained signature string into the odf file, and then returns the odf file to the device corresponding to the source user account. When the commodity management center receives the odf file, the file is analyzed into an extensible markup language xml (extensible markup language) file, the information fields of the source user account, the equipment IMEI (international mobile equipment identity) number corresponding to the source user account and the virtual commodity ID in the file are taken out and then signed by using a public key, the signature is compared with the private key signature, if the verification is consistent, the information is confirmed not to be tampered, the source user is authorized to have the authorization of the virtual commodity, the source user can transfer the use right of the virtual commodity, and otherwise, the use right of the virtual commodity is rejected when the source user transfers the use right of the virtual commodity.
In a preferred embodiment of the present invention, the request for transferring the usage right of the virtual commodity may be a request initiated by the source user account on the common platform for transferring the usage right of the virtual commodity, and the target user is a user account that obtains transfer information of the virtual commodity from the common platform and requests to obtain the usage right of the virtual commodity, and a preferred implementation manner of step 103 may be:
and sending the transfer information of the virtual commodity to a public platform.
A common platform may be with respect to its carrying open functions. The public platform may be a message publishing area of a group, may be a microblog, may be a designated publishing platform, and the like, which is not limited in the embodiment of the present invention. When a source user wants to realize group sharing of virtual commodities, assignment information can be issued on a public platform, and then, in the embodiment of the invention, corresponding configurations such as encryption, authorization, authentication and the like can be added when the assignment information is generated, and an Application Programming Interface (API) can be invoked to issue the assignment information and the like, which are not described in detail herein.
In a preferred embodiment of the present invention, the request for transferring the usage right of the virtual commodity is a request initiated by the source user account to the target user account for transferring the usage right of the virtual commodity, and a preferred implementation manner of step 103 may be:
and sending the transfer information of the virtual commodity to the account of the target user.
The source user opens a purchased virtual commodity list of the source user, and can see a list of virtual commodities that can be transferred, for example:
| goods S | Transfer |
| Commodity T | Transfer |
The interface where the list of virtual goods that can be transferred is located is shown in fig. 1 c.
And when the source user has a clear transfer target of the virtual commodity, entering a transfer page by clicking a transfer button after the virtual commodity, and prompting the source user to input an account number of the transfer target user.
For example: "please input ID of the user to whom you want to forward the product S: ___________'
The interface at which the transfer page is located is shown in figure 1 d.
After the target user account is input, the generated transfer information may be directly transmitted to the target user account.
After the target user obtains the transfer information on the public platform, the target user can enter the commodity management center of the equipment corresponding to the target user account for processing, or the target user directly obtains the transfer information on the commodity management center of the equipment corresponding to the target user account for processing.
In a preferred embodiment of the present invention, after step 101, the embodiment of the present invention may further include the following steps:
step S5, generating prompt information for deleting the history data of virtual commodity used by the source user account;
step S6, sending the prompt message to the device corresponding to the source user account;
step S7, receiving the confirmation deletion information returned by the source user for the prompt information, or step S8, receiving the rejection deletion information returned by the source user for the prompt information;
or,
step S9, generating prompt information of whether the source user account loses the virtual commodity use right;
step S10, sending the prompt message to the device corresponding to the source user account;
step S11, receiving the confirmation losing information returned by the source user account aiming at the prompt information; step S12, executing the step of generating transfer information of the virtual commodity according to the request in accordance with the loss confirmation information; or, step S13, receiving a rejection loss message returned by the source user account for the prompt message; step S14, terminating the transfer of the virtual commodity usage right according to the refusal losing information;
or,
step S5, generating prompt information for deleting the history data of virtual commodity used by the source user account;
step S6, sending the prompt message to the device corresponding to the source user account;
step S7, receiving the confirmation deletion information returned by the source user account aiming at the prompt information, or step S8, receiving the rejection deletion information returned by the source user account aiming at the prompt information;
step S9, generating prompt information of whether the source user account loses the virtual commodity use right;
step S10, sending the prompt message to the device corresponding to the source user account;
step S11, receiving the confirmation losing information returned by the source user account aiming at the prompt information; step S12, executing step 102 according to the loss confirmation message; or, step S13, receiving a rejection loss message returned by the source user account for the prompt message; in step S14, the transfer of the usage right of the virtual commodity is terminated in accordance with the loss rejection information.
The embodiment of the invention can remind the source user to select whether to keep the existing use information in the virtual commodity, such as data records, character files and the like.
For example: "
Clear historical data (containing personal information and data archives) in commodity S "
The embodiment of the invention can clear the historical data of the virtual commodity used by the source user account, increase the security of virtual commodity transfer and ensure unnecessary disclosure of user account data.
The embodiment of the invention can explain that the account of the source user no longer has the use right of the virtual commodity after the virtual commodity is transferred.
For example: prompting: after transfer you will not be able to use the commodity S
Determining a cancellation
The interface where the above prompts are located is shown in fig. 1 e.
When the source user selects 'confirmation', corresponding assignment information can be generated; when the source user selects "cancel", the operation of transferring the usage right of the virtual commodity may be suspended.
Correspondingly, in a preferred example of the embodiment of the present invention, after step 104, the embodiment of the present invention may further include the following steps:
step S15, deleting the history data of the virtual commodity used by the source user account according to the confirmation deletion information;
or,
and step S16, reserving the history data of the virtual commodity used by the source user account according to the deletion refusing information.
When the source user selects to clear the historical data of the virtual commodity, the embodiment of the invention can clear the historical data of the account of the source user for using the virtual commodity after the transfer of the right of use of the virtual commodity is successful; after the source user selects to reserve the historical data of the virtual commodity, the embodiment of the invention can reserve the historical data of the account of the source user for using the virtual commodity after the transfer of the right of use of the virtual commodity is successful.
In a preferred embodiment of the present invention, the method may further comprise the steps of:
step S17, generating an operation instruction for deleting the virtual commodity and the corresponding authorization file;
step S18, sending the operation instruction to the equipment corresponding to the source user account; and the equipment corresponding to the source user account is used for deleting the virtual commodity and the corresponding authorization file according to the operation instruction.
After the source user confirms to transfer the use right of the virtual commodity, the commodity management center can unload the virtual commodity transferred out from the device and delete the authorization file of the virtual commodity.
The deleting operation may be performed after the source user confirms to roll out the virtual product, or after the target user confirms to accept the virtual product, which is not limited in the embodiment of the present invention.
In a preferred example of the embodiment of the present invention, the method may further include the steps of:
step S19, when the target user account returns the virtual commodity use right rejection information aiming at the transfer information, generating an operation instruction for adding the virtual commodity and the corresponding authorization file;
step S20, sending the operation instruction to the equipment corresponding to the source user account; and the equipment corresponding to the source user account is also used for adding the virtual goods and the corresponding authorization file according to the operation instruction.
When the target user refuses to accept the use right of the virtual commodity transferred by the source user, the virtual commodity and the authorization file thereof can be added to the equipment corresponding to the account of the source user again in the embodiment of the invention, thereby ensuring the rights and interests of the source user. Of course, the embodiment of the present invention may also send download information to remind the source user to download the virtual product and the authorization file thereof, or the source user may actively download the virtual product and the authorization file thereof, which is not limited in this embodiment of the present invention.
In a preferred embodiment of the present invention, after step 101, the embodiment of the present invention may further include the following steps:
step S21, changing the authorization state of the virtual commodity into a waiting state; the waiting-to-roll-out state is a state of forbidding downloading, installation and use of the virtual commodity by the account of the source user.
And the source user initiates an assignment application in the commodity management page to assign the virtual commodity. The server then changes the authorization status of the virtual good to restricted use, awaiting the decision of the target user, during which time the source user may no longer download, install and use the virtual good.
Meanwhile, after the source user confirms the transfer of the virtual commodity, the commodity management center informs the server to mark the authorization state of the virtual commodity under the source user name as a waiting transfer-out state.
For example, the list of transferred commodities becomes:
| goods S | Waiting for roll-out |
| Commodity T | Transfer |
The interface where the list of transferred commodities is located is shown in fig. 1 f.
As another example, the purchased goods page becomes:
| goods S | Waiting for roll-out |
| Commodity T | Is installed |
The interface of the purchased goods page is shown in fig. 1 g.
Of course, in order to guarantee the rights and interests of the source user, the embodiment of the present invention may set a term for the transfer of the virtual commodity usage rights, and when the term is exceeded, the transfer operation is not ended, that is, the transfer is actively ended, and the original state is recovered.
In a preferred example of the embodiment of the present invention, the embodiment of the present invention may further include the steps of:
step S22, when the target user returns the virtual commodity usage right rejection information aiming at the assignment information, the authorization state of the virtual commodity is changed to a normal state according to the virtual commodity usage right rejection information; the normal state is a state that allows the source user account to download, install and use the virtual commodity.
When the target user refuses to accept the use right of the virtual commodity, the transfer is ended immediately.
If the target user accepts the transfer request, the server deletes the commodity authorization record corresponding to the source user, and then adds the commodity authorization record of the target user, such as table 3.
TABLE 3 record of target user's purchase of virtual goods
| serial_id | user_id | app_id | buy_time | status |
| 100333 | user_bexample.com | 1234 | 2010-1-1 12:00:00 | 1 |
Wherein the purchase time may be an assignment time.
The server may add a record about this transfer, such as table 4.
TABLE 4 record of transfer of virtual commodity usage rights
TABLE 5 data structure of transfer records
| The field name: | data format: | the meaning is as follows: |
| serial_id | Bigint | assignment serial number |
| origin_user_id | VarChar(100) | Roll-out user ID |
| aim_user_id | VarChar(100) | Receiving a user ID |
| app_id | Bigint | Commodity ID |
| transfer_time | DateTime | Transfer time |
Of course, the transfer recording manner of the commodity authority is only an example, and when the embodiment of the present invention is implemented, transfer recording manners of other commodity authorities may be set according to actual situations, which is not limited in the embodiment of the present invention.
In the embodiment of the invention, a page for rejecting or accepting the use right of the virtual commodity is provided for the target user, and the interface of the page is shown in fig. 1 h.
In a preferred embodiment of the present invention, the method may further include the steps of:
step S23, generating an operation instruction for adding the virtual commodity and the corresponding authorization file;
step S24, sending the operation instruction to the equipment corresponding to the target user account; and the equipment corresponding to the target user account is used for adding the virtual commodity and the corresponding authorization file according to the operation instruction.
When the target user confirms that the right of use of the virtual commodity transferred by the source user is accepted, the virtual commodity and the authorization file thereof can be actively added to the equipment corresponding to the account of the target user. Of course, the embodiment of the present invention may also send download information to remind the target user to download the virtual product and the authorization file thereof, or the target user may actively download the virtual product and the authorization file thereof, which is not limited in this embodiment of the present invention.
From this point on, the transfer of the right of use of the virtual commodity succeeds.
According to the embodiment of the invention, the user account loses the use right of the virtual commodity through the release of the association between the user account and the virtual commodity identifier, and the user account obtains the use right of the virtual commodity through the establishment of the association between the other user account and the virtual commodity identifier, so that the transfer of the use right of the virtual commodity among users is realized, and the operation is simple and convenient.
According to the embodiment of the invention, the source user account does not need to be logged in on the equipment of the target user, so that the risk of revealing user account data is reduced, the safety is high, the limitation of installation times is not limited, and the flexibility is high.
For simplicity of explanation, the method embodiments are described as a series of acts or combinations, but those skilled in the art will appreciate that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently with other steps in accordance with the embodiments of the invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 2, a block diagram illustrating a configuration of an embodiment of an apparatus for transferring usage rights of virtual goods according to an embodiment of the present invention may include the following modules:
an assignmentrequest receiving module 201, configured to receive a request initiated by a source user account to assign a usage right of a virtual commodity; the virtual commodity has a virtual commodity identifier, and the virtual commodity identifier is associated with the source user account;
an assignmentinformation generating module 202, configured to generate assignment information of a virtual commodity according to a request;
an assignmentinformation sending module 203, configured to send assignment information of the virtual commodity;
the right-to-use acquisitioninformation receiving module 204 is configured to receive virtual commodity right-to-use acquisition information returned by the target user account for the transfer information;
theassociation releasing module 205 is configured to release the association between the source user account and the virtual commodity identifier according to the virtual commodity usage right acquisition information;
and theassociation adding module 206 is configured to add the association between the target user account and the virtual commodity identifier.
Referring to fig. 3, a block diagram of a preferred example of an assignment information sending module according to an embodiment of the present invention is shown; the request is a request initiated by a source user account on a common platform to transfer the usage right of the virtual commodity, the target user account is a user account which obtains transfer information of the virtual commodity from the common platform and requests to obtain the usage right of the virtual commodity, and the transferinformation sending module 203 may include the following sub-modules:
the first sending sub-module 2031 is configured to send transfer information of the virtual commodity to the common platform.
Referring to fig. 4, a block diagram of a preferred example of an assignment information sending module according to an embodiment of the present invention is shown; the request is a request for transferring the virtual commodity usage right initiated from the source user account to the target user account, and the transfer information sending module may include the following sub-modules:
the second sending sub-module 2032 is configured to send the transfer information of the virtual commodity to the target user account.
In a preferred embodiment of the invention, the virtual good identification is associated with an authorization status of the virtual good.
In a preferred embodiment of the present invention, the apparatus may further include the following modules:
the first authorization state changing module is used for changing the authorization state of the virtual commodity into a waiting for transferring out state; the waiting-to-roll-out state is a state of forbidding downloading, installation and use of the virtual commodity by the account of the source user.
In a preferred embodiment of the present invention, the apparatus may further include the following modules:
the second authorization state changing module is used for changing the authorization state of the virtual commodity into a normal state according to the virtual commodity use right rejection information when the target user account returns the virtual commodity use right rejection information aiming at the transfer information; the normal state is a state that allows the source user account to download, install and use the virtual commodity.
In a preferred embodiment of the present invention, the apparatus may further include the following modules:
the source information receiving module is used for receiving a source user account, a device identifier corresponding to the source user account and a virtual commodity identifier;
the authorization state query module is used for querying the authorization state of the virtual commodity when the account number of the source user and the virtual commodity identification have the incidence relation;
the authorization file generation module is used for generating an authorization file according to the source user account, the equipment identifier corresponding to the source user account and the virtual commodity identifier when the authorization state is a normal state; the normal state is a state allowing the source user account to download, install and use the virtual commodity;
the authorization file sending module is used for sending the authorization file to equipment corresponding to the source user account; and the equipment corresponding to the source user account is used for allowing the source user account to transfer the use right of the virtual commodity when the authorization file is verified to be legal.
In a preferred embodiment of the present invention, the authorization file generation module may include the following sub-modules:
the authorization file creating submodule is used for creating an authorization file according to the DRM specification of the content digital copyright encryption protection technology;
the source information adding submodule is used for adding the source user account, the equipment identifier corresponding to the source user account and the virtual commodity identifier to the authorization file;
the private key signature module is used for signing the source user account, the equipment identification and the virtual commodity identification corresponding to the source user account by using a private key;
the private key adding submodule is used for adding the private key signature to the authorization file;
the device corresponding to the source user account is used for verifying whether the authorization file is legal or not through the following modes:
analyzing the authorization file, and extracting a source user account, a device identifier corresponding to the source user account and a virtual commodity identifier signature from the authorization file;
signing the source user account, the equipment identification corresponding to the source user account and the virtual commodity identification by using the public key;
comparing the public key signature with the private key signature; when the public key signature is consistent with the private key signature, judging that the authorization file is legal; and when the public key signature is inconsistent with the private key signature, judging that the authorization file is illegal.
In a preferred embodiment of the present invention, the apparatus may further include the following modules:
the first operation instruction generation module is used for generating an operation instruction for deleting the virtual commodity and the corresponding authorization file when the target user returns the virtual commodity use right rejection information aiming at the assignment information;
the first operation instruction sending module is used for sending the operation instruction to equipment corresponding to the source user account; and the equipment corresponding to the source user account is used for deleting the virtual commodity and the corresponding authorization file according to the operation instruction.
In a preferred embodiment of the present invention, the apparatus may further include the following modules:
the second operation instruction generating module is used for generating an operation instruction for adding the virtual commodity and the corresponding authorization file;
the second operation instruction sending module is used for sending the operation instruction to the equipment corresponding to the source user account; and the equipment corresponding to the source user account is also used for adding the virtual goods and the corresponding authorization file according to the operation instruction.
In a preferred embodiment of the present invention, the apparatus may further include the following modules:
the third operation instruction generating module is used for generating an operation instruction for adding the virtual commodity and the corresponding authorization file;
the third operation instruction sending module is used for sending the operation instruction to the equipment corresponding to the target user account; and the equipment corresponding to the target user account is used for adding the virtual commodity and the corresponding authorization file according to the operation instruction.
In a preferred embodiment of the present invention, the apparatus may further include the following modules:
the first prompt information generation module is used for generating prompt information for judging whether historical data of virtual commodities used by the source user account are deleted;
the first prompt information sending module is used for sending the prompt information to equipment corresponding to the source user account;
the deletion confirmation information receiving module is used for receiving deletion confirmation information returned by the source user account aiming at the prompt information;
the deletion rejection information receiving module is used for receiving deletion rejection information returned by the source user account aiming at the prompt information;
and/or the presence of a gas in the gas,
the second prompt message generation module is used for generating prompt messages for judging whether the account number of the source user loses the use right of the virtual commodity;
the second prompt information sending module is used for sending the prompt information to equipment corresponding to the source user account;
the lost confirmation information receiving module is used for receiving lost confirmation information returned by the source user account aiming at the prompt information;
the transfer information sending module is used for sending transfer information to the transfer module according to the confirmation loss information;
the loss information rejection receiving module is used for receiving the loss information rejection returned by the source user account aiming at the prompt information;
and the transfer termination module is used for terminating the transfer of the virtual commodity use right according to the loss rejection information.
In a preferred embodiment of the present invention, the apparatus may further include the following modules:
the historical data deleting module is used for deleting the historical data of the virtual commodity used by the source user account according to the confirmation deleting information;
or,
and the historical data retaining module is used for retaining the historical data of the virtual commodity used by the account of the source user according to the deletion refusing information.
According to the embodiment of the invention, the user account loses the use right of the virtual commodity through the release of the association between the user account and the virtual commodity identifier, and the user account obtains the use right of the virtual commodity through the establishment of the association between the other user account and the virtual commodity identifier, so that the transfer of the use right of the virtual commodity among users is realized, and the operation is simple and convenient.
According to the embodiment of the invention, the source user account does not need to be logged in on the equipment of the target user, so that the risk of revealing user account data is reduced, the safety is high, the limitation of installation times is not limited, and the flexibility is high.
According to the embodiment of the invention, the user is prompted to clear the historical data of the virtual commodity before transfer, so that the transfer safety is improved.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The apparatus in embodiments of the invention may comprise one or more of the following components: a processor for executing computer program instructions to perform the various processes and methods, Random Access Memory (RAM) and Read Only Memory (ROM) for information and storing program instructions, memory for storing data and information, a database for storing tables, directories or other data structures, I/O devices, interfaces, antennas, and the like.
An embodiment of the present invention further provides an apparatus, where the apparatus may include:
one or more processors;
a memory; and
one or more modules stored in the memory and configured to be executed by the one or more processors, the one or more modules may have the following functionality:
receiving a request initiated by a source user account number for transferring the use right of the virtual commodity; the virtual commodity has a virtual commodity identifier, and the virtual commodity identifier is associated with the source user account;
generating transfer information of the virtual commodity according to the request;
transmitting transfer information of the virtual commodity;
receiving virtual commodity use right acquisition information returned by the target user account aiming at the transfer information;
and according to the virtual commodity use right acquisition information, the association between the source user account and the virtual commodity identification is released, and the association between the target user account and the virtual commodity identification is increased.
Preferably, the request is a request initiated by a source user account on a common platform to transfer the usage right of the virtual commodity, the target user account is a user account which obtains transfer information of the virtual commodity from the common platform and requests to obtain the usage right of the virtual commodity, and the one or more modules may have the following functions:
and transmitting the transfer information of the virtual commodity to a public platform.
Preferably, the request is a request initiated by a source user account to a target user account for transferring the usage right of the virtual commodity, and the one or more modules may have the following functions:
and sending the transfer information of the virtual commodity to a target user account.
Preferably, the virtual good identification is associated with an authorization status of the virtual good.
Preferably, the one or more modules may also have the following functions:
changing the authorization state of the virtual commodity into a waiting for transferring out state; the waiting-to-roll-out state is a state of forbidding downloading, installation and use of the virtual commodity by the account of the source user.
Preferably, the one or more modules may also have the following functions:
when the target user account returns virtual commodity use right rejection information aiming at the transfer information, changing the authorization state of the virtual commodity into a normal state according to the virtual commodity use right rejection information; the normal state is a state that allows the source user account to download, install and use the virtual commodity.
Preferably, the one or more modules may also have the following functions:
receiving a source user account, and a device identifier and a virtual commodity identifier corresponding to the source user account;
when the source user account number has an incidence relation with the virtual commodity identification, inquiring the authorization state of the virtual commodity;
when the authorization state is a normal state, generating an authorization file according to the source user account, the equipment identifier corresponding to the source user account and the virtual commodity identifier; wherein, the normal state is a state of allowing the account of the source user to download, install and use the virtual commodity;
sending the authorization file to equipment corresponding to the source user account; and the equipment corresponding to the source user account is used for allowing the source user account to transfer the use right of the virtual commodity when the authorization file is verified to be legal.
The one or more modules may have the following functionality:
creating an authorization file according to the DRM specification of the content digital rights encryption protection technology;
adding the source user account, the equipment identifier corresponding to the source user account and the virtual commodity identifier to an authorization file;
signing the source user account, the equipment identification and the virtual commodity identification corresponding to the source user account by using a private key;
adding the private key signature to the authorization file;
the device corresponding to the source user account is used for verifying whether the authorization file is legal or not through the following modes:
analyzing the authorization file, and extracting a source user account, a device identifier corresponding to the source user account and a virtual commodity identifier signature from the authorization file;
signing the source user account, the equipment identification corresponding to the source user account and the virtual commodity identification by using the public key;
comparing the public key signature with the private key signature; when the public key signature is consistent with the private key signature, judging that the authorization file is legal; and when the public key signature is inconsistent with the private key signature, judging that the authorization file is illegal.
Preferably, the one or more modules may also have the following functions:
generating an operation instruction for deleting the virtual commodity and the corresponding authorization file;
sending the operation instruction to equipment corresponding to the source user account; and the equipment corresponding to the source user account is used for deleting the virtual commodity and the corresponding authorization file according to the operation instruction.
Preferably, the one or more modules may also have the following functions:
when the target user account returns virtual commodity use right rejection information aiming at the transfer information, generating an operation instruction for adding a virtual commodity and a corresponding authorization file;
sending the operation instruction to equipment corresponding to the source user account; and the equipment corresponding to the source user account is also used for adding the virtual goods and the corresponding authorization file according to the operation instruction.
Preferably, the one or more modules may also have the following functions:
generating an operation instruction for adding the virtual commodity and the corresponding authorization file;
sending the operation instruction to equipment corresponding to the target user account; and the equipment corresponding to the target user account is used for adding the virtual commodity and the corresponding authorization file according to the operation instruction.
Preferably, the one or more modules may also have the following functions:
generating prompt information for deleting the historical data of the virtual commodity used by the source user;
sending the prompt information to equipment corresponding to the source user account;
receiving the confirmation deletion information returned by the source user for the prompt information, or receiving the rejection deletion information returned by the source user for the prompt information;
and/or the presence of a gas in the gas,
generating prompt information whether the account of the source user loses the use right of the virtual commodity;
sending the prompt information to equipment corresponding to the source user account;
receiving a confirmation losing message returned by the source user account aiming at the prompt message, and executing a step of generating transfer information of the virtual commodity according to the request according to the confirmation losing message; or the receiving source user account returns loss rejection information aiming at the prompt information, and the loss rejection information terminates the transfer of the virtual commodity use right.
Preferably, the one or more modules may also have the following functions:
deleting the historical data of the virtual commodity used by the account of the source user according to the confirmation deletion information;
or,
and reserving historical data of the virtual commodity used by the account of the source user according to the deletion refusing information.
According to the embodiment of the invention, the user account loses the use right of the virtual commodity through the release of the association between the user account and the virtual commodity identifier, and the user account obtains the use right of the virtual commodity through the establishment of the association between the other user account and the virtual commodity identifier, so that the transfer of the use right of the virtual commodity among users is realized, and the operation is simple and convenient.
According to the embodiment of the invention, the source user account does not need to be logged in on the equipment of the target user, so that the risk of revealing user account data is reduced, the safety is high, the limitation of installation times is not limited, and the flexibility is high.
According to the embodiment of the invention, the user is prompted to clear the historical data of the virtual commodity before transfer, so that the transfer safety is improved.
The present embodiment also provides a non-transitory readable storage medium, in which one or more modules (programs) are stored, and when the one or more modules are applied to a device with virtual goods, the one or more modules may cause the device to execute instructions (instructions) for:
receiving a request initiated by a source user account number for transferring the use right of the virtual commodity; the virtual commodity has a virtual commodity identifier, and the virtual commodity identifier is associated with the source user account;
generating transfer information of the virtual commodity according to the request;
transmitting transfer information of the virtual commodity;
receiving virtual commodity use right acquisition information returned by the target user account aiming at the transfer information;
and according to the virtual commodity use right acquisition information, the association between the source user account and the virtual commodity identification is released, and the association between the target user account and the virtual commodity identification is increased.
Preferably, the request is a request initiated by a source user account on a common platform to transfer the usage right of the virtual commodity, the target user account is a user account which obtains transfer information of the virtual commodity from the common platform and requests to obtain the usage right of the virtual commodity, and the one or more modules may have the following functions:
and transmitting the transfer information of the virtual commodity to a public platform.
Preferably, the request is a request initiated by a source user account to a target user account for transferring the usage right of the virtual commodity, and the one or more modules may have the following functions:
and sending the transfer information of the virtual commodity to a target user account.
Preferably, the virtual good identification is associated with an authorization status of the virtual good.
Preferably, the one or more modules may also have the following functions:
changing the authorization state of the virtual commodity into a waiting for transferring out state; the waiting-to-roll-out state is a state of forbidding downloading, installation and use of the virtual commodity by the account of the source user.
Preferably, the one or more modules may also have the following functions:
when the target user account returns virtual commodity use right rejection information aiming at the transfer information, changing the authorization state of the virtual commodity into a normal state according to the virtual commodity use right rejection information; the normal state is a state that allows the source user account to download, install and use the virtual commodity.
Preferably, the one or more modules may also have the following functions:
receiving a source user account, and a device identifier and a virtual commodity identifier corresponding to the source user account;
when the source user account number has an incidence relation with the virtual commodity identification, inquiring the authorization state of the virtual commodity;
when the authorization state is a normal state, generating an authorization file according to the source user account, the equipment identifier corresponding to the source user account and the virtual commodity identifier; wherein, the normal state is a state of allowing the account of the source user to download, install and use the virtual commodity;
sending the authorization file to equipment corresponding to the source user account; and the equipment corresponding to the source user account is used for allowing the source user account to transfer the use right of the virtual commodity when the authorization file is verified to be legal.
The one or more modules may have the following functionality:
creating an authorization file according to the DRM specification of the content digital rights encryption protection technology;
adding the source user account, the equipment identifier corresponding to the source user account and the virtual commodity identifier to an authorization file;
signing the source user account, the equipment identification and the virtual commodity identification corresponding to the source user account by using a private key;
adding the private key signature to the authorization file;
the device corresponding to the source user account is used for verifying whether the authorization file is legal or not through the following modes:
analyzing the authorization file, and extracting a source user account, a device identifier corresponding to the source user account and a virtual commodity identifier signature from the authorization file;
signing the source user account, the equipment identification corresponding to the source user account and the virtual commodity identification by using the public key;
comparing the public key signature with the private key signature; when the public key signature is consistent with the private key signature, judging that the authorization file is legal; and when the public key signature is inconsistent with the private key signature, judging that the authorization file is illegal.
Preferably, the one or more modules may also have the following functions:
generating an operation instruction for deleting the virtual commodity and the corresponding authorization file;
sending the operation instruction to equipment corresponding to the source user account; and the equipment corresponding to the source user account is used for deleting the virtual commodity and the corresponding authorization file according to the operation instruction.
Preferably, the one or more modules may also have the following functions:
when the target user account returns virtual commodity use right rejection information aiming at the transfer information, generating an operation instruction for adding a virtual commodity and a corresponding authorization file;
sending the operation instruction to equipment corresponding to the source user account; and the equipment corresponding to the source user account is also used for adding the virtual goods and the corresponding authorization file according to the operation instruction.
Preferably, the one or more modules may also have the following functions:
generating an operation instruction for adding the virtual commodity and the corresponding authorization file;
sending the operation instruction to equipment corresponding to the target user account; and the equipment corresponding to the target user account is used for adding the virtual commodity and the corresponding authorization file according to the operation instruction.
Preferably, the one or more modules may also have the following functions:
generating prompt information for deleting the historical data of the virtual commodity used by the source user;
sending the prompt information to equipment corresponding to the source user account;
receiving the confirmation deletion information returned by the source user for the prompt information, or receiving the rejection deletion information returned by the source user for the prompt information;
and/or the presence of a gas in the gas,
generating prompt information whether the account of the source user loses the use right of the virtual commodity;
sending the prompt information to equipment corresponding to the source user account;
receiving a confirmation losing message returned by the source user account aiming at the prompt message, and executing a step of generating transfer information of the virtual commodity according to the request according to the confirmation losing message; or the receiving source user account returns loss rejection information aiming at the prompt information, and the loss rejection information terminates the transfer of the virtual commodity use right.
Preferably, the one or more modules may also have the following functions:
deleting the historical data of the virtual commodity used by the account of the source user according to the confirmation deletion information;
or,
and reserving historical data of the virtual commodity used by the account of the source user according to the deletion refusing information.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, mobile devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing mobile device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing mobile device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or mobile device that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or mobile device. The term "comprising", without further limitation, means that the element so defined is not excluded from the list of additional identical elements in a process, method, article, or mobile device that comprises the element.
The method for transferring the usage right of the virtual commodity, the device for transferring the usage right of the virtual commodity and the equipment provided by the embodiment of the invention are described in detail, specific examples are applied in the description to explain the principle and the implementation mode of the embodiment of the invention, and the description of the above embodiments is only used for helping to understand the method and the core idea of the embodiment of the invention; meanwhile, for a person skilled in the art, according to the idea of the embodiment of the present invention, there may be a change in the specific implementation and application scope, and in summary, the content of the present specification should not be construed as a limitation to the embodiment of the present invention.