CN104680307A - Method and device for processing item transaction - Google Patents

Method and device for processing item transaction Download PDF

Info

Publication number
CN104680307A
CN104680307A CN201510003822.XA CN201510003822A CN104680307A CN 104680307 A CN104680307 A CN 104680307A CN 201510003822 A CN201510003822 A CN 201510003822A CN 104680307 A CN104680307 A CN 104680307A
Authority
CN
China
Prior art keywords
item
target item
processing transactions
article
article processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510003822.XA
Other languages
Chinese (zh)
Other versions
CN104680307B (en
Inventor
卓达城
张文瑞
李德苑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510003822.XA priority Critical patent/CN104680307B/en
Publication of CN104680307A publication Critical patent/CN104680307A/en
Priority to PCT/CN2016/070468 priority patent/WO2016107612A1/en
Priority to US15/490,276 priority patent/US10997569B2/en
Application granted granted Critical
Publication of CN104680307B publication Critical patent/CN104680307B/en
Priority to US17/218,107 priority patent/US11978025B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The embodiment of the invention discloses a method for processing an item transaction. The method comprises the following steps of receiving an item processing request, wherein the item processing request carries a target item identifier; creating an item processing transaction corresponding to a target item according to the item processing request, including the contents of creating an item processing transaction identifier according to the target item identifier, and recording the state of the target item before the item processing transaction is executed; executing the item processing transaction corresponding to the target item according to the item processing transaction identifier; if the execution is failed, restoring the state of the target item before the item processing transaction is executed according to the item processing transaction identifier. The embodiment of the invention also discloses a device for processing the item transaction. According to the method and the device disclosed by the invention, the independence and the stability of item transaction execution can be effectively guaranteed.

Description

A kind of item transaction disposal route and device
Technical field
The present invention relates to a kind of Internet technical field, particularly relate to a kind of item transaction disposal route and device.
Background technology
Along with the development of Internet technology, using and processing of virtual objects becomes in people's daily life the affairs faced by often needing, normally manage each virtual objects based on user account during back-stage management virtual objects in prior art, namely virtual objects depends on owning user account.In practice, under finding the way to manage of existing virtual objects, often run into following scene (as shown in Figure 1): user A initiates article P to give B.In such a scenario, system is first deleted the P in the item lists of user A, then in the item lists of user B, adds P.If P is deleted in the item lists of user A, at this time, background server generation suspension, power-off or the fault such as to restart, P in the item lists of user B is caused not to be added into, article P so will be caused forever to disappear, neither in the item lists of user A, again not in the item lists of user B.This kind of mistake brings very large inconvenience and loss to user undoubtedly.
Summary of the invention
Embodiment of the present invention technical matters to be solved is, provides a kind of item transaction disposal route and device, effectively can reduce above-mentioned Item Management and to make mistakes the generation of situation.
In order to solve the problems of the technologies described above, embodiments provide a kind of item transaction disposal route, described method comprises:
Receive article process request, target item mark is carried in described article process request;
Create article processing transactions corresponding to target item according to described article process request, comprise and create article processing transactions mark according to described target item mark, and record the state of described target item before described article processing transactions performs;
Article processing transactions corresponding to described target item is performed according to described article processing transactions mark, if perform failure, then the state of target item before described article processing transactions performs according to described article processing transactions identification recovery.
Correspondingly, the embodiment of the present invention additionally provides 6, a kind of item transaction treating apparatus, comprising:
Transactions requests acquisition module, for receiving article process request, target item mark is carried in described article process request;
Item transaction creation module, for creating article processing transactions corresponding to target item according to described article process request, comprise and create described article processing transactions mark according to described target item mark, and record the state of described target item before described article processing transactions performs;
Transaction model, for performing article processing transactions corresponding to described target item according to described article processing transactions mark, if perform failure, then the state of target item before described article processing transactions performs according to described article processing transactions identification recovery.
The item transaction disposal route that the embodiment of the present invention provides creates the article processing transactions of its correspondence by based target article, and before performing article processing transactions, record the state of described target item before described article processing transactions performs, thus realize effectively ensureing the independence that item transaction performs and stability.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic diagram that in prior art, item transaction treatment scheme process produces fault;
Fig. 2 is the schematic flow sheet of a kind of item transaction disposal route in the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the item transaction disposal route in another embodiment of the present invention;
Fig. 4 is the schematic diagram creating article processing transactions corresponding to target item in the embodiment of the present invention;
Fig. 5 is the schematic diagram creating article processing transactions corresponding to target item in another embodiment of the present invention;
Fig. 6 is the schematic flow sheet of the item transaction disposal route in another embodiment of the present invention;
Fig. 7 is the structural representation of a kind of item transaction treating apparatus in the embodiment of the present invention;
Fig. 8 is the structural representation of the item transaction treating apparatus in another embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Item transaction disposal route in the embodiment of the present invention can be implemented by item transaction treating apparatus, it can be implemented in backstage, internet and is in charge of in the server of product data, such as, in instant communication server, SNS (Social Networking Services, i.e. social network services) server or network game server.
Fig. 2 is the schematic flow sheet of a kind of item transaction disposal route in the embodiment of the present invention, and as shown in the figure, the item transaction treatment scheme in the present embodiment can comprise:
S101, receives article process request, and target item mark is carried in described article process request.
Concrete, item transaction treating apparatus can receive the article process request that user terminal is submitted to, asks the article to the user account of this user terminal associates to carry out respective handling.Such as item transaction treating apparatus sends the Item Information of its user account association to user terminal, after the Item Information of its user account of user terminal displays association, obtain the transaction operation instruction that user inputs for described Item Information, thus submit corresponding article process request according to transaction operation instruction to item transaction treating apparatus, described article process request can comprise item transfer request, article removal request, article use asks, product data change is asked.And then in other embodiment, item transaction treating apparatus also can obtain article process request by other means, and the behavior event that the third-party server of the relation that is such as associated in advance occurs in its corresponding client according to user sends article process request to the item transaction treating apparatus in the embodiment of the present invention.
If described article process request is item transfer request further, then it also needs to carry target item mark, the side's of producing account identification and the side's of proceeding to account identification, and the wherein said side of producing account identification can be the account identification submitting to the user account of the user terminal of this item transfer request corresponding.
S102, creates article processing transactions corresponding to described target item according to described article process request, comprises and creates article processing transactions mark according to described target item mark, and record the state of described target item before described article processing transactions performs.
Item transaction treating apparatus in the embodiment of the present invention can manage the article processing transactions of its correspondence for each target item, such as each target item safeguards its independently transaction queues, ensure that different article article processing transactions does not separately interfere with each other mutually.When receiving article process request, the target item mark that item transaction treating apparatus can carry according to it creates article processing transactions corresponding to target item, comprise and create described article processing transactions mark according to described target item mark, such as article processing transactions mark can adopt target item mark+processing transactions type identification+creation-time information, thus according to this target item identify can fast finding to the article processing transactions of this target item.
The content of described article processing transactions can comprise item transaction treating apparatus according to described article process request to the multiple treatment steps performed required for target item, and the article such as created according to article removal request delete affairs can comprise the incidence relation removing current interlock account and described target item; The item transfer affairs and for example created according to item transfer request can comprise the incidence relation removing the side's of producing account and described target item and the incidence relation setting up the side's of proceeding to account and described target item; According to article use request create article use affairs can comprise create article use case and more new article use record, etc.The state of described target item can comprise association status, use record and product data etc., the described association status i.e. user account information of the current association of these article.
S103, performs article processing transactions corresponding to described target item according to described article processing transactions mark, if perform failure, then and the state of target item before described article processing transactions performs according to described article processing transactions identification recovery.
Concrete, item transaction treating apparatus is after recording the state of described target item before described article processing transactions performs, the article processing transactions that can obtain according to the described establishment of described article processing transactions mark execution, such as article processing transactions is inserted in article processing transactions list corresponding to described target item, if (such as 5 seconds default execution time limit, 30 seconds) in do not complete described article processing transactions or perform and to re-execute number of times unsuccessfully and exceed predetermined threshold value and still fail to run succeeded, then determine to perform failure, and then get the state of described target item before described article processing transactions performs according to described article processing transactions mark, thus recover the state of described target item before described article processing transactions performs.
The item transaction disposal route that the embodiment of the present invention provides creates the article processing transactions of its correspondence by based target article, and before performing article processing transactions, record the state of described target item before described article processing transactions performs, thus realize effectively ensureing the independence that item transaction performs and stability.
Fig. 3 is the schematic flow sheet of the item transaction disposal route in another embodiment of the present invention, and as shown in the figure, the item transaction treatment scheme in the present embodiment can comprise:
S201, sends the Item Information of its user account association to user terminal.
Concrete, the user account that item transaction treating apparatus can use according to user terminal searches the Item Information of this user account association, and then send the Item Information of its user account association to user terminal, with the Item Information making its user account of user terminal displays associate.
S202, receives the article process request that user terminal is submitted to for the transaction operation instruction that described Item Information inputs according to user.
S203, confirms the current article processing transactions do not performed of described target item.
Item transaction treating apparatus in the embodiment of the present invention can manage the article processing transactions of its correspondence for each target item, such as each target item safeguards its independently transaction queues, ensure that different article article processing transactions does not separately interfere with each other mutually.And then whether can there is to this target item is current the article processing transactions performed by fast finding according to this target item mark, if there is the article processing transactions performed, can wait for that the current article processing transactions performed is disposed, or return issued transaction failure to user terminal.
S204, creates article processing transactions corresponding to described target item according to described article process request, and records the state of described target item before described article processing transactions performs.
When receiving article process request, the target item mark that item transaction treating apparatus can carry according to it creates article processing transactions corresponding to target item, comprise and create described article processing transactions mark according to described target item mark, such as article processing transactions mark can adopt target item mark+processing transactions type identification+creation-time information.
In specific implementation, can article processing transactions process corresponding to establishment target item as shown in Figure 4 and Figure 5, the article processing transactions created for target item P is in this embodiment managed by its article processing transactions list.
When as shown in Figure 4, when receiving the article process request for target item P, check in the article processing transactions list of target item P whether there is the article processing transactions performed, whether namely up-to-date article processing transactions completes, at this moment article processing transactions list comprises affairs 1, affairs 2 and affairs 3, up-to-date affairs 3 complete, then determine that up-to-date article processing transactions completes, thus article processing transactions 4 corresponding to target item P can be created according to article process request, and then affairs 4 are inserted in the article processing transactions list of target item P.
In the case of fig. 5, when receiving the article process request for target item P, check in the article processing transactions list of target item P, whether up-to-date article processing transactions completes, at this moment article processing transactions list comprises affairs 1, affairs 2 and affairs 3, up-to-date affairs 3 are carried out, then determine that up-to-date article processing transactions does not complete, at this moment in order to ensure that the core resource of target item P is not modified the execution affecting other article processing transactions, refuse to create article processing transactions corresponding to target item P according to article process request.
S205, performs article processing transactions corresponding to described target item according to described article processing transactions mark, if perform failure, then and the state of target item before described article processing transactions performs according to described article processing transactions identification recovery.
Concrete, item transaction treating apparatus is after recording the state of described target item before described article processing transactions performs, the article processing transactions that can obtain according to the described establishment of described article processing transactions mark execution, such as article processing transactions is inserted in article processing transactions list corresponding to described target item, if (such as 5 seconds default execution time limit, 30 seconds) in do not complete described article processing transactions or perform and to re-execute number of times unsuccessfully and exceed predetermined threshold value and still fail to run succeeded, then determine to perform failure, and then get the state of described target item before described article processing transactions performs according to described article processing transactions mark, thus recover the state of described target item before described article processing transactions performs.
The item transaction disposal route that the embodiment of the present invention provides creates the article processing transactions of its correspondence by based target article, and before performing article processing transactions, record the state of described target item before described article processing transactions performs, thus realize effectively ensureing the independence that item transaction performs and stability.
Fig. 6 is the schematic flow sheet of the item transaction disposal route in another embodiment of the present invention, and as shown in the figure, the item transaction treatment scheme in the present embodiment can comprise:
S301, sends the Item Information of its user account association to user terminal;
S302, receives the item transfer request that user terminal is submitted to for the transaction operation instruction that described Item Information inputs according to user, and target item mark, the side's of producing account identification and the side's of proceeding to account identification are carried in described item transfer request.
S303, confirms the current article processing transactions do not performed of described target item.
Item transaction treating apparatus in the embodiment of the present invention can manage the article processing transactions of its correspondence for each target item, such as each target item safeguards its independently transaction queues, ensure that different article article processing transactions does not separately interfere with each other mutually.And then whether can there is to this target item is current the article processing transactions performed by fast finding according to this target item mark, if there is the article processing transactions performed, can wait for that the current article processing transactions performed is disposed, or return issued transaction failure to user terminal.。
S304, item transfer affairs corresponding to described target item are created according to described target item mark, and recording the association status of described item transfer affairs described target item before execution, described item transfer affairs comprise the incidence relation removing the side's of producing account and described target item and the incidence relation setting up the side's of proceeding to account and described target item.
The article processing transactions that described establishment target item is corresponding, comprise and create described article processing transactions mark according to described target item mark, such as article processing transactions mark can adopt target item mark+processing transactions type identification+creation-time information.
S305, performs item transfer affairs corresponding to described target item according to described item transfer Transaction Identifier, namely comprises and performs the incidence relation removing the side's of producing account and described target item and the incidence relation setting up the side's of proceeding to account and described target item.
S306, judges whether item transfer affairs run succeeded, if then flow process terminates, otherwise performs S307.
Concrete, re-execute number of times unsuccessfully exceed predetermined threshold value if do not complete described article processing transactions or perform within the default execution time limit, then determine to perform failure
S307, recovers the association status of described target item before described item transfer affairs perform according to described item transfer Transaction Identifier.
Optionally, after recovering the association status of described target item before described item transfer affairs perform, can select to re-execute S305, in other embodiment, also can return issued transaction failure to user terminal.
The item transaction disposal route that the embodiment of the present invention provides creates the article processing transactions of its correspondence by based target article, and before performing article processing transactions, record the state of described target item before described article processing transactions performs, thus realize effectively ensureing the independence that item transaction performs and stability.
Fig. 7 is the structural representation of a kind of item transaction treating apparatus in the embodiment of the present invention, and the item transaction treating apparatus as shown in the figure in the embodiment of the present invention comprises:
Transactions requests acquisition module 410, for receiving article process request, target item mark is carried in described article process request.
Concrete, transactions requests acquisition module 410 can receive the article process request that user terminal is submitted to, asks the article to the user account of this user terminal associates to carry out respective handling.And then in other embodiment, transactions requests acquisition module 410 also can obtain article process request by other means, and the behavior event that the third-party server of the relation that is such as associated in advance occurs in its corresponding client according to user sends article process request to the item transaction treating apparatus in the embodiment of the present invention.
If described article process request is item transfer request further, then it can also carry target item mark, the side's of producing account identification and the side's of proceeding to account identification, and the wherein said side of producing account identification can be the account identification submitting to the user account of the user terminal of this item transfer request corresponding.
Item transaction creation module 420, for creating article processing transactions corresponding to described target item according to described article process request, comprise and create article processing transactions mark according to described target item mark, and record the state of described target item before described article processing transactions performs.
Item transaction treating apparatus in the embodiment of the present invention can manage the article processing transactions of its correspondence for each target item, such as each target item safeguards its independently transaction queues, ensure that different article article processing transactions does not separately interfere with each other mutually.When receiving article process request, the target item mark that item transaction creation module 420 can be carried according to it creates article processing transactions corresponding to target item.Described article processing transactions mark is created according to described target item mark, such as article processing transactions mark can adopt target item mark+processing transactions type identification+creation-time information, thus according to this target item identify can fast finding to the article processing transactions of this target item.
The content of article processing transactions that item transaction creation module 420 creates can comprise according to described article process request to the multiple treatment steps performed required for target item, and the article such as created according to article removal request delete affairs can comprise the incidence relation removing current interlock account and described target item; The item transfer affairs and for example created according to item transfer request can comprise the incidence relation removing the side's of producing account and described target item and the incidence relation setting up the side's of proceeding to account and described target item; According to article use request create article use affairs can comprise create article use case and more new article use record, etc.The state of described target item can comprise association status, use record and product data etc., the described association status i.e. user account information of the current association of these article.
Transaction model 430, for performing article processing transactions corresponding to described target item according to described article processing transactions mark, if perform failure, then the state of target item before described article processing transactions performs according to described article processing transactions identification recovery.
Concrete, the article processing transactions that transaction model 430 can obtain according to the described establishment of described article processing transactions mark execution, such as article processing transactions is inserted in article processing transactions list corresponding to described target item, if (such as 5 seconds default execution time limit, 30 seconds) in do not complete described article processing transactions or perform and to re-execute number of times unsuccessfully and exceed predetermined threshold value and still fail to run succeeded, then determine to perform failure, and then transaction model 430 can get the state of described target item before described article processing transactions performs according to described article processing transactions mark, thus recover the state of described target item before described article processing transactions performs.
In an alternative embodiment, item transaction treating apparatus can also comprise:
Item Information sending module 400, for sending the Item Information of its user account association to user terminal.
Concrete, the user account that Item Information sending module 400 can use according to user terminal searches the Item Information of this user account association, and then send the Item Information of its user account association to user terminal, with the Item Information making its user account of user terminal displays associate.
And then described transactions requests acquisition module 410 specifically for:
Receive the article process request that user terminal is submitted to for the transaction operation instruction that described Item Information inputs according to user.Described article process request can comprise item transfer request, article removal request, article use asks, product data change is asked.
In an alternative embodiment, item transaction treating apparatus can also comprise:
Item transaction administration module 440, after receiving article process request when transactions requests acquisition module 410, judge that described target item is current and whether there is the article processing transactions performed, if not, then triggering article affairs creation module 420 creates article processing transactions corresponding to described target item according to described article process request, records the state of described target item before described article processing transactions performs.
Item transaction treating apparatus in the embodiment of the present invention creates the article processing transactions of its correspondence by based target article, and before performing article processing transactions, record the state of described target item before described article processing transactions performs, thus realize effectively ensureing the independence that item transaction performs and stability.
Fig. 8 is the structural representation of the item transaction treating apparatus in another embodiment of the present invention, and as shown in Figure 5, described item transaction treating apparatus 500 can comprise: at least one processor 501, such as CPU, at least one network interface 504, storer 505, at least one communication bus 502.Wherein, communication bus 502 is for realizing the connection communication between these assemblies.Network interface 504 optionally can comprise wireline interface, the wave point (as WI-FI interface) of standard.Storer 505 can be high-speed RAM storer, also can be non-labile storer (non-volatile memory), such as at least one magnetic disk memory.Storer 505 can also be optionally that at least one is positioned at the memory storage away from aforementioned processor 501.As shown in Figure 5, operating system, network communication module and item transaction handling procedure can be comprised as in a kind of storer 505 of computer-readable storage medium.
In the item transaction treating apparatus 500 shown in Fig. 5, and processor 501 may be used for calling the item transaction handling procedure stored in storer 505, and specifically performs following steps:
Receive article process request by network interface 504, target item mark is carried in described article process request;
Create article processing transactions corresponding to described target item according to described article process request, comprise and create article processing transactions mark according to described target item mark, and record the state of described target item before described article processing transactions performs;
Article processing transactions corresponding to described target item is performed according to described article processing transactions mark, if perform failure, then the state of target item before described article processing transactions performs according to described article processing transactions identification recovery.
In an alternative embodiment, described article process request comprises item transfer request, and target item mark, the side's of producing account identification and the side's of proceeding to account identification are carried in described item transfer request;
If receive item transfer request, then describedly create article processing transactions corresponding to described target item according to described article process request, comprise and create article processing transactions mark according to described target item mark, and record the state of described target item before described article processing transactions performs and comprise:
Item transfer affairs corresponding to described target item are created according to described target item mark, comprise and create item transfer Transaction Identifier according to described target item mark, and recording the association status of described item transfer affairs described target item before execution, described item transfer affairs comprise the incidence relation removing the side's of producing account and described target item and the incidence relation setting up the side's of proceeding to account and described target item;
The described article processing transactions corresponding according to the described target item of described article processing transactions mark execution, if perform failure, then according to described article processing transactions identification recovery, the state of target item before described article processing transactions performs comprises:
Perform item transfer affairs corresponding to described target item according to described item transfer Transaction Identifier, if perform failure, then recover the association status of described target item before described item transfer affairs perform according to described item transfer Transaction Identifier.
In an alternative embodiment, described create article processing transactions corresponding to described target item according to described article process request before comprise:
Confirm the current article processing transactions do not performed of described target item.
In an alternative embodiment, described reception article process request, described article process request also comprises before carrying target item mark:
The Item Information of its user account association is sent to user terminal;
Receive the article process request that user terminal is submitted to for the transaction operation instruction that described Item Information inputs according to user.
Item transaction treating apparatus in the embodiment of the present invention creates the article processing transactions of its correspondence by based target article, and before performing article processing transactions, record the state of described target item before described article processing transactions performs, thus realize effectively ensureing the independence that item transaction performs and stability.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (8)

1. an item transaction disposal route, is characterized in that, described method comprises:
Receive article process request, target item mark is carried in described article process request;
Create article processing transactions corresponding to target item according to described article process request, comprise and create article processing transactions mark according to described target item mark, and record the state of described target item before described article processing transactions performs;
Article processing transactions corresponding to described target item is performed according to described article processing transactions mark, if perform failure, then the state of target item before described article processing transactions performs according to described article processing transactions identification recovery.
2. item transaction disposal route as claimed in claim 1, is characterized in that,
Described article process request comprises item transfer request, and target item mark, the side's of producing account identification and the side's of proceeding to account identification are carried in described item transfer request;
If receive item transfer request, then describedly create article processing transactions corresponding to described target item according to described article process request, and record the state of described target item before described article processing transactions performs and comprise:
Item transfer affairs corresponding to described target item are created according to described target item mark, comprise and create item transfer Transaction Identifier according to described target item mark, and recording the association status of described item transfer affairs described target item before execution, described item transfer affairs comprise the incidence relation removing the side's of producing account and described target item and the incidence relation setting up the side's of proceeding to account and described target item;
The described article processing transactions corresponding according to the described target item of described article processing transactions mark execution, if perform failure, then according to described article processing transactions identification recovery, the state of target item before described article processing transactions performs comprises:
Perform item transfer affairs corresponding to described target item according to described item transfer Transaction Identifier, if perform failure, then recover the association status of described target item before described item transfer affairs perform according to described item transfer Transaction Identifier.
3. item transaction disposal route as claimed in claim 1, is characterized in that, described create article processing transactions corresponding to described target item according to described article process request before comprise:
The current article processing transactions do not performed of target item according to described article processing transactions identity validation.
4. item transaction disposal route as claimed in claim 1, is characterized in that, described reception article process request, and described article process request also comprises before carrying target item mark:
The Item Information of its user account association is sent to user terminal;
Receive the article process request that user terminal is submitted to for the transaction operation instruction that described Item Information inputs according to user.
5. an item transaction treating apparatus, is characterized in that, comprising:
Transactions requests acquisition module, for receiving article process request, target item mark is carried in described article process request;
Item transaction creation module, for creating article processing transactions corresponding to target item according to described article process request, comprise and create described article processing transactions mark according to described target item mark, and record the state of described target item before described article processing transactions performs;
Transaction model, for performing article processing transactions corresponding to described target item according to described article processing transactions mark, if perform failure, then the state of target item before described article processing transactions performs according to described article processing transactions identification recovery.
6. item transaction treating apparatus as claimed in claim 5, is characterized in that,
Described article process request comprises item transfer request, and target item mark, the side's of producing account identification and the side's of proceeding to account identification are carried in described item transfer request;
When described transactions requests acquisition module gets item transfer request, described item transaction creation module is used for:
Item transfer affairs corresponding to described target item are created according to described target item mark, comprise and create item transfer Transaction Identifier according to described target item mark, and recording the association status of described item transfer affairs described target item before execution, described item transfer affairs comprise the incidence relation removing the side's of producing account and described target item and the incidence relation setting up the side's of proceeding to account and described target item;
Described article condition recovers module and is used for:
Perform item transfer affairs corresponding to described target item according to described item transfer Transaction Identifier, if perform failure, then recover the association status of described target item before described item transfer affairs perform according to described item transfer Transaction Identifier.
7. item transaction treating apparatus as claimed in claim 6, is characterized in that, also comprise:
Item transaction administration module, after receiving article process request when transactions requests acquisition module, judge that described target item is current according to described article processing transactions mark and whether there is the article processing transactions performed, if not, then triggering article affairs creation module creates article processing transactions corresponding to described target item according to described article process request, records the state of described target item before described article processing transactions performs.
8. item transaction treating apparatus as claimed in claim 5, is characterized in that, also comprise:
Item Information sending module, for sending the Item Information of its user account association to user terminal;
Described transactions requests acquisition module is used for:
Receive the article process request that user terminal is submitted to for the transaction operation instruction that described Item Information inputs according to user.
CN201510003822.XA 2015-01-04 2015-01-04 A kind of item transaction treating method and apparatus Active CN104680307B (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201510003822.XA CN104680307B (en) 2015-01-04 2015-01-04 A kind of item transaction treating method and apparatus
PCT/CN2016/070468 WO2016107612A1 (en) 2015-01-04 2016-01-08 Method and apparatus for processing virtual card
US15/490,276 US10997569B2 (en) 2015-01-04 2017-04-18 Method and device for processing virtual cards
US17/218,107 US11978025B2 (en) 2015-01-04 2021-03-30 Method and device for processing virtual cards

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510003822.XA CN104680307B (en) 2015-01-04 2015-01-04 A kind of item transaction treating method and apparatus

Publications (2)

Publication Number Publication Date
CN104680307A true CN104680307A (en) 2015-06-03
CN104680307B CN104680307B (en) 2019-09-13

Family

ID=53315315

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510003822.XA Active CN104680307B (en) 2015-01-04 2015-01-04 A kind of item transaction treating method and apparatus

Country Status (1)

Country Link
CN (1) CN104680307B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016107612A1 (en) * 2015-01-04 2016-07-07 腾讯科技(深圳)有限公司 Method and apparatus for processing virtual card
CN108376314A (en) * 2018-02-08 2018-08-07 泰康保险集团股份有限公司 Goods and materials concocting method, device, server and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101073064A (en) * 2004-08-24 2007-11-14 塞门铁克操作公司 Recovering from storage transaction failures using checkpoints
CN101996376A (en) * 2009-08-20 2011-03-30 任少华 Network virtual article or user account transaction system
CN103327086A (en) * 2013-06-09 2013-09-25 博彦网鼎信息技术有限公司 Fuel gas sale transaction method and gas sale client

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101073064A (en) * 2004-08-24 2007-11-14 塞门铁克操作公司 Recovering from storage transaction failures using checkpoints
CN101996376A (en) * 2009-08-20 2011-03-30 任少华 Network virtual article or user account transaction system
CN103327086A (en) * 2013-06-09 2013-09-25 博彦网鼎信息技术有限公司 Fuel gas sale transaction method and gas sale client

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陶宏才 编著: "《数据库原理及设计 第3版》", 31 January 2014 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016107612A1 (en) * 2015-01-04 2016-07-07 腾讯科技(深圳)有限公司 Method and apparatus for processing virtual card
US10997569B2 (en) 2015-01-04 2021-05-04 Tencent Technology (Shenzhen) Company Limited Method and device for processing virtual cards
US11978025B2 (en) 2015-01-04 2024-05-07 Tencent Technology (Shenzhen) Company Limited Method and device for processing virtual cards
CN108376314A (en) * 2018-02-08 2018-08-07 泰康保险集团股份有限公司 Goods and materials concocting method, device, server and storage medium
CN108376314B (en) * 2018-02-08 2022-04-15 泰康保险集团股份有限公司 Material allocation method, device, server and storage medium

Also Published As

Publication number Publication date
CN104680307B (en) 2019-09-13

Similar Documents

Publication Publication Date Title
US10701177B2 (en) Automatic data request recovery after session failure
EP2877942B1 (en) Automatic transaction retry after session failure
CN107220142B (en) Method and device for executing data recovery operation
US20180025049A1 (en) Server and Data Processing Method
CN109739690B (en) Backup method and related products
CN105871587A (en) Log uploading method and device
US10007785B2 (en) Method and apparatus for implementing virtual machine introspection
CN103823708B (en) The method and apparatus that virtual machine read-write requests are processed
CN108874912A (en) A kind of cancellation method and server
EP3026574A1 (en) Affair processing method and device
WO2016107219A1 (en) Data recovery method and apparatus
CN107402848A (en) A kind of implementation method of snapshot data uniformity
WO2016107612A1 (en) Method and apparatus for processing virtual card
CN112256776A (en) Form repeated submission detection method and device, computer equipment and storage medium
CN110941591A (en) File deletion method, device and equipment and readable storage medium
CN103095759B (en) Recover the method and apparatus of resource environment
CN104680307A (en) Method and device for processing item transaction
CN107395429A (en) The method and apparatus that virtual machine is managed in cloud data center
CN114546705B (en) Operation response method, operation response device, electronic apparatus, and storage medium
CN107783826A (en) A kind of virtual machine migration method, apparatus and system
CN113966590A (en) Site session termination method, device, terminal equipment and medium
CN109101253B (en) Management method and device for host in cloud computing system
WO2021051576A1 (en) Method, apparatus and device for elastically executing hot container, and storage medium
CN104317728A (en) Method and device for safely resetting storage device
CN104283974A (en) Data pulling method, related equipment and communication system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant