The method and device of virtual article tradingTechnical field
The invention belongs to the method and device of Internet technical field, more particularly to virtual article trading.
Background technology
Network game virtual article refers to the article being derived in the virtual online game world, mainly has:VirtuallyCurrency(Gold coin), virtual equipment(Weapon, plate armour, empirical value etc.), virtual pet, virtual role(Personage), GID etc..InstituteStating virtual objects can only be stored in a network in the form of numerical chracter, different from traditional product.
Existing online game transaction platform is the side using single class article trading when being traded to virtual objects, allFormula, i.e., can only once merchandise a class virtual objects, when need merchandise multiclass virtual objects(I.e. different virtual objects)When, it is necessary toOperation is multiple, cumbersome, less efficient.
The content of the invention
The embodiment of the present invention provides a kind of method of virtual article trading, is existed with solving existing online game transaction platformWhen carrying out multiclass virtual article trading, the problem of cumbersome and low efficiency.
The first aspect of the embodiment of the present invention includes there is provided a kind of method of virtual article trading, methods described:
Virtual objects are packaged into multiple different commodity, the commodity and include at least two class virtual objects;
The information of commodity after displaying packing;
The commodity to be purchased that user selects according to the merchandise news shown are received, and the commodity to be purchased takeWith clearing;
After disbursement and sattlement is complete the commodity to be purchased are sent to the user.
The second aspect of the embodiment of the present invention includes there is provided a kind of device of virtual article trading, described device:
Information process unit, at least two are included for virtual objects to be packaged into multiple different commodity, the commodityClass virtual objects;
Information display unit, the information for showing the commodity after packing;
Disbursement and sattlement unit, for receiving the commodity to be purchased that user selects according to the merchandise news shown, and to instituteState commodity to be purchased and carry out disbursement and sattlement;
Information transmitting unit, for sending the commodity to be purchased to the user after disbursement and sattlement is complete.
The beneficial effect that the embodiment of the present invention exists compared with prior art is:The embodiment of the present invention passes through multiclass is virtualArticle is packaged into commodity so that user can disposably buy required multiclass virtual objects when buying virtual objects, subtractThe number of times of few virtual article trading operation so that virtual article trading process is simpler, quick, effectively improves virtual article tradingEfficiency.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior artIn required for the accompanying drawing that uses be briefly described, it should be apparent that, drawings in the following description are only some of the present inventionEmbodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to theseAccompanying drawing obtains other accompanying drawings.
Fig. 1 is the implementation process figure for the virtual article trading method that the embodiment of the present invention one is provided;
Fig. 2 is the exemplary plot for the commodity transaction that the embodiment of the present invention one is provided;
Fig. 3 is the structured flowchart for the virtual article trading device that the embodiment of the present invention two is provided;
Fig. 4 is the structured flowchart for the terminal device that the embodiment of the present invention three is provided.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and ExamplesThe present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, andIt is not used in the restriction present invention.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Embodiment one:
Fig. 1 shows the implementation process for the virtual article trading method that first embodiment is provided, and details are as follows for its process:
In step S101, virtual objects are packaged into multiple different commodity, the commodity empty comprising at least two classesIntend article.
In the present embodiment, it is described virtual objects are packaged into multiple different commodity to include but is not limited to following two sidesFormula:
Mode one:The information for the virtual objects for needing to be packed is listed in the way of list, wherein the virtual objectsInformation includes the title of virtual objects, the unique identifier of virtual objects(That is the ID of virtual objects), virtual objects quantity withAnd the transmission interface of virtual objects etc., as shown in table 1(Not to be limited shown in table 1):
Table 1
Will be described according to the title of virtual objects in the virtual objects information and/or the transmission interface type of virtual objectsVirtual objects are packaged into multiple different commodity, and preserve the information of the commodity.The information of wherein described commodity includes commodityUnique identifier(That is commodity ID), trade name, commodity price, in content of good and commodity the transmission of each virtual objects connectMouthful(Exemplary, the transmission interface of each virtual objects is separated with branch, as shown in table 2)Deng;Wrapped in wherein described content of goodInclude the unique identifier of virtual objects and/or the title of virtual objects and corresponding virtual objects quantity(Exemplary, its formCan be as shown in the column of 2 content of good of table one)Deng as shown in table 2(Not to be limited shown in table 2):
Table 2
In the present embodiment, because the title of different its virtual objects of game and the transmission interface of virtual objects can all be presentDifference, therefore can be according to the title of virtual objects in the virtual objects information and/or the transmission interface type of virtual objectsThe virtual objects are packaged into multiple different commodity.
In step s 103, the commodity to be purchased that user selects according to the merchandise news shown are received, and is treated to describedBuy commodity and carry out disbursement and sattlement.
As shown in Fig. 2 when receiving user's selection commodity to be purchased, disbursement and sattlement interface is shown, and in user's inputAfter corresponding information, disbursement and sattlement is carried out to the commodity to be purchased.
It should be noted that Fig. 2 is served only for a kind of example, those skilled in the art will be appreciated that the example is served only forThe present invention is explained, is not intended to limit the scope of the invention, any all Ying Ben of the virtual article trading with identical functionWithin invention protection domain.
It is preferred that, the present embodiment, can also be to the commodity to be purchased in predetermined discount ratio in disbursement and sattlement(Such as9 foldings or 8 foldings etc.)Carry out disbursement and sattlement.
In step S104, the commodity to be purchased are sent to the user after disbursement and sattlement is complete.
Can be specifically to obtain transmission interface, the unique mark of virtual objects of virtual objects in the commodity to be purchasedKnow the title and corresponding virtual objects quantity of symbol and/or virtual objects, and by the unique mark of the virtual objects of acquisitionThe title and corresponding virtual objects quantity of symbol and/or virtual objects are stored to the first array(As shown in table 3), by the institute of acquisitionThe transmission interface for stating virtual objects is stored to the second array(As shown in table 4);
Table 3
Table 4
The unique identifier of virtual objects and/or the title of virtual objects that are successively read in first array and correspondinglyVirtual objects quantity and the virtual objects in the second array transmission interface, by the unique mark of the virtual objects read every timeSymbol and/or the transmission interface of the titles of virtual objects, corresponding virtual objects quantity and virtual objects composition HTTP request are (such ashttp://xxx.com.cmcmd=12001&item_id=12001&num=1), by the HTTP request to the user'sTarget account sends the commodity to be purchased.
Pass through the embodiment of the present invention so that the multiclass needed for user can disposably buy when buying virtual objects is emptyIntend article, reduce the number of times of virtual article trading operation so that virtual article trading process is simpler, quick, effectively improves voidIntend the efficiency of article trading.
Embodiment two:
Fig. 3 shows the composition structure for the virtual article trading device that second embodiment of the invention is provided, for the ease of sayingIt is bright, it illustrate only the part related to the embodiment of the present invention.
The virtual article trading device can be operate in software unit, hardware cell or software and hardware in terminal deviceThe unit being combined, can also be integrated into the terminal device or run on the terminal device as independent suspension memberIn application system.
The virtual article trading device include information process unit 31, information display unit 32, disbursement and sattlement unit 33 withAnd information transmitting unit 34.Wherein, the concrete function of each unit is as follows:
Information process unit 31, for virtual objects to be packaged into multiple different commodity, the commodity comprising at leastTwo class virtual objects;
Information display unit 32, the information for showing the commodity after packing;
Disbursement and sattlement unit 33, for receiving the commodity to be purchased that user selects according to the merchandise news shown, and it is rightThe commodity to be purchased carry out disbursement and sattlement;
Information transmitting unit 34, for sending the commodity to be purchased to the user after disbursement and sattlement is complete.
Further, described information processing unit 31 includes:
First information processing module 311, the information for listing the virtual objects for needing to be packed in the way of list;
Second message processing module 312, for according to the title of virtual objects in the virtual objects information and/or virtuallyThe virtual objects are packaged into multiple different commodity by the transmission interface type of article, and preserve the information of the commodity.
Further, described information processing unit 31 includes:
Data obtaining module 313, the information of virtual objects is bought for obtaining user's history;
Number of times statistical module 314, the information for buying virtual objects according to the history, statistics different user purchase is sameThe number of times of one virtual objects;
Message processing module 315, for the number of times to be more than or equal to the virtual objects of preset value by virtual objectsTitle and/or the transmission interface type of virtual objects are packaged into different commodity, and preserve the information of the commodity.
Further, the unique identifier of the information of the commodity including commodity, trade name, commodity price, in commodityThe transmission interface of each virtual objects in appearance and commodity;Wherein described content of good includes the unique identifier of virtual objectsAnd/or the title and corresponding virtual objects quantity of virtual objects.
Further, the disbursement and sattlement unit 33 is used for:
Disbursement and sattlement is carried out in predetermined discount ratio to the commodity to be purchased.
Further, described information transmitting element 34 includes:
Information storage module 341, for obtaining the transmission interface of virtual objects in the commodity to be purchased, virtual objectsThe title and corresponding virtual objects quantity of unique identifier and/or virtual objects, and by the virtual objects of acquisition onlyThe title and corresponding virtual objects quantity of one identifier and/or virtual objects are stored to the first array, by the void of acquisitionThe transmission interface for intending article is stored to the second array;
Information sending module 342, for the unique identifier of virtual objects that is successively read in first array and/orThe transmission interface of the title of virtual objects and corresponding virtual objects quantity and the virtual objects in the second array, will read every timeVirtual objects unique identifier and/or the transmission of the titles of virtual objects, corresponding virtual objects quantity and virtual objectsInterface constitutes HTTP request, and the commodity to be purchased are sent to the user by the HTTP request.
It is apparent to those skilled in the art that, for convenience and simplicity of description, only with above-mentioned each functionUnit, the division progress of module are for example, in practical application, as needed can distribute above-mentioned functions by different work(Can unit, module complete, i.e. the internal structure of described device is divided into different functional unit or module, to complete above descriptionAll or part of function.Each functional unit or module in embodiment can be integrated in a processing unit, can alsoThat unit is individually physically present, can also two or more units it is integrated in a unit, above-mentioned integrated listMember or module can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.In addition, each functionUnit, the specific name of module are also only to facilitate mutually differentiation, is not limited to the protection domain of the application.Above-mentioned dressMiddle unit, the specific work process of module are put, the corresponding process in preceding method embodiment one is may be referred to, no longer gone to live in the household of one's in-laws on getting married hereinState.
Embodiment three:
Fig. 4 shows the composition structure for the terminal device that third embodiment of the invention is provided, provided in an embodiment of the present inventionTerminal device can be used for implement Fig. 1 and/or Fig. 3 correspondence embodiment method, device, for convenience of description, illustrate only withThe related part of the embodiment of the present invention, particular technique details is not disclosed.
The terminal device 1 have one or more than one(One is only shown in figure)The processor 101 of processing core andInclude one or more(One is only shown in figure)The memory 102 of computer-readable recording medium.
Wherein, memory 102 can be used for virtual article trading side in storage software program and module, such as above-mentioned embodimentCorresponding programmed instruction/the module of method/device, processor 101 is stored in software program and mould in memory 102 by operationBlock, so as to perform various function application and data processing, that is, realizes the packing transaction of virtual objects.Memory 102 may includeHigh speed random access memory, may also include nonvolatile memory, such as one or more magnetic storage device, flash memory or itsHis non-volatile solid state memory etc..
Processor 101 is the control centre of terminal device 1, using in various interfaces and the whole terminal device 1 of connectionVarious pieces, by operation or perform and be stored in software program and/or module in memory 102, and call and be stored inData in memory 102, perform the various functions and processing data of terminal device 1, so as to carry out overall prison to terminal device 1Control.Optionally, processor 101 can include one or more processing units, can also integrated application processor and modulatedemodulate mediateDevice is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is mainHandle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 101.
It should be noted that it will be understood by those skilled in the art that the terminal device 1 can also include display 103 withAnd transceiver 104, the display 103 is displayed for the boundary for needing during virtual article trading to interact with userFace.The transceiver 104 is used to receiving or send picture related during virtual article trading or data.The processor101 are connected with memory 102, display 103 and transceiver 104 respectively.
Specifically in the present embodiment, the terminal device 1 includes:One or more than one processor;Memory;WithAnd one or more than one program, wherein one or more than one program storage is in the memory, and warpConfiguration with by one or more than one computing device, one or more than one program bag contain be used to carrying out withThe instruction of lower operation:
Virtual objects are packaged into multiple different commodity, the commodity and include at least two class virtual objects;
The information of commodity after displaying packing;
The commodity to be purchased that user selects according to the merchandise news shown are received, and the commodity to be purchased takeWith clearing;
After disbursement and sattlement is complete the commodity to be purchased are sent to the user.
In second of the possible embodiment provided based on the first possible embodiment, the userIn the memory of equipment, also comprising for performing the instruction operated below:
The information for the virtual objects for needing to be packed is listed in the way of list;
Will be described according to the title of virtual objects in the virtual objects information and/or the transmission interface type of virtual objectsVirtual objects are packaged into multiple different commodity, and preserve the information of the commodity.
In the third the possible embodiment provided based on the first possible embodiment, the userIn the memory of equipment, also comprising for performing the instruction operated below:
Obtain the information that user's history buys virtual objects;
The information of virtual objects is bought according to the history, statistics different user buys the number of times of same virtual objects;
The number of times is more than or equal to the virtual objects of preset value by the title of virtual objects and/or the hair of virtual objectsSend interface type to be packaged into different commodity, and preserve the information of the commodity.
In the 4th kind of possible embodiment provided based on second or the third possible embodiment, instituteIn the memory for stating user equipment, also comprising for performing the instruction operated below:
The information of the commodity includes unique identifier, trade name, commodity price, content of good and the commodity of commodityIn each virtual objects transmission interface;Wherein described content of good includes the unique identifier and/or virtual object of virtual objectsThe title of product and corresponding virtual objects quantity.
In the 5th kind of possible embodiment provided based on the first possible embodiment, the userIn the memory of equipment, also comprising for performing the instruction operated below:
Disbursement and sattlement is carried out in predetermined discount ratio to the commodity to be purchased.
In the 6th kind of possible embodiment provided based on the first possible embodiment, the userIn the memory of equipment, also comprising for performing the instruction operated below:
Obtain the transmission interface of virtual objects in the commodity to be purchased, the unique identifier of virtual objects and/or virtualThe title of article and corresponding virtual objects quantity, and by the unique identifier and/or virtual object of the virtual objects of acquisitionThe title of product and corresponding virtual objects quantity are stored to the first array, and the transmission interface of the virtual objects of acquisition is storedTo the second array;
The unique identifier of virtual objects and/or the title of virtual objects that are successively read in first array and correspondinglyVirtual objects quantity and the virtual objects in the second array transmission interface, by the unique mark of the virtual objects read every timeSymbol and/or the transmission interface of the titles of virtual objects, corresponding virtual objects quantity and virtual objects composition HTTP request, pass throughThe HTTP request sends the commodity to be purchased to the user.
In summary, the embodiment of the present invention by multiclass virtual objects by bundling package sale so that user is empty in purchaseIntend disposably buying required multiclass virtual objects during article, reduce the number of times of virtual article trading operation so that be emptyIntend article trading process simpler, quick, effectively improve the efficiency of virtual article trading.
Those of ordinary skill in the art are further appreciated that all or part of step realized in above-described embodiment method is canTo instruct the hardware of correlation to complete by program, described program can be stored in a computer read/write memory mediumIn, described storage medium, including ROM/RAM, disk, CD etc..
Above content is to combine specific preferred embodiment further description made for the present invention, it is impossible to assertThe specific implementation of the present invention is confined to these explanations.For general technical staff of the technical field of the invention,Some equivalent substitutes or obvious modification are made on the premise of not departing from present inventive concept, and performance or purposes are identical, all shouldIt is considered as belonging to the scope of patent protection that the present invention is determined by the claims submitted.