Embodiment
Fig. 1 shows a kind of scene graph that an exemplary embodiment provides, in this scenario, including:Businessman is (such as:Market,
Supermarket etc.) salesman, come the user (customer) in shop under the line of businessman, merchant device, the client device manipulated by user
(or being user equipment or user terminal), the service end interacted with the merchant device by internet.Wherein, service
End can be for certain network platform (such as:Network payment platform, immediate communication platform etc.) service end, install on the client device
There is client-side program corresponding with the service end.In one embodiment, above merchant device may refer to one or more businessman institutes
The equipment used, including:Equipment for barcode scanning graphic code etc..The merchant device can be manipulated (such as by salesman:Barcode scanning gun), also may be used
To be to be not required to the equipment artificially manipulated (such as:It is placed on the device in shop or outside shop door to patron self-service barcode scanning).Currently, a lot
Under line in shop, merchant device can realize corresponding work(by the interface using the interface that network payment platform provides
Energy.It should be noted that in other scenes, merchant device direct can not also interact with service end, but pass through independence
The background system that software developer (Independent Software Vendors, ISV) provides to carry out with above-mentioned service end
Interaction, is not construed as limiting herein to this.In the scene shown in Fig. 1, user is come after the shop of businessman, can take out its use
Client device to generate a graphic code, and the graphic code (certain user can also print graphic code) is supplied to
Salesman, afterwards, the graphic code that salesman can utilize merchant device scanning user to provide obtain code information corresponding with graphic code (under i.e.
The first information that text refers to), finally, this yard of information is sent to service end and parsed by merchant device, to complete specific thing
Business processing procedure.It should be noted that the scanning object that customer provides to salesman is not limited to graphic code, such as:User's
What biological characteristic (face or fingerprint etc.) or user set can uniquely represent some certain objects of its identity etc..
Fig. 2 shows a kind of flow chart for transaction methods that an exemplary embodiment provides.As shown in Fig. 2 one
In embodiment, exemplified by scanning the scene of graphic code of user's offer, this method comprises the following steps 101 to step 109, its
In:
In a step 101, client device generation graphic code.
Wherein, client device generates the graphic code in the case where that can not connect internet, and graphic code is by information
In the pattern or lines for encoding to obtain according to certain coding rule, including but not limited to Quick Response Code, bar code, three-dimension code extremely
Few one kind.
In one embodiment, client device can utilize the order obtained at the last connection internet from service end
Board, and the graphic code is generated according to certain algorithm.Certainly, the effective time of the token can be set as needed
It is fixed, after token fails, then need client device to connect internet again, to obtain new token from service end.
In a step 102, the graphic code that merchant device scanning client device provides, to obtain corresponding with graphic code the
One information (can be binary character string).
In step 103, merchant device sends the transaction instruction for carrying the first information to service end.
Wherein, the transaction instruction is used to indicate pending particular transaction, and in the present embodiment, the affairs can wrap
Include but be not limited to:The electronic coupons of businessman are issued into user or establish public's account that the businessman possesses and user possesses
Client account between subscribing relationship (i.e. client account subscribe to the public account) or to come businessman consumed it is each
Individual user provides queue number successively or the client account that possesses for user adds a small routine specified (i.e. one kind is not
Need to download the i.e. workable application of installation) etc..Wherein, the electronic coupons include but is not limited to:Coupons, coupons,
Cash red packet, completely subtract certificate, member card (discount service can be enjoyed by such as possessing the member card) etc..Public's account
(also referred to as public number) can be the application account that the businessman applies on instant communicating public platform, such as:Wechat public's account
Number.By public number, businessman can be realized on immediate communication platform and special group (domestic consumer for subscribing to the public number)
Word, picture, voice, the mode such as video communication or interaction., can will be realizing certain for service end
The functional interface of kind affairs is supplied to merchant device to call, and it is above-mentioned that merchant device calls the process of the functional interface to send immediately
The process of transaction instruction.For convenience of description, the present embodiment describes by taking the scene of electronic coupons granting as an example.
At step 104, the first information of the service end parsing from merchant device, is stepped on obtaining on the user equipment
The client account of record and merchant identification corresponding with the businessman.
In one embodiment, service end can be parsed by gateway to the first information, whether to determine the first information
Whether legal, differentiation businessman possesses authority for initiating particular transaction etc..Generally, if the first information is successfully parsed, can obtain
Obtain the client account logged on the user equipment implied in the first information (such as:User is on network payment platform
The account of registration), the information such as merchant identification corresponding with the businessman (to businessman described in unique mark).
In step 105, judge whether the client account is set to need user to lead certificate after confirming.If it is set as needing
User leads certificate after confirming, then into step 106, if being not set to need user to lead certificate after confirming, into step 108.
Indeed, it is possible to the electronic coupons that user is provided the businessman after businessman's First Consumption are lost interest in, such as
Fruit leads certificate in the case where not networking automatically, then bad usage experience can be caused to user.Therefore, can be set by user
Whether certificate is led automatically, it is desired nonetheless to certificate can be led after being confirmed by user.
In step 106, after client device connects internet, service end pushes prompting letter to client device
Breath, wherein, the prompt message is prompting Unclaimed electronic coupons to be present.For example, the prompt message can be one
Then message, or web page interlinkage (user needs to access particular webpage to lead certificate) etc..
In step 107, client device to service end transmission confirming to get the instruction of electronic coupons.Wherein,
The instruction can be generated by client device in response to the specific operation (as clicked on " confirmation is got " this button) of user.
In step 108, judge whether the client account and/or the businessman meet hair certificate rule.If the visitor
Family end account and/or the businessman meet hair certificate rule, then into step 109, otherwise, terminate flow.
In one embodiment, the hair certificate rule can be set by the businessman and be associated with the merchant identification.Generally, business
Family can define hair certificate rule according to the marketing purpose of itself, such as:It is preferential that one account of restriction can only get primary electron
Certificate, or need user first to pay close attention to public's account of businessman could to lead certificate etc..The hair certificate rule of different businessmans can be different.
In step 109, electronic coupons corresponding with the merchant identification are distributed into the client account.
It can be seen that above step 101 to step 109 process can under the scene that user equipment can not connect internet,
Realize the granting of electronic coupons.For the scene of some border tourisms, present method solves trade company and user without network rings
First time Handshake Problem under border.
In other embodiments, one or more of above-mentioned steps 105, step 106, step 107 and step 108 can
To be removed.After wherein one or more steps are saved, correspondingly the order between above-mentioned steps can be adjusted.
Such as:After step 105, step 106, step 107 and step 108 is saved, step 104 can be directly entered after being performed
Step 109;After step 108 is saved, if the client account is not set to need user to lead certificate after confirming, it is directly entered
Step 109, and step 107 be performed after be also directly entered step 109;When saving step 105, step 106 and step
After 107, step 104 can be directly entered step 108 after being performed;Etc..
In one embodiment, the step 109 can specifically include:
Step 1091:Obtain public's account corresponding with the merchant identification.
Step 1092:The client account is defined as to the subscription pair of public's account corresponding with the merchant identification
As.
Step 1093:Electronic coupons corresponding with the merchant identification are distributed to by the visitor by public's account
Family end account.
Fig. 3 show that an exemplary embodiment provides it is a kind of by service end come the flow of transaction methods that performs
Figure, the service end can be for disparate networks platforms (such as:Network payment platform, immediate communication platform etc.) service end, it is real one
Apply in example, this method may include:
Step 202:The transaction instruction for the carrying first information for coming from merchant device is received, wherein, described first
Information is what the merchant device was obtained by scanning object to be scanned corresponding with targeted customer.
Wherein, the object to be scanned includes but is not limited to:The targeted customer (comes the Gu that businessman is consumed
Visitor) user equipment that uses is (such as:Mobile phone, wrist-watch, computer etc.) graphic code that is generated in the case of not connected internet is (such as:
Quick Response Code) or the targeted customer biological characteristic (such as:Face or fingerprint).
Step 204:In response to the transaction instruction, the first information is parsed, with obtain with it is described
Client account corresponding to targeted customer (the personal account that i.e. described targeted customer registers in the network platform) and with
Merchant identification corresponding to the merchant device (to the unique mark businessman).
Step 206:It is determined that pending virtual resource corresponding with the merchant identification.
Wherein, described " it is determined that " can be that lookup is corresponding with the merchant identification pending virtual from certain database
Resource, or from merchant identification in itself (such as:Decoding) the pending virtual resource is obtained, this is not restricted herein.
In one embodiment, the pending virtual resource includes but is not limited to:Public's account, electronic coupons, member
Card, small routine etc..Wherein, for public's account, then can find corresponding with merchant identification in the registration of certain particular platform
Public's account.For electronic coupons, then certain part to be used in the businessman corresponding with merchant identification can also be obtained
Volume is (such as:1 or the 100 yuan of cashes that can deduct) electronic coupons.
Step 208:The incidence relation established between the pending virtual resource and the client account.
If the pending virtual resource is public's account, the step 208 specifically includes:
The subscribing relationship established between public's account of the businessman and the client account.
If the pending virtual resource is electronic coupons, the step 208 specifically includes:
The client account will be distributed to the electronic coupons used in the businessman.
By above scheme, for the scene of some border tourisms, due to it is most of be the environment of no network, user, which exists, to come
To after shop under the line of businessman, can to businessman provide with I uniquely corresponding scanning object (such as:Mobile phone is without network state
Graphic code or face of lower generation etc.), afterwards, businessman can be to scan above-mentioned scanning object, to obtain the using merchant device
One information simultaneously passes to service end, and service end can be parsed to the first information to obtain client account corresponding to targeted customer
Family and merchant identification corresponding with the businessman, finally, establish pending virtual resource and the client that businessman possesses
Incidence relation between account.By said process, present method solves trade company and user (customer for coming businessman) in nothing
First time Handshake Problem under network environment, some transaction processes between businessman and user are effectively overcome by network
The limitation of connection.By such process, virtual resource (electronic offers that can be in order to user by being associated with client account
Certificate or public's account) obtain the information related to the businessman (such as:New product information, new preferential activity etc.), so as to be lifted
The marketing effectiveness of businessman and the consumption experience of user.
It is corresponding with the above method, a kind of transacter is also provided herein, the device can pass through software generation
Code is realized.
As shown in figure 4, in one embodiment, a kind of transacter 300 may include:Receiving unit 301, resolution unit
302nd, determining unit 303 and unit 304 is established.Wherein:
Receiving unit 301 can be configured as:The transaction instruction for the carrying first information for coming from merchant device is received,
The first information is what the merchant device was obtained by scanning object to be scanned corresponding with targeted customer.
Resolution unit 302 can be configured as:In response to the transaction instruction, the first information is parsed,
To obtain client account corresponding with the targeted customer and merchant identification corresponding with the merchant device.
Determining unit 303 can be configured as:It is determined that pending virtual resource corresponding with the merchant identification.
Establishing unit 304 can be configured as:The pass established between the pending virtual resource and the client account
Connection relation.
In one embodiment, the pending virtual resource includes at least one of public's account, electronic coupons.
If the pending virtual resource is public's account, the unit 304 of establishing is configured as:Establish and the business
Subscribing relationship corresponding to family's mark between public's account and the client account.
In another embodiment, if the pending virtual resource is electronic coupons, it is described establish unit 304 by with
It is set to:The client account will be distributed to the electronic coupons used in the businessman.
Described device 300 may also include the first judging unit, and first judging unit is configured as:Judge the client
Whether end account is set to need user to lead certificate after confirming.Correspondingly, the unit 304 of establishing is configured as:If the client
End account is not set to need user to lead certificate after confirming, electronic coupons corresponding with the merchant identification are distributed into the visitor
Family end account.
In one embodiment, described device 300 may also include prompt message push unit, the prompt message push unit
It is configured as:If the client account is set to need user to lead certificate after confirming, the use of the client account is being logged in
Behind the equipment connection internet of family, prompt message is pushed to the user equipment.Wherein, the prompt message is treated to prompt to exist
The electronic coupons got.Correspondingly, the unit 304 of establishing can be configured as:If receive from the user equipment
To confirm to get the instruction of the electronic coupons, electronic coupons corresponding with the merchant identification are distributed into the visitor
Family end account.
In one embodiment, if the pending virtual resource is electronic coupons, described device 300 may also include second
Judging unit, second judging unit are configured as:Judge whether the client account and/or the businessman meet hair certificate
Rule.Correspondingly, the unit 304 of establishing can be configured as:If the client account and/or the businessman meet hair certificate rule
Then, electronic coupons corresponding with the merchant identification are distributed into the client account.
In one embodiment, the hair certificate rule is set by the businessman and associated with the merchant identification.
In one embodiment, the unit 304 of establishing can include:
Subelement is obtained, obtains public's account corresponding with the merchant identification;
Determination subelement, the client account is defined as to the subscription pair of public's account corresponding with the merchant identification
As;
Send out certificate subelement, by public's account will electronic coupons corresponding with the merchant identification distribute to it is described
Client account.
As shown in figure 5, this specification one or more embodiment provides a kind of electronic equipment (such as:Server), the electricity
Sub- equipment can include processor, internal bus, network interface, memory (including internal memory and nonvolatile memory), when
The hardware being so also possible that required for other business.Processor can be CPU (CPU), processing unit, processing electricity
Road, processor, application specific integrated circuit (ASIC), one or more of other processing logics of microprocessor or executable instruction
Example.Processor read from nonvolatile memory corresponding to program into internal memory then run.Certainly, except software is realized
Outside mode, this specification one or more embodiment is not precluded from other implementations, such as logical device or software and hardware
With reference to mode etc., that is to say, that the executive agent of following handling process be not limited to each logic unit or
Hardware or logical device.
In one embodiment, processor can be configured as:
The transaction instruction for the carrying first information for coming from merchant device is received, the first information is the businessman
What equipment was obtained by scanning object to be scanned corresponding with targeted customer;
In response to the transaction instruction, the first information is parsed, to obtain and the targeted customer couple
The client account and merchant identification corresponding with the merchant device answered;
It is determined that pending virtual resource corresponding with the merchant identification;
The incidence relation established between the pending virtual resource and the client account.
Each embodiment in this specification is described by the way of progressive, identical between each embodiment/similar
Part is mutually referring to what each embodiment stressed is the difference with other embodiment.Especially for equipment
For embodiment, device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, related part
Illustrate referring to the part of embodiment of the method.
System, device, module or the unit that above-described embodiment illustrates, it can specifically be realized by computer chip or entity,
Or realized by the product with certain function.One kind typically realizes that equipment is computer, and the concrete form of computer can
To be personal computer, laptop computer, cell phone, camera phone, smart phone, personal digital assistant, media play
In device, navigation equipment, E-mail receiver/send equipment, game console, tablet PC, wearable device or these equipment
The combination of any several equipment.
For convenience of description, it is divided into various units during description apparatus above with function to describe respectively.Certainly, this is being implemented
The function of each unit can be realized in same or multiple softwares and/or hardware during specification one or more embodiment.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net
Network interface and internal memory.
Internal memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flashRAM).Internal memory is showing for computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moved
State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus
Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.Define, calculate according to herein
Machine computer-readable recording medium does not include temporary computer readable media (transitorymedia), such as data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability
Comprising so that process, method, commodity or equipment including a series of elements not only include those key elements, but also wrapping
Include the other element being not expressly set out, or also include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described
Other identical element also be present in the process of element, method, commodity or equipment.
It will be understood by those skilled in the art that the embodiment of this specification one or more embodiment can be provided as method, be
System or computer program product.Therefore, this specification one or more embodiment can use complete hardware embodiment, complete software
The form of embodiment in terms of embodiment or combination software and hardware.Moreover, this specification one or more embodiment can use
The computer-usable storage medium for wherein including computer usable program code in one or more (includes but is not limited to disk
Memory, CD-ROM, optical memory etc.) on the form of computer program product implemented.
This specification one or more embodiment can computer executable instructions it is general on
Described in hereafter, such as program module.Usually, program module includes performing particular task or realizes particular abstract data type
Routine, program, object, component, data structure etc..Can also put into practice in a distributed computing environment this specification one or
Multiple embodiments, in these DCEs, by being performed by communication network and connected remote processing devices
Task.In a distributed computing environment, the local and remote computer that program module can be located at including storage device is deposited
In storage media.
The embodiment of this specification one or more embodiment is the foregoing is only, is not limited to this specification
One or more embodiments.To those skilled in the art, this specification one or more embodiment can have it is various more
Change and change.It is all this specification one or more embodiment spirit and principle within made any modification, equivalent substitution,
Improve etc., it should be included within the right of this specification one or more embodiment.