CN110033340A - Interior purchase management method, device and the client device of virtual goods - Google Patents

Interior purchase management method, device and the client device of virtual goods Download PDF

Info

Publication number
CN110033340A
CN110033340A CN201811641670.6A CN201811641670A CN110033340A CN 110033340 A CN110033340 A CN 110033340A CN 201811641670 A CN201811641670 A CN 201811641670A CN 110033340 A CN110033340 A CN 110033340A
Authority
CN
China
Prior art keywords
account
virtual goods
client
target
payment
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
Application number
CN201811641670.6A
Other languages
Chinese (zh)
Inventor
王俨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuomi Private Ltd
Original Assignee
Hong Kong LiveMe Corp ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hong Kong LiveMe Corp ltd filed Critical Hong Kong LiveMe Corp ltd
Priority to CN201811641670.6A priority Critical patent/CN110033340A/en
Publication of CN110033340A publication Critical patent/CN110033340A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

In the interior purchase management methods of virtual goods provided in an embodiment of the present invention a kind of, device and client device, a kind of interior purchaser's method of virtual goods, applied to client, when receiving the callback information about virtual goods successful payment of trading server transmission, obtains and be stored in advance in the target account that in trading server, payment virtual goods are utilized;Wherein, target account is that client is sent to trading server when request pays the virtual goods;Judge target account and log in whether the current account of client is same account, obtains judging result;When judging result shows that the current account of target account and login client is same account, virtual goods are delivered to the corresponding management server request of client;Otherwise, terminate process.By this programme, virtual goods can be delivered to avoid to the account for not buying virtual goods, realize the purpose for preventing interior purchase from accidentally rushing.

Description

