CN109087081A - A kind of sub conditione electronics red packet processing method and processing device - Google Patents
A kind of sub conditione electronics red packet processing method and processing device Download PDFInfo
- Publication number
- CN109087081A CN109087081A CN201810814224.4A CN201810814224A CN109087081A CN 109087081 A CN109087081 A CN 109087081A CN 201810814224 A CN201810814224 A CN 201810814224A CN 109087081 A CN109087081 A CN 109087081A
- Authority
- CN
- China
- Prior art keywords
- red packet
- electronics red
- sub conditione
- sub
- conditione
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 25
- 238000012545 processing Methods 0.000 title claims abstract description 22
- 238000012797 qualification Methods 0.000 claims abstract description 139
- 230000006854 communication Effects 0.000 claims abstract description 32
- 238000012795 verification Methods 0.000 claims abstract description 21
- 238000000034 method Methods 0.000 claims description 20
- 238000004590 computer program Methods 0.000 claims description 13
- 230000005540 biological transmission Effects 0.000 claims description 11
- 238000004364 calculation method Methods 0.000 claims description 11
- 238000012937 correction Methods 0.000 claims description 9
- 238000003860 storage Methods 0.000 claims description 9
- 238000004891 communication Methods 0.000 abstract description 15
- 238000005516 engineering process Methods 0.000 abstract description 10
- 230000005284 excitation Effects 0.000 abstract description 9
- 238000010586 diagram Methods 0.000 description 22
- 230000005611 electricity Effects 0.000 description 18
- 230000006870 function Effects 0.000 description 14
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 5
- 230000005484 gravity Effects 0.000 description 4
- 230000006399 behavior Effects 0.000 description 3
- 230000033228 biological regulation Effects 0.000 description 3
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 description 3
- 239000010931 gold Substances 0.000 description 3
- 229910052737 gold Inorganic materials 0.000 description 3
- 230000001939 inductive effect Effects 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 230000008092 positive effect Effects 0.000 description 2
- 230000002123 temporal effect Effects 0.000 description 2
- PEDCQBHIVMGVHV-UHFFFAOYSA-N Glycerine Chemical compound OCC(O)CO PEDCQBHIVMGVHV-UHFFFAOYSA-N 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 239000008186 active pharmaceutical agent Substances 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000008451 emotion Effects 0.000 description 1
- 230000002996 emotional effect Effects 0.000 description 1
- 230000004438 eyesight Effects 0.000 description 1
- 230000001976 improved effect Effects 0.000 description 1
- 230000006698 induction Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000009527 percussion Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 239000000047 product Substances 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
- 238000011282 treatment Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/04—Payment circuits
- G06Q20/06—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
- G06Q20/065—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q20/405—Establishing or using transaction specific rules
Abstract
The present invention relates to fields of communication technology, more particularly to a kind of sub conditione electronics red packet processing method and processing device, it receives the sub conditione electronics red packet from sub conditione electronics red packet sender and sends instruction, sub conditione electronics red packet is generated, and sub conditione electronics red packet is sent to sub conditione electronics red packet recipient;When receiving from the request for getting sub conditione electronics red packet of sub conditione electronics red packet recipient and/or sub conditione electronics red packet sender, verification sub conditione electronics red packet recipient and/or sub conditione electronics red packet sender get qualification with whether machine duration meets, if and confirming that current time is alreadyd exceed or reached and can get the time, then allow to be met with machine duration the sub conditione electronics red packet recipient for getting qualification and/or sub conditione electronics red packet sender gets sub conditione electronics red packet, in this way, whether qualification is got by being verified with machine duration, the time for using smart phone is reduced using electronics red packet excitation user, also increase the interest of electronics red packet.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of sub conditione electronics red packet processing method and processing devices.
Background technique
With the development of the electronic equipments such as smart phone, tablet computer, have communication, amusement, reading, payment etc. a variety of
Function, and there are the characteristics such as opening, equality, quick, polynary, currently, especially smart phone has become most of life
Indispensable tool in work.
But smart phone also brings problems while changing people life style, for example, user is daily
It will take more time on smart phone, using smart phone overlong time, people can not only be made to reduce actual life
In time for getting along with relatives or friend etc., and the posture to see the mobile phone of bowing for a long time cervical vertebra and eyesight can also be caused it is bad
It influences.And in practice in the number frequently using smart phone, most of use all is non-necessary, therefore how to solve mesh
Preceding user is necessary using the problem of smart phone overlong time, does not there is solution for this problem also in the prior art
Certainly scheme.
Summary of the invention
The embodiment of the present invention provides a kind of sub conditione electronics red packet processing method and processing device, to solve user in the prior art
The problem of using smart phone overlong time.
Specific technical solution provided in an embodiment of the present invention is as follows:
One embodiment of the invention provides a kind of sub conditione electronics red packet processing method, comprising:
It receives the sub conditione electronics red packet from sub conditione electronics red packet sender and sends instruction;Wherein, the sub conditione
Electronics red packet, which is sent, to be included at least the red packet amount of money, can get time, sub conditione electronics red packet recipient in instruction;
It is sent and is instructed according to the sub conditione electronics red packet, generate sub conditione electronics red packet, and by the sub conditione electronics
Red packet is sent to the sub conditione electronics red packet recipient;
It receives and gets institute from the sub conditione electronics red packet recipient and/or the sub conditione electronics red packet sender
When stating the request of sub conditione electronics red packet, the sub conditione electronics red packet recipient and/or the sub conditione electronics red packet are verified
Sender's gets qualification with whether machine duration meets, and if confirming current time described in alreading exceed or reaching when can get
Between, then allow to be met with machine duration the sub conditione electronics red packet recipient for getting qualification and/or the sub conditione electronics is red
Packet sender gets the sub conditione electronics red packet;Wherein, the sub conditione electronics red packet recipient or the sub conditione electronics
Red packet sender with machine when it is a length of from scheduled start time to it is described get that corresponding terminal the time used when
It is long.
In conjunction with one embodiment of the present of invention, the generation sub conditione electronics red packet is specifically included:
The amount of money of the red packet amount of money size is deducted from the corresponding account of the sub conditione electronics red packet sender, and is turned
Enter in the sub conditione electronics red packet.
In conjunction with one embodiment of the present of invention, it further includes identifying the red packet that the sub conditione electronics red packet, which is sent in instruction,
Mode is the first instruction information of general mode;It further include then with machine duration threshold value in the sub conditione electronics red packet instruction;
Then verify the use machine duration of the sub conditione electronics red packet recipient and/or the sub conditione electronics red packet sender
Whether meet and get qualification, specifically includes:
When the sub conditione electronics red packet recipient is less than the machine duration threshold value with machine duration, then the attached item
Part electronics red packet recipient, which meets, gets qualification;
When the sub conditione electronics red packet recipient is greater than or equal to the machine duration threshold value with machine duration, then institute
It states sub conditione electronics red packet recipient and does not meet and get qualification;
And/or
When the sub conditione electronics red packet sender is less than the machine duration threshold value with machine duration, then the attached item
Part electronics red packet sender, which meets, gets qualification;
When the sub conditione electronics red packet sender is greater than or equal to the machine duration threshold value with machine duration, then institute
It states sub conditione electronics red packet sender and does not meet and get qualification.
In conjunction with one embodiment of the present of invention, it further includes identifying the red packet that the sub conditione electronics red packet, which is sent in instruction,
Second indication information and the scheduled start time of the mode for battle mode;Wherein, the scheduled start time is later than described
The time that sub conditione electronics red packet is created;
Then the sub conditione electronics red packet is sent to after the sub conditione electronics red packet recipient, further includes:
Sub conditione electronics red packet challenge instruction is sent to the sub conditione electronics red packet recipient, if the sub conditione electronics
Red packet recipient receives sub conditione electronics red packet challenge, then deducts from the corresponding account of the sub conditione electronics red packet recipient
The amount of money of preset cost size, and the amount of money of the preset cost size of deduction is transferred in the sub conditione electronics red packet.
In conjunction with one embodiment of the present of invention, further comprise:
The sub conditione electronics red packet recipient, which is sent, to the sub conditione electronics red packet sender receives sub conditione electronics
The message of red packet challenge.
In conjunction with one embodiment of the present of invention, the sub conditione electronics red packet recipient and/or sub conditione electricity are verified
Sub- red packet sender's gets qualification with whether machine duration meets, and specifically includes:
When the use for being less than the sub conditione electronics red packet sender with machine duration of the sub conditione electronics red packet recipient
When machine duration, then the sub conditione electronics red packet recipient, which meets, gets qualification, and the sub conditione electronics red packet sender is not inconsistent
Qualification is got in conjunction;
When being sent with machine duration more than or equal to the sub conditione electronics red packet for the sub conditione electronics red packet recipient
When using machine duration of side, then the sub conditione electronics red packet sender, which does not meet, gets qualification, the sub conditione electronics red packet hair
The side of sending, which meets, gets qualification.
In conjunction with one embodiment of the present of invention, when with according to machine duration from the scheduled start time to described get
Between between the bright screen duration of terminal subtract what the bright screen duration calculation in communication process obtained.
In conjunction with one embodiment of the present of invention, further comprise:
When the use machine duration for determining the sub conditione electronics red packet recipient and/or the sub conditione electronics red packet sender
When greater than the preset ratio with machine duration threshold value, then to prompting the sub conditione electronics red packet recipient and/or described attached
Conditional electronic red packet sender sends with machine duration reminder message.
In conjunction with one embodiment of the present of invention, further comprise:
If it is determined that current time have arrived at it is described can get the time, then to the sub conditione electronics red packet recipient and/
Or the sub conditione electronics red packet sender transmission sub conditione electronics red packet can get reminder message.
In conjunction with one embodiment of the present of invention, further comprise:
If it is determined that the sub conditione electronics red packet sender and/or the sub conditione electronics red packet recipient do not meet and get
Qualification is then sent to the sub conditione electronics red packet sender and/or the sub conditione electronics red packet recipient with machine time mistake
It is long, get failure news.
Another embodiment of the present invention provides a kind of sub conditione electronics red packet processing unit, comprising:
Receiving module receives the sub conditione electronics red packet from sub conditione electronics red packet sender and sends instruction;Wherein, institute
It states in the transmission instruction of sub conditione electronics red packet and includes at least the red packet amount of money, time, sub conditione electronics red packet recipient can be got;
Generation module is instructed for being sent according to the sub conditione electronics red packet, generates sub conditione electronics red packet;
First sending module, for the sub conditione electronics red packet to be sent to the sub conditione electronics red packet recipient;
Correction verification module comes from the sub conditione electronics red packet recipient and/or the sub conditione electronics red packet for receiving
When the request for getting the sub conditione electronics red packet of sender, the sub conditione electronics red packet recipient and/or described is verified
Sub conditione electronics red packet sender's gets qualification with whether machine duration meets, and if confirming that current time is alreadyd exceed or arrived
It is got the time up to described, then allows to be met with machine duration the sub conditione electronics red packet recipient for getting qualification and/or institute
It states sub conditione electronics red packet sender and gets the sub conditione electronics red packet;Wherein, the sub conditione electronics red packet recipient or
The sub conditione electronics red packet sender with machine when it is a length of from scheduled start time to it is described get it is corresponding the time
The duration that terminal is used.
In conjunction with another embodiment of the present invention, the generation sub conditione electronics red packet, generation module is specifically used for:
The amount of money of the red packet amount of money size is deducted from the corresponding account of the sub conditione electronics red packet sender, and is turned
Enter in the sub conditione electronics red packet.
In conjunction with another embodiment of the present invention, it further includes identifying the red packet that the sub conditione electronics red packet, which is sent in instruction,
Mode is the first instruction information of general mode;It further include then with machine duration threshold value in the sub conditione electronics red packet instruction;
Then verify the use machine duration of the sub conditione electronics red packet recipient and/or the sub conditione electronics red packet sender
Whether meet when getting qualification, correction verification module is specifically used for:
When the sub conditione electronics red packet recipient is less than the machine duration threshold value with machine duration, then the attached item
Part electronics red packet recipient, which meets, gets qualification;
When the sub conditione electronics red packet recipient is greater than or equal to the machine duration threshold value with machine duration, then institute
It states sub conditione electronics red packet recipient and does not meet and get qualification;
And/or
When the sub conditione electronics red packet sender is less than the machine duration threshold value with machine duration, then the attached item
Part electronics red packet sender, which meets, gets qualification;
When the sub conditione electronics red packet sender is greater than or equal to the machine duration threshold value with machine duration, then institute
It states sub conditione electronics red packet sender and does not meet and get qualification.
In conjunction with another embodiment of the present invention, it further includes identifying the red packet that the sub conditione electronics red packet, which is sent in instruction,
Second indication information and the scheduled start time of the mode for battle mode;Wherein, the scheduled start time is later than described
The time that sub conditione electronics red packet is created;
After the sub conditione electronics red packet is then sent to the sub conditione electronics red packet recipient, the first sending module
It is also used to:
Sub conditione electronics red packet challenge instruction is sent to the sub conditione electronics red packet recipient, if the sub conditione electronics
Red packet recipient receives sub conditione electronics red packet challenge, then deducts from the corresponding account of the sub conditione electronics red packet recipient
The amount of money of preset cost size, and the amount of money of the preset cost size of deduction is transferred in the sub conditione electronics red packet.
In conjunction with another embodiment of the present invention, further comprise:
Second sending module is received for sending the sub conditione electronics red packet to the sub conditione electronics red packet sender
Side receives the message of sub conditione electronics red packet challenge.
In conjunction with another embodiment of the present invention, the sub conditione electronics red packet recipient and/or sub conditione electricity are verified
When whether being met with machine duration of sub- red packet sender getting qualification, correction verification module is specifically used for:
When the use for being less than the sub conditione electronics red packet sender with machine duration of the sub conditione electronics red packet recipient
When machine duration, then the sub conditione electronics red packet recipient, which meets, gets qualification, and the sub conditione electronics red packet sender is not inconsistent
Qualification is got in conjunction;
When being sent with machine duration more than or equal to the sub conditione electronics red packet for the sub conditione electronics red packet recipient
When using machine duration of side, then the sub conditione electronics red packet sender, which does not meet, gets qualification, the sub conditione electronics red packet hair
The side of sending, which meets, gets qualification.
In conjunction with another embodiment of the present invention, when with according to machine duration from the scheduled start time to described get
Between between the bright screen duration of terminal subtract what the bright screen duration calculation in communication process obtained.
In conjunction with another embodiment of the present invention, further comprise:
First cue module determines that the sub conditione electronics red packet recipient and/or the sub conditione electronics are red for working as
When being not less than the preset ratio of the machine duration threshold value with machine duration of sender is wrapped, then is connect to the sub conditione electronics red packet
Debit and/or the sub conditione electronics red packet sender send with machine duration reminder message.
In conjunction with another embodiment of the present invention, further comprise:
Second cue module, for if it is determined that current time have arrived at it is described can get the time, then to the sub conditione
Electronics red packet recipient and/or the sub conditione electronics red packet sender, which send sub conditione electronics red packet, can get reminder message.
In conjunction with another embodiment of the present invention, further comprise:
Third cue module, for if it is determined that the sub conditione electronics red packet sender and/or the sub conditione electronics are red
Packet recipient, which does not meet, gets qualification, then connects to the sub conditione electronics red packet sender and/or the sub conditione electronics red packet
Debit sends with machine overlong time, gets failure news.
Another embodiment of the present invention provides a kind of server, comprising:
At least one processor, for storing program instruction;
At least one processor, for calling the program instruction stored in the memory, according to the program instruction of acquisition
Execute any of the above-described kind of sub conditione electronics red packet processing method.
Another embodiment of the present invention provides a kind of computer readable storage medium, is stored thereon with computer program,
The computer program realizes the step of any of the above-described kind of sub conditione electronics red packet processing method when being executed by processor.
In the embodiment of the present invention, receives the sub conditione electronics red packet from sub conditione electronics red packet sender and send instruction;
Wherein, the sub conditione electronics red packet send included at least in instruction the red packet amount of money, the time can be got, sub conditione electronics red packet connects
Debit;It is sent and is instructed according to the sub conditione electronics red packet, generate sub conditione electronics red packet, and by the sub conditione electronics red packet
It is sent to the sub conditione electronics red packet recipient;It receives and comes from the sub conditione electronics red packet recipient and/or the attached item
When the request for getting the sub conditione electronics red packet of part electronics red packet sender, the sub conditione electronics red packet recipient is verified
And/or the sub conditione electronics red packet sender gets qualification with whether machine duration meets, and if confirming current time
Be more than or reach described in can get the time, then allow to be met with machine duration get qualification the sub conditione electronics red packet receive
The square and/or described sub conditione electronics red packet sender gets the sub conditione electronics red packet;Wherein, the sub conditione electronics red packet
Recipient or the sub conditione electronics red packet sender with machine when it is a length of from scheduled start time to it is described get the time it
Between the duration that is used of corresponding terminal in this way, being based on sub conditione electronics red packet user is verified with machine duration by statistics
Whether there is the qualification for getting electronics red packet, provides a kind of new sub conditione electronics red packet processing method, electricity can be made full use of
The excitation attribute of sub- red packet reaches reduction user by sub conditione electronics red packet and with machine duration and uses the smart phone time
Purpose solves the problems, such as that user uses smart phone overlong time in the prior art, can also increase the use of electronics red packet
Interest.
Detailed description of the invention
Fig. 1 is sub conditione electronics red packet processing method application scenarios architecture diagram in the embodiment of the present invention;
Fig. 2 is the flow chart of sub conditione electronics red packet processing method in the embodiment of the present invention;
Fig. 3 is that the sub conditione electronics red packet of general mode in the embodiment of the present invention sends interface schematic diagram;
Fig. 4 is that the sub conditione electronics red packet of general mode in the embodiment of the present invention shows interface schematic diagram;
Fig. 5 is to remind interface schematic diagram with machine duration in the embodiment of the present invention;
Fig. 6 is that sub conditione electronics red packet can get prompting interface schematic diagram in the embodiment of the present invention;
Fig. 7 is that the sub conditione electronics red packet of battle mode in the embodiment of the present invention sends interface schematic diagram;
Fig. 8 is that the sub conditione electronics red packet of battle mode in the embodiment of the present invention shows interface schematic diagram;
Fig. 9 is sub conditione electronics red packet sending logic flow chart in the embodiment of the present invention;
Figure 10 is that sub conditione electronics red packet gets logical flow chart in the embodiment of the present invention;
Figure 11 is sub conditione electronics red packet processing device structure diagram in the embodiment of the present invention;
Figure 12 is server architecture schematic diagram in the embodiment of the present invention;
Figure 13 is terminal structure schematic diagram in the 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, is not whole 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.
In order to facilitate understanding of embodiments of the present invention, first several concepts are simply introduced below:
Electronics red packet: being different from traditional entity red packet, distributes red packet, simpler convenience, sub conditione electricity based on network
In the sub- red packet expression embodiment of the present invention when getting electronics red packet, need to meet the electronics red packet for getting qualification.
Instant messaging (Instant Messaging, IM): being a terminal service, and two people or more people is allowed to use network
Instant transmitting message language, archives, voice are exchanged with video.
Currently, common some social softwares, payment software, shopping software, take-away software etc. all have electronics red packet function
Can, can be mainly divided into following several types: 1) the electronics red packet of social attribute: mainly using in instant message applications, can
For accounting payment or connection emotion etc.;2) the electronics red packet of payment software: be usually user using payment software it
Existing electronics red packet is returned afterwards, be can be used for that user is motivated to reuse the payment software, is improved user's retention ratio etc.;3) shopping electricity
Sub- red packet: usually being sent by shopping application program (Application, APP) or retail shop to user, can be with when buying commodity
It is directly used in deduction and falls a part of amount of cash.The APP that does shopping can be promoted by this electron-like red packet to live day, and retail shop can also lead to
This electron-like red packet excitation user is crossed to consume in the retail shop of oneself;4) it takes out electronics red packet: taking out electronics red packet and shopping
Electronics red packet is similar, is promoted and is lived using the take-away APP of oneself commonly used in excitation user day, retail shop can also motivate user to exist
Oneself retail shop point take-away etc..
Pass through the research and analysis to these common electronics red packet types, it is known that different types of electronics red packet has people
Border emotional characteristic can have certain excitation and inducing action to user behavior, therefore, in the embodiment of the present invention, to understand
Certainly user uses the problem of smart phone overlong time, proposes a kind of new sub conditione electronics red packet processing method, Ke Yijie
Close electronics red packet possessed by interpersonal feelings characteristic and to user behavior excitation induction characteristic, allow electronics red packet to
Family plays more positive effect, the time that user uses smart machine, such as smart phone is reduced, due to current smart phone
Use it is more universal, therefore be illustrated by taking smart phone as an example below.
As shown in fig.1, for the application scenarios architecture diagram of sub conditione electronics red packet processing method in the embodiment of the present invention, until
It less include sub conditione electronics red packet sender, sub conditione electronics red packet recipient, server.
Sub conditione electronics red packet sender and sub conditione electronics red packet recipient are user oriented terminals, can be intelligence
Any smart machines such as energy mobile phone, tablet computer, portable personal computer, smart television.It can be equipped in terminal various
APP, such as instant messaging APP, such as wechat.
Sub conditione electronics red packet sender and sub conditione electronics red packet recipient can be respectively between server by mutual
Networking is connected, and realizes mutual communication.
Server provides various network services for terminal, for the application program in different terminal or terminal, server
It is considered that be to provide the background server of corresponding network service, for example, sub conditione electronics red packet sender by wechat APP to
Sub conditione electronics red packet recipient sends sub conditione electronics red packet, then it can be attached item that server, which is the background server of wechat,
Part electronics red packet sender and sub conditione electronics red packet recipient provide corresponding service.
Wherein, the server cluster or cloud computing center that server can be a server, several servers form.
In order to solve the problems, such as that user uses smart phone overlong time in the prior art, provides in the embodiment of the present invention
A kind of sub conditione electronics red packet processing method receives the sub conditione electronics red packet transmission from sub conditione electronics red packet sender and refers to
It enables;Wherein, sub conditione electronics red packet send instruction in include at least the red packet amount of money, the time can be got, sub conditione electronics red packet connects
Debit;It is sent and is instructed according to sub conditione electronics red packet, generate sub conditione electronics red packet, and sub conditione electronics red packet is sent to attached
Conditional electronic red packet recipient;Receive the neck from sub conditione electronics red packet recipient and/or sub conditione electronics red packet sender
When taking the request of sub conditione electronics red packet, sub conditione electronics red packet recipient and/or sub conditione electronics red packet sender are verified
Get qualification with whether machine duration meets, and if confirm current time already exceed or reach and can get the time, allow to use
Machine duration meets the sub conditione electronics red packet recipient for getting qualification and/or the sub conditione electronics red packet sender gets
Sub conditione electronics red packet;Wherein, sub conditione electronics red packet recipient or sub conditione electronics red packet sender with machine when it is a length of from
Scheduled start time can get the duration that corresponding terminal is used between the time to described.
In this way, setting can get the time, and can get the time and from sub conditione electronics red packet be created after this period
It is interior, statistics use machine duration, when getting sub conditione electronics red packet, by with machine duration verify sub conditione electronics red packet recipient or
Whether sub conditione electronics red packet sender gets qualification, can make full use of the excitation attribute of sub conditione electronics red packet, pass through
Sub conditione electronics red packet and achieve the purpose that reduce user with machine duration using the smart phone time, can allow user spontaneously
Some unnecessary times using smart phone are reduced, more positive effect is played, also, the attached item in the embodiment of the present invention
Part electronics red packet processing method can also increase in conjunction with the had interpersonal feelings characteristic of electronics red packet and excitation inducing properties
It is powered on sub- red packet interest, promotes the usage experience of user.
Further, it further includes red packet mode that above-mentioned sub conditione electronics red packet, which is sent in instruction, that is, includes mark red packet mould
Formula is the first instruction information of general mode, or mark red packet mode is the second indication information of battle mode, that is to say, that
Two kinds of possible red packet modes, including general mode and battle mode are additionally provided in the embodiment of the present invention, for different red
Pack mode also needs to carry different temporal informations in red packet instruction, and provides and accordingly get the verification mode of qualification, specifically
Are as follows:
The first: general mode.It further include using machine in the instruction of sub conditione electronics red packet if red packet mode is general mode
Duration threshold value;
Whether being met with machine duration for sub conditione electronics red packet recipient and/or sub conditione electronics red packet sender then verified
When getting qualification, in terms of following two can be divided into:
First aspect: for the verification of sub conditione electronics red packet recipient.
When sub conditione electronics red packet recipient with machine duration when being less than with machine duration threshold value, then sub conditione electronics red packet connects
Debit, which meets, gets qualification;When the use machine duration of sub conditione electronics red packet recipient is greater than or equal to machine duration threshold value, then
Sub conditione electronics red packet recipient, which does not meet, gets qualification.
Wherein, it is specified that the time started can for sub conditione electronics red packet recipient receive sub conditione electronics red packet when
Between, or at the beginning of being specified in the instruction of sub conditione electronics red packet, in the embodiment of the present invention and it is not limited.
Second aspect: for the verification of sub conditione electronics red packet sender.
When sub conditione electronics red packet sender with machine duration when being less than with machine duration threshold value, then sub conditione electronics red packet is sent out
The side of sending, which meets, gets qualification;When the use machine duration of sub conditione electronics red packet sender is greater than or equal to machine duration threshold value, then
Sub conditione electronics red packet sender, which does not meet, gets qualification.
That is, can choose red packet mode when sub conditione electronics red packet sender sends sub conditione electronics red packet, if
It is selected as general mode, then also needs to increase with machine duration threshold value, can be used for controlling user uses machine duration, from sub conditione electricity
Sub- red packet recipient receives sub conditione electronics red packet and starts timing, and until can get the time, statistics is during this period of time
The duration that sub conditione electronics red packet recipient or the corresponding terminal of sub conditione electronics red packet sender are used is greater than or when with machine
When long threshold value, then cannot get the sub conditione electronics red packet, can control to a certain extent user using smart phone when
Between.
Second: battle mode.If red packet mode is battle mode, sub conditione electronics red packet, which is sent in instruction, further includes
The scheduled start time;Wherein, it is specified that the time started is later than the time that sub conditione electronics red packet is created, i.e., by sub conditione electronics
Red packet sender is arranged scheduled start time, and it is above-mentioned get the time it can be appreciated that challenge end time.It is right
The sub conditione electronics red packet of war mode indicates to initiate to choose by sub conditione electronics red packet sending direction sub conditione electronics red packet recipient
War compares with respective machine duration within a certain period of time, it is red can to get the sub conditione electronics with the shorter side of machine duration
Packet, i.e. the sub conditione electronics red packet of battle mode allow sub conditione electronics red packet sender and sub conditione electronics red packet recipient all
It gives the opportunity to get sub conditione electronics red packet.
It is then the challenge feasibility and validity that improve sub conditione electronics red packet, in the embodiment of the present invention, by sub conditione electricity
Sub- red packet is sent to after sub conditione electronics red packet recipient, further includes: is transmitted and received to sub conditione electronics red packet recipient attached
Conditional electronic red packet challenge instruction, if sub conditione electronics red packet recipient receives sub conditione electronics red packet challenge, from sub conditione
The amount of money of preset cost size is deducted in the corresponding account of electronics red packet recipient, and by the amount of money of the preset cost size of deduction
It is transferred in sub conditione electronics red packet.At this moment, if sub conditione electronics red packet recipient accepts challenges, the gold in sub conditione electronics red packet
Volume includes the amount of money that both sides are transferred to.
Whether being met with machine duration for sub conditione electronics red packet recipient and/or sub conditione electronics red packet sender then verified
Qualification is got, a kind of possible embodiment is provided in the embodiment of the present invention, uses machine as sub conditione electronics red packet recipient
Duration is less than when using machine duration of sub conditione electronics red packet sender, then sub conditione electronics red packet recipient, which meets, gets qualification,
Sub conditione electronics red packet sender, which does not meet, gets qualification;When being greater than or equal to machine duration for sub conditione electronics red packet recipient
When using machine duration of sub conditione electronics red packet sender, then sub conditione electronics red packet sender, which does not meet, gets qualification, sub conditione
Electronics red packet sender, which meets, gets qualification.
In this way, both sides can determine sub conditione electronics red packet with machine duration by competition get qualification, pass through electronics
The drive characteristic of red packet helps user to reduce so as to control both sides using the duration of smart phone or other smart machines
Indulge the time of smart phone.
Wherein, several possible embodiments are additionally provided in statistics machine duration in the embodiment of the present invention, the first
Mode: the dark screen duration in the bright screen duration, the duration of call and communication process of terminal is obtained respectively;It calculates bright screen duration, lead to
Talk about the difference of duration, and calculate it is between the dark screen duration in the difference and communication process and, by this and as with machine duration.Second
Kind mode: the bright screen duration in the bright screen duration and communication process of terminal is obtained respectively, is calculated in bright screen duration and communication process
Bright screen duration difference, using the difference as use machine duration.
Wherein, which can indicate the corresponding terminal of sub conditione electronics red packet sender or sub conditione electronics red packet
The corresponding terminal of recipient, to be obtained with use machine duration and the sub conditione electronics of sub conditione electronics red packet sender
Red packet recipient's uses machine duration.
Optionally, above-mentioned internet uses standard communication techniques and/or agreement.Internet be usually internet but
It can be any network, including but not limited to local area network (Local Area Network, LAN), Metropolitan Area Network (MAN) (Metropolitan
Area Network, MAN), wide area network (Wide Area Network, WAN), mobile, wired or wireless network, 2/3/4G
Any combination of the mobile data networks such as network, dedicated network or Virtual Private Network.In some embodiments, using including
Hypertext markup language (Hyper Text Mark-up Language, HTML), extensible markup language (Extensible
Markup Language, XML) etc. technology and/or format represent the data by network exchange.Additionally it can be used
Such as security socket layer (Secure Socket Layer, SSL), Transport Layer Security (Transport Layer
Security, TLS), Virtual Private Network (Virtual Private Network, VPN), Internet Protocol Security (Internet
Protocol Security, IPsec) etc. conventional encryption techniques encrypt all or some links.In other embodiments
In, customization and/or the exclusive data communication technology can also be used to replace or supplement above-mentioned data communication technology.
It is worth noting that the application scenarios architecture diagram in the embodiment of the present invention is to clearly illustrate the present invention
Technical solution in embodiment does not constitute the limitation to technical solution provided in an embodiment of the present invention, and others are applied
Scene framework and application, technical solution provided in an embodiment of the present invention are equally applicable for similar problem.
It is red for sub conditione electronics shown in FIG. 1 with sub conditione electronics red packet processing method in each embodiment of the present invention
It is schematically illustrated for packet recipient, sub conditione electronics red packet sender and server.Based on the above embodiment, refering to figure
It is the flow chart of sub conditione electronics red packet processing method in the embodiment of the present invention shown in 2, this method comprises:
Step 200: receiving the sub conditione electronics red packet from sub conditione electronics red packet sender and send instruction;Wherein, attached
Conditional electronic red packet, which is sent, to be included at least the red packet amount of money, can get time, sub conditione electronics red packet recipient in instruction.
Further, it can also include that red packet mode indicates that sub conditione electronics red packet, which is sent in instruction, in the embodiment of the present invention
Information, other temporal informations etc., wherein red packet mode includes general mode and battle mode, is specifically made referrals in rear extended meeting.
That is, when sub conditione electronics red packet sender needs to send sub conditione electronics red packet, setting can get the time,
The information such as sub conditione electronics red packet recipient, the red packet amount of money, are submitted to the server on backstage, and server is received by including these
The sub conditione electronics red packet of information sends instruction.
Further, further includes: at least store the red packet amount of money, time, red packet mode can be got etc., i.e., by sub conditione electronics
The information that red packet is sent in instruction is stored, and corresponding database is possibly stored to, in order to which subsequent sub conditione electronics is red
Packet generates and gets qualification verification.
Step 210: being sent and instructed according to sub conditione electronics red packet, generate sub conditione electronics red packet, and by sub conditione electronics
Red packet is sent to sub conditione electronics red packet recipient.
When executing step 210, specifically include:
It is instructed firstly, being sent according to sub conditione electronics red packet, generates sub conditione electronics red packet.
Specifically: deducting the amount of money of red packet amount of money size from the corresponding account of sub conditione electronics red packet sender, and turn
Enter in sub conditione electronics red packet.
Then, sub conditione electronics red packet is sent to sub conditione electronics red packet recipient.
In the embodiment of the present invention, for different red packet modes, there can also be Different treatments:
If 1) red packet mode is general mode, i.e., it further includes that mark red packet mode is that sub conditione electronics red packet, which is sent in instruction,
First instruction information of general mode, then it is just complete after sub conditione electronics red packet being sent to sub conditione electronics red packet recipient
At the creation process of sub conditione electronics red packet.
If 2) red packet mode is battle mode, i.e., it further includes that mark red packet mode is that sub conditione electronics red packet, which is sent in instruction,
The second indication information of battle mode is also wrapped after sub conditione electronics red packet is then sent to sub conditione electronics red packet recipient
It includes: sub conditione electronics red packet challenge instruction is transmitted and received to sub conditione electronics red packet recipient, if sub conditione electronics red packet receives
Side receives sub conditione electronics red packet challenge, then preset cost size is deducted from the corresponding account of sub conditione electronics red packet recipient
The amount of money, and the amount of money of the preset cost size of deduction is transferred in sub conditione electronics red packet.
Due to being battle mode, it is therefore desirable to determine whether sub conditione electronics red packet recipient accepts challenges, if sub conditione
Electronics red packet recipient does not accept challenges always, or does not accept challenges also more than that can get the time, it may be considered that the attached item
Part electronics red packet fails, and the amount of money in sub conditione electronics red packet is returned in the corresponding account of sub conditione electronics red packet sender.
If sub conditione electronics red packet recipient accepts challenges, also need to deduct from the corresponding account of sub conditione electronics red packet recipient
The amount of money of preset cost size, wherein the red packet amount of money that preset cost size can be transferred to sub conditione electronics red packet sender
It is equal, it can also be configured, can also be configured at random, in the embodiment of the present invention simultaneously by sub conditione electronics red packet recipient
It is not limited, this sub conditione electronics red packet is all of equal value to both sides in this way, and at this time in the sub conditione electronics red packet
The amount of money is the red packet amount of money that sub conditione electronics red packet sender is transferred to and the sum of the amount of money that sub conditione electronics red packet recipient is transferred to.
Wherein, the mode that sub conditione electronics red packet recipient accepts challenges, such as can be directly red to sub conditione electronics
The clicking operation of packet, alternatively, a control for whether receiving challenge or button etc. are set on sub conditione electronics red packet interface, it is attached
If conditional electronic red packet recipient clicks the control or button, it is determined that accept challenges.
It further, is the reliability for improving the red packet challenge of sub conditione electronics, in sub conditione electronics in the embodiment of the present invention
Red packet recipient receives sub conditione electronics red packet challenge, and default gold is deducted from the corresponding account of sub conditione electronics red packet recipient
The amount of money of volume size, and after the amount of money of the preset cost size of deduction is transferred in sub conditione electronics red packet, further includes: to attached
Conditional electronic red packet sender sends the message that sub conditione electronics red packet recipient receives sub conditione electronics red packet challenge.In this way,
It can inform that sub conditione electronics red packet sender other side has accepted challenges, so that sub conditione electronics red packet sender is ready.
Step 220: receive from sub conditione electronics red packet recipient and/or sub conditione electronics red packet sender get it is attached
When the request of conditional electronic red packet, verify sub conditione electronics red packet recipient and/or sub conditione electronics red packet sender uses machine
Whether duration, which meets, is got qualification, and if confirm current time already exceed or reach and can get the time, allow use machine when
It is long meet the sub conditione electronics red packet recipient for getting qualification and/or sub conditione electronics red packet sender to get sub conditione electronics red
Packet.
Wherein, sub conditione electronics red packet recipient with machine when it is a length of attached the time from scheduled start time to that can get
The duration that the terminal of conditional electronic red packet recipient is used.
Sub conditione electronics red packet sender with machine when it is a length of from scheduled start time to sub conditione the time can be got
The duration that the terminal of electronics red packet sender is used.
According to different red packet modes, two kinds of situations can be divided into when executing step 220:
The first situation: if it further includes identify that red packet mode is general mode the in instruction that sub conditione electronics red packet, which is sent,
One instruction information, i.e. red packet mode are general mode, then further include with machine duration threshold value in the instruction of sub conditione electronics red packet.
Whether being met with machine duration for sub conditione electronics red packet recipient and/or sub conditione electronics red packet sender then verified
Qualification is got, is specifically included:
When sub conditione electronics red packet recipient with machine duration when being less than with machine duration threshold value, then sub conditione electronics red packet connects
Debit, which meets, gets qualification;When the use machine duration of sub conditione electronics red packet recipient is greater than or equal to machine duration threshold value, then
Sub conditione electronics red packet recipient, which does not meet, gets qualification;
And/or
When sub conditione electronics red packet sender with machine duration when being less than with machine duration threshold value, then sub conditione electronics red packet is sent out
The side of sending, which meets, gets qualification;When the use machine duration of sub conditione electronics red packet sender is greater than or equal to machine duration threshold value, then
Sub conditione electronics red packet sender, which does not meet, gets qualification.
Wherein, general mode indicate by sub conditione electronics red packet sender initiate, and by setting with machine duration threshold value come
The sub conditione electronics red packet mode of qualification is got in verification with machine duration.
And the electronics red packet of general mode can also be sent with sub conditione electronics red packet recipient and sub conditione electronics red packet
Side all there is sub conditione electronics red packet to get chance, for example, if sending conditional electricity by one-to-one instant messaging session
Sub- red packet, then only sub conditione electronics red packet recipient is with chance is got, if sending sub conditione electronics red packet in group chat,
Then sub conditione electronics red packet sender and sub conditione electronics red packet recipient may have getting chance.
Further, after sub conditione electronics red packet being sent to sub conditione electronics red packet recipient, sub conditione electricity can be informed
Sub- red packet recipient can get the time, with machine duration threshold value.
In this way, after sub conditione electronics red packet recipient receives sub conditione electronics red packet, begin to count it with machine duration,
Terminate to count until the time can be got, if not arriving can also get the time, sub conditione electronics red packet recipient clicks and gets the attached item
Part electronics red packet can also prompt not arriving and can get the time, the message that cannot be got, if reaching can get the time, sub conditione electronics
Red packet recipient clicks and gets the sub conditione electronics red packet, will verify it and get qualification, is only less than and uses machine duration threshold value,
The amount of money of sub conditione electronics red packet can be obtained.
Further, validity and reliability is handled to improve, and promotes user experience, in the embodiment of the present invention, if working as
Determine that sub conditione electronics red packet recipient and/or being greater than with machine duration for sub conditione electronics red packet sender use machine duration threshold value
When preset ratio, then sends to sub conditione electronics red packet recipient and/or sub conditione electronics red packet sender and reminded with machine duration
Message.
For example, preset ratio is 80%, when being reached with machine duration with machine duration threshold value for sub conditione electronics red packet recipient
80% when, sub conditione electronics red packet recipient will be prompted to close on machine duration threshold value, so that sub conditione electronics is red
Packet recipient can control the use machine duration of oneself, may will stop using smart phone, and then user can be helped to reduce
Use the duration of smart phone.
Further, in the embodiment of the present invention further include: if it is determined that current time, which has arrived at, to be got the time, then to attached
Conditional electronic red packet recipient and/or sub conditione electronics red packet sender, which send sub conditione electronics red packet, can get reminder message.
Wherein, message is prompted or sent to sub conditione electronics red packet recipient and/or sub conditione electronics red packet sender
Mode, can be the modes such as voice, text, in the embodiment of the present invention and be not limited.
Second situation: if it further includes identify that red packet mode is battle mode the in instruction that sub conditione electronics red packet, which is sent,
Two instruction information, i.e. red packet mode are battle mode, then it further includes scheduled start time that sub conditione electronics red packet, which is sent in instruction,.
Wherein, battle mode indicates to be initiated by sub conditione electronics red packet sender, and sub conditione electronics red packet sender
Sub conditione electronics red packet is all had with sub conditione electronics red packet recipient and gets chance, is verified and is led with machine duration by comparing both sides
Take the sub conditione electronics red packet mode of qualification.
That is, if the sender-selected battle mode of sub conditione electronics red packet, when initiating sub conditione electronics red packet,
It not only needs to be arranged and can get time, sub conditione electronics red packet recipient, the red packet amount of money, it is also necessary to scheduled start time is set,
Both sides compare in scheduled start time and can get the use machine duration between the time, and with machine duration, a shorter side can be somebody's turn to do
Sub conditione electronics red packet, at this moment get the time it is also assumed that be battle end time.
Whether being met with machine duration for sub conditione electronics red packet recipient and/or sub conditione electronics red packet sender then verified
Qualification is got, is specifically included:
It is less than when using machine duration of sub conditione electronics red packet sender with machine duration as sub conditione electronics red packet recipient,
Then sub conditione electronics red packet recipient, which meets, gets qualification, and sub conditione electronics red packet sender, which does not meet, gets qualification;
Machine is used more than or equal to sub conditione electronics red packet sender with machine duration as sub conditione electronics red packet recipient
When duration, then sub conditione electronics red packet sender, which does not meet, gets qualification, and sub conditione electronics red packet sender, which meets, gets qualification.
Further, further includes: if it is determined that current time, which has arrived at, to be got the time, then sent out to sub conditione electronics red packet
The side of sending and sub conditione electronics red packet recipient, which send sub conditione electronics red packet, can get reminder message.
For above-mentioned two situations, determine that sub conditione electronics red packet sender gets sub conditione electronics red packet or determines attached item
When part electronics red packet recipient gets sub conditione electronics red packet, correspondingly specifically include:
If it is determined that sub conditione electronics red packet recipient, which meets, gets qualification, then the amount of money in sub conditione electronics red packet is transferred to
In the corresponding account of sub conditione electronics red packet recipient;Or,
If it is determined that sub conditione electronics red packet sender, which meets, gets qualification, then the amount of money in sub conditione electronics red packet is transferred to
In the corresponding account of sub conditione electronics red packet sender.
For example, the red packet amount of money of setting is M if general mode, determine that sub conditione electronics red packet recipient gets attached item
When part electronics red packet, at this moment the amount of money is M in sub conditione electronics red packet, then the amount of money of M is transferred to sub conditione electronics red packet recipient
In corresponding account.
In another example the red packet amount of money of setting is M if battle mode, after sub conditione electronics red packet recipient receives challenge,
Sub conditione electronics red packet recipient is also transferred to the M amount of money, then the amount of money in sub conditione electronics red packet becomes 2M, then if it is determined that sub conditione
Electronics red packet recipient gets sub conditione electronics red packet, then the amount of money of 2M is transferred to the corresponding account of sub conditione electronics red packet recipient
In family, however, it is determined that sub conditione electronics red packet sender gets sub conditione electronics red packet, then the amount of money of 2M is transferred to sub conditione electronics
In the corresponding account of red packet sender.
Further, in the embodiment of the present invention, further includes: if it is determined that sub conditione electronics red packet sender and/or sub conditione
Electronics red packet recipient, which does not meet, gets qualification, then receives to sub conditione electronics red packet sender and/or sub conditione electronics red packet
Side, which is sent, uses machine overlong time, gets failure news, in this way, however, it is determined that does not meet and gets qualification, can also notify corresponding
One side, to motivate can be reduced the time using smart phone its next time.
Wherein, when for sub conditione electronics red packet sender with the use machine of machine duration or sub conditione electronics red packet recipient
It is long, additionally provide a kind of mode of calculating machine duration in the embodiment of the present invention, with according to machine duration from scheduled start time
Subtract what the bright screen duration calculation in communication process obtained to the bright screen duration that can get terminal between the time.
For example, the dark screen duration time_ in a length of time_bright when bright screen, duration of call time_cal, communication process
Dark_call, a length of time_usephone when with machine, when bright screen in communication process a length of time_bright_call.
The then bright screen duration time_bright_call=time_cal-time_dark_call in communication process, uses machine
The calculation of duration are as follows: time_usephone=time_bright-time_call+time_dark_call.
In another example the bright screen duration in communication process can be counted directly, then the calculation of machine duration is used are as follows: time_
Usephone=time_bright-time_bright_call.
This is because user is when using smart phone, usual smart phone is bright screen, therefore, statistics machine duration
Mode mainly pass through the bright screen duration time_bright of statistics.But user might have the case where urgent thing is taken on the telephone, and lead to
The words time should not add in the time that user plays smart phone, therefore duration of call time_call is also needed to deduct, and
When in view of call, if smart phone from face more closely may automatic dark screen, this part-time do not added time_
Bright, but counted into time_call, it is therefore desirable to this part duration time_dark_call add-back is gone.
It is of course also possible to use other statistics modes of machine durations, in the embodiment of the present invention and are not limited.
In the embodiment of the present invention, receives the sub conditione electronics red packet from sub conditione electronics red packet sender and send instruction;
Wherein, sub conditione electronics red packet, which is sent, includes at least the red packet amount of money, can get time, the reception of sub conditione electronics red packet in instruction
Side;It is sent and is instructed according to sub conditione electronics red packet, generate sub conditione electronics red packet, and sub conditione electronics red packet is sent to attached item
Part electronics red packet recipient;Receive getting from sub conditione electronics red packet recipient and/or sub conditione electronics red packet sender
When the request of sub conditione electronics red packet, the use of sub conditione electronics red packet recipient and/or sub conditione electronics red packet sender are verified
Whether machine duration, which meets, is got qualification, and if confirm current time already exceed or reach and can get the time, allow to use machine
Duration meets the sub conditione electronics red packet recipient for getting qualification and/or sub conditione electronics red packet sender gets sub conditione electronics
Red packet, in this way, at least setting can be got the time, and count sub conditione electronics red packet recipient when sending sub conditione electronics red packet
And/or sub conditione electronics red packet sender uses machine duration, when getting red packet, according to machine duration, qualification is got in verification, only
Have meet get qualification when, can just get sub conditione electronics red packet, can by with machine duration and sub conditione electronics red packet
To help user to reduce the time using smart phone, at the new sub conditione electronics red packet of the one kind provided in the embodiment of the present invention
Reason method can not only make user enjoy the enjoyment for robbing red packet, user can also be motivated to reduce the time for using smart phone, knot
The interpersonal feelings characteristic that electronics red packet has and the excitation inducing properties to user behavior have been closed, user has been solved and uses intelligent hand
The problem of machine overlong time, can effectively reduce user's invalid use smart phone time.
In based on the above embodiment, under lower mask body introduction in the embodiment of the present invention sub conditione electronics red packet two kinds of moulds
Formula.
The first mode: general mode, illustratively, here only to only have sub conditione electronics red packet recipient that there is neck
It takes and is illustrated for the chance of sub conditione electronics red packet.
Sub conditione electronics red packet sender after selecting general mode, needs when sending the transmission instruction of sub conditione electronics red packet
The red packet amount of money is set, it is also necessary to two time parameters additionally be added:
First time point: can get time time_active, i.e., to be later than can get the time, and the sub conditione electronics is red
Packet be just activated entrance can click state, state can be got, before it can get the time, the sub conditione electronics red packet all in
State can not be clicked.
Second time point: machine duration threshold value time_interval is used, sub conditione electronics red packet sender is not at this moment needed
Be arranged regulation can get the time, it is specified that the time started be sub conditione electronics red packet recipient receive sub conditione electronics red packet when
Between.
Then sub conditione electronics red packet processing method is specifically as follows in the embodiment of the present invention:
Firstly, as shown in fig.3, the sub conditione electronics red packet for general mode in the embodiment of the present invention sends interface signal
Figure, for example, sending sub conditione electronics red packet after the sender-selected sub conditione electronics red packet recipient of sub conditione electronics red packet
When, it is 10 minutes with machine duration threshold value, and then service that the setting red packet amount of money, which is 100 yuan, and can get the time is 18:00 on April 4
Device receives sub conditione electronics red packet and sends instruction, the information of these settings is stored to database, and generate sub conditione electronics
Red packet is sent to sub conditione electronics red packet recipient.
Then, as shown in fig.4, the sub conditione electronics red packet for general mode in the embodiment of the present invention shows interface signal
Figure, after sub conditione electronics red packet issues, in the dialog box of sub conditione electronics red packet sender and sub conditione electronics red packet recipient
In can show chat thumbnail, for example, being shown on sub conditione electronics red packet: 18:00 in 4 days April time can be got, with machine duration
Threshold value 10 minutes.
Then, when sub conditione electronics red packet recipient receives sub conditione electronics red packet, it is red to start statistics sub conditione electronics
That wraps recipient uses machine duration, if not reaching can also get the time, but the accumulative use of user of sub conditione electronics red packet recipient
The time of smart phone reaches the preset ratio with machine duration threshold value, such as preset ratio is 90%, i.e. sub conditione electronics red packet
The accumulative of recipient with machine duration has been 10*90%=9 minutes, then sends to sub conditione electronics red packet recipient with machine duration
Reminder message.As shown in fig.5, to remind interface schematic diagram with machine duration in the embodiment of the present invention, for example, prompt user " uses
Machine duration was taken a good rest near 10 minutes ".
Finally, if reach can get the time after, also can to sub conditione electronics red packet recipient send sub conditione electronics it is red
Packet can get reminder message, as shown in fig.6, can get prompting interface signal for sub conditione electronics red packet in the embodiment of the present invention
Figure, for example, prompt user " red packet, which arrived, to be got the time ", at this moment, sub conditione electronics red packet enters the state that can get, but
Sub conditione electronics red packet recipient clicks when getting the sub conditione electronics red packet, can verify it and get qualification, according to from receiving
Sub conditione electronics red packet uses machine duration threshold if being less than to the use machine duration that can get sub conditione electronics red packet recipient between the time
Value, then meet and get qualification, could obtain the permission for getting the sub conditione electronics red packet, obtain the gold of the sub conditione electronics red packet
Volume does not meet then if more than or equal to use machine duration threshold value and gets qualification, although the sub conditione electronics red packet can be clicked,
It is that can not get the sub conditione electronics red packet, prompt can be jumped out after click, when sends to sub conditione electronics red packet recipient with machine
Between it is too long, get failure news.
Second of mode: battle mode.
Sub conditione electronics red packet sender can initiate to challenge to sub conditione electronics red packet recipient, compare in the stipulated time
It is interior who using smart phone duration it is shorter, the sub conditione electronics red packet can be obtained using the shorter person of smart phone duration.It is attached
Conditional electronic red packet sender after selecting battle mode, needs that red packet is arranged when sending the transmission instruction of sub conditione electronics red packet
The amount of money, it is also necessary to two time parameters additionally be added:
First time point: scheduled start time time_start needs sub conditione electronics red packet sender to be arranged
Start the time of statistics machine duration.
Second time point: end time time_end, that is to say can get the time, here merely to for battle mould
Formula is convenient for description, and corresponding with time_start, therefore is illustrated using time_end, terminates the time of statistics machine duration,
When terminating statistics, sub conditione electronics red packet namely entrance can get state.
Then sub conditione electronics red packet processing method is specifically as follows in the embodiment of the present invention:
Firstly, as shown in fig.7, the sub conditione electronics red packet for battle mode in the embodiment of the present invention sends interface signal
Figure, for example, sending sub conditione electronics red packet after the sender-selected sub conditione electronics red packet recipient of sub conditione electronics red packet
When, the setting red packet amount of money is 100 yuan, and the time started is 15:00 on April 5, and the end time is 18:00 on April 5, and then server
It receives sub conditione electronics red packet and sends instruction, the information of these settings is stored to database, and it is red to generate sub conditione electronics
Packet, is sent to sub conditione electronics red packet recipient.
It should be noted that being due to being that sub conditione electronics red packet sends setting time_start and time_end
It guarantees fairness and validity, therefore the time_start time needs to be later than sub conditione electronics red packet recipient and completes plug Qian Jinhong
The time of packet, it otherwise can prompt mistake, but what time_start can accept challenges earlier than sub conditione electronics red packet recipient
Time, time_end need to be later than the time_start time.
Then, as shown in fig.8, the sub conditione electronics red packet for battle mode in the embodiment of the present invention shows interface signal
Figure, after sub conditione electronics red packet issues, in the dialog box of sub conditione electronics red packet sender and sub conditione electronics red packet recipient
In can show chat thumbnail, for example, being shown on sub conditione electronics red packet: April 5 time started 15:00, the end time 4
Moon 18:00 on the 5th.
It then, can be by clicking the attached item after sub conditione electronics red packet recipient receives the sub conditione electronics red packet
Part electronics red packet is accepted challenges, however, it is determined that sub conditione electronics red packet recipient receives sub conditione electronics red packet challenge, then from attached
The amount of money of preset cost size is deducted in the corresponding account of conditional electronic red packet recipient, and by the preset cost size of deduction
The amount of money is transferred in sub conditione electronics red packet.
For example, the red packet amount of money is 100 yuan, after sub conditione electronics red packet recipient accepts challenges, sub conditione electronics red packet is connect
Debit is also required to fill in the amount of money of preset cost size, such as fills in the same amount of money to sub conditione electronics red packet, then at this moment this is attached
The amount of money in conditional electronic red packet is 200 yuan.
Finally, counting between time_start to time_end respectively, sub conditione electronics red packet sender and sub conditione electricity
Sub- red packet recipient's uses machine duration, that is, also can be to sub conditione electronics red packet when reaching time_end if reaching can get the time
Sender and sub conditione electronics red packet recipient, which send sub conditione electronics red packet, can get reminder message, and interface is realized and above-mentioned figure
6 is similar, just repeats no more here, and at this moment, sub conditione electronics red packet sender and sub conditione electronics red packet recipient are ok
The sub conditione electronics red packet is got by clicking, can be according to machine duration, verify both sides gets qualification, shorter with machine duration
One can obtain the amount of money of the sub conditione electronics red packet, i.e., 200 yuan just now, although can click this with the longer side of machine duration
Sub conditione electronics red packet, but can not get, it can prompt to use machine overlong time, get failure news.
It is worth noting that the interface schematic diagram of above-mentioned Fig. 3-Fig. 8 is only a kind of simply illustrative figure, it is practical in interface reality
Now, other showing interface modes can also be used, also may include other controls etc., in the embodiment of the present invention and without limit
System.
It further,, can be with for the sub conditione electronics red packet of general mode or battle mode in the embodiment of the present invention
It is corresponding with multiple sub conditione electronics red packet recipients.
For example, being directed to some wechat group chat, sub conditione electronics red packet sender can be sent to sub conditione electronics red packet
In the wechat group chat, if general mode, then the use machine duration of member in group chat can be counted respectively, if having multiple members' to use machine
Duration, which is less than, uses machine duration threshold value, then can be according to the amount of money in certain regulation distribution sub conditione electronics red packet, such as to satisfaction
Each member for getting qualification is randomly assigned the amount of money in sub conditione electronics red packet.
In another example can then there are multiple members to receive sub conditione electronics red packet sender's in group chat if battle mode
Challenge, and the member to accept challenges is required to fill in the amount of money of preset cost size, for example, the same amount of money is filled in, if then there is N
A member accepts challenges, and the red packet amount of money is M, then at this moment the amount of money size of sub conditione electronics red packet becomes (N+1) * M, can count
The member's to accept challenges uses machine duration, and is compared respectively with sub conditione electronics red packet sender with machine duration, if having
Multiple members' uses machine duration less than sub conditione electronics red packet sender with machine duration, then can also get qualification to satisfaction
Each member is randomly assigned the amount of money in sub conditione electronics red packet.
Above-described embodiment is further illustrated using specific application scenarios below.In based on the above embodiment, the present invention
Sub conditione electronics red packet processing method in embodiment, can be divided into following three parts and be introduced:
1) first part: sub conditione electronics red packet sending logic mainly includes that sub conditione electronics red packet is provided for user
Essential information set interface, the storage of the relevant information of the sub conditione electronics red packet of background server, referring particularly to shown in Fig. 9,
For sub conditione electronics red packet sending logic flow chart in the embodiment of the present invention, comprising:
Step 900: user, which clicks, sends red packet button.
Step 901: selection red packet mode, if selection general mode, thens follow the steps 902, if selection battle mode, holds
Row step 903.
Step 902: setting can get time time_active and with machine duration threshold value time_interval.
Here using when general mode, it is specified that as sub conditione electronics red packet recipient to receive sub conditione electronics red the time started
It is illustrated for the time of packet, general mode is at this moment directed to, after selecting general mode, it is necessary to when the regulation being set starting
Between.
Step 903: setting scheduled start time time_start and end time time_end.
Wherein, end time time_end here that is to say and can get the time.And in step 902 and step 903, also
Need to be arranged red packet amount of money parameter, this is identical with the red packet amount of money is arranged in existing sub conditione electronics red packet scheme.
Step 904: sending sub conditione electronics red packet and send instruction.
Step 905: the information of storage sub conditione electronics red packet.
E.g., including the red packet amount of money, red packet mode, time_active and time_interval or time_start and
The information such as time_end.
Step 906: the amount of money of red packet amount of money size is deducted from the corresponding account of sub conditione electronics red packet sender.
Step 907: sub conditione electronics red packet being sent to sub conditione electronics red packet recipient, if red packet mode is common mould
Formula thens follow the steps 911, if red packet mode is battle mode, thens follow the steps 908.
Step 908: sub conditione electronics red packet recipient being waited to accept challenges.
For example, when sending sub conditione electronics red packet to sub conditione electronics red packet recipient, it can be simultaneously to sub conditione electricity
Sub- red packet recipient sends whether receive sub conditione electronics red packet challenge instruction, whether to determine sub conditione electronics red packet recipient
Receive the challenge.
Step 909: if it is determined that sub conditione electronics red packet recipient receives sub conditione electronics red packet challenge, then from sub conditione electricity
The amount of money of preset cost size is deducted in the corresponding account of sub- red packet recipient.
Step 910: sending sub conditione electronics red packet recipient to sub conditione electronics red packet sender and receive sub conditione electronics
The message of red packet challenge.
Step 911: the creation of sub conditione electronics red packet is completed.
It should be noted that above-mentioned steps 900- step 904 is executed in the terminal side of sub conditione electronics red packet sender,
Step 905- step 911 is that the server on backstage executes.
2) second part: using machine duration statistic logic, is mainly responsible for and creates a subprocess on terminal backstage, counts attached item
The use machine duration of part electronics red packet sender and sub conditione electronics red packet recipient, rather than it is directed to the use duration of some APP,
Two kinds of situations can be divided into:
The first situation: if general mode, and only sub conditione electronics red packet recipient have get sub conditione electronics
The chance of red packet is then only worked in the terminal of sub conditione electronics red packet recipient with machine duration statistic logic, in sub conditione electricity
After sub- red packet recipient receives sub conditione electronics red packet, it can be reached by creating a subprocess statistics machine duration
When time_active, statistics terminates, and sends statistical result, the i.e. use of sub conditione electronics red packet recipient to background server
Machine duration time_usephone, is then shut off the subprocess.
If also, sub conditione electronics red packet recipient and sub conditione electronics red packet sender all have and get sub conditione electronics
The chance of red packet then can also be worked with machine duration statistic logic in the terminal of sub conditione electronics red packet recipient.
Second situation: it if battle mode, then can be sent simultaneously in sub conditione electronics red packet with machine duration statistic logic
It works in the terminal of side and sub conditione electronics red packet recipient, after reaching time_start, respectively in sub conditione electronics red packet
One subprocess of creation carries out duration statistics simultaneously in the terminal of sender and sub conditione electronics red packet recipient, reaches
When time_end, statistics terminates, and connects to background server transmission sub conditione electronics red packet sender and sub conditione electronics red packet
Debit's uses machine duration, is then shut off subprocess.
Wherein, the application programming interfaces (Application of terminal operating system is mainly utilized with the statistical of machine duration
Programming Interface, API) monitor whether terminal is in bright screen state, specific formula for calculation is as follows:
Time_usephone=time_bright-time_bright_call
Wherein, time_usephone is with machine duration, and time_bright is bright screen duration, time_bright_call is
Bright screen duration in communication process.
3) Part III: sub conditione electronics red packet gets logic, mainly includes to sub conditione electronics red packet recipient and attached
Conditional electronic red packet sender gets the verification of qualification, is sub conditione electronics in the embodiment of the present invention referring particularly to shown in Figure 10
Red packet gets logical flow chart, comprising:
Step 1000: sub conditione electronics red packet is got in click.
Step 1001: obtaining sub conditione electronics red packet ID and User ID.
Wherein, user identifier (identification, ID) indicates to click the ID for getting sub conditione electronics red packet, is this hair
Sub conditione electronics red packet sender or sub conditione electronics red packet recipient in bright embodiment collectively referred to here in as use for ease of description
Family.
Specifically: for general mode, if the user of only sub conditione electronics red packet recipient side, which can click, is got this
Sub conditione electronics red packet, therefore, User ID indicates sub conditione electronics red packet recipient ID at this time, if sub conditione electronics red packet receives
The user of square side and the user of sub conditione electronics red packet sender side can click and get the sub conditione electronics red packet, such as
When sending in group chat session, then User ID indicates that sub conditione electronics red packet recipient ID or sub conditione electronics red packet are sent at this time
Square ID;For battle mode, two parties, which can be clicked, gets the sub conditione electronics red packet, after red packet is got in click, all
Need get by background server the verification of qualification, therefore, User ID indicates sub conditione electronics red packet recipient ID at this time
Or sub conditione electronics red packet sender ID can be by User ID (user_id) and attached item after sub conditione electronics red packet is got in click
Part electronics red packet ID (redbag_id) is sent to the server on backstage.
Step 1002: being inquired according to sub conditione electronics red packet ID and User ID.
It specifically includes: 1) according to the information of the sub conditione electronics red packet of sub conditione electronics red packet ID inquiry storage, such as wrapping
Include the information such as the red packet amount of money, red packet mode, time_active and time_interval or time_start and time_end.
2) machine duration is used according to User ID inquiry is corresponding.
Step 1003: verify user gets qualification.
In the embodiment of the present invention, server verification user get qualification after, check results can be sent to corresponding
Terminal is sent to corresponding sub conditione electronics red packet sender or sub conditione electronics red packet recipient, and then sub conditione electronics
Red packet recipient or sub conditione electronics red packet sender, the check results that can be returned according to server, know whether to meet neck
Take qualification.
Step 1004: judging whether to meet and get qualification, if meeting, then follow the steps 1005, otherwise, then follow the steps
1006。
Step 1005: getting success, fund to account.
Step 1006: prompt machine overlong time gets failure.
It should be noted that above-mentioned steps 1000- step 1001 and step 1004- step 1005 are in sub conditione electricity
The terminal side of sub- red packet sender or sub conditione electronics red packet recipient execute, and step 1002- step 1003 is the clothes on backstage
Business device executes.
And it is worth noting that executing the operation that qualification is got in verification, Ke Yiti by server in the embodiment of the present invention
The accuracy of high Information Security and check results, avoids user from distorting related data in terminal.But it can also be by sub conditione
The terminal of electronics red packet sender or sub conditione electronics red packet recipient execute the operation that qualification is got in verification, this is because in life
When at creation sub conditione electronics red packet, the relevant information of sub conditione electronics red packet can be also sent, therefore sub conditione electronics red packet connects
Debit or sub conditione electronics red packet sender are also to have checking feature, may be implemented to hold under offline condition by client checks
Row, and the calculating pressure of server can also be mitigated.
In this way, by sub conditione electronics red packet sending logic, get the processing of logic, and when passing through statistics machine
It is long, qualification is got to sub conditione electronics red packet to verify, only meets and gets qualification, it is red can just to get the sub conditione electronics
Packet also increases sub conditione electronics red packet using sub conditione electronics red packet to motivate user to reduce the time using smart phone
The validity and interest of processing can control the time using intelligent time to a certain extent, user put into
More time and efforts do other things, such as more absorbed can do something, or, can have the more time to accompany friend
Household, rather than everyone bows and plays smart phone.
Based on the above embodiment, refering to fig. 1 shown in 1, in the embodiment of the present invention, sub conditione electronics red packet processing unit is specific
Include:
Receiving module 1110 receives the sub conditione electronics red packet from sub conditione electronics red packet sender and sends instruction;Its
In, the sub conditione electronics red packet, which is sent, to be included at least the red packet amount of money, can get time, the reception of sub conditione electronics red packet in instruction
Side;
Generation module 1120 is instructed for being sent according to the sub conditione electronics red packet, generates sub conditione electronics red packet;
First sending module 1130 is received for the sub conditione electronics red packet to be sent to the sub conditione electronics red packet
Side;
Correction verification module 1140 comes from the sub conditione electronics red packet recipient and/or the sub conditione electronics for receiving
When the request for getting the sub conditione electronics red packet of red packet sender, verify the sub conditione electronics red packet recipient and/or
The sub conditione electronics red packet sender's gets qualification with whether machine duration meets, and if confirm current time already exceed or
Person reach described in can get the time, then allow to be met with machine duration get qualification the sub conditione electronics red packet recipient and/
Or the sub conditione electronics red packet sender gets the sub conditione electronics red packet;Wherein, the sub conditione electronics red packet receives
The square or described sub conditione electronics red packet sender with machine when it is a length of from scheduled start time to it is described get it is right the time
The duration that the terminal answered is used.
Optionally, the generation sub conditione electronics red packet, generation module 1120 are specifically used for:
The amount of money of the red packet amount of money size is deducted from the corresponding account of the sub conditione electronics red packet sender, and is turned
Enter in the sub conditione electronics red packet.
Optionally, it further includes identifying the red packet mode as general mode that the sub conditione electronics red packet, which is sent in instruction,
First instruction information;It further include then with machine duration threshold value in the sub conditione electronics red packet instruction;
Then verify the use machine duration of the sub conditione electronics red packet recipient and/or the sub conditione electronics red packet sender
Whether meet when getting qualification, correction verification module 1140 is specifically used for:
When the sub conditione electronics red packet recipient is less than the machine duration threshold value with machine duration, then the attached item
Part electronics red packet recipient, which meets, gets qualification;
When the sub conditione electronics red packet recipient is greater than or equal to the machine duration threshold value with machine duration, then institute
It states sub conditione electronics red packet recipient and does not meet and get qualification;
And/or
When the sub conditione electronics red packet sender is less than the machine duration threshold value with machine duration, then the attached item
Part electronics red packet sender, which meets, gets qualification;
When the sub conditione electronics red packet sender is greater than or equal to the machine duration threshold value with machine duration, then institute
It states sub conditione electronics red packet sender and does not meet and get qualification.
Optionally, it further includes identifying the red packet mode as battle mode that the sub conditione electronics red packet, which is sent in instruction,
Second indication information and the scheduled start time;
After the sub conditione electronics red packet is then sent to the sub conditione electronics red packet recipient, the first sending module
1130 are also used to:
Sub conditione electronics red packet challenge instruction is sent to the sub conditione electronics red packet recipient, if the sub conditione electronics
Red packet recipient receives sub conditione electronics red packet challenge, then deducts from the corresponding account of the sub conditione electronics red packet recipient
The amount of money of preset cost size, and the amount of money of the preset cost size of deduction is transferred in the sub conditione electronics red packet.
Optionally, further comprise:
Second sending module 1150, for sending the sub conditione electronics red packet to the sub conditione electronics red packet sender
Recipient receives the message of sub conditione electronics red packet challenge.
Optionally, the use of the sub conditione electronics red packet recipient and/or the sub conditione electronics red packet sender are verified
Whether machine duration meets when getting qualification, and correction verification module 1140 is specifically used for:
When the use for being less than the sub conditione electronics red packet sender with machine duration of the sub conditione electronics red packet recipient
When machine duration, then the sub conditione electronics red packet recipient, which meets, gets qualification, and the sub conditione electronics red packet sender is not inconsistent
Qualification is got in conjunction;
When being sent with machine duration more than or equal to the sub conditione electronics red packet for the sub conditione electronics red packet recipient
When using machine duration of side, then the sub conditione electronics red packet sender, which does not meet, gets qualification, the sub conditione electronics red packet hair
The side of sending, which meets, gets qualification.
Optionally, terminal the time is got from the scheduled start time to described according to the duration with machine
Bright screen duration subtracts what the bright screen duration calculation in communication process obtained.
Optionally, further comprise:
First cue module 1160, for when the determining sub conditione electronics red packet recipient and/or sub conditione electricity
When being greater than the preset ratio of the machine duration threshold value with machine duration of sub- red packet sender, then to the sub conditione electronics red packet
Recipient and/or the sub conditione electronics red packet sender send with machine duration reminder message.
Optionally, further comprise:
Second cue module 1170, for if it is determined that current time have arrived at it is described can get the time, then to described attached
Conditional electronic red packet recipient and/or sub conditione electronics red packet sender transmission sub conditione electronics red packet can get prompting and disappear
Breath.
Optionally, further comprise:
Third cue module 1180 is used for if it is determined that the sub conditione electronics red packet sender and/or sub conditione electricity
Sub- red packet recipient, which does not meet, gets qualification, then red to the sub conditione electronics red packet sender and/or the sub conditione electronics
Packet recipient sends with machine overlong time, gets failure news.
Based on the above embodiment, refering to fig. 1 shown in 2, in the embodiment of the present invention, a kind of structural schematic diagram of server.
The embodiment of the invention provides a kind of server, which may include 1210 (Center of processor
Processing Unit, CPU), memory 1220, input equipment 1230 and output equipment 1240 etc., input equipment 1230 can be with
Including keyboard, mouse, touch screen etc., output equipment 1240 may include display equipment, such as liquid crystal display (Liquid
Crystal Display, LCD), cathode-ray tube (Cathode Ray Tube, CRT) etc..
Memory 1220 may include read-only memory (ROM) and random access memory (RAM), and to processor 1210
The program instruction stored in memory 1220 and data are provided.In embodiments of the present invention, memory 1220 can be used for storing
The program of sub conditione electronics red packet processing method.
Processor 1210 is by the program instruction for calling memory 1220 to store, and processor 1210 is for the journey according to acquisition
Sequence instruction execution:
It receives the sub conditione electronics red packet from sub conditione electronics red packet sender and sends instruction;Wherein, the sub conditione
Electronics red packet, which is sent, to be included at least the red packet amount of money, can get time, sub conditione electronics red packet recipient in instruction;
It is sent and is instructed according to the sub conditione electronics red packet, generate sub conditione electronics red packet, and by the sub conditione electronics
Red packet is sent to the sub conditione electronics red packet recipient;
It receives and gets institute from the sub conditione electronics red packet recipient and/or the sub conditione electronics red packet sender
When stating the request of sub conditione electronics red packet, the sub conditione electronics red packet recipient and/or the sub conditione electronics red packet are verified
Sender's gets qualification with whether machine duration meets, and if confirming current time described in alreading exceed or reaching when can get
Between, then allow to be met with machine duration the sub conditione electronics red packet recipient for getting qualification and/or the sub conditione electronics is red
Packet sender gets the sub conditione electronics red packet;Wherein, the sub conditione electronics red packet recipient or the sub conditione electronics
Red packet sender with machine when it is a length of from scheduled start time to it is described get that corresponding terminal the time used when
It is long.
Optionally, when the generation sub conditione electronics red packet, processor 1210 is specifically used for:
The amount of money of the red packet amount of money size is deducted from the corresponding account of the sub conditione electronics red packet sender, and is turned
Enter in the sub conditione electronics red packet.
Optionally, it further includes identifying the red packet mode as general mode that the sub conditione electronics red packet, which is sent in instruction,
First instruction information;It further include then with machine duration threshold value in the sub conditione electronics red packet instruction;
Then verify the use machine duration of the sub conditione electronics red packet recipient and/or the sub conditione electronics red packet sender
Whether meet when getting qualification, processor 1210 is specifically used for:
When the sub conditione electronics red packet recipient is less than the machine duration threshold value with machine duration, then the attached item
Part electronics red packet recipient, which meets, gets qualification;
When the sub conditione electronics red packet recipient is greater than or equal to the machine duration threshold value with machine duration, then institute
It states sub conditione electronics red packet recipient and does not meet and get qualification;
And/or
When the sub conditione electronics red packet sender is less than the machine duration threshold value with machine duration, then the attached item
Part electronics red packet sender, which meets, gets qualification;
When the sub conditione electronics red packet sender is greater than or equal to the machine duration threshold value with machine duration, then institute
It states sub conditione electronics red packet sender and does not meet and get qualification.
Optionally, it further includes identifying the red packet mode as battle mode that the sub conditione electronics red packet, which is sent in instruction,
Second indication information and the scheduled start time;
After the sub conditione electronics red packet is then sent to the sub conditione electronics red packet recipient, processor 1210 is also
For:
Sub conditione electronics red packet challenge instruction is sent to the sub conditione electronics red packet recipient, if the sub conditione electronics
Red packet recipient receives sub conditione electronics red packet challenge, then deducts from the corresponding account of the sub conditione electronics red packet recipient
The amount of money of preset cost size, and the amount of money of the preset cost size of deduction is transferred in the sub conditione electronics red packet.
Optionally, processor 1210 is further used for:
The sub conditione electronics red packet recipient, which is sent, to the sub conditione electronics red packet sender receives sub conditione electronics
The message of red packet challenge.
Processor 1210 verifies the sub conditione electronics red packet recipient and/or the sub conditione electronics red packet sender
Whether met when getting qualification with machine duration, processor 1210 is specifically used for:
When the use for being less than the sub conditione electronics red packet sender with machine duration of the sub conditione electronics red packet recipient
When machine duration, then the sub conditione electronics red packet recipient, which meets, gets qualification, and the sub conditione electronics red packet sender is not inconsistent
Qualification is got in conjunction;
When being sent with machine duration more than or equal to the sub conditione electronics red packet for the sub conditione electronics red packet recipient
When using machine duration of side, then the sub conditione electronics red packet sender, which does not meet, gets qualification, the sub conditione electronics red packet hair
The side of sending, which meets, gets qualification.
Optionally, terminal the time is got from the scheduled start time to described according to the duration with machine
Bright screen duration subtracts what the bright screen duration calculation in communication process obtained.
Optionally, processor 1210 is further used for:
When the use machine duration for determining the sub conditione electronics red packet recipient and/or the sub conditione electronics red packet sender
When not less than the preset ratio with machine duration threshold value, then to the sub conditione electronics red packet recipient and/or the attached item
Part electronics red packet sender sends with machine duration reminder message.
Optionally, processor 1210 is further used for:
If it is determined that current time have arrived at it is described can get the time, then to the sub conditione electronics red packet recipient and/
Or the sub conditione electronics red packet sender transmission sub conditione electronics red packet can get reminder message.
Optionally, processor 1210 is further used for:
If it is determined that the sub conditione electronics red packet sender and/or the sub conditione electronics red packet recipient do not meet and get
Qualification is then sent to the sub conditione electronics red packet sender and/or the sub conditione electronics red packet recipient with machine time mistake
It is long, get failure news.
For purposes of illustration only, embodiment in the present invention with include the portable multi-function device 1300 of touch screen make it is exemplary
Illustrate, it will be appreciated by those skilled in the art that, the embodiment in the present invention is equally applicable to other devices, such as holds and set
Standby, mobile unit, calculates equipment and various forms of user equipmenies (User Equipment, UE) at wearable device, moves
Dynamic platform (Mobile station, MS), terminal (terminal), terminal device (Terminal Equipment) etc..
Figure 13 shows the block diagram of the portable multi-function device 1300 in accordance with some embodiments including touch screen, described
Device 1300 may include input unit 1330, display unit 1340, gravity accelerometer 1351, close to optical sensor
1352, ambient light sensor 1353, memory 1320, processor 1390, radio frequency unit 1310, voicefrequency circuit 1360, loudspeaker
1361, microphone 1362, WiFi (wireless fidelity, Wireless Fidelity) module 1370, bluetooth module 1380, power supply
1393, the components such as external interface 1397.
It will be understood by those skilled in the art that Figure 13 is only the citing of portable multi-function device, do not constitute to just
The restriction for taking formula multi-function device may include perhaps combining certain components or difference than illustrating more or fewer components
Component.
The input unit 1330 can be used for receiving the number or character information of input, and generate with it is described portable more
The related key signals input of the user setting and function control of functional device.Specifically, input unit 1330 may include touching
Screen 1331 and other input equipments 1332.The touch screen 1331 collects the touch operation (ratio of user on it or nearby
Such as user uses the operation of finger, joint, any suitable object of stylus on the touchscreen or near touch screen), and root
According to the corresponding attachment device of preset driven by program.Touch screen can detecte user to the touch action of touch screen, by institute
It states touch action and is converted to touch signal and be sent to the processor 1390, and the order that the processor 1390 is sent can be received
And it is executed;The touch signal includes at least contact coordinate information.The touch screen 1331 can provide described device
Input interface and output interface between 1300 and user.Furthermore, it is possible to using resistance-type, condenser type, infrared ray and surface
The multiple types such as sound wave realize touch screen.In addition to touch screen 1331, input unit 1330 can also include other input equipments.Tool
Body, other input equipments 1332 can include but is not limited to physical keyboard, function key (for example volume control button 1332, is opened
Close button 1333 etc.), trace ball, mouse, one of operating stick etc. or a variety of.
The display unit 1340 can be used for showing information input by user or the information and device that are supplied to user
1300 various menus.Further, touch screen 1331 can cover display panel 1341, when touch screen 1331 detects on it
Or after neighbouring touch operation, processor 1390 is sent to determine the type of touch event, is followed by subsequent processing device 1390 according to touching
The type for touching event provides corresponding visual output on display panel 1341.In the present embodiment, touch screen and display unit
It can integrate as a component and the input of realization device 1300, output, display function;For ease of description, the embodiment of the present invention
The function set of touch screen and display unit is represented with touch screen;In certain embodiments, touch screen and display unit can also be with
As two independent components.
The gravity accelerometer 1351 can detect in all directions the size of (generally three axis) acceleration, together
When, the gravity accelerometer 1351 can also be used in detect terminal it is static when gravity size and direction, can be used to identify
The application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone posture, Vibration identification correlation function (such as
Pedometer, percussion) etc..
Device 1300 can also include one or more close to optical sensor 1352, for when described device 1300 is away from user
It is closed when closer (such as when user is making a phone call close to ear) and disables mistake of the touch screen to avoid user to touch screen
Operation;Device 1300 can also include one or more ambient light sensors 1353, for being located at user's pocket when device 1300
In or keep touch screen to close when other dark areas, unnecessary battery function is consumed in lock state to prevent locking apparatus 1300
It consumes or is misused, in some embodiments, can integrate in a component close to optical sensor and ambient light sensor,
It can be used as two independent components.It can also configure gyroscope, barometer, hygrometer, thermometer, infrared ray as device 1300
The other sensors such as sensor, details are not described herein.Although Figure 13 is shown close to optical sensor and ambient light sensor,
It is understood that itself and be not belonging to must be configured into for device 1300, can according to need completely in the essence for not changing invention
In the range of and omit.
The memory 1320 can be used for store instruction and data, and memory 1320 can mainly include store instruction area and deposit
Data field is stored up, storage data area can store the incidence relation of joint touch gestures and function of application;Store instruction area can deposit
Instruction needed for storing up operating system, at least one function etc.;Described instruction can be such that processor 1390 executes in the embodiment of the present invention
Sub conditione electronics red packet processing method.
Processor 1390 is the control centre of device 1300, utilizes each portion of various interfaces and connection whole mobile phone
Point, by running or executing the instruction being stored in memory 1320 and calling is stored in data in memory 1320, hold
Luggage sets 1300 various functions and processing data, to carry out integral monitoring to mobile phone.Optionally, processor 1390 may include
One or more processing units;Preferably, processor 1390 can integrate application processor and modem processor, wherein answer
With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication.
It is understood that above-mentioned modem processor can not also be integrated into processor 1390.In some embodiments, it handles
Device memory, can realize that in some embodiments, they can also distinguish real on independent chip on a single chip
It is existing.In embodiments of the present invention, processor 1390 is also used to call the instruction in memory to realize in the embodiment of the present invention
Sub conditione electronics red packet processing method.
The radio frequency unit 1310 can be used for receiving and sending messages or communication process in signal send and receive, particularly, will
After the downlink information of base station receives, handled to processor 1390;In addition, the data for designing uplink are sent to base station.In general, RF
Circuit includes but is not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise
Amplifier, LNA), duplexer etc..In addition, radio frequency unit 1310 can also by wireless communication with the network equipment and other set
Standby communication.Any communication standard or agreement, including but not limited to global system for mobile communications can be used in the wireless communication
(Global System of Mobile communication, GSM), general packet radio service (General Packet
Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access
(Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution,
LTE), Email, short message service (Short Messaging Service, SMS) etc..
Voicefrequency circuit 1360, loudspeaker 1361, microphone 1362 can provide the audio interface between user and device 1300.
Electric signal after the audio data received conversion can be transferred to loudspeaker 1361, by loudspeaker 1361 by voicefrequency circuit 1360
Be converted to voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 1362, by voicefrequency circuit
1360 receive after be converted to audio data, then by after the processing of audio data output processor 1390, through radio frequency unit 1310 to send out
Such as another terminal is given, or audio data is exported to memory 1320 to be further processed, voicefrequency circuit can also be with
Including earphone jack 1363, for providing the connecting interface between voicefrequency circuit and earphone.
WiFi belongs to short range wireless transmission technology, and device 1300 can help user to receive and dispatch electricity by WiFi module 1370
Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Figure 13 shows
Go out WiFi module 1370, but it is understood that, and it is not belonging to must be configured into for device 1300, it completely can be according to need
It to omit within the scope of not changing the essence of the invention.
Bluetooth is a kind of short-distance wireless communication technology.Using Bluetooth technology, it can effectively simplify palm PC, notes
Communication between the mobile communication terminal devices such as this computer and mobile phone also can successfully simplify the above equipment and internet
(Internet) communication between, device 1300 transmit the data between device 1300 and internet by bluetooth module 1380
Become more efficient rapidly, to wirelessly communicate widening road.Bluetooth technology is that by opening for voice-and-data wireless transmission
Putting property scheme.Right Figure 13 shows WiFi module 1370, but it is understood that, and it is not belonging to the necessary structure of device 1300
At can according to need within the scope of not changing the essence of the invention and omit completely.
Device 1300 further includes the power supply 1393 (such as battery) powered to all parts, it is preferred that power supply can pass through
Power-supply management system 1394 and processor 1390 are logically contiguous, to realize management charging by power-supply management system 1394, put
The functions such as electricity and power managed.
Device 1300 further includes external interface 1397, and the external interface can be the Micro USB interface of standard, can also
So that multi-pin connector, can be used for attachment device 1300 and communicated with other devices, can be used for connection charger is
Device 1300 charges.
Although being not shown, device 1300 can also include camera, flash lamp etc., and details are not described herein.
Based on the above embodiment, in the embodiment of the present invention, a kind of computer readable storage medium is provided, is stored thereon with
Computer program, the computer program realize that the sub conditione electronics in above-mentioned any means embodiment is red when being executed by processor
Packet processing method.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, those skilled in the art can carry out various modification and variations without departing from this hair to the embodiment of the present invention
The spirit and scope of bright embodiment.In this way, if these modifications and variations of the embodiment of the present invention belong to the claims in the present invention
And its within the scope of equivalent technologies, then the present invention is also intended to include these modifications and variations.
Claims (21)
1. a kind of sub conditione electronics red packet processing method characterized by comprising
It receives the sub conditione electronics red packet from sub conditione electronics red packet sender and sends instruction;Wherein, the sub conditione electronics
Red packet, which is sent, to be included at least the red packet amount of money, can get time, sub conditione electronics red packet recipient in instruction;
It is sent and is instructed according to the sub conditione electronics red packet, generate sub conditione electronics red packet, and by the sub conditione electronics red packet
It is sent to the sub conditione electronics red packet recipient;
Receive from the sub conditione electronics red packet recipient and/or the sub conditione electronics red packet sender get it is described attached
When the request of conditional electronic red packet, verifies the sub conditione electronics red packet recipient and/or the sub conditione electronics red packet is sent
Side get qualification with whether machine duration meets, and if confirm current time already exceed or reach described in can get the time,
Then allow to be met with machine duration the sub conditione electronics red packet recipient for getting qualification and/or sub conditione electronics red packet hair
Get the sub conditione electronics red packet in the side of sending;Wherein, the sub conditione electronics red packet recipient or the sub conditione electronics red packet
Sender with machine when a length of get the duration that corresponding terminal is used the time from scheduled start time to described.
2. the method as described in claim 1, which is characterized in that the generation sub conditione electronics red packet specifically includes:
The amount of money of the red packet amount of money size is deducted from the corresponding account of the sub conditione electronics red packet sender, and is transferred to institute
It states in sub conditione electronics red packet.
3. method according to claim 1 or 2, which is characterized in that the sub conditione electronics red packet, which is sent in instruction, further includes
Identify the first instruction information that the red packet mode is general mode;It further include then using machine in the sub conditione electronics red packet instruction
Duration threshold value;
Then verify the sub conditione electronics red packet recipient and/or the sub conditione electronics red packet sender with machine duration whether
Meet and get qualification, specifically includes:
When the sub conditione electronics red packet recipient is when being less than the machine duration threshold value with machine duration, then the sub conditione is electric
Sub- red packet recipient, which meets, gets qualification;
It is when the use machine duration of the sub conditione electronics red packet recipient is greater than or equal to the use machine duration threshold value, then described attached
Conditional electronic red packet recipient, which does not meet, gets qualification;
And/or
When the sub conditione electronics red packet sender is when being less than the machine duration threshold value with machine duration, then the sub conditione is electric
Sub- red packet sender, which meets, gets qualification;
It is when the use machine duration of the sub conditione electronics red packet sender is greater than or equal to the use machine duration threshold value, then described attached
Conditional electronic red packet sender, which does not meet, gets qualification.
4. method according to claim 1 or 2, which is characterized in that the sub conditione electronics red packet, which is sent in instruction, further includes
Identify the second indication information and the scheduled start time that the red packet mode is battle mode;
Then the sub conditione electronics red packet is sent to after the sub conditione electronics red packet recipient, further includes:
Sub conditione electronics red packet challenge instruction is sent to the sub conditione electronics red packet recipient, if the sub conditione electronics red packet
Recipient receives sub conditione electronics red packet challenge, then deducts from the corresponding account of the sub conditione electronics red packet recipient default
The amount of money of amount of money size, and the amount of money of the preset cost size of deduction is transferred in the sub conditione electronics red packet.
5. method as claimed in claim 4, which is characterized in that further comprise:
The sub conditione electronics red packet recipient, which is sent, to the sub conditione electronics red packet sender receives sub conditione electronics red packet
The message of challenge.
6. method as claimed in claim 5, which is characterized in that verify the sub conditione electronics red packet recipient and/or described
Sub conditione electronics red packet sender's gets qualification with whether machine duration meets, and specifically includes:
It is less than when using machine of the sub conditione electronics red packet sender with machine duration as the sub conditione electronics red packet recipient
When long, then the sub conditione electronics red packet recipient, which meets, gets qualification, and the sub conditione electronics red packet sender does not meet neck
Take qualification;
It is greater than or equal to the sub conditione electronics red packet sender's with machine duration as the sub conditione electronics red packet recipient
When with machine duration, then the sub conditione electronics red packet sender, which does not meet, gets qualification, the sub conditione electronics red packet sender
Meet and gets qualification.
7. the method as described in claim 1, which is characterized in that it is described with according to machine duration from the scheduled start time to
The bright screen duration for getting terminal between the time subtracts what the bright screen duration calculation in communication process obtained.
8. method as claimed in claim 3, which is characterized in that further comprise:
When determining being greater than with machine duration for the sub conditione electronics red packet recipient and/or the sub conditione electronics red packet sender
When the preset ratio with machine duration threshold value, then to the sub conditione electronics red packet recipient and/or the sub conditione electronics
Red packet sender sends with machine duration reminder message.
9. the method as described in claim 1, which is characterized in that further comprise:
If it is determined that current time have arrived at it is described can get the time, then to the sub conditione electronics red packet recipient and/or institute
Reminder message can be got by stating sub conditione electronics red packet sender transmission sub conditione electronics red packet.
10. the method as described in claim 1, which is characterized in that further comprise:
If it is determined that the sub conditione electronics red packet sender and/or the sub conditione electronics red packet recipient do not meet and get money
Lattice are then sent to the sub conditione electronics red packet sender and/or the sub conditione electronics red packet recipient with machine overlong time,
Get failure news.
11. a kind of sub conditione electronics red packet processing unit characterized by comprising
Receiving module receives the sub conditione electronics red packet from sub conditione electronics red packet sender and sends instruction;Wherein, described attached
Conditional electronic red packet, which is sent, to be included at least the red packet amount of money, can get time, sub conditione electronics red packet recipient in instruction;
Generation module is instructed for being sent according to the sub conditione electronics red packet, generates sub conditione electronics red packet;
First sending module, for the sub conditione electronics red packet to be sent to the sub conditione electronics red packet recipient;
Correction verification module is sent for receiving from the sub conditione electronics red packet recipient and/or the sub conditione electronics red packet
When the request for getting the sub conditione electronics red packet of side, the sub conditione electronics red packet recipient and/or the attached item are verified
Part electronics red packet sender's gets qualification with whether machine duration meets, and if confirming that current time alreadys exceed or reach institute
Stating can get the time, then allows to be met with machine duration the sub conditione electronics red packet recipient for getting qualification and/or described attached
Conditional electronic red packet sender gets the sub conditione electronics red packet;Wherein, the sub conditione electronics red packet recipient or described
Sub conditione electronics red packet sender with machine when a length of get corresponding terminal the time from scheduled start time to described
The duration used.
12. device as claimed in claim 11, which is characterized in that the generation sub conditione electronics red packet, generation module are specific
For:
The amount of money of the red packet amount of money size is deducted from the corresponding account of the sub conditione electronics red packet sender, and is transferred to institute
It states in sub conditione electronics red packet.
13. the device as described in claim 11 or 12, which is characterized in that the sub conditione electronics red packet sends in instruction and also wraps
Include the first instruction information that the mark red packet mode is general mode;It further include then using in the sub conditione electronics red packet instruction
Machine duration threshold value;
Then verify the sub conditione electronics red packet recipient and/or the sub conditione electronics red packet sender with machine duration whether
Meet when getting qualification, correction verification module is specifically used for:
When the sub conditione electronics red packet recipient is when being less than the machine duration threshold value with machine duration, then the sub conditione is electric
Sub- red packet recipient, which meets, gets qualification;
It is when the use machine duration of the sub conditione electronics red packet recipient is greater than or equal to the use machine duration threshold value, then described attached
Conditional electronic red packet recipient, which does not meet, gets qualification;
And/or
When the sub conditione electronics red packet sender is when being less than the machine duration threshold value with machine duration, then the sub conditione is electric
Sub- red packet sender, which meets, gets qualification;
It is when the use machine duration of the sub conditione electronics red packet sender is greater than or equal to the use machine duration threshold value, then described attached
Conditional electronic red packet sender, which does not meet, gets qualification.
14. the device as described in claim 11 or 12, which is characterized in that the sub conditione electronics red packet sends in instruction and also wraps
Include the second indication information and the scheduled start time for identifying that the red packet mode is battle mode;
After the sub conditione electronics red packet is then sent to the sub conditione electronics red packet recipient, the first sending module is also used
In:
Sub conditione electronics red packet challenge instruction is sent to the sub conditione electronics red packet recipient, if the sub conditione electronics red packet
Recipient receives sub conditione electronics red packet challenge, then deducts from the corresponding account of the sub conditione electronics red packet recipient default
The amount of money of amount of money size, and the amount of money of the preset cost size of deduction is transferred in the sub conditione electronics red packet.
15. device as claimed in claim 14, which is characterized in that further comprise:
Second sending module connects for sending the sub conditione electronics red packet recipient to the sub conditione electronics red packet sender
By the message of sub conditione electronics red packet challenge.
16. device as claimed in claim 15, which is characterized in that verify the sub conditione electronics red packet recipient and/or institute
Whether being met when getting qualification with machine duration for sub conditione electronics red packet sender is stated, correction verification module is specifically used for:
It is less than when using machine of the sub conditione electronics red packet sender with machine duration as the sub conditione electronics red packet recipient
When long, then the sub conditione electronics red packet recipient, which meets, gets qualification, and the sub conditione electronics red packet sender does not meet neck
Take qualification;
It is greater than or equal to the sub conditione electronics red packet sender's with machine duration as the sub conditione electronics red packet recipient
When with machine duration, then the sub conditione electronics red packet sender, which does not meet, gets qualification, the sub conditione electronics red packet sender
Meet and gets qualification.
17. device as claimed in claim 11, which is characterized in that from the scheduled start time according to the use machine duration
Subtract what the bright screen duration calculation in communication process obtained to the bright screen duration for getting terminal between the time.
18. device as claimed in claim 13, which is characterized in that further comprise:
First cue module, for when the determining sub conditione electronics red packet recipient and/or sub conditione electronics red packet hair
When being not less than the preset ratio of the machine duration threshold value with machine duration of the side of sending, then to the sub conditione electronics red packet recipient
And/or the sub conditione electronics red packet sender sends with machine duration reminder message.
19. device as claimed in claim 11, which is characterized in that further comprise:
Second cue module, for if it is determined that current time have arrived at it is described can get the time, then to the sub conditione electronics
Red packet recipient and/or the sub conditione electronics red packet sender, which send sub conditione electronics red packet, can get reminder message.
20. device as claimed in claim 11, which is characterized in that further comprise:
Third cue module, for if it is determined that the sub conditione electronics red packet sender and/or the sub conditione electronics red packet connect
Debit, which does not meet, gets qualification, then to the sub conditione electronics red packet sender and/or the sub conditione electronics red packet recipient
It sends and uses machine overlong time, get failure news.
21. a kind of computer readable storage medium, is stored thereon with computer program, it is characterised in that: the computer program
It is realized when being executed by processor such as the step of any one of claim 1-10 the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810814224.4A CN109087081B (en) | 2018-07-23 | 2018-07-23 | Conditional electronic red envelope processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810814224.4A CN109087081B (en) | 2018-07-23 | 2018-07-23 | Conditional electronic red envelope processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109087081A true CN109087081A (en) | 2018-12-25 |
CN109087081B CN109087081B (en) | 2024-01-09 |
Family
ID=64838156
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810814224.4A Active CN109087081B (en) | 2018-07-23 | 2018-07-23 | Conditional electronic red envelope processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109087081B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110084577A (en) * | 2019-04-15 | 2019-08-02 | 上海掌门科技有限公司 | Resource payment method and equipment |
CN111047311A (en) * | 2019-12-20 | 2020-04-21 | 上海思依暄机器人科技股份有限公司 | Data packet distribution control method and device and electronic equipment |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105677339A (en) * | 2015-12-31 | 2016-06-15 | 广州华多网络科技有限公司 | Virtual gift configuration method and device based on Internet |
CN105915437A (en) * | 2016-04-14 | 2016-08-31 | 浙江翼信科技有限公司 | Electronic resource distribution method and apparatus |
CN106056369A (en) * | 2016-06-02 | 2016-10-26 | 财付通支付科技有限公司 | Information processing method and device |
US20160350782A1 (en) * | 2015-05-16 | 2016-12-01 | John Wang | Method and system for red envelope reward advertisement for social networking systems |
CN106211074A (en) * | 2016-07-28 | 2016-12-07 | 深圳市八零年代网络科技有限公司 | The distribution method of e-sourcing and distributor |
CN106603253A (en) * | 2015-10-14 | 2017-04-26 | 福州百益百利自动化科技有限公司 | Personal red packet delivery method, system and mobile terminal |
CN106709705A (en) * | 2016-12-30 | 2017-05-24 | 腾讯科技(深圳)有限公司 | Virtual goods packet sending method, receiving method, devices and system |
CN107241265A (en) * | 2017-07-07 | 2017-10-10 | 苏州沛潭信息科技有限公司 | A kind of method that question and answer activity is realized in immediate communication tool |
CN107256526A (en) * | 2017-05-22 | 2017-10-17 | 苏州沛潭信息科技有限公司 | A kind of method that gambling activity is realized in immediate communication tool |
CN107330738A (en) * | 2017-07-06 | 2017-11-07 | 广州城北信息科技有限公司 | A kind of safranine bag based on bar code and the realization method and system accepted covert payment |
-
2018
- 2018-07-23 CN CN201810814224.4A patent/CN109087081B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160350782A1 (en) * | 2015-05-16 | 2016-12-01 | John Wang | Method and system for red envelope reward advertisement for social networking systems |
CN106603253A (en) * | 2015-10-14 | 2017-04-26 | 福州百益百利自动化科技有限公司 | Personal red packet delivery method, system and mobile terminal |
CN105677339A (en) * | 2015-12-31 | 2016-06-15 | 广州华多网络科技有限公司 | Virtual gift configuration method and device based on Internet |
CN105915437A (en) * | 2016-04-14 | 2016-08-31 | 浙江翼信科技有限公司 | Electronic resource distribution method and apparatus |
CN106056369A (en) * | 2016-06-02 | 2016-10-26 | 财付通支付科技有限公司 | Information processing method and device |
CN106211074A (en) * | 2016-07-28 | 2016-12-07 | 深圳市八零年代网络科技有限公司 | The distribution method of e-sourcing and distributor |
CN106709705A (en) * | 2016-12-30 | 2017-05-24 | 腾讯科技(深圳)有限公司 | Virtual goods packet sending method, receiving method, devices and system |
CN107256526A (en) * | 2017-05-22 | 2017-10-17 | 苏州沛潭信息科技有限公司 | A kind of method that gambling activity is realized in immediate communication tool |
CN107330738A (en) * | 2017-07-06 | 2017-11-07 | 广州城北信息科技有限公司 | A kind of safranine bag based on bar code and the realization method and system accepted covert payment |
CN107241265A (en) * | 2017-07-07 | 2017-10-10 | 苏州沛潭信息科技有限公司 | A kind of method that question and answer activity is realized in immediate communication tool |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110084577A (en) * | 2019-04-15 | 2019-08-02 | 上海掌门科技有限公司 | Resource payment method and equipment |
CN111047311A (en) * | 2019-12-20 | 2020-04-21 | 上海思依暄机器人科技股份有限公司 | Data packet distribution control method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109087081B (en) | 2024-01-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107743086B (en) | Message processing method and system, and message sending and receiving device | |
CN104735671B (en) | A kind of method and apparatus of identification malicious call | |
CN104392350B (en) | A kind of processing method, the device and system of virtual resource data | |
CN105471704B (en) | A kind of method, apparatus and system for realizing more people's calls | |
CN110035004B (en) | User name card sharing method, friend adding method and related device | |
CN109542378A (en) | Screen sharing method, device, electronic equipment and readable storage medium storing program for executing | |
CN105227890B (en) | Video call method and device | |
CN105096157A (en) | Virtual article receiving method, sending method, interaction method and device | |
CN107580114A (en) | Biometric discrimination method, mobile terminal and computer-readable recording medium | |
CN108920366A (en) | One seed application adjustment method, apparatus and system | |
CN109190369A (en) | A kind of camera control method, terminal and computer storage medium | |
CN108616499A (en) | A kind of method for authenticating of application program, terminal and computer readable storage medium | |
WO2017088402A1 (en) | System, method and device for information interaction | |
CN109067582A (en) | A kind of data management system, method and device | |
CN109600740A (en) | Document down loading method, device and computer readable storage medium | |
CN109391476A (en) | Internet phone-calling method, apparatus and system | |
CN108985047A (en) | A kind of unlocking method, terminal, wearable device and computer readable storage medium | |
CN109903040B (en) | Message sending method, device and storage medium | |
CN109087081A (en) | A kind of sub conditione electronics red packet processing method and processing device | |
CN107104930A (en) | It is a kind of that the methods, devices and systems for checking authority are set | |
CN105721282B (en) | Message display method and device | |
CN103401911B (en) | Request processing method, terminal, server, authorization server and system | |
CN109729582A (en) | Information interacting method, device and computer readable storage medium | |
CN109451525A (en) | A kind of method and device of congestion judgement | |
CN103873256B (en) | Working method of NFC token |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |