The content of the invention
In order to solve problem present in background technology, i.e., in order to effectively encourage user to get up on time, reduction is slept
Dormancy wish, the embodiments of the invention provide a kind of method of payment and its system for mobile terminal alarm-clock.
The embodiment of the present invention adopts the following technical scheme that:
A kind of method of payment for mobile terminal alarm-clock, methods described include:
When the alarm time of receiving side terminal, which reaches, sends jingle bell, user's real-time imaging is obtained by image collection module
And send it to image analysis module;
Described image analysis module exported after analyzing the user's real-time imaging received an analysis result and by its
Send to receiving side terminal server;
The receiving side terminal server sends encryption information, the payer terminal-pair by network to payer terminal
The information received is decrypted and generates corresponding instruction of paying the bill and/or withhold;
Payer terminal server is performed to the account of the receiving side terminal and paid according to the payment and/or instruction of withholing
Money and/or operation of withholing;
Described image analysis module includes memory, and described image analysis module is carried out to the user's real-time imaging received
An analysis result is exported after analysis and sends it to receiving side terminal server includes;
Described image analysis module is by a plurality of default expression figures of the countenance of user and the memory memory storage
Compare;
When the countenance and the similarity of any one default expression figure of the memory memory storage that compare out user
When reaching the first predetermined threshold value, analysis result is exported:User has waken up, and sends it to receiving side terminal server;Otherwise, it is defeated
Go out analysis result:User does not wake up, and sends it to receiving side terminal server;
Wherein, described image analysis module includes timer, and described image analysis module is to the real-time shadow of user that receives
Include as exporting an analysis result after being analyzed and sending it to receiving side terminal server;
While described image analysis module is analyzed the user's real-time imaging received, the timer starts to count
When;
When described image analysis module output analysis result user wakes up, judge the timer timing time whether
Reach the second predetermined threshold value;If reaching, described image analysis module connects the analysis result that user waken up is not sent to described
Debit's terminal server.
Preferably, pass through image collection module when the alarm time of receiving side terminal reaches and sends jingle bell described
Obtain user's real-time imaging and send it to before image analysis module, in addition to:
Receiving side terminal establishes a connection with payer terminal.
Preferably, the receiving side terminal server sends encryption information, the branch via network to payer terminal
Paying the information that square end-on receives and being decrypted and generate corresponding instruction of paying the bill and/or withhold includes:
The analysis result that the receiving side terminal server has waken up user is sent to described after being encrypted by network
The analysis result and generation pair for showing that user has waken up is decrypted in payer terminal, the information that the payer end-on receives
Money instructs;And/or
The analysis result that the receiving side terminal server does not wake up user is sent to described after being encrypted by network
Payer terminal, the information that the payer end-on receives, which is decrypted, draws user not awake analysis result and generation
Withhold instruction.
Preferably, the fund account of the receiving side terminal is ideal money.
A kind of payment system for mobile terminal alarm-clock, the system include receiving side terminal and payer terminal,
Wherein, the receiving side terminal includes quarter-bell module, image collection module, image analysis module and receiving side terminal service
Device;
The quarter-bell module, jingle bell is sent for being reached in alarm time;
Described image acquisition module, for obtaining user's real-time imaging and sending it to image analysis module;
Described image analysis module, for exporting an analysis result simultaneously after analyzing the user's real-time imaging received
Send it to receiving side terminal server;
The receiving side terminal server, for sending encryption information to payer terminal by network;
Wherein, the payer terminal includes deciphering module, directive generation module and payer terminal server;
The deciphering module, for the information received to be decrypted;
The directive generation module, for according to the corresponding instruction of paying the bill and/or withhold of described information generation;
The payer terminal server, for according to it is described payment and/or withhold instruction to the receiving side terminal
Account performs payment and/or operation of withholing;
Described image analysis module includes memory, for storing a plurality of default expression figures, described image analysis module
It is further used for comparing the countenance of user and a plurality of default expression figures of the memory memory storage, when comparing out
The similarity of the countenance of user and any one default expression figure of the memory memory storage reaches the first predetermined threshold value
When, export analysis result:User has waken up, and sends it to receiving side terminal server;Otherwise, analysis result is exported:User
Do not wake up, and send it to receiving side terminal server;
Described image analysis module includes timer, in described image analysis module to the real-time shadow of user that receives
As starting timing while analysis, described image analysis module, which is further used for exporting when analysis result user wakes up, to be judged
Whether the timing time of the timer reaches the second predetermined threshold value;If reaching, described image analysis module will not send use
The analysis result that family has been waken up is to the receiving side terminal server.
Preferably, the receiving side terminal server is further used for having waken up user and/or not awake analysis result
Sent after being encrypted by network to the payer terminal, the deciphering module is further used for entering the information received
Row decryption show that user has waken up and/or not awake analysis result, the directive generation module are further used for having waken up according to user
And/or not awake analysis result generation payment and/or instruction of withholing.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:By implementing the whole for movement of the present invention
The method of payment of alarm clock is held, when alarm clock reaches ring time, image collection module obtains the real-time imaging of user, graphical analysis
Module exports an analysis result after analyzing the user's real-time imaging received and sends it to receiving side terminal service
Device, when analysis result is that user wakes up, information that the payer end-on receives, which is decrypted, show that user is awake
Analysis result simultaneously generates payment instruction;When analysis result is that user does not wake up, the information that the payer end-on receives is entered
Row decryption draws user, and awake analysis result and generation are not withholdd instruction, in this way, when user gets up on time, it will propped up
The payment reward of side is paid, on the contrary, when user's lazyness bed, it will the punishment of withholing for the side of getting paid, so can effectively encourage use
Family is got up on time, while also adds the interest of mobile terminal alarm-clock occupation mode.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only the part of the embodiment of the present invention, rather than whole embodiments.Base
Embodiment in the present invention, those of ordinary skill in the art obtained under the premise of creative work is not made it is all its
His embodiment, belongs to protection scope of the present invention.
The present invention is only carried out in the description of following embodiment with the method for payment of the alarm clock applied to mobile terminal
Illustrate and illustrate, but be not intended to limit the present invention, other terminals or equipment with touch-screen are equally applicable in this hair
In bright technical scheme, the application of its principle and mobile terminal is essentially identical, will not be repeated in the embodiment of the present invention.And institute
State mobile terminal and include, but are not limited to that there is the smart mobile phone of touch-screen, tablet personal computer, net book, PDA(Portable
Digital Assistant), audio layer -4(MP4)Player etc..
First embodiment
Fig. 1 is refer to, Fig. 1 is a kind of method of payment stream for mobile terminal alarm-clock that first embodiment of the invention provides
Cheng Tu.First embodiment of the invention provides a kind of method of payment for mobile terminal alarm-clock, and methods described includes following step
Suddenly:
Step S11, when the alarm time of receiving side terminal, which reaches, sends jingle bell, user is obtained by image collection module
Real-time imaging simultaneously sends it to image analysis module;
Step S12, the analysis of output one knot after described image analysis module is analyzed the user's real-time imaging received
Fruit simultaneously sends it to receiving side terminal server;
Step S13, the receiving side terminal server send encryption information, the payment by network to payer terminal
The information that square end-on receives is decrypted and generates corresponding instruction of paying the bill and/or withhold;And
Step S14, payer terminal server is according to the payment and/or account of the instruction to the receiving side terminal of withholing
Family performs payment and/or operation of withholing.
In the present embodiment, before the step S11, in addition to step S10:Receiving side terminal is established with payer terminal
Annexation.
Among the step S11, the alarm clock jingle bell moment is configured for user, wherein, the alarm clock jingle bell moment can be set
For one or more.When reaching the default jingle bell moment at the current time of alarm clock, will triggering image collection module start with
Obtain user's real-time imaging and send it to image analysis module.Described image acquisition module can be specifically the recipient
The high-definition camera of terminal built-in, and in actual applications, become apparent from effectively obtaining the real-time imaging of user, institute for convenience
The position of face user can be placed on by stating receiving side terminal.
Refer to Fig. 2, Fig. 2 be a kind of image analysing computer that first embodiment of the invention provides and its output of analysis result with
Sending method flow chart.In the present embodiment, memory is included as a kind of enforceable mode, described image analysis module,
The step S12 comprises the following steps:
Step S121, described image analysis module are a plurality of pre- by the countenance of user and the memory memory storage
If expression figure compares;
Step S122, judge user countenance whether any one default expression figure with the memory memory storage
Similarity reach the first predetermined threshold value;
If so, then performing step S123, analysis result is exported:User has waken up, and sends it to receiving side terminal service
Device;Otherwise, step S124 is performed, exports analysis result:User does not wake up, and sends it to receiving side terminal server.
Specifically, the default expression figure can be regarded as judge user countenance whether be waking state figure
Picture, including eye is state of opening and action etc. of leaving the bed.First predetermined threshold value is engineer according to set in advance one
Whether a plurality of default expression figures reach the percentage of certain similarity degree in individual countenance and memory for judging user
Than threshold value, first predetermined threshold value can be manually set by engineer, such as:90%th, 95% etc., in the present embodiment, can be excellent
Select but be not limited to 95%.Then in the step S122, specially described image analysis module judges that the countenance of user is
It is no to reach 95% with any one default expression figure of memory memory storage similarity, if reaching, perform the step
S123;Otherwise the step S124 will be performed.
In the present embodiment, timer, described image are included as a kind of enforceable mode, described image analysis module
Analysis module exports an analysis result after analyzing the user's real-time imaging received and sends it to receiving side terminal
Server includes:
While described image analysis module is analyzed the user's real-time imaging received, the timer starts to count
When;
When described image analysis module output analysis result user wakes up, judge the timer timing time whether
Reach the second predetermined threshold value;If reaching, described image analysis module connects the analysis result that user waken up is not sent to described
Debit's terminal server.
It is between progress is one long-term not when described image analysis module is analyzed the user's real-time imaging received
Disconnected analysis process, when alarm time, which reaches, sends jingle bell, some possible users, which can cross, for a long time can just regain consciousness, it is therefore desirable to
A time point is set, i.e., after alarm clock jingle bell, user must regain consciousness in predetermined stipulated time section, can just finally give branch
Pay the payment of side.Second predetermined threshold value is that engineer is used to judge whether user gets up in time according to one set in advance
Time threshold, first predetermined threshold value can be manually set by engineer, such as:20S, 30S etc., in the present embodiment,
Preferably but it is not limited to 30S.Then when described image analysis module output analysis result user wakes up, the timing will determine that
Whether the timing time of device reaches 30S, if reaching, described image analysis module will not send analysis result that user waken up extremely
The receiving side terminal server;If on the contrary, it is not up to, the analysis result that described image analysis module has waken up transmission user
To the receiving side terminal server.Further, in the present embodiment, when described image analysis module output analysis result is used
When family is not waken up, the timing time of the timer will not judged.
In the present embodiment, the step S13 includes:The analysis result that the receiving side terminal server has waken up user
Sent after being encrypted by network to the payer terminal, the information that the payer end-on receives is decrypted
Go out the analysis result that user has waken up and generate payment instruction;And/or
The analysis result that the receiving side terminal server does not wake up user is sent to described after being encrypted by network
Payer terminal, the information that the payer end-on receives, which is decrypted, draws user not awake analysis result and generation
Withhold instruction.
In this step, the receiving side terminal server adds in the analysis result waken up to user and/or do not waken up
When close, it can be encrypted by personal key algorithm, specific ciphering process in the present embodiment will be without repeating.
Further, when the analysis result for showing that user has waken up is decrypted in the information that the payer end-on receives
And when generating payment instruction, then in the step S14, the payer terminal server is according to the payment instruction to described
The account of receiving side terminal performs payment operation;Draw user not when the information that the payer end-on receives is decrypted
Awake analysis result and generation withhold instruction when, then in the step S14, the payer terminal server is according to the button
Money instructs performs operation of withholing to the account of the receiving side terminal.
As a kind of enforceable mode, in the present embodiment, the fund account of the receiving side terminal is ideal money.
Once with the amount of money withholdd once preferably to be identical, specific amount of money number is that payer is set in advance for payment.
Second embodiment
Fig. 3 is refer to, Fig. 3 is a kind of payment system side for mobile terminal alarm-clock that second embodiment of the invention provides
Block schematic diagram.The present embodiment more provides a kind of payment system for mobile terminal alarm-clock, and the system includes receiving side terminal
20 and payer terminal 21, wherein, the receiving side terminal 20 includes quarter-bell module 201, image collection module 202, image
Analysis module 203 and receiving side terminal server 204;
The quarter-bell module 201, jingle bell is sent for being reached in alarm time;
Described image acquisition module 202, for obtaining user's real-time imaging and sending it to image analysis module 203;
Described image analysis module 203, for the analysis of output one knot after analyzing the user's real-time imaging received
Fruit simultaneously sends it to receiving side terminal server 204;
The receiving side terminal server 204, for sending encryption information to payer terminal 21 by network;
Wherein, the payer terminal 21 includes deciphering module 211, directive generation module 212 and payer terminal clothes
Business device 213;
The deciphering module 211, for the information received to be decrypted;
The directive generation module 212, for according to the corresponding instruction of paying the bill and/or withhold of described information generation;
The payer terminal server 213, for according to it is described payment and/or withhold instruction to the receiving side terminal
20 account performs payment and/or operation of withholing.
Specifically, the quarter-bell module 201 of the receiving side terminal 20 reaches in alarm time and sends jingle bell, and alarm clock rings
The bell moment is configured for user, wherein, the alarm clock jingle bell moment could be arranged to one or more.When the quarter-bell module
201 during jingle bell, triggering image collection module 202 are started to obtain user's reality at the time of reaching default at the current time of alarm clock
When image and send it to image analysis module 203;Described image analysis module 203 is receiving described image acquisition module
During user's real-time imaging of 202 transmissions, an analysis result is exported after analyzing the user's real-time imaging received
And send it to receiving side terminal server 204;The receiving side terminal server 204 is receiving described image analysis mould
During the analysis result that block 203 is sent, encryption information will be sent to payer terminal 21 by network.Then, the payment
The deciphering module 211 of square terminal 21 will be decrypted breath of concurrently delivering letters to the information received and give the directive generation module
212, after the directive generation module receives the described information that the deciphering module 211 is sent, it will be generated according to described information
Corresponding instruction of paying the bill and/or withhold, the payer terminal server 213 is then according to the payment and/or instruction pair of withholing
The account of the receiving side terminal 20 performs payment and/or operation of withholing.
Refer to Fig. 4, Fig. 4 be a kind of payment system for mobile terminal alarm-clock for providing of second embodiment of the invention it
The block schematic diagram of image analysis module 203.As a kind of enforceable mode, in the present embodiment, described image analysis module
203 include memory 2031, for storing a plurality of default expression figures, described image analysis module 203 be further used for by with
The countenance at family and a plurality of default expression figures of the memory storage of memory 2031 compare, when the face for comparing out user
When expression and the similarity of any one default expression figure of the memory storage of memory 2031 reach the first predetermined threshold value, output
Analysis result:User has waken up, and sends it to receiving side terminal server 204;Otherwise, analysis result is exported:User does not wake up,
And send it to receiving side terminal server 204.
The default expression figure can be regarded as judge user countenance whether be waking state image, including
Eye is state of opening and action etc. of leaving the bed.First predetermined threshold value is that engineer is used to sentence according to one set in advance
Whether the countenance of disconnected user reaches the percentage threshold of certain similarity degree with a plurality of default expression figures in memory 2031
Value, first predetermined threshold value can be manually set by engineer, such as:90%th, 95% etc., in the present embodiment, preferably but
It is not limited to 95%.
Refer to Fig. 5, Fig. 5 be a kind of payment system for mobile terminal alarm-clock for providing of second embodiment of the invention it
Another block schematic diagram of image analysis module 203.As a kind of enforceable mode, in the present embodiment, described image analysis
Module 203 includes timer 2032, for being analyzed in described image analysis module 203 the user's real-time imaging received
While start timing, described image analysis module 203, which is further used for exporting when analysis result user wakes up, judges the meter
When device 2032 timing time whether reach the second predetermined threshold value;If reaching, described image analysis module 203 will not send use
The analysis result that family has been waken up is to the receiving side terminal server 204.
Second predetermined threshold value is that engineer is used to judge what whether user got up in time according to one set in advance
Time threshold, first predetermined threshold value can be manually set by engineer, such as:20S, 30S etc., in the present embodiment, can
It is preferred that but it is not limited to 30S.
Reference chart 3 please be answer, in the present embodiment, the receiving side terminal server 204 is further used for having waken up user
And/or not awake analysis result be encrypted after send to the payer terminal 21, the deciphering module 211 by network
One step, which is used to the information received be decrypted, show that user has waken up and/or not awake analysis result, the instruction generate mould
Block 212 is further used for having been waken up according to user and/or not awake analysis result generation payment and/or instruction of withholing.
Specifically, net is passed through after the analysis result that the receiving side terminal server 204 has waken up user is encrypted
When network is sent to the payer terminal 21, the deciphering module 211 of the payer terminal 21 is by the information to receiving
The analysis result for showing that user has waken up is decrypted.Then, the analysis knot that the directive generation module 212 will have been waken up according to user
Fruit generates payment instruction.
Equally, network is passed through after the analysis result that the receiving side terminal server 204 does not wake up user is encrypted
When sending to the payer terminal 21, the deciphering module 211 of the payer terminal 21 will enter to the information received
Row decryption draws the analysis result that user does not wake up.Then, the analysis result that the directive generation module 212 will not waken up according to user
Generate instruction of withholing.
When the directive generation module 212 generates payment instruction, the payer terminal server 213 will be according to described
Payment instruction performs payment operation to the account of the receiving side terminal 20;When the directive generation module 212 generates finger of withholing
When making, the payer terminal server 213 will withhold to instruct to perform the account of the receiving side terminal 20 according to and pay
Money is withholdd operation.
As a kind of enforceable mode, in the present embodiment, the fund account of the receiving side terminal 20 is virtual goods
Coin.Once with the amount of money withholdd once preferably to be identical, specific amount of money number is that payer is set in advance for payment.
The receiving side terminal and payer terminal in system that above-described embodiment is provided, only with above-mentioned each functional module
Division progress for example, in practical application, can be as needed and complete by different functional modules by appeal function distribution
Into the internal structure of receiving side terminal and payer terminal being divided into different functional modules, to complete above description
All or part of function.In addition, the System and method for embodiment that above-described embodiment provides belongs to same design, it is specific real
Existing process refers to embodiment of the method, herein will be without repeating.The embodiments of the present invention are for illustration only, do not represent
The quality of embodiment.
The achievable advantages below of the present invention:
By the present invention, by implementing the method for payment for mobile terminal alarm-clock of the present invention, when alarm clock reaches jingle bell
During the time, image collection module obtains the real-time imaging of user, and image analysis module is carried out to the user's real-time imaging received
An analysis result is exported after analysis and sends it to receiving side terminal server, it is described when analysis result is that user wakes up
The information that payer end-on receives, which is decrypted, to be drawn analysis result that user has waken up and generates payment instruction;When analysis is tied
When fruit is that user does not wake up, information that the payer end-on receives, which is decrypted, to be drawn user awake analysis result not to be simultaneously
Instruction of withholing is generated, in this way, when user gets up on time, it will the payment reward for the side of getting paid, on the contrary, working as user's lazyness bed
When, it will the punishment of withholing for the side of getting paid, so effectively user can be encouraged to get up on time, while also add mobile terminal
The interest of alarm clock occupation mode.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Lid is within the scope of the present invention.Therefore, protection scope of the present invention should be defined by the protection domain of the requirement.