Interior purchase management method, device and the client device of virtual goods
Technical field
The present invention relates to technical field of data processing, more particularly to a kind of interior purchase management method of virtual goods, device And client device.
Background technique
With the development of internet technology, the virtual goods that purchase is sold by client, that is, virtual goods are interior Purchase, becomes increasingly prevalent.
In the related technology, when user carries out the interior purchase of virtual goods using target account, client is to payment platform After trading server sends the payment request about bought virtual goods, trading server completes the corresponding payment of payment request The callback information about successful payment is sent afterwards;And client when receive trading server return callback information when, to from The management server of body requests the delivery of bought virtual goods, so that management server is bought to target account delivery Virtual goods.Wherein, management server is delivered bought virtual goods to target account and be can be to the offer of target account The Virtual Service that virtual goods or virtual goods represent, for example, the virtual goods bought are that head portrait is decorated, then management service Device provides the access right that the head portrait is decorated to the current target account for logging in client, so that target account is filled using the head portrait Decorations;The virtual goods bought are " account opens VIP service ", then management server will currently log in the target account of client It is set as VIP account, provides VIP service for the target account.
But during above-mentioned interior purchase, in fact it could happen that it delivers and fails because of request caused by the objective factors such as Network Abnormal, The interior purchase of virtual goods is caused to interrupt.After purchase is interrupted inside, if there is non-targeted account logs in client, then non-targeted account Log in the cold start-up that client can be made to enter starting state from the state for terminating operation.And the client after being cold-started can be received again The callback information sent to trading server, and the delivery to the management server of itself request virtual goods again.At this point, pipe The virtual goods that target account is bought are consigned to the current non-targeted account for logging in client by reason server, cause virtual goods Misdelivery, occur in purchase the problem of accidentally rushing.
Summary of the invention
Interior purchase management method, device and the client for being designed to provide a kind of virtual goods of the embodiment of the present invention are set It is standby, to realize the purpose for effectivelying prevent interior purchase accidentally to rush.Specific technical solution is as follows:
In a first aspect, it is applied to client the embodiment of the invention provides a kind of interior purchase management method of virtual goods, it should Method includes:
When receiving the callback information about virtual goods successful payment of trading server transmission, it is stored in advance The target account that in the trading server, the payment virtual goods are utilized;Wherein, the target account is described Client is sent to the trading server when request pays the virtual goods;
Judge the target account and log in whether the current account of the client is same account, obtains judgement knot Fruit;
When judging result shows that the current account of the target account and the login client is same account, to institute It states the corresponding management server request of client and delivers the virtual goods;Otherwise, terminate process.
Optionally, before the callback information about virtual goods successful payment for receiving trading server transmission, institute State method further include:
After obtaining about the order information of the virtual goods is bought using the target account, the virtual quotient is generated Product corresponding payment request carries target data in the payment request, and the target data is at least used to characterize the mesh Mark account;
The payment request is sent to the trading server, so that the trading server is based on the payment request It pays the bill the virtual goods, after successful payment, feeds back the callback information about the virtual goods successful payment, and Save the target data in the payment request.
Optionally, the target data is carried in the callback information;
The acquisition is stored in advance in the target account that in the trading server, the payment virtual goods are utilized Number, comprising:
The target data is extracted from the callback information;
Based on the target data, the target account for paying the virtual goods is determined.
Optionally, the acquisition is stored in advance in the trading server, the payment virtual goods and is utilized Target account, comprising:
The target data is requested to the trading server;
Based on the target data, the target account for paying the virtual goods is determined.
Optionally, the target data includes: the target account;
Alternatively,
The target data includes: target string;
Wherein, the target string is at least to carry out encrypted word to the target account using predetermined cryptographic algorithm Symbol string.
Optionally, after the delivery request to the client corresponding management server transmission, the side Method further include:
If the first notice that the corresponding management server of the client is sent is received, to the trading server Send the second notification information;
Wherein, first notice is for showing that the virtual goods are delivered successfully, and second notice is for triggering Stating trading server terminates to send the callback information.
Second aspect, the embodiment of the invention provides a kind of interior purchase managing devices of virtual goods, are applied to client, should Device includes:
Target account obtains module, for when the returning about virtual goods successful payment for receiving trading server transmission When adjusting information, obtains and be stored in advance in the target account that in the trading server, the payment virtual goods are utilized;Its In, the target account is that the client is sent to the trading server when request pays the virtual goods;
Judgment module, for judging the target account and logging in whether the current account of the client is same account Number, obtain judging result;
Delivery request determining module, for when judging result shows the target account and logs in the current of the client When account is same account, the virtual goods are delivered in the corresponding management server request of Xiang Suoshu client;Otherwise, terminate stream Journey.
Optionally, described device further include: payment request generation module and payment request sending module;
The payment request generation module, for buying the virtual goods about using the target account in acquisition After order information, the corresponding payment request of the virtual goods is generated, target data, the mesh are carried in the payment request Mark data are at least used to characterize the target account;
The payment request sending module, for sending the payment request to the trading server, so that described Trading server is based on the payment request and pays the bill the virtual goods, after successful payment, feeds back about the void The callback information of quasi- commodity successful payment, and save the target data in the payment request.
Optionally, the target data is carried in the callback information;
The target account obtains module, is specifically used for:
The target data is extracted from the callback information;
Based on the target data, the target account for paying the virtual goods is determined.
Optionally, the target account obtains module, is specifically used for:
The target data is requested to the trading server;
Based on the target data, the target account for paying the virtual goods is determined.
Optionally, the target data includes: the target account;
Alternatively,
The target data includes: target string;
Wherein, the target string is at least to carry out encrypted word to the target account using predetermined cryptographic algorithm Symbol string.
Optionally, described device further include: notice sending module;
The notice sending module, in the delivery request sending module, the corresponding management clothes of Xiang Suoshu client It is engaged in after the device transmission delivery request, when receiving the first notice that the corresponding management server of the client is sent, to The trading server sends the second notification information;
Wherein, first notice is for showing that the virtual goods are delivered successfully, and second notice is for triggering Stating trading server terminates to send the callback information.
The third aspect, the embodiment of the invention provides a kind of client device, which includes:
Processor, communication interface, memory and communication bus, wherein processor, communication interface, memory pass through bus Complete mutual communication;Memory, for storing computer program;Processor, for executing the journey stored on memory Sequence, the step of realizing the interior purchase management method for the virtual goods that above-mentioned first aspect provides.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage mediums, are contained in client device, should Computer program is stored in storage medium, which realizes the void that above-mentioned first aspect provides when being executed by processor The step of interior purchase management method of quasi- commodity.
In scheme provided in an embodiment of the present invention, when receive trading server transmission about virtual goods successful payment Callback information when, from trading server obtain target account, and then judge target account and login client current account It whether is same account, when judging result shows that the current account of target account and login client is same account, to visitor Virtual goods are delivered in the corresponding management server request in family end;Otherwise, terminate process.Replacement account logs in after interrupting for interior purchase The case where client, when receiving callback information again, due to this programme there are target account with log in client it is current The comparison of account just carries out commodity delivery when comparing successfully, therefore, can be to avoid to not buying virtual quotient by this programme The account of product delivers virtual goods, realizes the purpose for preventing interior purchase from accidentally rushing.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described.
Fig. 1 is the flow diagram of the interior purchase management method of the virtual goods of one embodiment of the invention;
Fig. 2 is the flow diagram of the interior purchase management method of the virtual goods of another embodiment of the present invention;
Fig. 3 is the structural schematic diagram of the interior purchase managing device of the virtual goods of one embodiment of the invention;
Fig. 4 is the structural schematic diagram of the interior purchase managing device of the virtual goods of another embodiment of the present invention;
Fig. 5 is the structural schematic diagram of the client device of one embodiment of the invention.
Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in the present invention, implement below in conjunction with the present invention Attached drawing in example, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment Only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, the common skill in this field Art personnel every other embodiment obtained without creative efforts belongs to the model that the present invention protects It encloses.
The interior purchase management method of the virtual goods of one embodiment of the invention is introduced first below.
The interior purchase management method of virtual goods provided in an embodiment of the present invention, can be applied to be able to carry out in virtual goods The client of purchase, the client are run in client device, which includes desktop computer, portable computer, interconnection Net TV, intelligent mobile terminal, wearable intelligent terminal, server etc., is not limited thereto.It is any that the present invention may be implemented The electronic equipment of embodiment belongs to the protection scope of the embodiment of the present invention.
As shown in Figure 1, the interior purchase management method of the virtual goods of one embodiment of the invention may include steps of:
S101 is obtained pre- when receiving the callback information about virtual goods successful payment of trading server transmission It is first stored in the target account that in trading server, payment virtual goods are utilized;Wherein, target account is that client is being asked Trading server is sent to when seeking payment virtual goods.
The target account of payment virtual goods is the account that user logs in client, selects virtual goods.It needs to illustrate Be, trading server paid used in account it is different from the target account.For example, buying virtual quotient in videoconference client The account of product " account opens VIP service " is the account of login videoconference client when selecting the virtual goods, and in payment, it hands over The account that easy server uses is Internetbank account.
In order to solve prior art problem, in the present invention, it is virtual will to buy this when request pays virtual goods for client The target account of commodity is sent to trading server, so that client when receiving callback information, can obtain in advance It is stored in the target account that in trading server, payment virtual goods are utilized.Wherein, client pays virtual quotient in request Target account is sent to the implementation of trading server when product, and there are a variety of.Illustratively, in one implementation, objective Family end can carry the target account in the payment request about virtual goods, so that trading server is being propped up Pay available target account when request;In another implementation, client can individually issue the target account Trading server.It is understood that client request payment virtual goods specifically can be client and send out to trading server Payment request is sent, for example, user clicks the payment button that client is shown, so that client be made to send to trading server Payment request.
In a particular application, trading server can be the transmission opportunity of callback information a variety of.Illustratively, it returns Information is adjusted to can be the information that trading server is fed back after successful payment, after being also possible to a certain interior purchase interruption, client is cold When starting, triggering trading server corresponding callback information of interior purchase before feeding back the interruption again.For example, transactional services Interior purchase A corresponding callback information 1 of the device to client feedback purchase virtual goods A;Alternatively, the corresponding management server of client Virtual goods A failure is delivered, interior purchase A is caused to interrupt, after interior purchase A is interrupted, client is cold-started, and triggering trading server is again It is secondary that the corresponding callback information 1 of A is purchased into client feedback.In addition, client cold start-up triggering trading server feedback readjustment letter Breath can be client device when detecting client cold start-up, send to trading server for triggering trading server Feed back the notice of callback information.In addition, the void paid can be carried in callback information about virtual goods successful payment The merchandise news of quasi- commodity carries out commodity delivery according to merchandise news in order to subsequent.
Also, the acquisition modes of target account can be a variety of.Illustratively, it can be client to trading server The acquisition request of target account is sent, to receive the target account of trading server return, being also possible to trading server will Target account is included in callback information, and client extracts target account from the received callback information of institute.It is any available Be stored in advance in it is in trading server, payment virtual goods by target account in the way of, be suitable for the present invention, this Embodiment to this with no restriction.
It should be noted that since target account is that client is sent to trading server when request pays virtual goods , and it is stored in trading server, it therefore, can be with compared with the mode that target account is stored directly in client local The loss of local target account caused by not being unloaded or reinstalled etc. by client is limited, always can subsequently through Step S102 to S103 realizes the purpose for preventing interior purchase from accidentally rushing.
S102 judges target account and logs in whether the current account of client is same account, obtains judging result.
Since replacement account logs in client, client cold start-up will cause, triggering receives returning for trading server feedback Information is adjusted, so that client after receiving callback information, is handed over to the corresponding management server request virtual goods of client It pays;Also, management server can deliver virtual goods to the account for logging in client when sending delivery request, it is seen then that purchase inside In, in fact it could happen that the target account situation different with the current account of client is logged in.Therefore, it is asked to solve the prior art Topic, in present invention, it is desirable to judging target account and logging in whether the current account of client is same account, based on judgement knot Fruit avoids for virtual goods being delivered to the non-targeted account for not buying virtual goods by subsequent step S103, and realization prevents interior The purpose that purchase is accidentally rushed.
Wherein, judge target account and log in client current account whether be same account mode can be it is a variety of , illustratively, it can be determined that whether target account itself and current account itself are identical, also may determine that target account is corresponding Account number and the corresponding account number of current account it is whether identical etc..For example, account can be mailbox number, cell-phone number It can be the serial number for characterizing account, letter etc. Deng, account number.Then may determine that whether are target account and current account For identical mailbox number, cell-phone number etc. also may determine that the serial number for characterizing account, and whether letter etc. is identical.
Also, judging result specifically can be characterization target account and log in whether the current account of client is same account Number resultant content perhaps result mark is also possible to show account for example, judging result can be " identical " or " difference " Identical result identifies " 1 ", shows the different result mark " 0 " of account.
S103, when judging result shows that the current account of target account and login client is same account, to client Corresponding management server request is held to deliver virtual goods;Otherwise, terminate process.
When judging result shows that the current account of target account and login client is different accounts, can terminate to flow Journey delivers the virtual goods that target account is bought to avoid to non-targeted account.
Wherein, terminating process is specifically the process that ending request delivers virtual goods, after terminating process, if target account Number log in client so that client be cold-started, S101 to S102 will be re-execute the steps, thus for occur in purchase interrupt mesh Mark account delivers the virtual goods that the target account is bought.
It should be noted that delivery request could also indicate that and want while triggering management server delivery virtual goods The merchandise news and target account of the virtual goods of delivery, to realize that commodity are delivered.
A kind of interior purchase management method of virtual goods provided in an embodiment of the present invention is applied to client, hands over when receiving When the callback information about virtual goods successful payment that easy server is sent, target account is obtained from trading server, in turn Judge target account and log in whether the current account of client is same account, when judging result shows target account and login When the current account of client is same account, virtual goods are delivered to the corresponding management server request of client;Otherwise, it ties Line journey.The case where replacement account logs in client after interrupting for interior purchase, when receiving callback information again, due to we There are the comparisons of target account and the current account for logging in client for case, when comparing successfully, just carry out commodity delivery, therefore, Virtual goods can be delivered to avoid to the account for not buying virtual goods by this programme, realize the purpose for preventing interior purchase from accidentally rushing.
Optionally, if judging result shows target account and steps in the step S103 of aforementioned present invention Fig. 1 embodiment The current account for recording client is same account, then after sending delivery request to the corresponding management server of client, this The interior purchase management method of the virtual goods of inventive embodiments can also include:
If receiving the first notice that the corresponding management server of client is sent, second is sent to trading server Notification information;
Wherein, for showing that virtual goods are delivered successfully, the second notice terminates the first notice for triggering trading server Send callback information.
After sending delivery request to management server, in fact it could happen that because requesting to hand over caused by the objective factors such as Network Abnormal Pay failure or commodity and deliver failure, the interior purchase of virtual goods is caused to interrupt, also, trading server can deliver fail when, Complete the delivery of virtual goods to the client feedback callback information to re-start the interior purchase of the interruption, if can not deliver Function, trading server will feed back callback information, and then trigger commodity and deliver.
Therefore, in order to avoid after delivering successfully, trading server feeds back callback information, triggering commodity are delivered, and cause quotient The repetition of product is delivered, and needs to inform that trading server is delivered successfully.For this purpose, the corresponding management service of client can received When the first notice that device is sent, that is, when virtual goods are delivered successfully, to trading server transmission for triggering transactional services Device terminates to send the second notice of callback information.
As shown in Fig. 2, the interior purchase management method of the virtual goods of another embodiment of the present invention, may include steps of:
It is corresponding to generate virtual goods after obtaining about the order information using target account purchase virtual goods by S201 Payment request, carry target data in payment request, target data is at least used to characterize target account.
Wherein, order information is commodity sign, quantity and the price for showing the bought virtual goods of target account Deng the information for paying and virtual goods sales data counts.The mode for obtaining the order information of purchase virtual goods can be A variety of.Illustratively, virtual according to buying before submitting order if client is after target account selects virtual goods Commodity sign, quantity and price of commodity etc., generate the order information of target account, and are stored in client local, then objective The order information for the target account being locally stored can be read directly in family end.Alternatively, if client is ordered in the submission of target account The information such as the commodity sign of bought virtual goods, quantity and price are sent to management server, management server by Dan Hou Corresponding order information is generated, then client can request to return to order information to management server.Certainly, order information is obtained Opportunity when can be the payment instruction for receiving target account, be also possible to receive order when submit instruction.
Payment request is used for when receiving the payment instruction of target account, informs that trading server buys target account Virtual goods pay the bill.In order to which target account is sent to trading server, it can carry in payment request and at least use In the target data of characterization target account, stored so that target account is sent to trading server by payment request, with Just subsequent client, which can obtain, is stored in advance in the target account that in trading server, payment virtual goods are utilized, into And realize the effect for preventing interior purchase from accidentally rushing using target account into S205 in subsequent step S204.In addition, in order to realize payment, It can also be carried in payment request in the order information for payment such as commodity sign, quantity and price of characterization virtual goods At least one.
Certainly, target account can also be sent independently of payment request.When target account independently of payment request into When row is sent, target account can be sent simultaneously with payment request, can also successively be sent.
Optionally, in order at least characterize target account, above-mentioned target data may include: target account.
For example, target account is mailbox number " XXX@XX ", then target data includes at least " XXX@XX ".
Certainly, target data can also characterize payment arrangement between trading server and the purchase of target account The order information etc. of virtual goods.
Alternatively,
Above-mentioned target data may include: target string;Wherein, target string be using predetermined cryptographic algorithm at least Encrypted character string is carried out to target account.
In a particular application, in order to ensure the safety of target account, it can use predetermined cryptographic algorithm to target account It is encrypted, alternatively, if further including the data such as order information in addition to target account in target data, then it can be to target account Number and the data such as order information spliced, obtain splicing character string, encrypted using predetermined cryptographic algorithm splicing character string.
Wherein, predetermined cryptographic algorithm can be Hash (hash) algorithm, be also possible to RSA cryptographic algorithms etc..Any encryption Algorithm is used equally for being invented, the present embodiment to this with no restriction.Wherein, RSA cryptographic algorithms are one can be used to encrypt simultaneously With the algorithm of digital signature.
S202 states payment request to trading server transmission, so that trading server is based on payment request to virtual quotient Product are paid the bill, and after successful payment, feed back the callback information about virtual goods successful payment, and save in payment request Target data.
Compared with the step S101 of aforementioned present invention Fig. 1 embodiment, difference is in the step S202 of the present embodiment S202, Trading server is to receive the payment request of client transmission, and carry out after money after successful payment to the feedback of callback information , it is the new corresponding callback information of interior purchase;And in step s101, in addition to the situation in S202, trading server is to readjustment The feedback of information can also be after client request delivers failure, feed back again, be existing interior purchase corresponding time interrupted Adjust information.
S203 is obtained pre- when receiving the callback information about virtual goods successful payment of trading server transmission It is first stored in the target account that in trading server, payment virtual goods are utilized;Wherein, target account is that client is being asked Trading server is sent to when seeking payment virtual goods.
S203 is similar to the step S101 of Fig. 1 embodiment of the present invention, and difference is in step S203 that client is being received back Before adjusting information, payment request is had sent to client.
In addition, the acquisition modes of target account can be it is a variety of, in order to make it easy to understand, below with the side of alternative embodiment Formula is stored in advance in the target account that in the trading server, the payment virtual goods are utilized to acquisition in step S203 Number concrete mode, be illustrated:
In an alternative embodiment, client is to trading server request target data;
Based on target data, the target account of payment virtual goods is determined.
Wherein, client can be client and be used for trading server transmission to trading server request target data The request for obtaining target data, so that trading server will store the return client of target data.
If target data is the data of unencryption, it is based on target data, determines the target account of payment virtual goods, It can be the extraction target account from target data.If target data is in the alternative embodiment according to above-mentioned steps S201 The target string that predetermined encryption algorithm is encrypted then is based on target data, determines the target account of payment virtual goods, can Being decrypted to target data, being obtained from the data after decryption using decipherment algorithm corresponding with predetermined encryption algorithm Target account.
It should be noted that being carried to trading server request target data with by callback information in this alternative embodiment The mode of target data is compared, and the data volume for carrying the callback information of target data is bigger than the data volume of target data, therefore, Transmission rate is compared with the callback information for carrying target data, comparatively fast, the acquisition efficiency of target data can be improved, to mention Efficiency is purchased in high.
In an alternative embodiment, target data is carried in above-mentioned callback information;
Correspondingly, client extracts target data from callback information;
Based on target data, the target account of payment virtual goods is determined.
Due to carrying target data in above-mentioned callback information, client can extract target from callback information Data.It should be noted that carrying target data by callback information, and then target data is extracted from callback information, and by mesh The mode that mark data are individually sent as the data independently of callback information is compared, without individually increasing a transmission target The process of data, so that the acquisition of target data is in contrast more convenient.
Wherein, the target data carried in callback information can be trading server in the received target data of storage institute Before, it after paying successfully, adds in callback information, is also possible to trading server and has stored the received target data of institute, branch After paying successfully, add in callback information.
Certainly, target data is added in callback information before storage institute received target data for trading server The case where, it, can also be without the storage of target data if completing target data addition.In this regard, it is understood that with not The storage for carrying out target data is compared, and storage target data is conducive to cope with the abnormal conditions such as callback information feeding back unsuccessful.For example, Because the factors such as Network Abnormal influence, callback information feeding back unsuccessful, then trading server can be based on the target data of storage, again Return to the callback information for carrying target data.
Similar, it is based on target data, the concrete mode of the target account of payment virtual goods is determined, can be from target Target account is extracted in data, is also possible to solve target data using decipherment algorithm corresponding with predetermined encryption algorithm It is close, target account is obtained from the data after decryption.
It should be noted that being based on target data in any of the above-described embodiment for obtaining target account, determine that payment is empty When the target account of quasi- commodity, if target data is the splicing character that the data such as target account and order information are spliced String then can determine target account according to the splicing rule of the splicing character string is obtained from target data.
For example, target data is the splicing character string that target account and order information are spliced, splicing rule are as follows: Splicing character string flag bit P1 between P2 be target account, flag bit P3 between P4 be order information.Determine target account Mode are as follows: read target data flag bit P1 to the character between P2, obtain target account.
In addition, the above-mentioned mode that target account and order information are spliced into character string, is being based on target data, is determining mesh While marking account, it can determine order information, compared with order information is individually determined in client, interior purchase can be improved Efficiency.For example, after four flag bits for identifying character string, flag bit P3 can be read to the character between P4, obtained Order information.As a result, while determining target account, order information has been determined that, individually obtain order information without executing Process, for example, as without reading order information from local.
S204 judges target account and logs in whether the current account of client is same account, obtains judging result.
S205, when judging result shows that the current account of target account and login client is same account, to client Corresponding management server request is held to deliver virtual goods;Otherwise, terminate process.
S204 to S205 is identical step with the S102 to S103 of Fig. 1 embodiment of the present invention, and details are not described herein, is detailed in The description of Fig. 1 embodiment of the present invention.
In the above-described embodiments, for from the callback information for carry target data obtain target account mode, with It is compared to the mode of trading server request target data, without sending to trading server for obtaining asking for target data It asks, without waiting trading server to return to target data, therefore, saves and send to trading server for obtaining number of targets According to request time, also save wait trading server return target data time, interior purchase efficiency can be improved.
In order to make it easy to understand, below with a specific example to the interior purchase management method of virtual goods provided by the invention Carry out overall description.
User logs in client using account A, selects virtual goods " account opens VIP service ", clicks client in user When payment button in end, when to management server request target account A purchase " account opening VIP service ", submitted order V Order information.After the order information for receiving management server return, account A and commodity id and order number are spliced into One character string encrypts spliced character string using hash algorithm, obtains target data.Generation carries number of targets According to payment request, payment request is sent to trading server, so that trading server is according to the order in payment request Information, such as price, quantity etc. are paid the bill using the Internetbank account of user.After successful payment, trading server is to client Return to the callback information 1 for carrying target data.
Client extracts target data from callback information 1 after receiving callback information 1, using with encryption when Hash algorithm corresponds to decipherment algorithm and target data is decrypted, and extracts the target account A after decrypting in target data.By target Account A is compared with the current account for logging in client, and current account is account A, then requests to deliver to management server empty Quasi- commodity.
Account A is set VIP account by management server, completes the delivery of virtual goods, sends and delivers to client Successful first notice, client send the second notice after receiving the first notice, to trading server, and trading server connects After receiving the second notice, the corresponding callback information 1 of order V is not retransmited.
Alternatively, client is requested after delivering virtual goods to management server, management server delivers failure, order V's Interior purchase is interrupted.Later, user using account B log in client, login be cold-started client, thus trigger trading server to Client feedback callback information 1.After client receives callback information 1, extract target data from callback information 1, using with Hash algorithm when encryption corresponds to decipherment algorithm and target data is decrypted, and extracts the target account after decrypting in target data A.Target account A is compared with the current account B for logging in client, current account is account B, it is different from target account A, Then terminate the delivery of virtual goods.
Corresponding to above method embodiment, one embodiment of the invention additionally provides the interior purchase managing device of virtual goods.
As shown in figure 3, the interior purchase managing device of the virtual goods of one embodiment of the invention, is applied to client, the device May include:
Target account obtain module 301, for when receive trading server transmission about virtual goods successful payment Callback information when, obtain and be stored in advance in the target account that in the trading server, the payment virtual goods are utilized Number;Wherein, the target account is that the client is sent to the trading server when request pays the virtual goods 's;
Judgment module 302, for judging the target account and logging in whether the current account of the client is same Account obtains judging result;
Delivery request determining module 303, for when judging result shows the target account and logs in the client When current account is same account, the virtual goods are delivered in the corresponding management server request of Xiang Suoshu client;Otherwise, it ties Line journey.
A kind of interior purchase managing device of virtual goods provided in an embodiment of the present invention is applied to client, hands over when receiving When the callback information about virtual goods successful payment that easy server is sent, target account is obtained from trading server, in turn Judge target account and log in whether the current account of client is same account, when judging result shows target account and login When the current account of client is same account, virtual goods are delivered to the corresponding management server request of client;Otherwise, it ties Line journey.The case where replacement account logs in client after interrupting for interior purchase, when receiving callback information again, due to we There are the comparisons of target account and the current account for logging in client for case, when comparing successfully, just carry out commodity delivery, therefore, Virtual goods can be delivered to avoid to the account for not buying virtual goods by this programme, realize the purpose for preventing interior purchase from accidentally rushing.
Optionally, above-mentioned apparatus further include: notice sending module;
The notice sending module, in the delivery request sending module 303, the corresponding management of Xiang Suoshu client After server sends the delivery request, when receiving the first notice that the corresponding management server of the client is sent, The second notification information is sent to the trading server;
Wherein, first notice is for showing that the virtual goods are delivered successfully, and second notice is for triggering Stating trading server terminates to send the callback information.
As shown in figure 4, the interior purchase managing device of the virtual goods of another embodiment of the present invention, is applied to client, the dress It sets and may include:
Payment request generation module 401, for buying the virtual goods about using the target account in acquisition After order information, the corresponding payment request of the virtual goods is generated, target data, the mesh are carried in the payment request Mark data are at least used to characterize the target account;
Payment request sending module 402, for sending the payment request to the trading server, so that the friendship Easy server is based on the payment request and pays the bill the virtual goods, and after successful payment, feedback is about described virtual The callback information of commodity successful payment, and save the target data in the payment request.
Target account obtain module 403, for when receive trading server transmission about virtual goods successful payment Callback information when, obtain and be stored in advance in the target account that in the trading server, the payment virtual goods are utilized Number;Wherein, the target account is that the client is sent to the trading server when request pays the virtual goods 's;
Judgment module 404, for judging the target account and logging in whether the current account of the client is same Account obtains judging result;
Delivery request determining module 405, for when judging result shows the target account and logs in the client When current account is same account, the virtual goods are delivered in the corresponding management server request of Xiang Suoshu client;Otherwise, it ties Line journey.
Wherein, 403 to 405 be identical module with the 301 to 303 of Fig. 3 embodiment of the present invention.
Optionally, the target data is carried in above-mentioned callback information;
The target account obtains module 403, is specifically used for:
The target data is extracted from the callback information;
Based on the target data, the target account for paying the virtual goods is determined.
Optionally, the target account obtains module 403, is specifically used for:
The target data is requested to the trading server;
Based on the target data, the target account for paying the virtual goods is determined.
Optionally, above-mentioned target data includes: the target account;
Alternatively,
The target data includes: target string;
Wherein, the target string is at least to carry out encrypted word to the target account using predetermined cryptographic algorithm Symbol string.
Corresponding to above-described embodiment, the embodiment of the invention also provides a kind of client devices, as shown in figure 5, the equipment May include:
Processor 501, communication interface 502, memory 503 and communication bus 504, wherein processor 501, communication interface 502, memory logical 503 crosses communication bus 504 and completes mutual communication;
Memory 503, for storing computer program;
Processor 501 when for executing the computer program stored on above-mentioned memory 503, realizes above-described embodiment In any virtual goods interior purchase management method the step of.
A kind of client device provided in an embodiment of the present invention, when receive trading server transmission about virtual goods When the callback information of successful payment, target account is obtained from trading server, and then judges target account and logs in client Whether current account is same account, when the current account that judging result shows target account and logs in client is same account When, virtual goods are delivered to the corresponding management server request of client;Otherwise, terminate process.It is replaced after being interrupted for interior purchase Account logs in the case where client, when receiving callback information again, since this programme there are target account and logs in client The comparison of the current account at end, when comparing successfully, just progress commodity delivery therefore can be to avoid to not purchasing by this programme The account for buying virtual goods delivers virtual goods, realizes the purpose for preventing interior purchase from accidentally rushing.
Above-mentioned memory may include RAM (Random Access Memory, random access memory), also may include NVM (Non-Volatile Memory, nonvolatile memory), for example, at least a magnetic disk storage.Optionally, memory It can also be that at least one is located away from the storage device of above-mentioned processor.
Above-mentioned processor can be general processor, including CPU (Central Processing Unit, central processing Device), NP (Network Processor, network processing unit) etc.;Can also be DSP (Digital Signal Processor, Digital signal processor), ASIC (Application Specific Integrated Circuit, specific integrated circuit), FPGA (Field-Programmable Gate Array, field programmable gate array) or other programmable logic device are divided Vertical door or transistor logic, discrete hardware components.
The computer readable storage medium that one embodiment of the invention provides, is contained in client device, this is computer-readable Computer program is stored in storage medium, when which is executed by processor, realize it is above-mentioned apply it is any virtual in example The step of interior purchase management method of commodity.
A kind of computer readable storage medium provided in an embodiment of the present invention, is contained in client device, which can It reads to be stored with computer program in storage medium, when which is executed by processor, be sent out when receiving trading server When the callback information about virtual goods successful payment sent, target account is obtained from trading server, and then judge target account Number and log in whether the current account of client is same account, when judging result shows target account and log in client to work as When preceding account is same account, virtual goods are delivered to the corresponding management server request of client;Otherwise, terminate process.It is right The case where replacement account logs in client after interior purchase interruption, when receiving callback information again, since there are mesh for this programme It marks account and logs in the comparison of the current account of client, when comparing successfully, just carry out commodity delivery and therefore pass through we Case can deliver virtual goods to avoid to the account for not buying virtual goods, realize the purpose for preventing interior purchase from accidentally rushing.
In another embodiment provided by the invention, a kind of computer program product comprising instruction is additionally provided, when it When running on computers, so that computer executes the interior purchase management method of any virtual goods in above-described embodiment.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or It partly generates according to process or function described in the embodiment of the present invention.The computer can be general purpose computer, dedicated meter Calculation machine, computer network or other programmable devices.The computer instruction can store in computer readable storage medium In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer Instruction can pass through wired (such as coaxial cable, optical fiber, DSL from a web-site, computer, server or data center (Digital Subscriber Line, Digital Subscriber Line) or wireless (such as: infrared ray, radio, microwave etc.) mode is to another One web-site, computer, server or data center are transmitted.The computer readable storage medium can be calculating Any usable medium that machine can access either includes the numbers such as one or more usable mediums integrated server, data center According to storage equipment.The usable medium can be magnetic medium, and (for example, floppy disk, hard disk, tape), optical medium (such as: DVD (Digital Versatile Disc, digital versatile disc)) or semiconductor medium (such as: SSD (Solid State Disk, solid state hard disk)) etc..
Herein, relational terms such as first and second and the like be used merely to by an entity or operation with it is another One entity or operation distinguish, and without necessarily requiring or implying between these entities or operation, there are any this reality Relationship or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to the packet of nonexcludability Contain, so that the process, method, article or equipment for including a series of elements not only includes those elements, but also including Other elements that are not explicitly listed, or further include for elements inherent to such a process, method, article, or device. In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including the element Process, method, article or equipment in there is also other identical elements.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device and For apparatus embodiments, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to method The part of embodiment illustrates.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (10)

1. a kind of interior purchase management method of virtual goods, which is characterized in that be applied to client, which comprises
When receiving the callback information about virtual goods successful payment of trading server transmission, acquisition is stored in advance in institute State the target account that in trading server, the payment virtual goods are utilized;Wherein, the target account is the client End is sent to the trading server when request pays the virtual goods;
Judge the target account and log in whether the current account of the client is same account, obtains judging result;
When judging result shows that the current account of the target account and the login client is same account, to the visitor The virtual goods are delivered in the corresponding management server request in family end;Otherwise, terminate process.
2. the method according to claim 1, wherein receive trading server transmission about virtual goods Before the callback information of successful payment, the method also includes:
After obtaining about the order information of the virtual goods is bought using the target account, the virtual goods pair are generated The payment request answered carries target data in the payment request, and the target data is at least used to characterize the target account Number;
The payment request is sent to the trading server, so that the trading server is based on the payment request to institute It states virtual goods to pay the bill, after successful payment, feeds back the callback information about the virtual goods successful payment, and save The target data in the payment request.
3. according to the method described in claim 2, it is characterized in that, carrying the target data in the callback information;
The acquisition is stored in advance in the target account that in the trading server, the payment virtual goods are utilized, packet It includes:
The target data is extracted from the callback information;
Based on the target data, the target account for paying the virtual goods is determined.
4. according to the method described in claim 2, it is characterized in that, the acquisition is stored in advance in the trading server , the target account that the payment virtual goods are utilized, comprising:
The target data is requested to the trading server;
Based on the target data, the target account for paying the virtual goods is determined.
5. according to the method described in claim 2, it is characterized in that, the target data includes: the target account;
Alternatively,
The target data includes: target string;
Wherein, the target string is at least to carry out encrypted character to the target account using predetermined cryptographic algorithm String.
6. the method according to claim 1, wherein described to the corresponding management server hair of the client After sending the delivery request, the method also includes:
If receiving the first notice that the corresponding management server of the client is sent, sent to the trading server Second notification information;
Wherein, first notice is for showing that the virtual goods are delivered successfully, and second notice is for triggering the friendship Easy server terminates to send the callback information.
7. a kind of interior purchase managing device of virtual goods, which is characterized in that be applied to client, described device includes:
Target account obtains module, for believing when the readjustment about virtual goods successful payment for receiving trading server transmission When breath, obtains and be stored in advance in the target account that in the trading server, the payment virtual goods are utilized;Wherein, The target account is that the client is sent to the trading server when request pays the virtual goods;
Judgment module is obtained for judging the target account and logging in whether the current account of the client is same account To judging result;
Delivery request determining module, for when judging result shows the target account and logs in the current account of the client When for same account, the virtual goods are delivered in the corresponding management server request of Xiang Suoshu client;Otherwise, terminate process.
8. device according to claim 7, which is characterized in that described device further include: payment request generation module and branch Pay request sending module;
The payment request generation module, for obtaining about the order for buying the virtual goods using the target account After information, the corresponding payment request of the virtual goods is generated, target data, the number of targets are carried in the payment request According at least for characterizing the target account;
The payment request sending module, for sending the payment request to the trading server, so that the transaction Server is based on the payment request and pays the bill the virtual goods, after successful payment, feeds back about the virtual quotient The callback information of product successful payment, and save the target data in the payment request.
9. a kind of client device, which is characterized in that including processor, communication interface, memory and communication bus, wherein place Device, communication interface are managed, memory completes mutual communication by bus;Memory, for storing computer program;Processing Device realizes the method and step as described in claim 1-6 is any for executing the program stored on memory.
10. a kind of computer readable storage medium, which is characterized in that be contained in client device, storage in the storage medium There is computer program, the method and step as described in claim 1-6 is any is realized when the computer program is executed by processor.
CN201811641670.6A 2018-12-29 2018-12-29 Interior purchase management method, device and the client device of virtual goods Pending CN110033340A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811641670.6A CN110033340A (en) 2018-12-29 2018-12-29 Interior purchase management method, device and the client device of virtual goods

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811641670.6A CN110033340A (en) 2018-12-29 2018-12-29 Interior purchase management method, device and the client device of virtual goods

Publications (1)

Publication Number Publication Date
CN110033340A true CN110033340A (en) 2019-07-19

Family

ID=67235422

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811641670.6A Pending CN110033340A (en) 2018-12-29 2018-12-29 Interior purchase management method, device and the client device of virtual goods

Country Status (1)

Country Link
CN (1) CN110033340A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111325553A (en) * 2020-02-07 2020-06-23 腾讯科技(深圳)有限公司 Payment method, device and equipment for exchange resources and readable storage medium
CN111612577A (en) * 2020-05-14 2020-09-01 北京字节跳动网络技术有限公司 Order processing method and device, electronic equipment and storage medium
CN111709730A (en) * 2020-06-18 2020-09-25 天津洪恩完美未来教育科技有限公司 Virtual commodity payment method, device, server and storage medium
CN112561654A (en) * 2020-12-21 2021-03-26 杭州贝嘟科技有限公司 Commodity adding method and device, computer equipment and readable storage medium
CN117252702A (en) * 2023-11-20 2023-12-19 深圳奥联信息安全技术有限公司 Block chain-based data asset transaction method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140006127A1 (en) * 2012-07-02 2014-01-02 Serve Virtual Enterprises, Inc. Systems and Methods for Earning Virtual Value Associated with Transaction Account Activities
CN107067239A (en) * 2017-04-25 2017-08-18 腾讯科技(深圳)有限公司 Apps server and its information processing method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140006127A1 (en) * 2012-07-02 2014-01-02 Serve Virtual Enterprises, Inc. Systems and Methods for Earning Virtual Value Associated with Transaction Account Activities
CN107067239A (en) * 2017-04-25 2017-08-18 腾讯科技(深圳)有限公司 Apps server and its information processing method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111325553A (en) * 2020-02-07 2020-06-23 腾讯科技(深圳)有限公司 Payment method, device and equipment for exchange resources and readable storage medium
CN111325553B (en) * 2020-02-07 2021-09-14 腾讯科技(深圳)有限公司 Payment method, device and equipment for exchange resources and readable storage medium
CN111612577A (en) * 2020-05-14 2020-09-01 北京字节跳动网络技术有限公司 Order processing method and device, electronic equipment and storage medium
CN111709730A (en) * 2020-06-18 2020-09-25 天津洪恩完美未来教育科技有限公司 Virtual commodity payment method, device, server and storage medium
CN112561654A (en) * 2020-12-21 2021-03-26 杭州贝嘟科技有限公司 Commodity adding method and device, computer equipment and readable storage medium
CN117252702A (en) * 2023-11-20 2023-12-19 深圳奥联信息安全技术有限公司 Block chain-based data asset transaction method and system
CN117252702B (en) * 2023-11-20 2024-05-10 深圳奥联信息安全技术有限公司 Block chain-based data asset transaction method and system

Similar Documents

Publication Publication Date Title
CN110033340A (en) Interior purchase management method, device and the client device of virtual goods
US10592985B2 (en) Systems and methods for a commodity contracts market using a secure distributed transaction ledger
US9530126B2 (en) Secure mobile payment processing
JP5634337B2 (en) Content data distribution system, content data distribution method, and semiconductor device
US9666013B2 (en) Cloud-based vending
JP2017501620A (en) System and method for enabling additional devices to be checked into a BLUETOOTH (BLE) low energy (BLE) beacon
CN107808323A (en) The method and system of content purchase
WO2017020618A1 (en) Electronic resource processing method and apparatus
US8825512B2 (en) Persistent network-based electronic transaction services
US20150363774A1 (en) Methods and systems for permissions management with enhanced security
WO2017092654A1 (en) Pos machine transaction processing method and system
US8532612B1 (en) Obtaining mobile information for networked transactions
US20120036075A1 (en) Determining mobile account to apply marketplace charges
JP2015528954A (en) Online payment interactive processing method and online payment interactive processing system
US20210133736A1 (en) Method of electronic payment by means of a Uniform Resource Identifier (URI)
KR20190090699A (en) Method And Apparatus for Providing Wallet for Enhancing Security And keeping Crypto-currency
JP2006178547A (en) Contents reselling service system
KR101874720B1 (en) Method and system to deliver digital goods
CN110751467A (en) Digital currency generation method and system
JP2011248709A (en) Sales system
US10762558B1 (en) System, method, and computer program for authorizing a payment using gesture data
US7007000B2 (en) Secure online purchasing
JP2002150195A (en) Electronic settlement system and electronic settlement method
KR102278763B1 (en) Account transferring system and method thereof
JP7195016B2 (en) Transaction processing method, system and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20210531

Address after: 25, 5th floor, shuangjingfang office building, 3 frisha street, Singapore

Applicant after: Zhuomi Private Ltd.

Address before: Room 1101, Santai Commercial Building, 139 Connaught Road, Hong Kong, China

Applicant before: HONG KONG LIVE.ME Corp.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20190719

RJ01 Rejection of invention patent application after publication