Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in this specification embodiment, below in conjunction with this
Attached drawing in specification embodiment is described in detail the technical solution in this specification embodiment, it is clear that described
Embodiment is only a part of the embodiment of this specification, instead of all the embodiments.The embodiment of base in this manual,
Those of ordinary skill in the art's every other embodiment obtained, all should belong to the range of protection.
This specification embodiment provides a kind of payment request processing method, and this method is applied to short-range communication module
Equipment, for example, it may be equipped with the mobile devices such as the mobile phone of payment client terminal, tablet computer, and short-range communication module can be with
Be bluetooth module in equipment, infrared module, Wi-Fi module, etc..
Shown in Figure 1, this method may comprise steps of:
S101 receives payment request, and calls the short-range communication module, whether detects the authorisation device in this equipment
Default communication range in;
In the scheme that this specification provides, for the equipment that needs flexibly set payment strategy, tied up in advance for the equipment
Fixed corresponding authorisation device according to this equipment currently at a distance from authorisation device, judges this equipment after receiving payment request
Whether current payment behavior is in the supervision scope of authorisation device, to judge the specific branch taken when handling payment request
Pay strategy.
Accordingly, in the scheme that this specification provides, through authorisation device whether in the default communication range of this equipment,
This equipment and authorisation device are judged whether in reasonable distance range, however, it will be understood that communication range sheet here
Body can refer to the distance relation of physical layer, be also possible to the correspondence of logic level.
Accordingly, call the short-range communication module, detect the authorisation device whether this equipment default communication model
In enclosing, it can specifically be realized by diversified forms.
In one embodiment of this specification, if in default communication range, whether can refer to by preset
Short haul connection mode establishes connection, therefore can call the short-range communication module, detect the authorisation device whether with
This equipment is connected by predetermined manner.
For example, as described above, short-range communication module can be bluetooth module, also, in advance by authorisation device and this equipment
It is matched by bluetooth, then after receiving payment request, bluetooth module can be called, detect this current equipment and authorisation device
Whether connected by Bluetooth pairing.
For another example, as described above, short-range communication module can be Wi-Fi module, also, this equipment insertion authority is set in advance
Standby personal hot spot after then receiving payment request, can call Wi-Fi module, and whether this current equipment of detection, which has accessed, is awarded
Weigh the personal hot spot of equipment.
It is understood that preset connection type can also be other various ways, as short-range communication module can be
Infrared module, and default connection type is the connection, etc. established by infrared signal.Those skilled in the art can be according to reality
The demand and equipment situation on border, are flexibly arranged preset connection type, this specification embodiment is not specifically limited.
In another embodiment of this specification, if in default communication range, can refer to whether access it is same
A WLAN, thus judge this equipment and authorisation device whether in reasonable distance range, therefore, short-range communication module
It can be Wi-Fi module, and call Wi-Fi module, whether detection authorisation device with this equipment accesses same WLAN.
In another embodiment of this specification, if in default communication range, whether can refer to current location
In a certain range, therefore, current location information can be uploaded in real time by server-side by authorisation device, and by this equipment
After receiving payment request, the current location information of authorisation device is obtained from server-side, also, short-range communication module can be
Locating module calls locating module to obtain the current location information of this equipment, and by authorisation device and the current position of this equipment
Information is compared, and detects authorisation device whether within the scope of the pre-determined distance of this equipment.
It is understood that short-range communication module is not limited to the above-mentioned specific module listed, detecting the authorisation device is
The no concrete mode in the default communication range of this equipment, is also not necessarily limited to the above-mentioned specific embodiment listed, also, above-mentioned
Specific embodiment can be used alone, and can also be used in combination, those skilled in the art can according to actual needs with equipment
Situation is neatly configured, and this specification is without specifically limiting.
In addition, the functions such as bluetooth in equipment, personal hot spot, Wi-Fi, are typically provided with corresponding switch, work as equipment
When currently closing for offline mode or functional switch, then corresponding short-range communication module can not work normally, therefore, this explanation
In book embodiment, after receiving payment request and before calling the short-range communication module, it is logical that the short distance can also be detected first
Whether letter module currently meets preset operating conditions, for example, detection device is current if short-range communication module is bluetooth module
Whether be offline mode, equipment Bluetooth switch whether open, etc..If short-range communication module meets preset operating conditions,
Then continue above-mentioned subsequent step;If short-range communication module is unsatisfactory for preset operating conditions, do not need to execute above-mentioned subsequent
Step can think that this equipment is currently unauthorized state, can pay strategy according to preset unauthorized, handle the branch
Pay request.
S102 is not awarded in the case where the authorisation device is not in the default communication range of this equipment according to preset
Power payment strategy, handles the payment request;
If authorisation device is detected not in the default communication range of this equipment, it may be considered that this equipment is currently not
Licensing status pays strategy according to preset unauthorized, handles the payment request.
Specifically, the prompt of equipment unauthorized can be generated, and show the prompt to user.For example, the bullet on device screen
Out include the interface of texts such as " the current unauthorizeds of equipment ", can also include the link of corresponding authorisation step in interface, such as
Jump to the link etc. at Bluetooth switch interface.
The payment amount in unauthorized payment strategy can also be preset by user, for example, to exempt under unauthorized state
The loss for generating the larger amount of money improves the safety of payment, can be the lesser amount of money, and obtains and compare set branch
The payment amount carried in amount and payment request is paid, by taking the payment amount is the payment amount of single transaction as an example, if branch
It pays the amount of money and is less than payment amount, then allow to pay, otherwise do not allow to pay.It is of course also possible to set 0 for payment amount, i.e.,
Do not allow to carry out delivery operation under unauthorized state, then this payment can directly be refused according to the setting.
It is understood that also may include other specific substrategies in unauthorized payment strategy, for example, recording this
Payment request under unauthorized state, and to the equipment dispatch order, etc. after being connected to authorisation device, also, more seeds
Strategy can be used alone, and can also be used in combination, this explanation is not specifically limited.
S103 has been authorized in the case where the authorisation device is in the default communication range of this equipment according to preset
Payment strategy, handles the payment request.
Handling the payment request according to the preset strategy of authority to pay can be accomplished in several ways.
For example, can directly carry out delivery operation by this equipment, this delivery operation notified on authorization can also be set simultaneously
It is standby;For another example, payment application can be issued to authorisation device, and payment behaviour is carried out in the case where authorisation device is by this application
Make;For another example, it can be sent to authorisation device and pay out application, so that the authorisation device carries out delivery operation;Etc..In addition,
In authority to pay strategy, payment amount can also be preset, due to equipment under licensing status payment environment safety more
Height, therefore biggish payment amount can be set.
The scheme provided by this specification can be arranged unauthorized in advance for equipment and authorize under 2 kinds of different situations
Payment strategy, be equivalent to and open dynamic amount control model, after receiving payment request, according to the authorization bound in advance
The current communication range relationship of equipment determines corresponding payment strategy, to neatly improve the safety of payment.
Certainly, the setting of 2 kinds of payment strategies may also not be carried out in equipment, or closes corresponding function, such case
Under, payment transaction can be carried out according to common amount control model.
In addition, being operated for unauthorized with the modifications of 2 kinds of payment strategies have been authorized, may be set to be into can award
It is carried out under power state.Specifically, in the case where receiving payment strategy modification request, the short-range communication module is called, is examined
The authorisation device is surveyed whether in the default communication range of this equipment;If authorisation device is in the default communication range of this equipment
It is interior, then handle the modification request;And if the authorisation device not in the default communication range of this equipment, can be direct
Refusal is modified or displaying unauthorized prompts, etc..
Below with reference to one, more specifically example, the payment request processing method provided this specification are illustrated.
Assuming that smart phone used in certain old man as equipment is authorized to, binds the smart phone of its children as authorization
Equipment, is respectively arranged with counterpart expenditure client in 2 equipment, and 2 kinds of payments strategies are arranged to be authorized to equipment and (open dynamically
Amount unrestricted model), and a kind of payment strategy (opening common amount payment mode) can be only arranged in authorisation device.Wherein, not
Single payment amount in authority to pay strategy and to pay amount day less, can be used for current consumption, and authority to pay
Single payment amount and day payment amount in strategy is larger, can be used for wholesale consumption.
It is illustrated in figure 2 payment flow schematic diagram, when being paid using equipment, client can first confirm that this sets
The standby amount unrestricted model opened carries out just if it is common amount unrestricted model (such as authorisation device) according to the mode
Normal payment transaction.If it is dynamic amount unrestricted model (as being authorized to equipment), further confirm that the bluetooth of user is opened
It closes and whether opens.
In the case where the equipment Bluetooth switch is closed, unauthorized payment strategy is taken, only allows to carry out the amount of money and is not awarding
Delivery operation within the set payment amount of power payment strategy.
In the case where the equipment Bluetooth switch is opened, further detect whether that having passed through bluetooth and authorisation device matches.
If unpaired, take unauthorized payment strategy, only allow to carry out the amount of money the set payment amount of unauthorized payment strategy it
Interior delivery operation.If having matched, it may be considered that old man is when carrying out this delivery operation, children are enough at a distance from old man
Closely, situations such as being the progress under the accompanying of children, can swindling, force to avoid experience, therefore unauthorized branch can be taken
Strategy is paid, biggish payment amount set by strategy can be paid according to unauthorized, carries out wholesale payment.
As it can be seen that using above scheme payment strategy can be flexibly set for equipment, and according to the peace of current payment environment
Quan Xing, i.e., the authorisation device bound in advance take corresponding payment strategy, to realize cleverer whether in default communication range
Living and safety payment request processing promotes the payment experience of user.
Corresponding to above method embodiment, this specification embodiment also provides a kind of payment request processing unit, the device
It applied to the equipment with short-range communication module, and is in advance the corresponding authorisation device of the apparatus bound, it is shown in Figure 3,
The apparatus may include:
Request reception unit 110, for receiving payment request;
Whether authorisation device detection unit 120 detects the authorisation device at this for calling the short-range communication module
In the default communication range of equipment;
Payment request processing unit 130, in the authorisation device not feelings in the default communication range of this equipment
Under condition, strategy is paid according to preset unauthorized, handles the payment request;In the authorisation device in the default logical of this equipment
In the case where believing in range, according to preset authority to pay strategy, the payment request is handled.
In a kind of specific embodiment that this specification provides, shown in Figure 4, the device can also include:
Module calls detection module 140, for detecting whether the short-range communication module currently meets preset operating conditions;
In the case where the short-range communication module meets preset operating conditions, goes to authorisation device detection unit 120 and hold
Row subsequent step;
In the case where the short-range communication module is unsatisfactory for preset operating conditions, payment request processing unit 130 is gone to
Strategy is paid according to preset unauthorized, handles the payment request.
In a kind of specific embodiment that this specification provides, the payment request processing unit 130, in the authorization
It is specifically used in the case that equipment is not in the default communication range of this equipment:
It generates and presentation device unauthorized prompts;And/or
According to the payment amount in preset unauthorized payment strategy, judge whether the payment request meets default payment
Condition, and the payment request is handled according to judging result.
In a kind of specific embodiment that this specification provides, the authorisation device detection unit 120 is specifically used for:
Detect whether the authorisation device is connect with this equipment by predetermined manner;And/or
Detect whether the authorisation device with this equipment accesses same WLAN;And/or
The location information that the authorisation device is uploaded to server-side is obtained, and according to acquired location information and this equipment
Location information, detect the authorisation device whether within the scope of the pre-determined distance of this equipment.
In a kind of specific embodiment that this specification provides,
The request reception unit 110 is also used to receive payment strategy modification request;
The authorisation device detection unit 120 is also used to receive payment strategy modification in the request reception unit 110
In the case where request, call the short-range communication module, detect the authorisation device whether this equipment default communication range
It is interior;
It is shown in Figure 5, described device further include: payment strategy modification unit 150 is used in the authorisation device at this
In the case where in the default communication range of equipment, the modification request is handled.
It is understood that module calls detection module 140 and payment strategy modification unit 150 to be used as two kinds of functional independences
Module, both can individually configure in a device, can also configure simultaneously in a device such as Fig. 4,5, thus Fig. 4, shown in 5
Structure should not be construed as the restriction to this specification example scheme.
The function of modules and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus
Realization process, details are not described herein.
This specification embodiment also provides a kind of computer equipment, includes at least memory, processor and is stored in
On reservoir and the computer program that can run on a processor, wherein processor realizes payment above-mentioned when executing described program
Request processing method.This method includes at least:
A kind of payment request processing method, this method are applied to the equipment with short-range communication module, and being in advance should
The corresponding authorisation device of apparatus bound, this method comprises:
Payment request is received, and calls the short-range communication module, whether detects the authorisation device in the pre- of this equipment
If in communication range;
In the case where the authorisation device is not in the default communication range of this equipment, paid according to preset unauthorized
Strategy handles the payment request;
In the case where the authorisation device is in the default communication range of this equipment, according to preset authority to pay plan
Slightly, the payment request is handled.
Fig. 6 shows one kind provided by this specification embodiment and more specifically calculates device hardware structural schematic diagram,
The equipment may include: processor 1010, memory 1020, input/output interface 1030, communication interface 1040 and bus
1050.Wherein processor 1010, memory 1020, input/output interface 1030 and communication interface 1040 are real by bus 1050
The now communication connection inside equipment each other.
Processor 1010 can use general CPU (Central Processing Unit, central processing unit), micro- place
Reason device, application specific integrated circuit (Application Specific Integrated Circuit, ASIC) or one
Or the modes such as multiple integrated circuits are realized, for executing relative program, to realize technical side provided by this specification embodiment
Case.
Memory 1020 can use ROM (Read Only Memory, read-only memory), RAM (Random Access
Memory, random access memory), static storage device, the forms such as dynamic memory realize.Memory 1020 can store
Operating system and other applications are realizing technical solution provided by this specification embodiment by software or firmware
When, relevant program code is stored in memory 1020, and execution is called by processor 1010.
Input/output interface 1030 is for connecting input/output module, to realize information input and output.Input and output/
Module can be used as component Configuration (not shown) in a device, can also be external in equipment to provide corresponding function.Wherein
Input equipment may include keyboard, mouse, touch screen, microphone, various kinds of sensors etc., output equipment may include display,
Loudspeaker, vibrator, indicator light etc..
Communication interface 1040 is used for connection communication module (not shown), to realize the communication of this equipment and other equipment
Interaction.Wherein communication module can be realized by wired mode (such as USB, cable etc.) and be communicated, can also be wirelessly
(such as mobile network, WIFI, bluetooth etc.) realizes communication.
Bus 1050 include an access, equipment various components (such as processor 1010, memory 1020, input/it is defeated
Outgoing interface 1030 and communication interface 1040) between transmit information.
It should be noted that although above equipment illustrates only processor 1010, memory 1020, input/output interface
1030, communication interface 1040 and bus 1050, but in the specific implementation process, which can also include realizing normal fortune
Other assemblies necessary to row.In addition, it will be appreciated by those skilled in the art that, it can also be only comprising real in above equipment
Component necessary to existing this specification example scheme, without including all components shown in figure.
This specification embodiment also provides a kind of computer readable storage medium, is stored thereon with computer program, the journey
Payment request processing method above-mentioned is realized when sequence is executed by processor.This method includes at least:
A kind of payment request processing method, this method are applied to the equipment with short-range communication module, and being in advance should
The corresponding authorisation device of apparatus bound, this method comprises:
Payment request is received, and calls the short-range communication module, whether detects the authorisation device in the pre- of this equipment
If in communication range;
In the case where the authorisation device is not in the default communication range of this equipment, paid according to preset unauthorized
Strategy handles the payment request;
In the case where the authorisation device is in the default communication range of this equipment, according to preset authority to pay plan
Slightly, the payment request is handled.
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 instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitorymedia), such as the data-signal and carrier wave of modulation.
As seen through the above description of the embodiments, those skilled in the art can be understood that this specification
Embodiment can be realized by means of software and necessary general hardware platform.Based on this understanding, this specification is implemented
Substantially the part that contributes to existing technology can be embodied in the form of software products the technical solution of example in other words,
The computer software product can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are to make
It is each to obtain computer equipment (can be personal computer, server or the network equipment etc.) execution this specification embodiment
Method described in certain parts of a embodiment or embodiment.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.A kind of typically to realize that equipment is computer, the concrete form of computer can
To be personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
In device, navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment
The combination of any several equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality
For applying example, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to embodiment of the method
Part explanation.The apparatus embodiments described above are merely exemplary, wherein described be used as separate part description
Module may or may not be physically separated, can be each module when implementing this specification example scheme
Function realize in the same or multiple software and or hardware.Can also select according to the actual needs part therein or
Person's whole module achieves the purpose of the solution of this embodiment.Those of ordinary skill in the art are not the case where making the creative labor
Under, it can it understands and implements.
The above is only the specific embodiment of this specification embodiment, it is noted that for the general of the art
For logical technical staff, under the premise of not departing from this specification embodiment principle, several improvements and modifications can also be made, this
A little improvements and modifications also should be regarded as the protection scope of this specification embodiment.