CN108009809B - Electronic red packet issuing method and device based on position and time - Google Patents
Electronic red packet issuing method and device based on position and time Download PDFInfo
- Publication number
- CN108009809B CN108009809B CN201711367680.0A CN201711367680A CN108009809B CN 108009809 B CN108009809 B CN 108009809B CN 201711367680 A CN201711367680 A CN 201711367680A CN 108009809 B CN108009809 B CN 108009809B
- Authority
- CN
- China
- Prior art keywords
- packet
- robbing
- user
- amount
- interval duration
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
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/08—Payment architectures
- G06Q20/10—Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Economics (AREA)
- Development Economics (AREA)
- Information Transfer Between Computers (AREA)
- Telephonic Communication Services (AREA)
Abstract
The method and the device for issuing the electronic red packet based on the position and the time are disclosed, wherein the method for issuing the electronic red packet based on the position and the time comprises the following steps: the method comprises the steps that a server receives an electronic red packet of a target amount from a first user, wherein the electronic red packet carries at least one packet robbing user, a packet robbing position and a packet robbing starting moment which are set by the first user; the server sends an electronic red packet and a prompt message containing the packet robbing position and the packet robbing starting moment to each user of the at least one packet robbing user; after all the packet robbing users reach the packet robbing positions, the server determines the interval duration that the time when each packet robbing user reaches the packet robbing positions is later than the packet robbing starting time; and the server distributes the red packet amount inversely related to the interval duration to each packet robbing user according to the interval duration and the target amount.
Description
Technical Field
The invention relates to the technical field of software, in particular to a method and a device for issuing an electronic red packet based on position and time.
Background
At present, with the development of the internet, the 'robbing of a red envelope' is an enthusiastic App function. However, the existing red envelope playing method is too single to bring enough freshness to people, so that new electronic red envelope playing methods need to be proposed continuously.
Disclosure of Invention
The invention aims to provide an electronic red packet issuing method and device based on position and time.
In order to achieve the purpose, the invention provides the following technical scheme:
in one aspect, a method for issuing electronic red packages based on positions and time is provided, which comprises the following steps:
the method comprises the steps that a server receives an electronic red packet of a target amount from a first user, wherein the electronic red packet carries at least one packet robbing user, a packet robbing position and a packet robbing starting moment which are set by the first user;
the server sends an electronic red packet and a prompt message containing the packet robbing position and the packet robbing starting moment to each user of the at least one packet robbing user;
after all the packet robbing users reach the packet robbing positions, the server determines the interval duration that the time when each packet robbing user reaches the packet robbing positions is later than the packet robbing starting time;
and the server distributes the red packet amount inversely related to the interval duration to each packet robbing user according to the interval duration and the target amount.
In one aspect, a location and time based electronic red packet issuing device is provided, comprising:
the receiving unit is used for receiving an electronic red packet of a target amount from a first user, wherein the electronic red packet carries at least one packet robbing user, a packet robbing position and a packet robbing starting moment which are set by the first user;
a sending unit, configured to send an electronic red packet and a prompt message including the packet robbing position and the packet robbing start time to each user of the at least one packet robbing user;
the determining unit is used for determining the interval duration that the time when each packet robbing user reaches the packet robbing position is later than the packet robbing starting time after all the packet robbing users reach the packet robbing positions;
and the distribution unit is used for distributing the red packet amount inversely related to the interval duration to each packet robbing user according to the interval duration and the target amount.
The beneficial effects of the invention at least comprise:
the invention provides a red envelope playing method based on a package grabbing position, which is novel, can bring enough freshness to a user, and can encourage the user to arrive at a specified position on time.
Drawings
Fig. 1 is a flowchart of an electronic red packet issuing method based on location and time according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described in detail below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
Fig. 1 is a flowchart of an electronic red packet issuing method based on location and time according to an embodiment of the present invention. As shown in fig. 1, an electronic red packet issuing method based on location and time may be applied to user equipment such as a mobile phone, a computer, and the like, where the red packet function may be one of a payment application App and a social application App, and from the perspective of a server, the method may include the following steps 101 to 104, where:
step 101: the server receives an electronic red packet of a target amount from a first user, wherein the electronic red packet carries at least one packet robbing user, a packet robbing position and a packet robbing starting moment which are set by the first user.
Wherein the electronic red envelope may be sent to users within a particular user group.
The spot of the party can be set as the spot of the party, so that the red envelope initiator initiates a red envelope based on the spot of the red envelope and sends the red envelope to each party participant. The packet robbery start time is 18 points, for example.
Step 102: and the server sends an electronic red packet and a prompt message containing the packet robbing position and the packet robbing starting moment to each user of the at least one packet robbing user.
The prompt message is mainly used for prompting each package grabbing user that the electronic red package is a red package based on a geographic position, and each user can get the red package after going to the position, and in the above example, each package grabbing user is informed that the package grabbing rule needs to calculate the amount of money by taking 18 points as the starting time.
Step 103: after all the packet robbing users reach the packet robbing positions, the server determines the interval duration that the time when each packet robbing user reaches the packet robbing positions is later than the packet robbing starting time.
Step 104: and the server distributes the red packet amount inversely related to the interval duration to each packet robbing user according to the interval duration and the target amount.
For example, user A initiates an electronic red envelope with a total of 100 dollars and sends the red envelope to 10 other users.
Wherein, it is assumed that there are 5 packet robbing users, and the interval duration that the time when the 5 users reach the packet robbing position is later than the packet robbing start time is counted as:
5 minutes, 10 minutes, 15 minutes, 20 minutes.
Then if the 100 yuan electronic red envelope is divided into 5 shares according to the principle that the interval duration is inversely proportional to the red envelope amount and is issued to each user in turn, wherein the shorter the interval duration, the more red envelope amount is allocated.
In an embodiment, the method may further comprise:
a first amount to be allocated and a second amount to be allocated are divided from the target amount in advance;
for example, 100 yuan is divided into 80 yuan and 20 yuan, the first amount to be allocated is 80, and the second amount to be allocated is 20.
and the server distributes a first red packet amount inversely related to the interval duration to each packet robbing user according to the interval duration and the first amount to be distributed, wherein the sum of the first red packet amounts distributed to each user is equal to the first amount to be distributed.
And for M packet-robbing users reaching the packet-robbing position before the packet-robbing starting time, rewarding an extra amount based on the second to-be-allocated amount, wherein the sum of the rewards of the extra amounts allocated to the M packet-robbing users is equal to the second to-be-allocated amount.
The invention provides a red envelope playing method based on a package grabbing position, which is novel, can bring enough freshness to a user, and can encourage the user to arrive at a specified position on time.
Corresponding to the method, the embodiment of the invention also provides an electronic red packet issuing device based on the position and the time, which is applied to a server and comprises the following steps:
the receiving unit is used for receiving an electronic red packet of a target amount from a first user, wherein the electronic red packet carries at least one packet robbing user, a packet robbing position and a packet robbing starting moment which are set by the first user;
a sending unit, configured to send an electronic red packet and a prompt message including the packet robbing position and the packet robbing start time to each user of the at least one packet robbing user;
the determining unit is used for determining the interval duration that the time when each packet robbing user reaches the packet robbing position is later than the packet robbing starting time after all the packet robbing users reach the packet robbing positions;
and the distribution unit is used for distributing the red packet amount inversely related to the interval duration to each packet robbing user according to the interval duration and the target amount.
Optionally, the electronic red envelope is sent to users in a specific user group.
Optionally, the apparatus further comprises:
the segmentation unit is used for pre-segmenting a first amount to be allocated and a second amount to be allocated from the target amount;
the allocation unit comprises:
the first allocating subunit is used for allocating a first red packet amount inversely related to the interval duration to each packet robbing user according to the interval duration and the first amount to be allocated, and the sum of the first red packet amounts allocated to each user is equal to the first amount to be allocated;
and the second allocating subunit is used for rewarding the M package-robbing users reaching the package-robbing positions before the package-robbing starting time based on the second amount to be allocated, wherein the sum of the rewards of the M package-robbing users allocated with the additional amount is equal to the second amount to be allocated.
The embodiments of the invention shown in the drawings and described in accordance with the drawings are exemplary only, and the invention is not limited to these embodiments. It should be noted that, in order to avoid obscuring the present invention with unnecessary details, only the structures and/or processing steps closely related to the scheme according to the present invention are shown in the drawings, and other details not so relevant to the present invention are omitted. The foregoing is directed to embodiments of the present application and it is noted that numerous modifications and adaptations may be made by those skilled in the art without departing from the principles of the present application and are intended to be within the scope of the present application.
Claims (2)
1. A method for issuing electronic red packages based on positions and time is characterized by comprising the following steps:
the method comprises the steps that a server receives an electronic red packet of a target amount from a first user, wherein the electronic red packet carries at least one packet robbing user, a packet robbing position and a packet robbing starting moment which are set by the first user;
the server sends an electronic red packet and a prompt message containing the packet robbing position and the packet robbing starting moment to each user of the at least one packet robbing user;
after all the packet robbing users reach the packet robbing positions, the server determines the interval duration that the time when each packet robbing user reaches the packet robbing positions is later than the packet robbing starting time;
the server distributes the red packet amount inversely related to the interval duration to each packet robbing user according to the interval duration and the target amount,
the method further comprises the following steps:
a first amount to be allocated and a second amount to be allocated are divided from the target amount in advance;
the server allocates, to each packet-robbing user, a red packet amount inversely related to the interval duration according to the interval duration and the target amount, including:
the server distributes a first red packet amount inversely related to the interval duration to each packet robbing user according to the interval duration and the first amount to be distributed, wherein the sum of the first red packet amounts distributed to each user is equal to the first amount to be distributed;
and for M packet-robbing users reaching the packet-robbing position before the packet-robbing starting time, rewarding an extra amount based on the second to-be-allocated amount, wherein the sum of the rewards of the extra amounts allocated to the M packet-robbing users is equal to the second to-be-allocated amount.
2. The method of claim 1, wherein the electronic red envelope is sent to users within a particular user group.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711367680.0A CN108009809B (en) | 2017-12-18 | 2017-12-18 | Electronic red packet issuing method and device based on position and time |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711367680.0A CN108009809B (en) | 2017-12-18 | 2017-12-18 | Electronic red packet issuing method and device based on position and time |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108009809A CN108009809A (en) | 2018-05-08 |
CN108009809B true CN108009809B (en) | 2022-07-29 |
Family
ID=62059656
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711367680.0A Active CN108009809B (en) | 2017-12-18 | 2017-12-18 | Electronic red packet issuing method and device based on position and time |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108009809B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108734351A (en) * | 2018-05-21 | 2018-11-02 | 佛山科学技术学院 | It is a kind of to acquire motivational techniques based on the quorum-sensing system data for robbing red packet |
CN109508969A (en) * | 2018-11-22 | 2019-03-22 | 武汉逸秋网络科技有限公司 | Password robs red packet interactive approach and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106056369A (en) * | 2016-06-02 | 2016-10-26 | 财付通支付科技有限公司 | Information processing method and device |
CN106960323A (en) * | 2016-01-08 | 2017-07-18 | 深圳市星电商科技有限公司 | A kind of distribution method and device of electronics red packet |
CN107181784A (en) * | 2016-03-11 | 2017-09-19 | 阿里巴巴集团控股有限公司 | A kind of resource allocation methods and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150269806A1 (en) * | 2014-03-21 | 2015-09-24 | Ami Entertainment Network, Llc | System and method for receiving bonus credits through a jukebox controlled by a mobile device |
-
2017
- 2017-12-18 CN CN201711367680.0A patent/CN108009809B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106960323A (en) * | 2016-01-08 | 2017-07-18 | 深圳市星电商科技有限公司 | A kind of distribution method and device of electronics red packet |
CN107181784A (en) * | 2016-03-11 | 2017-09-19 | 阿里巴巴集团控股有限公司 | A kind of resource allocation methods and device |
CN106056369A (en) * | 2016-06-02 | 2016-10-26 | 财付通支付科技有限公司 | Information processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN108009809A (en) | 2018-05-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106056369B (en) | Information processing method and device | |
TWI673668B (en) | Business implementation method and device | |
CN106097057B (en) | Virtual article issuing method and device | |
CN104933207B (en) | The acquisition methods and system of user behavior data in application program | |
WO2016131365A1 (en) | Information processing method, client, server and computer readable storage medium | |
CN111612461B (en) | Interaction method and device based on electronic certificates and electronic equipment | |
WO2019119977A1 (en) | Augmented reality-based virtual object allocation method and apparatus | |
CN109146437B (en) | Virtual resource processing method, client and storage medium | |
CN107094280B (en) | User group creating and resource distributing method and equipment | |
KR101638315B1 (en) | System and method for providing advertisement based on web using wifi network | |
JP2015133133A5 (en) | ||
CN107833029B (en) | Resource transfer method and device, and red packet sending method and device | |
CN109104445B (en) | Anti-attack method and system for block chain-based service system | |
CN108009809B (en) | Electronic red packet issuing method and device based on position and time | |
CN103490981B (en) | A kind of information push method and device across Mobile solution | |
CN108269109A (en) | A kind of Advertisement arrangement injected volume equalization methods and device | |
CN107786628A (en) | Business numbering distribution method, device, computer equipment and storage medium | |
CN106507354A (en) | For preventing the method and device of mobile device malicious registration | |
CN106600275A (en) | Risk identification method and apparatus thereof | |
CN105493533B (en) | Online charging method, gateway equipment and online charging equipment | |
SG10201706675XA (en) | INTERNET OF THINGS (IoT) SYSTEM AND METHOD | |
WO2019071825A1 (en) | Method for extending video socializing connection time, storage medium, electronic device and system | |
CN109525991B (en) | Method, distribution server and system for network login | |
CN109526009B (en) | Communication method, mobile terminal and system | |
CN112418583A (en) | Information pushing method, server, terminal and storage medium |
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 |