CN104680307B - A kind of item transaction treating method and apparatus - Google Patents

A kind of item transaction treating method and apparatus Download PDF

Info

Publication number
CN104680307B
CN104680307B CN201510003822.XA CN201510003822A CN104680307B CN 104680307 B CN104680307 B CN 104680307B CN 201510003822 A CN201510003822 A CN 201510003822A CN 104680307 B CN104680307 B CN 104680307B
Authority
CN
China
Prior art keywords
item
article
affairs
target item
transaction
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.)
Active
Application number
CN201510003822.XA
Other languages
Chinese (zh)
Other versions
CN104680307A (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/US20210216981A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a kind of item transaction processing methods, which comprises receives article processing request, the article processing request carries target item mark;Request is handled according to the article and creates the corresponding article processing affairs of the target item, including creation article is identified according to the target item and handles Transaction Identifier, and records state of the target item before article processing affairs execution;Transaction Identifier is handled according to the article and executes the corresponding article processing affairs of the target item, if executing failure, Transaction Identifier is handled according to the article and restores state of the target item before article processing affairs execute.The embodiment of the invention also discloses a kind of item transaction processing units.Using the present invention, it can be achieved that the independence and stability of item transaction execution is effectively ensured.

Description

A kind of item transaction treating method and apparatus
Technical field
The present invention relates to a kind of Internet technical field more particularly to a kind of item transaction treating method and apparatus.
Background technique
With the development of internet technology, virtual objects use and processing has become in people's daily life often needs The affairs to be faced are normally based on user account in the prior art and manage each virtual objects when back-stage management virtual objects, I.e. virtual objects depend on owning user account.Practice, it is found that being frequently encountered under the way to manage of existing virtual objects Following scene (as shown in Figure 1): user A initiates article P to give B.In such a scenario, system is first the columns of items of user A P in table is deleted, and P then is added in the item lists of user B.If P has been deleted in the item lists of user A, at this moment It waits, background server generation such as suspension, power off or restart at the failures, and cause P in the item lists of user B to be not added to, that Article P will be will lead to disappear forever, neither in the item lists of user A, and not in the item lists of user B.It is this kind of Mistake undoubtedly brings very big inconvenient and loss to user.
Summary of the invention
The technical problem to be solved by the embodiment of the invention is that a kind of item transaction treating method and apparatus is provided, it can Effectively reduce the generation of above-mentioned Item Management error condition.
In order to solve the above-mentioned technical problem, the embodiment of the invention provides a kind of item transaction processing method, the methods Include:
Article processing request is received, the article processing request carries target item mark;
The corresponding article of request creation target item is handled according to the article and handles affairs, including according to the object Product mark creation article handles Transaction Identifier, and records shape of the target item before article processing affairs execute State;
Transaction Identifier is handled according to the article and executes the corresponding article processing affairs of the target item, if executing mistake It loses, then Transaction Identifier is handled according to the article and restore shape of the target item before article processing affairs execute State.
Correspondingly, the embodiment of the invention also provides a kind of 6, item transaction processing units, comprising:
Transactions requests obtain module, and for receiving article processing request, the article processing request carries target item mark Know;
Item transaction creation module handles thing for handling the corresponding article of request creation target item according to the article Business, including the article is created according to target item mark and handles Transaction Identifier, and records the target item described Article handles the state before affairs execute;
Transaction model executes at the corresponding article of the target item for handling Transaction Identifier according to the article Director's business handles Transaction Identifier according to the article and restores the target item in article processing thing if executing failure State before business execution.
Item transaction processing method provided in an embodiment of the present invention based on target item by being created at its corresponding article Director's business, and shape of the target item before article processing affairs execute is being recorded before executing article processing affairs State, to realize the independence and stability that item transaction execution is effectively ensured.
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, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the schematic diagram that item transaction process flow process generates failure in the prior art;
Fig. 2 is the flow diagram of one of embodiment of the present invention item transaction processing method;
Fig. 3 is the flow diagram of the item transaction processing method in another embodiment of the present invention;
Fig. 4 is the schematic diagram that the corresponding article processing affairs of target item are created in the embodiment of the present invention;
Fig. 5 is the schematic diagram that the corresponding article processing affairs of target item are created in another embodiment of the present invention;
Fig. 6 is the flow diagram of the item transaction processing method in another embodiment of the present invention;
Fig. 7 is the structural schematic diagram of one of embodiment of the present invention item transaction processing unit;
Fig. 8 is the structural schematic diagram of the item transaction processing unit in another embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Item transaction processing method in the embodiment of the present invention can be implemented by item transaction processing unit, may be implemented It is responsible in the server of management article data on internet backstage, such as instant communication server, SNS (Social Networking Services, i.e. social network services) in server or network game server.
Fig. 2 is the flow diagram of one of embodiment of the present invention item transaction processing method, as shown, this implementation Example in item transaction process flow may include:
S101, receives article processing request, and the article processing request carries target item mark.
Specifically, item transaction processing unit can receive the article processing request of user terminal submission, request to the use The associated article of the user account of family terminal carries out respective handling.Such as item transaction processing unit sends its use to user terminal Account associated Item Information in family after user terminal shows the associated Item Information of its user account, obtains user for described The transaction operation instruction of Item Information input, submits corresponding object to instruct according to transaction operation to item transaction processing unit Product processing request, article processing request may include item transfer request, article removal request, article using request, object Product data change request etc..And then in other alternative embodiments, item transaction processing unit can also obtain by other means Article processing request is taken, such as pre-establishes the third-party server of incidence relation and is corresponded to according to user at it and occurred in client Item transaction processing unit of the behavior event into the embodiment of the present invention send article processing request.
If further the article processing request is that item transfer is requested, also needs to carry target item mark, turns Square account identification and the side's of being transferred to account identification out, wherein the side of producing account identification can be submission item transfer request User terminal the corresponding account identification of user account.
S102 handles request according to the article and creates the corresponding article processing affairs of the target item, including basis The target item mark creation article handles Transaction Identifier, and records the target item and execute in article processing affairs State before.
Item transaction processing unit in the embodiment of the present invention can manage its corresponding object for each target item Product handle affairs, and for example, each target item safeguards its independent transaction queues, guarantee the different respective article processing of article Affairs are not interfere with each other mutually.When receiving article processing request, item transaction processing unit can be according to the object of its carrying The corresponding article of product mark creation target item handles affairs, including creates the article according to target item mark and handle Transaction Identifier, such as article processing Transaction Identifier can be identified+be handled transaction types mark+creation time letter using target item Breath, to handle affairs according to the article that target item mark can quickly find the target item.
The content of the article processing affairs may include item transaction processing unit according to article processing request pair The multiple processing steps executed required for target item, such as affairs are deleted according to the article of article removal request creation and can wrap Include the incidence relation for releasing current interlock account and the target item;For another example according to the item transfer of item transfer request creation Affairs may include the incidence relation and the foundation side of being transferred to account and the target for releasing the side's of producing account and the target item The incidence relation of article;It the use of the article of request creation the use of affairs may include that creation article uses event and more according to article New article usage record, etc..The state of the target item may include association status, usage record and product data Deng the current associated user account information of, the association status i.e. article.
S103 handles Transaction Identifier according to the article and executes the corresponding article processing affairs of the target item, if holding Row failure then handles Transaction Identifier according to the article and restores the target item before article processing affairs execute State.
Specifically, item transaction processing unit is recording the target item before article processing affairs execute After state, Transaction Identifier can be handled according to the article execute the obtained article of creating and handle affairs, such as by article It handles affairs to be inserted into the corresponding article processing transaction list of the target item, if executing time limit (such as 5 seconds, 30 default Second) in do not complete article processing affairs or execute re-execute after failure number more than preset threshold still fail to execute at Function, it is determined that execute failure, and then Transaction Identifier is handled according to the article and gets the target item at the article State before director's business execution, to restore state of the target item before article processing affairs execute.
Item transaction processing method provided in an embodiment of the present invention based on target item by being created at its corresponding article Director's business, and shape of the target item before article processing affairs execute is being recorded before executing article processing affairs State, to realize the independence and stability that item transaction execution is effectively ensured.
Fig. 3 is the flow diagram of the item transaction processing method in another embodiment of the present invention, as shown, this implementation Example in item transaction process flow may include:
S201 sends the associated Item Information of its user account to user terminal.
Specifically, item transaction processing unit user account according to used in user terminal searches the user account Associated Item Information, and then the associated Item Information of its user account is sent to user terminal, so that user terminal shows it The associated Item Information of user account.
S202 receives the article that user terminal is submitted according to user for the transaction operation instruction of Item Information input Processing request.
S203 confirms that the target item handles affairs currently without the article being carrying out.
Item transaction processing unit in the embodiment of the present invention can manage its corresponding object for each target item Product handle affairs, and for example, each target item safeguards its independent transaction queues, guarantee the different respective article processing of article Affairs are not interfere with each other mutually.And then the target item can quickly be found currently according to target item mark and whether there is The article of execution handles affairs, and the article processing affairs being carrying out if it exists can then wait at the article being currently executing Director's business is disposed, or returns to issued transaction failure to user terminal.
S204 handles request according to the article and creates the corresponding article processing affairs of the target item, and records institute State state of the target item before article processing affairs execute.
When receiving article processing request, the target item that item transaction processing unit can be carried according to it identifies wound The corresponding article processing affairs of target item are built, including the article is created according to target item mark and handles affairs mark Know, such as article processing Transaction Identifier can identify+handle transaction types mark+creation time information using target item.
In the specific implementation, the corresponding article of creation target item that can be as shown in Figure 4 and Figure 5 handles business process, Article in the embodiment for target item P creation handles affairs and is managed by its article processing transaction list.
In the case where as shown in Figure 4, when receiving the article processing request for target item P, target item P is checked Article processing transaction list in the presence or absence of the article processing affairs being carrying out, i.e. newest article processing affairs whether It completes, includes affairs 1, affairs 2 and affairs 3 at this moment article processing transaction list, newest affairs 3 are completed, it is determined that Newest article processing affairs are completed, and handle so as to handle the corresponding article of request creation target item P according to article Affairs 4, and then affairs 4 are inserted into the article processing transaction list of target item P.
In the case of fig. 5, when receiving the article processing request for target item P, target item P is checked Article processing transaction list in newest article processing affairs whether be completed, include thing at this moment article processing transaction list Business 1, affairs 2 and affairs 3, newest affairs 3 are carrying out, it is determined that newest article processing affairs do not complete, at this moment for Guarantee that the core resource of target item P is not modified the execution for influencing other articles processing affairs, refusal is handled according to article The corresponding article of request creation target item P handles affairs.
S205 handles Transaction Identifier according to the article and executes the corresponding article processing affairs of the target item, if holding Row failure then handles Transaction Identifier according to the article and restores the target item before article processing affairs execute State.
Specifically, item transaction processing unit is recording the target item before article processing affairs execute After state, Transaction Identifier can be handled according to the article execute the obtained article of creating and handle affairs, such as by article It handles affairs to be inserted into the corresponding article processing transaction list of the target item, if executing time limit (such as 5 seconds, 30 default Second) in do not complete article processing affairs or execute re-execute after failure number more than preset threshold still fail to execute at Function, it is determined that execute failure, and then Transaction Identifier is handled according to the article and gets the target item at the article State before director's business execution, to restore state of the target item before article processing affairs execute.
Item transaction processing method provided in an embodiment of the present invention based on target item by being created at its corresponding article Director's business, and shape of the target item before article processing affairs execute is being recorded before executing article processing affairs State, to realize the independence and stability that item transaction execution is effectively ensured.
Fig. 6 is the flow diagram of the item transaction processing method in another embodiment of the present invention, as shown, this implementation Example in item transaction process flow may include:
S301 sends the associated Item Information of its user account to user terminal;
S302 receives the article that user terminal is submitted according to user for the transaction operation instruction of Item Information input Transfer request, the item transfer request carry target item mark, the side's of producing account identification and the side's of being transferred to account identification.
S303 confirms that the target item handles affairs currently without the article being carrying out.
Item transaction processing unit in the embodiment of the present invention can manage its corresponding object for each target item Product handle affairs, and for example, each target item safeguards its independent transaction queues, guarantee the different respective article processing of article Affairs are not interfere with each other mutually.And then the target item can quickly be found currently according to target item mark and whether there is The article of execution handles affairs, and the article processing affairs being carrying out if it exists can then wait at the article being currently executing Director's business is disposed, or returns to issued transaction failure to user terminal.
S304 creates the corresponding item transfer affairs of the target item according to target item mark, and records institute The association status of the item transfer affairs target item before execution is stated, the item transfer affairs include releasing the side of producing Account and the incidence relation of the target item and the incidence relation of the foundation side of being transferred to account and the target item.
The corresponding article of the creation target item handles affairs, including creates the object according to target item mark Product handle Transaction Identifier, such as article processing Transaction Identifier can identify+handle transaction types mark+creation using target item Temporal information.
S305 executes the corresponding item transfer affairs of the target item according to the item transfer Transaction Identifier, that is, wraps It includes and executes the incidence relation for releasing the side's of producing account and the target item and the foundation side of being transferred to account and the target item Incidence relation.
S306, judges whether item transfer affairs run succeeded, if then process terminates, otherwise executes S307.
Specifically, if it is default execute not completing the article processing affairs in the time limit or execute re-execute after failure time Number is more than preset threshold, it is determined that executes failure
S307 restores the target item according to the item transfer Transaction Identifier and executes it in the item transfer affairs Preceding association status.
Optionally, restoring the target item after the association status before item transfer affairs execution, it can be with Selection re-executes S305, can also return to issued transaction failure to user terminal in other alternative embodiments.
Item transaction processing method provided in an embodiment of the present invention based on target item by being created at its corresponding article Director's business, and shape of the target item before article processing affairs execute is being recorded before executing article processing affairs State, to realize the independence and stability that item transaction execution is effectively ensured.
Fig. 7 is the structural schematic diagram of one of embodiment of the present invention item transaction processing unit, as shown in the figure the present invention Item transaction processing unit in embodiment includes:
Transactions requests obtain module 410, and for receiving article processing request, the article processing request carries target item Mark.
Specifically, transactions requests, which obtain module 410, can receive the article processing request of user terminal submission, request to this The associated article of the user account of user terminal carries out respective handling.And then in other alternative embodiments, transactions requests are obtained Module 410 can also obtain article processing request by other means, such as pre-establish the third-party server of incidence relation Item transaction processing unit of the behavior event occurred in client into the embodiment of the present invention is corresponded at it according to user to send Article processing request.
If further the article processing request is that item transfer is requested, target item mark can also be carried, turned Square account identification and the side's of being transferred to account identification out, wherein the side of producing account identification can be submission item transfer request User terminal the corresponding account identification of user account.
Item transaction creation module 420 creates the corresponding object of the target item for handling request according to the article Product handle affairs, including identify creation article according to the target item and handle Transaction Identifier, and record the target item and exist State before the article processing affairs execution.
Item transaction processing unit in the embodiment of the present invention can manage its corresponding object for each target item Product handle affairs, and for example, each target item safeguards its independent transaction queues, guarantee the different respective article processing of article Affairs are not interfere with each other mutually.When receiving article processing request, item transaction creation module 420 can be according to the target of its carrying Article mark creates the corresponding article of target item and handles affairs.The article, which is created, according to target item mark handles thing Business mark, such as article processing Transaction Identifier can be identified+be handled transaction types mark+creation time letter using target item Breath, to handle affairs according to the article that target item mark can quickly find the target item.
The content for the article processing affairs that item transaction creation module 420 creates may include being handled to ask according to the article Multiple processing steps to execution required for target item are sought, such as deleting affairs according to the article of article removal request creation can To include the incidence relation for releasing current interlock account Yu the target item;For another example according to the article of item transfer request creation Transfer affairs may include release the side's of producing account and the target item incidence relation and the foundation side of being transferred to account with it is described The incidence relation of target item;The article created according to article using request may include that creation article uses event using affairs More new article usage record, etc..The state of the target item may include association status, usage record and article number According to etc., the current associated user account information of the association status i.e. article.
Transaction model 430 executes the corresponding object of the target item for handling Transaction Identifier according to the article Product handle affairs, if executing failure, handle Transaction Identifier according to the article and restore the target item at the article State before director's business execution.
Specifically, transaction model 430 can handle Transaction Identifier according to the article executes what the creation obtained Article handles affairs, such as article processing affairs are inserted into the corresponding article processing transaction list of the target item, if Default execute does not complete the article processing affairs or executes that re-execute number after failure super in time limit (such as 5 seconds, 30 seconds) Preset threshold is crossed still to fail to run succeeded, it is determined that execute failure, and then transaction model 430 can be according to the article at Reason Transaction Identifier gets state of the target item before article processing affairs execute, to restore the target State of the article before article processing affairs execute.
In an alternative embodiment, item transaction processing unit can also include:
Item Information sending module 400, for sending the associated Item Information of its user account to user terminal.
Specifically, the user account according to used in user terminal of Item Information sending module 400 searches the user The associated Item Information of account, and then the associated Item Information of its user account is sent to user terminal, so that user terminal is aobvious Show the associated Item Information of its user account.
And then the transactions requests obtain module 410 and are specifically used for:
User terminal is received to be handled according to the article that user submits for the transaction operation instruction of Item Information input Request.The article processing request may include item transfer request, article removal request, article use request, product data Change request etc..
In an alternative embodiment, item transaction processing unit can also include:
Item transaction management module 440, for sentencing after transactions requests obtain module 410 and receive article processing request The target item that breaks currently whether there is the article processing affairs being carrying out, if it is not, then triggering item transaction creation module 420, which handle request according to the article, creates the corresponding article processing affairs of the target item, records the target item and exists State before the article processing affairs execution.
Item transaction processing unit in the embodiment of the present invention is handled by creating its corresponding article based on target item Affairs, and shape of the target item before article processing affairs execute is being recorded before executing article processing affairs State, to realize the independence and stability that item transaction execution is effectively ensured.
Fig. 8 is the structural schematic diagram of the item transaction processing unit in another embodiment of the present invention, as shown in figure 5, described Item transaction processing unit 500 may include: at least one processor 501, such as CPU, at least one network interface 504 is deposited Reservoir 505, at least one communication bus 502.Wherein, communication bus 502 is for realizing the connection communication between these components.Net Network interface 504 optionally may include standard wireline interface and wireless interface (such as WI-FI interface).Memory 505 can be height Fast RAM memory is also possible to non-labile memory (non-volatile memory), and a for example, at least disk is deposited Reservoir.Memory 505 optionally can also be that at least one is located remotely from the storage device of aforementioned processor 501.Such as Fig. 5 institute Show, as may include operating system, network communication module and article thing in a kind of memory 505 of computer storage medium Business processing routine.
In item transaction processing unit 500 shown in Fig. 5, and processor 501 can be used for calling and deposit in memory 505 The item transaction processing routine of storage, and specifically execute following steps:
Article processing request is received by network interface 504, the article processing request carries target item mark;
Request is handled according to the article and creates the corresponding article processing affairs of the target item, including according to the mesh It marks article mark creation article and handles Transaction Identifier, and record the target item before article processing affairs execute State;
Transaction Identifier is handled according to the article and executes the corresponding article processing affairs of the target item, if executing mistake It loses, then Transaction Identifier is handled according to the article and restore shape of the target item before article processing affairs execute State.
In an alternative embodiment, the article processing request includes that item transfer is requested, and the item transfer request carries Target item mark, the side's of producing account identification and the side's of being transferred to account identification;
If receiving item transfer request, described handled according to the article requests the creation target item corresponding Article handles affairs, including identifies creation article according to the target item and handle Transaction Identifier, and record the target item Include: in the state that the article is handled before affairs execute
The corresponding item transfer affairs of the target item are created according to target item mark, including according to the mesh It marks article mark and creates item transfer Transaction Identifier, and record the item transfer affairs target item before execution Association status, the item transfer affairs include releasing the side's of producing account to be transferred to the incidence relation of the target item and foundation The incidence relation of square account and the target item;
It is described that the corresponding article processing affairs of the Transaction Identifier execution target item are handled according to the article, if executing Failure then handles Transaction Identifier according to the article and restores shape of the target item before article processing affairs execute State includes:
The corresponding item transfer affairs of the target item are executed according to the item transfer Transaction Identifier, if executing mistake It loses, then association of the target item before item transfer affairs execution is restored according to the item transfer Transaction Identifier State.
In an alternative embodiment, described that the corresponding article processing of the request creation target item is handled according to the article Include: before affairs
Confirm that the target item handles affairs currently without the article being carrying out.
In an alternative embodiment, the reception article processing request, the article processing request carry target item mark Before further include:
The associated Item Information of its user account is sent to user terminal;
User terminal is received to be handled according to the article that user submits for the transaction operation instruction of Item Information input Request.
Item transaction processing unit in the embodiment of the present invention is handled by creating its corresponding article based on target item Affairs, and shape of the target item before article processing affairs execute is being recorded before executing article processing affairs State, to realize the independence and stability that item transaction execution is effectively ensured.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (4)

1. a kind of item transaction processing method, which is characterized in that the described method includes:
Item transfer request is received, the item transfer request carries target item mark, the side's of producing account identification and is transferred to Square account identification;
According to the entrained corresponding item transfer thing of target item mark creation target item of item transfer request Business, including creation item transfer Transaction Identifier is identified according to the target item, and record the target item in the article Shift the association status before affairs execute;The item transfer affairs include releasing the side's of producing account and the target item Incidence relation and the incidence relation for establishing the side's of being transferred to account and the target item;
Confirm that the target item handles affairs currently without the article being carrying out according to the item transfer Transaction Identifier;
The corresponding item transfer affairs of the target item are executed according to the item transfer Transaction Identifier, if executing failure, Restore association status of the target item before item transfer affairs execution according to the item transfer Transaction Identifier.
2. item transaction processing method as described in claim 1, which is characterized in that the reception item transfer request, it is described Item transfer request carries before target item mark further include:
The associated Item Information of its user account is sent to user terminal;
User terminal is received to be requested according to the item transfer that user submits for the transaction operation instruction of Item Information input.
3. a kind of item transaction processing unit characterized by comprising
Transactions requests obtain module, and for receiving item transfer request, the item transfer request carries target item mark, turns Square account identification and the side's of being transferred to account identification out;
Item transaction creation module, when the transactions requests, which obtain module, gets item transfer request, for according to The entrained corresponding item transfer affairs of target item mark creation target item of item transfer request, including according to institute It states target item mark and creates the item transfer Transaction Identifier, and record the target item and held in the item transfer affairs Association status before row;The item transfer affairs include release the side's of producing account and the target item incidence relation and Establish the incidence relation of the side's of being transferred to account and the target item;
Transaction model, for executing the corresponding item transfer thing of the target item according to the item transfer Transaction Identifier Business restores the target item according to the item transfer Transaction Identifier and holds in the item transfer affairs if executing failure Association status before row;
Item transaction management module, for when transactions requests obtain module receive item transfer request after, according to the article Transfer Transaction Identifier judges that the target item currently whether there is the item transfer affairs being carrying out, if it is not, then trigger Product affairs creation module creates the corresponding item transfer affairs of the target item according to item transfer request, described in record State of the target item before item transfer affairs execution.
4. item transaction processing unit as claimed in claim 3, which is characterized in that further include:
Item Information sending module, for sending the associated Item Information of its user account to user terminal;
The transactions requests obtain module and are used for:
User terminal is received to be requested according to the item transfer that user submits for the transaction operation instruction of Item Information input.
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 US20210216981A1 (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 CN104680307A (en) 2015-06-03
CN104680307B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104601448B (en) 2015-01-12 2017-11-28 腾讯科技(深圳)有限公司 A kind of method and apparatus handled virtual card
CN108376314B (en) * 2018-02-08 2022-04-15 泰康保险集团股份有限公司 Material allocation 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

Also Published As

Publication number Publication date
CN104680307A (en) 2015-06-03

Similar Documents

Publication Publication Date Title
US10439937B2 (en) Service addressing in distributed environment
CN102147746B (en) Dynamic thread pool management system and method
CN102685729B (en) For moving the background transfer services of the application in equipment
CN106874076B (en) Distributed transaction processing method
CN105592117B (en) A kind for the treatment of method and apparatus of transaction message
CN110019112A (en) Data transactions method, apparatus and electronic equipment
US20210216981A1 (en) Method and device for processing virtual cards
CN111338773A (en) Distributed timed task scheduling method, scheduling system and server cluster
JP2006260355A (en) Storage system and storage control method
WO2013078689A1 (en) Method and device for realizing message transfer in cloud message service
KR20150119949A (en) Method and device for updating client
CN102591668B (en) Device, method and system for updating elastic computing cloud system
JP2012018449A (en) Snapshot acquisition processing program, snapshot acquisition processing method, snapshot participant computer, and snap shot coordinator computer
CN108733496B (en) Event processing method and device
US9614646B2 (en) Method and system for robust message retransmission
CN108121511A (en) Data processing method, device and equipment in a kind of distributed edge storage system
US10255341B2 (en) Mode switching in high availability disaster recovery (HADR) systems
JP6231675B2 (en) Transaction processing method and apparatus
CN107872517A (en) A kind of data processing method and device
CN104680307B (en) A kind of item transaction treating method and apparatus
CN114327804B (en) Block chain based distributed transaction processing method, device, equipment and medium
CN113179301A (en) File downloading method and device, storage medium and electronic device
CN107111532A (en) Calculate it is uncertain in the case of recovery and fault-tolerant
WO2013063953A1 (en) Method and device for recovering resource environment
CN105471616A (en) Cache system management method and 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