CN109949026A - A kind of red packet information generating method, device, terminal and server - Google Patents

A kind of red packet information generating method, device, terminal and server Download PDF

Info

Publication number
CN109949026A
CN109949026A CN201711386212.8A CN201711386212A CN109949026A CN 109949026 A CN109949026 A CN 109949026A CN 201711386212 A CN201711386212 A CN 201711386212A CN 109949026 A CN109949026 A CN 109949026A
Authority
CN
China
Prior art keywords
red packet
account
red
money
information
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
Application number
CN201711386212.8A
Other languages
Chinese (zh)
Other versions
CN109949026B (en
Inventor
刘超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201711386212.8A priority Critical patent/CN109949026B/en
Publication of CN109949026A publication Critical patent/CN109949026A/en
Application granted granted Critical
Publication of CN109949026B publication Critical patent/CN109949026B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the present application provides a kind of red packet information generating method, device, terminal and server, and the red packet for having red packet to issue account by receiving the instruction that client is sent generates request, to client return red packet configuration interface;Receive at least one configuration parameter that client is returned by red packet configuration interface (configuration parameter includes cohesion index range and red packet total amount);From each good friend's account for issuing account relating with red packet, the cohesion index that determining and red packet issues between account is located at each red packet in cohesion index range and receives account;And determine the mode of red packet information (summation of the red packet amount of money of each red packet information instruction generated is not more than red packet total amount) corresponding with each red packet reception account respectively, realize the purpose of generation red packet information corresponding with red packet generation request, the problem that red packet information generating mode is single in the prior art is avoided, the application convenient for user based on red packet effectively promotes the viscosity between other users.

Description

A kind of red packet information generating method, device, terminal and server
Technical field
The present invention relates to field of computer technology, and in particular to a kind of red packet information generating method, device, terminal and service Device.
Background technique
To the application of red packet in social networks, the work and life of user is not only facilitated, but also largely increase Viscosity and interaction between strong user, so that the communication between user is more and more closer.
The prior art be by red packet sender trigger chat interface in red packet send operation, setting red packet send the amount of money with It generates and immediately therefore user's transmission red packet into chat interface usually has that red packet information generating mode is single, Application of the user based on red packet can not be made effectively to promote the viscosity between other users.
In view of this, a kind of red packet information generating method, device, terminal and server are provided, to solve in the prior art The single situation of red packet information generating mode is solving the problems, such as urgently.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of red packet information generating method, device, terminal and server, to keep away Exempt from the problem that red packet information generating mode is single in the prior art, the application convenient for user based on red packet is effectively promoted and other use Viscosity between family.
To achieve the above object, the embodiment of the present invention provides the following technical solutions:
A kind of red packet information generating method, comprising:
The red packet that receiving the instruction that client is sent has red packet to issue account generates request, and Xiang Suoshu client returns to red packet Configuration interface;
Receive at least one configuration parameter that the client is returned by the red packet configuration interface, the configuration parameter Including cohesion index range and red packet total amount;
It is determining to be issued between account with the red packet from each good friend's account for issuing account relating with the red packet Cohesion index is located at each red packet in the cohesion index range and receives account;
Determining red packet information corresponding with each red packet reception account respectively, the red packet information instruction has the red packet amount of money, The summation of the red packet amount of money of each red packet information instruction generated is not more than the red packet total amount.
A kind of red packet information generating method, comprising:
The red packet that sending instruction to server has red packet to issue account generates request;
Receive the red packet configuration interface that the server returns;
At least one configuration parameter is returned to the server based on the red packet configuration interface, so as to the server base Cohesion index range and red packet total amount at least one described configuration parameter generate and issue account pair with the red packet The each red packet information answered, each red packet information instruction has red packet to receive account and the red packet amount of money, generated each described The summation of the red packet amount of money of red packet information instruction is not more than the red packet total amount.
A kind of red packet information generation device, comprising:
Red packet generates request reception unit, and the red packet that the instruction for receiving client transmission has red packet to issue account generates Request, Xiang Suoshu client return to red packet configuration interface;
Configuration parameter receiving unit passes through at least one of red packet configuration interface return for receiving the client Configuration parameter, the configuration parameter include cohesion index range and red packet total amount;
Red packet receive account determination unit, for from the red packet issue account relating each good friend's account in, really The fixed and described red packet issues the cohesion index between account and is located at the reception account of each red packet in the cohesion index range;
Red packet information determination unit, it is described red for determining red packet information corresponding with each red packet reception account respectively Package informatin instruction has the red packet amount of money, and the summation of the red packet amount of money of each red packet information instruction generated is not more than the red packet Total amount.
A kind of server, comprising: at least one processor and at least one processor;The memory is stored with program, The processor calls the program of the memory storage, and described program is used for:
The red packet that receiving the instruction that client is sent has red packet to issue account generates request, and Xiang Suoshu client returns to red packet Configuration interface;
Receive at least one configuration parameter that the client is returned by the red packet configuration interface, the configuration parameter Including cohesion index range and red packet total amount;
It is determining to be issued between account with the red packet from each good friend's account for issuing account relating with the red packet Cohesion index is located at each red packet in the cohesion index range and receives account;
Determining red packet information corresponding with each red packet reception account respectively, the red packet information instruction has the red packet amount of money, The summation of the red packet amount of money of each red packet information instruction generated is not more than the red packet total amount.
A kind of red packet information generation device, comprising:
Red packet generates request transmitting unit, and the red packet generation for having red packet to issue account for sending instruction to server is asked It asks;
Red packet configuration interface receiving unit, the red packet configuration interface returned for receiving the server;
Configuration parameter return unit, for returning at least one configuration to the server based on the red packet configuration interface Parameter, it is raw so that the server is based on the cohesion index range and red packet total amount at least one described configuration parameter The corresponding each red packet information of account is issued at the red packet, and each red packet information instruction has red packet to receive account and red The summation of volume covered with gold leaf, the red packet amount of money of each red packet information instruction generated is not more than the red packet total amount.
A kind of terminal, comprising: at least one processor and at least one processor;The memory is stored with program, institute The program that processor calls the memory storage is stated, described program is used for:
The red packet that sending instruction to server has red packet to issue account generates request;
Receive the red packet configuration interface that the server returns;
At least one configuration parameter is returned to the server based on the red packet configuration interface, so as to the server base Cohesion index range and red packet total amount at least one described configuration parameter generate and issue account pair with the red packet The each red packet information answered, each red packet information instruction has red packet to receive account and the red packet amount of money, generated each described The summation of the red packet amount of money of red packet information instruction is not more than the red packet total amount.
The embodiment of the present application provides a kind of red packet information generating method, device, terminal and server, passes through and receives client The red packet that the instruction of transmission has red packet to issue account generates request, returns to red packet configuration interface to client;It is logical to receive client Cross at least one configuration parameter of red packet configuration interface return (configuration parameter includes cohesion index range and red packet total amount); From each good friend's account for issuing account relating with red packet, determining and red packet issues the cohesion index between account and is located at parent Each red packet within the scope of dnesity index receives account;And determine red packet information corresponding with each red packet reception account respectively The mode of (summation of the red packet amount of money of each red packet information instruction generated is not more than red packet total amount), realize generation with it is red Packet generates the purpose for requesting corresponding red packet information, avoids the problem that red packet information generating mode is single in the prior art, just The viscosity between other users is effectively promoted in application of the user based on red packet.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of red packet information generating method flow chart provided by the embodiments of the present application;
Fig. 2 is a kind of interface schematic diagram of red packet configuration interface provided by the embodiments of the present application;
Fig. 3 is a kind of determination provided by the embodiments of the present application red packet information corresponding with each red packet reception account respectively Method flow diagram;
Fig. 4 is another determining red packet information corresponding with each red packet reception account respectively provided by the embodiments of the present application Method flow diagram;
Fig. 5 is the history row between a kind of determining red packet reception account and red packet sending account provided by the embodiments of the present application For data, and the corresponding red packet hair in red packet sending time section of account is received with red packet based on historical behavior data are determining Send the method flow diagram of time;
Fig. 6 is another red packet information generating method flow chart provided by the embodiments of the present application;
Fig. 7 is another red packet information generating method flow chart provided by the embodiments of the present application;
Fig. 8 is a kind of structural schematic diagram of red packet information generation device provided by the embodiments of the present application;
Fig. 9 is a kind of hardware block diagram of server provided by the embodiments of the present application;
Figure 10 is a kind of structural schematic diagram of red packet information generation device provided by the embodiments of the present application;
Figure 11 is a kind of hardware block diagram for the terminal for applying for that embodiment provides.
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, instead of all the 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.
Fig. 1 is a kind of red packet information generating method flow chart provided by the embodiments of the present application, and this method can be applied to take It is engaged in device (such as red packet information generates server or other service equipments being specially arranged), receives what client was sent by server Red packet generates request, to generate red packet information corresponding with red packet generation request;Referring to Fig.1, this method comprises:
S101, the red packet generation request that the instruction that client is sent has red packet to issue account is received, is returned to client red Packet configuration interface;
Optionally, server receiving terminal generates request by the red packet that client is sent, which generates request middle finger It is shown with red packet and issues account, which, which issues account, can be the account for currently logging in and issuing the client that red packet generates request Number.For example, user is logged in account 1 on the client, red packet is sent by user end to server and generates request, the red packet is raw Account 1 is shown at request middle finger.
It is above only the preferred embodiment that red packet provided by the embodiments of the present application issues account, it is not limited here.
Optionally, it after server receives red packet generation request, responds the red packet and generates request, return to red packet to client Configuration interface.In the embodiment of the present application, it is preferred that the red packet configuration interface returned to client is can operation interface, that is, uses Family can operate the red packet configuration interface shown in client.
S102, at least one configuration parameter that client is returned by red packet configuration interface is received, configuration parameter includes parent Dnesity index range and red packet total amount;
Optionally, at least one parameter configuration item is provided in red packet configuration interface, at least one parameter configuration item includes Cohesion index range configuration item and red packet total amount configuration item are (in the interface schematic diagram of red packet configuration interface as shown in Figure 2 Cohesion index range configuration item 1 and red packet total amount configuration item 2), user passes through the cohesion in red packet configuration interface Cohesion index range is filled at the corresponding position 3 of index range configuration item, the red packet total amount in red packet configuration interface is matched It sets and fills in red packet total amount at the corresponding position 4 of item, to return at least one configuration parameter (for example, clicking red packet to server " submission " button 5 in configuration interface, to return at least one configuration parameter to server), at least one configuration parameter includes Cohesion index range and red packet total amount.
It is only above a kind of preferred embodiment of red packet configuration interface provided by the embodiments of the present application, specifically, inventor Content in red packet configuration interface can be arbitrarily set according to their own needs, it is not limited here.
Further, red packet configuration interface provided by the embodiments of the present application can also include prompt information as shown in Figure 2 6, optionally, red packet configuration interface as shown in Figure 2 will be given birth to using red packet information generating method provided by the embodiments of the present application At red packet information be referred to as intelligence AI red packet, specifically, the content of the prompt information 6 in Fig. 2 is " explanation: when you are provided with intelligence Can AI red packet, system being set in the good friend in the scheduled date for you and serve warm blessing according to you ".
It is above only the preferred embodiment of prompt information provided by the embodiments of the present application, inventor can be according to their own needs The particular content of any setting prompt information, it is not limited here.
S103, the parent from each good friend's account for issuing account relating with red packet, between determining and red packet sending account Dnesity index is located at each red packet in cohesion index range and receives account;
Optionally, red packet is issued to all accounts in good friend's address list of account to be determined as issuing account pass with the red packet Each good friend's account of connection;It is determined as issuing with the red packet alternatively, red packet is issued all accounts in the specified group of account Each good friend's account of account relating.Wherein, the group that red packet issues that account is specified can be each belonging to red packet sending account Any one or more groups in a group.
Above be only determination provided by the embodiments of the present application and red packet sending account relating each good friend's account it is excellent Mode is selected, specifically, the determining each good friend for issuing account relating with red packet can be arbitrarily arranged in inventor according to their own needs The mode of account, then this is without limitation.
Optionally, it after the determining each good friend's account for issuing account relating with red packet, need to be sent out from determining with the red packet Out in the associated each good friend's account of account, the cohesion index chosen between red packet sending account is located at cohesion index (the cohesion index range is cohesion index model included by least one configuration parameter of the above-mentioned return received to range Enclose) in each good friend's account, and each account chosen is determined as red packet and receives account.
In the embodiment of the present application, it is preferred that the cohesion exponential representation between two accounts gather around there are two account two Intimate degree between a user.
In the embodiment of the present application, it is preferred that cohesion index between two accounts can by two accounts it Between historical behavior data analyzed to obtain.Wherein, the historical behavior data between two accounts include: between two accounts History mutual-action behavior data [for example, space (wechat circle of friends, QQ space etc.) interactive data between two accounts, two Chat data etc. between account], any account marks another account in two accounts attribute is (for example, an account is another The pet name etc. of one account mark) etc..
Optionally, cohesion index between two accounts is higher to be shown to possess between two users of the two accounts Intimate degree is higher;Show to gather around between two users there are two account alternatively, cohesion index between two accounts is higher Intimate degree it is lower.
It is above only the preferred embodiment of the relationship between cohesion index provided by the embodiments of the present application and intimate degree, The relationship between cohesion index and intimate degree can be arbitrarily arranged in inventor according to their own needs, then this is without limitation.
Further, in order to the cohesion index guaranteed between two accounts be best able to embody it is current between two accounts Intimate degree, can each prefixed time interval just the cohesion index between two accounts is once calculated, to two Cohesion index between a account is updated.
Optionally, when being cohesion index range to the configuration parameter that server returns, which can be with It is a cohesion index (as shown in Fig. 2, be cohesion index 8 to the cohesion index range that server returns), it can also be with It is a cohesion interval index (for example, can be to the cohesion index range that service returns from cohesion index 5 to intimate Spend index 9).
In the embodiment of the present application, it is preferred that determine red packet from each good friend's account for issuing account relating with red packet The mode for receiving account can also include: to choose predetermined number from each good friend's account for issuing account relating with red packet at random Good friend's account as red packet receive account;Alternatively, being chosen from each good friend's account for issuing account relating with red packet nearest Good friend's account of the predetermined number of connection receives account as red packet;The each of account relating is issued to red packet alternatively, receiving Selected each good friend's account is determined as a red packet and receives account by the selection operation of good friend's account.
It is above only provided by the embodiments of the present application determining from each good friend's account for issuing account relating with red packet Red packet receives the preferred embodiment of account, specifically, inventor, which can be arbitrarily arranged according to their own needs from red packet, issues account Determine that red packet receives the mode of account in associated each good friend's account, then this is without limitation.
S104, red packet information corresponding with each red packet reception account respectively is determined, the instruction of red packet information has the red packet amount of money, The summation of the red packet amount of money of each red packet information instruction generated is not more than red packet total amount.
Fig. 3 is a kind of determination provided by the embodiments of the present application red packet information corresponding with each red packet reception account respectively Method flow diagram.
As shown in figure 3, this method comprises:
S301, cohesion index of the account respectively between each red packet reception account is issued based on red packet, respectively often A red packet receives account and distributes the red packet amount of money;
Optionally, cohesion index of the account respectively between each red packet reception account is issued based on red packet, respectively Each red packet receives account and distributes the red packet amount of money, comprising: receives the cohesion between account and red packet sending account according to red packet Index, respectively each red packet receive account and distribute the red packet amount of money.
Optionally, show to gather around between two users there are two account if cohesion index between two accounts is higher Intimate degree is higher, then issues the higher red packet of the cohesion index between account with red packet and receive the red packet that account is assigned to The amount of money is higher;If cohesion index between two accounts is higher show to possess it is intimate between two users of the two accounts Degree is lower, then issues the higher red packet of the cohesion index between account with red packet and receive the red packet amount of money that account is assigned to It is lower.
Alternatively, determine that red packet receives account and red packet and issues cohesion index between account, determine it is pre-set with The corresponding red packet amount of money of the cohesion index receives account for the red packet and distributes the identified red packet amount of money.
Alternatively, determine that red packet receives account and red packet and issues cohesion index between account, determine it is pre-set with The corresponding weight of cohesion index, calculate determined by weight and red packet total amount (at least one configuration parameter includes red Packet total amount) result of product, and for the red packet receive account distribute the red packet amount of money (number of the red packet amount of money is is calculated Result of product).Optionally, pre-set weight corresponding with cohesion index is not more than 1.
Above be only it is provided by the embodiments of the present application based on red packet issue account respectively with each red packet receive account it Between cohesion index, the respectively each red packet preferred embodiment that receives the account distribution red packet amount of money, specifically, inventor can root Arbitrarily it is arranged according to the demand of oneself and cohesion index of the account respectively between each red packet reception account is issued based on red packet, point Not Wei each red packet receive the specific implementation that account distributes the red packet amount of money, then this is without limitation.
Further, respectively each red packet receives the mode of the account distribution red packet amount of money, can be with are as follows: calculates and red packet It issues the corresponding all red packets of account and receives the total number that red packet in account receives account, connect based on red packet total amount and red packet The total number of receipt on account number determines that each red packet receives the average red packet amount of money of account (by red packet total amount divided by red packet reception account Number the resulting result of total number be determined as the average red packet amount of money), determine that each red packet receives the corresponding red packet gold of account respectively Volume is the average red packet amount of money.
, can be with alternatively, the respectively each red packet mode that receives the account distribution red packet amount of money are as follows: by red packet total amount with Machine distributes to each red packet and receives account.
In the embodiment of the present application, it is preferred that each red packet corresponding with red packet sending account receives account and is assigned to The summation of the red packet amount of money be not more than and issue the corresponding red packet total amount of account (on red packet total amount herein is with the red packet State red packet total amount included by least one configuration parameter).
It is above only that respectively each red packet provided by the embodiments of the present application receives the preferred of the account distribution red packet amount of money Mode, specifically, respectively each red packet, which can be arbitrarily arranged, in inventor according to their own needs receives the account distribution red packet amount of money Mode, it is not limited here.
S302, the assigned red packet amount of money of account is received according to red packet, generating instruction corresponding with red packet reception account has The red packet information of red packet sending account and the red packet amount of money.
Optionally, for each red packet receives account, the red packet amount of money that account is assigned to is received based on the red packet, Red packet information corresponding with red packet reception account is generated, which, which receives the corresponding red packet information instruction of account, has the red packet to connect The red packet amount of money and red packet corresponding with red packet reception account that receipt on account number is assigned to issue account.
Further, as shown in Fig. 2, at least one being arranged in a kind of red packet configuration interface provided by the embodiments of the present application Parameter configuration item can also include red packet sending time section configuration item 7, and user is sent by the red packet in red packet configuration interface Red packet sending time section is filled at the corresponding position 8 of period configuration item 7, so that at least one configuration returned to server It include red packet sending time section in parameter.
Fig. 4 is another determining red packet information corresponding with each red packet reception account respectively provided by the embodiments of the present application Method flow diagram.
As shown in figure 4, this method comprises:
S401, cohesion index of the account respectively between each red packet reception account is issued based on red packet, respectively often A red packet receives account and distributes the red packet amount of money;
The execution of the implementation procedure of step S401 provided by the embodiments of the present application and step S301 provided by the above embodiment Process is identical, and the implementation procedure in relation to step S401 refers to the above-mentioned description to step S301, then this is not repeated them here.
S402, it determines that red packet receives the historical behavior data between account and red packet sending account, and is based on historical behavior The determining red packet sending time in red packet sending time section corresponding with red packet reception account of data;
Optionally, the execution sequence between step S401 and step S402 is not limited in the embodiment of the present application It is fixed, that is to say, that the embodiment of the present application can first carry out step S401 and execute S402 again;Step S402 can also be first carried out to hold again Row step S401;Or it is performed simultaneously step S401 and step S402.
In the embodiment of the present application, it is preferred that for each red packet reception account corresponding with red packet sending account Speech determines that the red packet issues the historical behavior data between account and red packet reception account, and is based on the historical behavior data (identified red packet sending time is located at least one parameter and matches determining red packet sending time corresponding with red packet reception account Setting item includes in red packet sending time section).
S403, the assigned red packet amount of money of account and identified corresponding with red packet reception account is received according to red packet Red packet sending time, generate with red packet receive account it is corresponding instruction have red packet issue account, the red packet amount of money and red packet transmission The red packet information of time.
Optionally, for each red packet corresponding with red packet sending account receives account, account is received according to the red packet Number red packet amount of money being assigned to and the red packet receive the corresponding red packet sending time of account, generate and receive account with the red packet Corresponding red packet information, it is assigned that red packet information instruction corresponding with red packet reception account generated has the red packet to receive account The red packet amount of money, the red packet arrived receives the corresponding red packet sending time of account and the red packet receives the corresponding red packet hair of account Account out.
Further, now right for the ease of to a kind of understanding of red packet information generating method provided by the embodiments of the present application " determine that red packet receives account and red packet issues between account in a kind of red packet information generating method provided by the embodiments of the present application Historical behavior data, and determining with red packet to receive account corresponding in red packet sending time section based on historical behavior data Red packet sending time " method describes in detail, specifically refer to Fig. 5.
As shown in figure 5, this method comprises:
S501, determine that red packet receives the historical behavior data between account and red packet sending account;
S502, analysis of history behavioral data, determining at least one technical dates corresponding with red packet reception account, at least one A technical dates includes the commemoration day relevant to the red packet reception user of account is possessed;
S503, judge in red packet sending time section with the presence or absence of technical dates;If in red packet sending time section, there are special Date thens follow the steps S504;If technical dates is not present in red packet sending time section, S505 is thened follow the steps;
S504, a technical dates is selected to be determined as and red packet from each technical dates existing in red packet sending time section Receive the corresponding red packet sending time of account;
Optionally, from each technical dates existing in red packet sending time section select a technical dates be determined as with it is red Packet receives the mode of the corresponding red packet sending time of account, can be with are as follows: the user that account is issued by possessing red packet sends from red packet It selects a technical dates to be determined as red packet corresponding with red packet reception account in period in existing each technical dates to send Time;Alternatively, can be with are as follows: select a technical dates to determine from each technical dates existing in red packet sending time section at random For red packet sending time corresponding with red packet reception account.
It is only provided by the embodiments of the present application above " to be selected from each technical dates existing in red packet sending time section One technical dates is determined as receiving the corresponding red packet sending time of account with red packet " preferred embodiment of process, specifically, invention People can be arbitrarily arranged according to their own needs " selects a special day from each technical dates existing in red packet sending time section Phase is determined as receiving the corresponding red packet sending time of account with red packet " the specific executive mode of process, then this is without limitation.
S505, it determines in red packet sending time section with the presence or absence of known red-letter day;If it exists, S506 is thened follow the steps;If no In the presence of thening follow the steps S507;
Further, as shown in figure 5, a kind of determining red packet provided by the embodiments of the present application receives account and red packet issues account Historical behavior data between number, and when the transmission positioned at red packet corresponding with red packet reception account determining based on historical behavior data Between red packet sending time in section method in, if technical dates, this method are not present in red packet sending time section further include: really Determine in red packet sending time section with the presence or absence of known red-letter day.
In the embodiment of the present application, it is preferred that known red-letter day is legal festivals and holidays (such as International Labour Day, National Day, the Mid-autumn Festival Deng), it is above be only red-letter day known in part provided by the embodiments of the present application, the particular content in relation to known red-letter day again this do not do in detail It is thin to introduce.
S506, one known red-letter day of selection is determined as and red packet from each known red-letter day existing in red packet sending time section Receive the corresponding red packet sending time of account;
Optionally, from each known red-letter day existing in red packet sending time section one known red-letter day of selection be determined as with it is red Packet receives the corresponding red packet sending time of account, comprising: issues the user of account out of red packet sending time section by possessing red packet One known red-letter day of selection is determined as red packet sending time corresponding with red packet reception account in existing each known red-letter day;Or Person, one known red-letter day of selection is determined as receiving account with red packet from each known red-letter day existing in red packet sending time section at random Number corresponding red packet sending time.
It is only provided by the embodiments of the present application above " to be selected from each known red-letter day existing in red packet sending time section One known red-letter day is determined as receiving the corresponding red packet sending time of account with red packet " preferred embodiment, specifically, inventor can " one known red-letter day of selection is true from each known red-letter day existing in red packet sending time section for any setting according to their own needs It is set to and receives the corresponding red packet sending time of account with red packet " executive mode of process, it is not limited here.
S507, the historical behavior data between account are issued based on red packet reception account and red packet, determines that being located at red packet sends out It send the red packet in the period to receive estimating between account and red packet sending account and contacts the date;
Optionally, the historical behavior data between account and red packet sending account are received based on red packet, determines historical time It is upper be overlapped with the red packet sending time section period [for example, if red packet sending time section in August, 2018 No. 1 to 2018 8 The moon 15, then it can be determined as one and the red packet sending time for August No. 1 to August 15 of each year on historical time respectively Duan Chonghe period (e.g., by August, 2017 No. 1 to August 15 be determined as on a historical time and the red packet sending time The period of Duan Chonghe)] in, from the identified period determine estimate connection the date (this estimate connection the date, the red packet It issues account and the red packet receives and produces history mutual-action behavior data between account;That is, this estimate connection day Phase, possess the red packet issue account user and possess the red packet receive account user between there are mutual-action behaviors).
S508, from it is identified respectively estimate connection the date in selection one estimate connection the date be determined as and red packet receive account Number corresponding red packet sending time.
Optionally, from it is identified respectively estimate connection the date in selection one estimate connection the date be determined as and red packet receive The corresponding red packet sending time of account, comprising: the user that account is issued by possessing red packet respectively estimates the connection date from identified Middle selection one estimates the connection date and is determined as receiving the corresponding red packet sending time of account with red packet;Alternatively, at random from really It is fixed respectively estimate selection one in the connection date and estimate the connection date be determined as receiving account corresponding red packet with red packet when sending Between.
Be only above it is provided by the embodiments of the present application it is a kind of from it is identified respectively estimate in the connection date selection one it is pre- Estimating the connection date is determined as receiving the preferred embodiment of the corresponding red packet sending time of account with red packet, specifically, inventor can root According to the demand of oneself be arbitrarily arranged from it is identified respectively estimate connection the date in selection one estimate connection the date be determined as with it is red Packet receives the specific implementation of the corresponding red packet sending time of account, it is not limited here.
In the embodiment of the present application, it is preferred that for each red packet corresponding with red packet sending account receives account, The historical behavior data between red packet reception account and red packet sending account are analyzed, it is determining corresponding with red packet reception account [wherein, which includes: and the phase that possesses the red packet and receive the user of account at least one technical dates The commemoration day (for example, possessing birthday, the wedding anniversary of user etc. that the red packet receives account) of pass];When judging that red packet is sent Between receive account corresponding technical dates with the presence or absence of with the red packet in section;It is connect if existing in red packet sending time section with the red packet Receipt on account number corresponding technical dates, then existing each special day corresponding with red packet reception account out of red packet sending time section Interim, one technical dates of selection is determined as red packet sending time corresponding with red packet reception account;If red packet sending time There is no technical dates corresponding with red packet reception account in section, it is determined that with the presence or absence of known in the red packet sending time section Red-letter day;If there are known red-letter day in the red packet sending time, existing each known red-letter day out of this red packet sending time section One known red-letter day of middle selection is determined as red packet sending time corresponding with red packet reception account;If the red packet sending time It is interior that known red-letter day is not present, then the historical behavior data between account and red packet sending account are received based on the packet, determines position Account is received in the red packet in the red packet sending time section and the red packet issues estimating between account and contacts the date;From really It is fixed respectively estimate selection one in the connection date and estimate the connection date be determined as receiving the corresponding red packet of account with the red packet and send Time.
Further, in the embodiment of the present application, if receiving the history between account and red packet sending account based on red packet Behavioral data determines that receiving estimating between account and red packet sending account there is no red packet in red packet sending time section contacts day Phase can then be determined as corresponding with red packet reception account from random selection one day in the two-day weekend in red packet sending time section Red packet sending time;If two-day weekend is not present in red packet sending time section, can also out of red packet sending time section with (wherein, machine, which selects to be determined as one day to receive the corresponding red packet sending time of the account/red packet is received account with the red packet, to be deleted The red packet is received into account and deletes explanation no longer using red packet reception account as the red packet reception account in the embodiment of the present application Number).
It is only provided by the embodiments of the present application above " to determine that red packet receives the history between account and red packet sending account Behavioral data, and based on the determining red packet in red packet sending time section corresponding with red packet reception account of historical behavior data The preferred implementation of sending time " process, specifically, the realization of the process can be arbitrarily arranged in inventor according to their own needs Mode, it is not limited here.
In the embodiment of the present application, it is preferred that after generating each red packet information corresponding with red packet generation request, if really Determine client for the red packet generate the current amount of money that is paid of request be not less than, generates to generate request with the red packet corresponding respectively When the total amount of the red packet amount of money of red packet information instruction, it is determined that each generated and red packet generation request are corresponding red Package informatin is an effective red packet information, correspondingly, the red packet sending time that server can be indicated in effective red packet information, to this The red packet of effective red packet information instruction receives the red packet that account push instruction has the red packet amount of money of effective red packet information instruction.
Fig. 6 is another red packet information generating method flow chart provided by the embodiments of the present application.
As shown in fig. 6, this method comprises:
S601, the red packet generation request that the instruction that client is sent has red packet to issue account is received, is returned to client red Packet configuration interface;
S602, at least one configuration parameter that client is returned by red packet configuration interface is received, configuration parameter includes parent Dnesity index range and red packet total amount;
S603, the parent from each good friend's account for issuing account relating with red packet, between determining and red packet sending account Dnesity index is located at each red packet in cohesion index range and receives account;
S604, red packet information corresponding with each red packet reception account respectively is determined, the instruction of red packet information has the red packet amount of money, The summation of the red packet amount of money of each red packet information instruction generated is not more than red packet total amount;
Optionally, the executive mode Yu step provided by the above embodiment of step S601-S604 provided by the embodiments of the present application The executive mode of rapid S101-S104 is identical, and the specific implementation procedure in relation to step S601-S604 refers to above-described embodiment to step The description of rapid S101-S104, then this does not repeat them here.
S605, each red packet information generated is returned to client;
Optionally, the embodiment of the present application generates the red packet sent with client by server in step S604 and generates request pair After each red packet information answered, each red packet information generated can be returned into client, in order to which client is to by taking Each red packet information corresponding with red packet generation request that device returns of being engaged in executes response operation.
In the embodiment of the present application, it is preferred that client is to the response operation of each red packet information of return, including user Client operates the modification of each red packet information corresponding with red packet generation request returned by server.
It optionally, may include: to be added in each red packet information returned to the modification operation of each red packet information One red packet information, the red packet information that this is added indicate that a red packet receives account, and the red packet information that this is added Also indicating the red packet amount of money, [can be here by user through client is independently red packet information setting red packet that this is added The amount of money], it is corresponding with each red packet information that server returns that the red packet for the red packet information instruction that this is added receives account It is different that red packet receives account.
It optionally, may include: to be deleted in each red packet information returned to the modification operation of each red packet information At least one red packet information.That is, choosing at least one red packet information, and will be selected from each red packet information returned Red packet information deletion.
It optionally, may include: to be selected in each red packet information returned to the modification operation of each red packet information At least one red packet information, and modify to content indicated by selected red packet information and (e.g., modify the red packet information institute Red packet amount of money of instruction etc.).
Optionally, to the modification of each red packet information operation may include the addition to each red packet information returned, Delete and modify an operation or the multi-mode operation in operation.
It is above only client provided by the embodiments of the present application to the excellent of the response operation of each red packet information of return Mode is selected, specifically, response of the client to each red packet information of return can be arbitrarily arranged in inventor according to their own needs The mode of operation, then this is without limitation.
S606, client is received to the response operation of each red packet information of return, generate at least one target red packet information, And every target red packet information generated is determined as new red packet information corresponding with red packet generation request, target red packet letter Breath instruction has the red packet amount of money.
Optionally, server receives client to the response operation of each red packet information of return, in step S604 by Each red packet information corresponding with red packet generation request that server generates is modified, to generate at least one target red packet letter [at least one target red packet information herein is the response operation according to client to each red packet information of return to breath, right What is generated in step S604 by server generates the red packet after the corresponding each red packet information of request modifies, obtained with red packet Information (obtained red packet information is similarly corresponding with red packet and receives account herein, and indicates there is the red packet amount of money)], and will be every One target red packet information be determined as one it is new generate with the red packet the corresponding red packet information of request (that is, it is considered that be by Each red packet information deletion generated in step S604 determines step S606 at least one target red packet information generated For red packet information generated, corresponding with red packet generation request).
Further, after executing and completing step S606, the embodiment of the present application can also by it is identified it is new with it is red Packet, which generates, requests corresponding each red packet information to return to client, so that client again answers the red packet information of return Operation is answered, alternatively, using each red packet information corresponding with red packet generation request new determined by step S606 as most lifelong At generate the corresponding red packet information of request with red packet in order to which the user of client-side understands.
Further, as shown in fig. 6, a kind of red packet information generating method provided by the embodiments of the present application, can also include:
Step S607, determine that client generates whether the current amount of money that request is paid is not less than and red packet generation by red packet Request the total amount of the red packet amount of money of corresponding each red packet information instruction;If the current amount of money is not less than total amount, step is executed S608;If the current amount of money is less than total amount, step S609 is executed;
Optionally, step S607 can be executed after step S606, can also be executed before step S606 (if in step It is executed before rapid S606, then illustrates that a kind of red packet information generating method provided by the embodiments of the present application no longer executes step S606, Whether execute step S605-S606 about the embodiment of the present application, or, if execute step S606 inventor can according to oneself Demand sets itself).
Optionally, each red packet information corresponding with red packet generation request finally determined is directed to (if not executing step S606, the then each red packet information corresponding with red packet generation request finally determined are that each red packet generated in step S604 is believed Breath;If executing step S606, each red packet information corresponding with red packet generation request finally determined is to determine in step S606 Each target red packet information);Calculate the summation (red packet for indicating each red packet information of the red packet amount of money of each red packet information instruction The amount of money sums up calculating, and obtained adduction result is the summation of the red packet amount of money of each red packet information instruction, i.e., each red packet letter Cease the total amount of the red packet amount of money of instruction);Whether the current amount of money for determining that client is paid for red packet generation request is not small In total amount calculated;If so, executing step S608;If it is not, executing step S609.
Step S608, determine that each red packet information is an effective red packet information;
Optionally, it after red packet information is confirmed as effective red packet information, can be pushed to by server by red packet form Red packet receives account;If red packet information is not determined to effective red packet information, red packet information cannot be passed through red by server Packet form is pushed to red packet and receives account.
Optionally, the red packet sending time that server can be indicated in effective red packet information will carry effective red packet letter The red packet for ceasing the red packet amount of money of instruction is pushed to the red packet reception account of effective red packet information instruction.
Step S609, it determines the difference between the current amount of money and total amount, and returns to client for prompting client The payment prompt information of user's payments balance of side.
Optionally, if the current amount of money is less than total amount, it is determined that the difference between the current amount of money and total amount, and to client End returns to prompt information, and the prompt information is for prompting the user of the client-side to pay the difference, to be somebody's turn to do in client payment After difference, step S608 is executed.
Further, in a kind of red packet information generating method provided by the embodiments of the present application, determine that client is the red packet It include that client generates for the red packet in the case where the current amount of money that generation request is paid is not less than total amount calculated The case where requesting the current amount of money that is paid to be greater than total amount calculated can determine that this was paid works as in this case Difference between the preceding amount of money and total amount calculated, and the difference is put into the amount of money corresponding with red packet generation request and is recycled Pond.
Optionally, server is after receiving red packet and generating request, and setting one is empty, and with the red packet to generate request corresponding Amount of money recovery pond, the amount of money recovery pond for the amount of money recycle.Request what is paid to work as example, generating in client for the red packet In the case that the preceding amount of money is greater than total amount calculated, determine between the current amount of money paid and total amount calculated Difference, and by difference deposit amount of money recovery pond corresponding with red packet generation request, to realize the recycling to the difference.
Further, in a kind of red packet information generating method provided by the embodiments of the present application, can also determine has with described The corresponding red packet prompt information of red packet information is imitated, in order to the red packet sending time indicated in effective red packet information, Xiang Suoshu has It imitates the corresponding red packet of red packet information and receives account push red packet, the red packet carries the red packet gold of effective red packet information instruction Volume and the corresponding red packet prompt information of the identified effective red packet information.
Optionally, for each effectively red packet information corresponding with red packet generation request, following procedure can be executed: When determining red packet prompt information corresponding with the effective red packet information, and determining the red packet transmission of effective red packet information instruction Between, and then the red packet sending time indicated in the effective red packet information receives account to the corresponding red packet of the effective red packet information Push red packet, which carries the red packet amount of money of effective red packet information instruction and corresponding with effective red packet information Red packet prompt information.
Optionally, determine that the mode of corresponding with red packet information red packet prompt information can be with are as follows: based on the instruction of red packet information Red packet sending time determine corresponding with red packet information red packet prompt information.For example, if the red packet hair of red packet information instruction When sending the birthday of the user for the red packet reception account that the time is the instruction of red packet information, determine that red packet corresponding with the red packet information mentions Show that information is related to the birthday (e.g., the red packet prompt information corresponding with red packet information of generation is that happy birthday);If red packet information When the red packet sending time of instruction is known red-letter day, red packet prompt information corresponding with the red packet information and the known red-letter day are determined It is related (when e.g., the red packet sending time of red packet information instruction is National Day, to determine red packet prompt letter corresponding with the red packet information Breath is that National Day is happy).
Further, in a kind of red packet information generating method provided by the embodiments of the present application, also support client is independently set Fixed red packet prompt information corresponding with red packet information.
It is above only the determination setting means of red packet prompt information provided by the embodiments of the present application, inventor can be according to certainly The specific method of determination of red packet prompt information is arbitrarily arranged in oneself demand, it is not limited here.
It further, can also will be more than that red packet is sent out in a kind of red packet information generating method provided by the embodiments of the present application It send the period not receive the red packet amount of money entrained by the red packet that account is got by red packet and is put into gold corresponding with red packet generation request Frontal convolution receives pond.
Optionally, the corresponding each effectively red packet information of request is generated for red packet, generates request instruction in the red packet Red packet generate in the period, the red packet indicated to the effective red packet information receives account and pushes what effective red packet information indicated The red packet of the red packet amount of money;After the red packet that the red packet generates request instruction generates the period, it is thus necessary to determine that all red with this Packet generates that request is corresponding to have pushed the red packet that do not got successfully but, and, it is all that with the red packet to generate request corresponding Successful red packet is not pushed;And the red packet amount of money deposit gold corresponding with red packet generation request for indicating determining each red packet Frontal convolution receives pond, in order to which the total amount in amount of money recovery pond corresponding with red packet generation request is returned to client (for this Red packet generates the account that request is paid).
Fig. 7 is another red packet information generating method flow chart provided by the embodiments of the present application, and this method can be applied to end End, referring to Fig. 7, this method comprises:
S701, the red packet generation request that instruction has red packet to issue account is sent to server;
Optionally, terminal, which can send instruction by the user end to server being set in the terminal, has red packet to issue account Number red packet generate request.
S702, the red packet configuration interface that the server returns is received;
Optionally, server can return to red packet configuration interface, terminal by setting thereon after receiving red packet and generating request The client set receives the red packet configuration interface returned by server, and the red packet configuration interface displayed on the terminals.
In the embodiment of the present application, it is preferred that the structure of red packet configuration interface refers to the description of above-described embodiment, herein It does not repeat them here.
Optionally, user can configure at least one configuration parameter by the red packet configuration interface shown in terminal, and by institute At least one configuration parameter of configuration is sent to server.
S703, at least one configuration parameter is returned to the server based on the red packet configuration interface, so as to the clothes Device be engaged in based on the cohesion index range and red packet total amount at least one described configuration parameter, generates and is issued with the red packet The corresponding each red packet information of account, each red packet information instruction has red packet to receive account and the red packet amount of money, generated The summation of the red packet amount of money of each red packet information instruction is not more than the red packet total amount.
Optionally, terminal includes that cohesion refers to based at least one configuration parameter that red packet configuration interface is returned to server Number range and red packet total amount;After server receives at least one configuration parameter, it can be matched based at least one received It sets parameter and generates each red packet information corresponding with red packet generation request, wherein each red packet information generated indicates red The summation of volume covered with gold leaf is not more than red packet total amount.
Optionally, server generates corresponding each with red packet generation request according at least one configuration parameter received The process of red packet information refers to the description of above-described embodiment, and this will not be repeated here.
In the embodiment of the present application, it is preferred that at least one described configuration parameter further includes red packet sending time section.Accordingly , when at least one described configuration parameter further includes red packet sending time section, server is raw according at least one configuration parameter At generate the corresponding each red packet information of request with red packet and refer both to be shown with red packet sending time, the red packet of red packet information instruction is sent out The time is sent to can be red in the red packet sending time section corresponding to the red packet reception account indicated with the red packet information Packet sending time.
Optionally, red packet sending time section, the red packet of determining red packet information instruction corresponding with red packet generation request are based on The mode for receiving red packet sending time corresponding to account refers to the description of above-described embodiment, and this will not be repeated here.
Red packet information generation device provided in an embodiment of the present invention is introduced below, red packet information described below is raw It is regarded as at device, the server red packet information generating method that embodiment provides to realize the present invention, the program of required setting Module.Red packet information generation device content described below, can be mutually right with above-described red packet information generating method content It should refer to.
Fig. 8 is a kind of structural schematic diagram of red packet information generation device provided by the embodiments of the present application.
As shown in figure 8, the device includes:
Red packet generates request reception unit 81, and the red packet that the instruction for receiving client transmission has red packet to issue account is raw At request, red packet configuration interface is returned to client;
Configuration parameter receiving unit 82 is joined for receiving at least one configuration that client is returned by red packet configuration interface Number, configuration parameter includes cohesion index range and red packet total amount;
Red packet receives account determination unit 83, for determining from each good friend's account for issuing account relating with red packet The cohesion index between account, which is issued, with red packet is located at the reception account of each red packet in cohesion index range;
Red packet information determination unit 84, for determining red packet information corresponding with each red packet reception account respectively, red packet Information instruction has the red packet amount of money, and the summation of the red packet amount of money of each red packet information instruction generated is not more than red packet total amount.
Optionally, red packet information determination unit, comprising:
Red packet amount of money determination unit, it is intimate between each red packet reception account respectively for issuing account based on red packet Index is spent, respectively each red packet receives account and distributes the red packet amount of money;
Red packet information determines subelement, and for receiving the assigned red packet amount of money of account according to red packet, generation connects with red packet The red packet information that the corresponding instruction of receipt on account number has red packet to issue account and the red packet amount of money.
Optionally, at least one configuration parameter further includes red packet sending time section, and one kind provided by the embodiments of the present application is red Package informatin determination unit further includes red packet sending time determination unit, for determine red packet receive account and red packet issue account it Between historical behavior data, and determining with red packet to receive account corresponding positioned at red packet sending time section based on historical behavior data Interior red packet sending time.
Correspondingly, red packet information determines that subelement is specifically used for: the assigned red packet amount of money of account is received according to red packet, with And identified red packet sending time corresponding with red packet reception account, generating instruction corresponding with red packet reception account has red packet Issue account, the red packet information of the red packet amount of money and red packet sending time.
In the embodiment of the present application, it is preferred that red packet sending time determination unit is specifically used for: determining that red packet receives account Number red packet issue account between historical behavior data;Analysis of history behavioral data, it is determining corresponding with red packet reception account At least one technical dates, at least one technical dates include the commemoration day relevant to the red packet reception user of account is possessed;Sentence It whether there is technical dates in disconnected red packet sending time section;If being sent there are technical dates from red packet in red packet sending time section It selects a technical dates to be determined as red packet corresponding with red packet reception account in period in existing each technical dates to send Time;If technical dates is not present in red packet sending time section, selected from each known red-letter day existing in red packet sending time section Selecting a known red-letter day is determined as receiving the corresponding red packet sending time of account with red packet.
Further, a kind of red packet sending time determination unit provided by the embodiments of the present application is in red packet sending time section There is no in the case where known red-letter day, be also used to receive the historical behavior number between account and red packet sending account based on red packet According to the determining red packet being located in red packet sending time section receives account and red packet issues estimating between account and contacts the date;From It is identified respectively estimate selection one in the connection date and estimate the connection date be determined as receiving the corresponding red packet of account with red packet and send out Send the time.
Further, a kind of red packet information generation device provided by the embodiments of the present application further includes response unit, the response Unit is used to return to each red packet information generated to client;Client is received to grasp the response of each red packet information of return Make, generate at least one target red packet information, and every target red packet information generated is determined as new generating with red packet Corresponding red packet information is requested, the instruction of target red packet information has the red packet amount of money.
Further, a kind of red packet information generation device provided by the embodiments of the present application further includes payment unit, the payment Unit is used for: determining that client generates the current amount of money that pays of request by red packet and whether is not less than that generate request with red packet corresponding Each red packet information instruction the red packet amount of money total amount;If the current amount of money is not less than total amount, each red packet information is determined For an effective red packet information;If the current amount of money is less than total amount, the difference between the current amount of money and total amount is determined, and to visitor Family end returns to the payment prompt information for prompting user's payments balance of client-side.
Further, a kind of red packet information generation device provided by the embodiments of the present application further includes recovery unit, the recycling If unit is used for the current amount of money and is not less than total amount, determine the difference between the current amount of money and total amount, and by difference be put into Red packet, which generates, requests corresponding amount of money recovery pond.
Further, a kind of red packet information generation device provided by the embodiments of the present application further includes red packet push unit, is used In determining red packet prompt information corresponding with the effective red packet information;When the red packet of effective red packet information instruction is sent Between, account is received to the corresponding red packet of the effective red packet information and pushes red packet, and the red packet carries effective red packet information The red packet amount of money of instruction and the corresponding red packet prompt information of the identified effective red packet information.
Further, the recovery unit in a kind of red packet information generation device provided by the embodiments of the present application is also used to: will The red packet amount of money that the red packet that account is got carries is received by red packet more than red packet sending time Duan Wei to be put into and red packet generation request Corresponding amount of money recovery pond.
Red packet information generation device as shown in Figure 8 provided in an embodiment of the present invention can be applied to server;Optionally, scheme 9 show the hardware block diagram of server, and referring to Fig. 9, the hardware configuration of server may include: at least one processor 91, at least one communication interface 92, at least one processor 93 and at least one communication bus 94;
In embodiments of the present invention, processor 91, communication interface 92, memory 93, communication bus 94 quantity be at least One, and processor 91, communication interface 92, memory 93 complete mutual communication by communication bus 94;
Processor 91 may be a central processor CPU or specific integrated circuit ASIC (Application Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention Road etc.;
Memory 93 may include high speed RAM memory, it is also possible to further include nonvolatile memory (non-volatile Memory) etc., a for example, at least magnetic disk storage;
Wherein, memory is stored with program, the program that processor can call memory to store, and program is used for:
The red packet that receiving the instruction that client is sent has red packet to issue account generates request, returns to red packet configuration to client Interface;
At least one configuration parameter that client is returned by red packet configuration interface is received, configuration parameter includes that cohesion refers to Number range and red packet total amount;
From each good friend's account for issuing account relating with red packet, the cohesion that determining and red packet issues between account refers to Numerical digit receives account in each red packet in cohesion index range;
Determine red packet information corresponding with each red packet reception account respectively, the instruction of red packet information has the red packet amount of money, gives birth to At each red packet information instruction the red packet amount of money summation be not more than red packet total amount.
Red packet information generation device provided in an embodiment of the present invention is introduced below, red packet information described below is raw It is regarded as at device, the terminal red packet information generating method that embodiment provides to realize the present invention, the program mould of required setting Block.Red packet information generation device content described below can be corresponded to each other with above-described red packet information generating method content Reference.
Figure 10 is a kind of structural schematic diagram of red packet information generation device provided by the embodiments of the present application.
As shown in Figure 10, which includes:
Red packet generates request transmitting unit 101, and the red packet for having red packet to issue account for sending instruction to server generates Request;
Red packet configuration interface receiving unit 102, the red packet configuration interface returned for receiving the server;
Configuration parameter return unit 103, for returning at least one to the server based on the red packet configuration interface Configuration parameter, so as to the server based at least one described configuration parameter cohesion index range and red packet it is always golden Volume, generates each red packet information corresponding with red packet sending account, and each red packet information instruction has red packet to receive account Number and the red packet amount of money, the summation of the red packet amount of money of each red packet information instruction generated be not more than the red packet total amount.
In the embodiment of the present application, it is preferred that at least one described configuration parameter further includes red packet sending time section, described Red packet information also indicates corresponding with the red packet reception account of red packet information instruction positioned at the red packet sending time section Interior red packet sending time.
Red packet information generation device as shown in Figure 10 provided in an embodiment of the present invention can be applied to terminal;Optionally, scheme 11 show the hardware block diagram of terminal, and referring to Fig.1 1, the hardware configuration of terminal may include: at least one processor 111, At least one communication interface 112, at least one processor 113 and at least one communication bus 114;
In embodiments of the present invention, processor 111, communication interface 112, memory 113, communication bus 114 quantity be At least one, and processor 111, communication interface 112, memory 113 complete mutual communication by communication bus 114;
Processor 111 may be a central processor CPU or specific integrated circuit ASIC (Application Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention Road etc.;
Memory 113 may include high speed RAM memory, it is also possible to further include nonvolatile memory (non- Volatile memory) etc., a for example, at least magnetic disk storage;
Wherein, memory is stored with program, the program that processor can call memory to store, and program is used for:
The red packet that sending instruction to server has red packet to issue account generates request;
Receive the red packet configuration interface that the server returns;
At least one configuration parameter is returned to the server based on the red packet configuration interface, so as to the server base Cohesion index range and red packet total amount at least one described configuration parameter generate and issue account pair with the red packet The each red packet information answered, each red packet information instruction has red packet to receive account and the red packet amount of money, generated each described The summation of the red packet amount of money of red packet information instruction is not more than the red packet total amount.
The embodiment of the present application provides a kind of red packet information generating method, device, terminal and server, passes through and receives client The red packet that the instruction of transmission has red packet to issue account generates request, returns to red packet configuration interface to client;It is logical to receive client Cross at least one configuration parameter of red packet configuration interface return (configuration parameter includes cohesion index range and red packet total amount); From each good friend's account for issuing account relating with red packet, determining and red packet issues the cohesion index between account and is located at parent Each red packet within the scope of dnesity index receives account;And determine red packet information corresponding with each red packet reception account respectively The mode of (summation of the red packet amount of money of each red packet information instruction generated is not more than red packet total amount), realize generation with it is red Packet generates the purpose for requesting corresponding red packet information, avoids the problem that red packet information generating mode is single in the prior art, just The viscosity between other users is effectively promoted in application of the user based on red packet.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part It is bright.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (15)

1. a kind of red packet information generating method characterized by comprising
The red packet that receiving the instruction that client is sent has red packet to issue account generates request, and Xiang Suoshu client returns to red packet configuration Interface;
At least one configuration parameter that the client is returned by the red packet configuration interface is received, the configuration parameter includes Cohesion index range and red packet total amount;
It is determining intimate between red packet sending account from each good friend's account for issuing account relating with the red packet Degree index is located at each red packet in the cohesion index range and receives account;
Determine red packet information corresponding with each red packet reception account respectively, the red packet information instruction has the red packet amount of money, gives birth to At the summation of the red packet amount of money of each red packet information instruction be not more than the red packet total amount.
2. the method according to claim 1, wherein the determination is corresponding with each red packet reception account respectively Red packet information, comprising:
Cohesion index of the account respectively between each red packet reception account is issued based on the red packet, respectively each The red packet receives account and distributes the red packet amount of money;
The assigned red packet amount of money of account is received according to the red packet, has generated instruction corresponding with red packet reception account State the red packet information that red packet issues account and the red packet amount of money.
3. according to the method described in claim 2, it is characterized in that, when at least one described configuration parameter further includes that red packet is sent Between section, it is described that the assigned red packet amount of money of account is received according to the red packet, generate finger corresponding with red packet reception account It is shown with before the red packet sending account and the red packet information of the red packet amount of money, this method further include:
It determines that the red packet receives the historical behavior data between account and red packet sending account, and is based on the history row For the determining red packet sending time in the red packet sending time section corresponding with red packet reception account of data;
It is described that the assigned red packet amount of money of account is received according to the red packet, generate instruction corresponding with red packet reception account There is the red packet to issue the red packet information of account and the red packet amount of money, comprising:
The assigned red packet amount of money of account and identified corresponding with red packet reception account is received according to the red packet Red packet sending time, generating instruction corresponding with red packet reception account has the red packet to issue account, the red packet amount of money With the red packet information of the red packet sending time.
4. according to the method described in claim 3, it is characterized in that, the determination red packet receives account and the red packet is sent out Historical behavior data between account out, and based on the determining position corresponding with red packet reception account of the historical behavior data Red packet sending time in the red packet sending time section, comprising:
Determine that the red packet receives the historical behavior data between account and red packet sending account;
Analyze the historical behavior data, determining at least one technical dates corresponding with red packet reception account, it is described extremely A few technical dates includes the commemoration day relevant to the red packet reception user of account is possessed;
Judge in the red packet sending time section with the presence or absence of the technical dates;
If existing each special out of described red packet sending time section there are the technical dates in the red packet sending time section A technical dates is selected to be determined as red packet sending time corresponding with red packet reception account in date;
If the technical dates, existing each public affairs out of described red packet sending time section are not present in the red packet sending time section Know and a known red-letter day is selected to be determined as red packet sending time corresponding with red packet reception account in red-letter day.
5. according to the method described in claim 4, it is characterized in that, if known red-letter day is not present in the red packet sending time section When, this method further include:
The historical behavior data between account and red packet sending account are received based on the red packet, determines and is located at the red packet The red packet in sending time section receives account and the red packet issues estimating between account and contacts the date;
From it is identified respectively estimate connection the date in selection one estimate connection the date be determined as and the red packet receive account pair The red packet sending time answered.
6. according to method described in claim 3-5 any one, which is characterized in that further include:
Each red packet information generated is returned to the client;
It receives the client and at least one target red packet information is generated to the response operation of each red packet information of return, and will Every target red packet information generated is determined as new red packet information corresponding with red packet generation request, the mesh Mark red packet information instruction has the red packet amount of money.
7. according to the method described in claim 6, it is characterized by further comprising:
Determine that the client generates whether the current amount of money that request is paid is not less than and red packet generation by the red packet Request the total amount of the red packet amount of money of corresponding each red packet information instruction;
If the current amount of money is not less than the total amount, determine that red packet information described in each is an effective red packet information;
If the current amount of money is less than the total amount, the difference between the current amount of money and the total amount is determined, and to The client is returned for prompting the user of the client-side to pay the payment prompt information of the difference.
8. the method according to the description of claim 7 is characterized in that if the current amount of money is not less than the total amount, the party Method further include:
It determines the difference between the current amount of money and the total amount, and the difference is put into generate with the red packet and is requested Corresponding amount of money recovery pond.
9. according to the method described in claim 8, it is characterized by further comprising:
Determining red packet prompt information corresponding with the effective red packet information;
In the red packet sending time of the effective red packet information instruction, account is received to the corresponding red packet of the effective red packet information Red packet is pushed, the red packet carries the red packet amount of money and identified effective red packet letter of effective red packet information instruction Cease corresponding red packet prompt information.
10. a kind of red packet information generating method characterized by comprising
The red packet that sending instruction to server has red packet to issue account generates request;
Receive the red packet configuration interface that the server returns;
At least one configuration parameter is returned to the server based on the red packet configuration interface, so that the server is based on institute The cohesion index range and red packet total amount at least one configuration parameter are stated, is generated corresponding with red packet sending account Each red packet information, each red packet information instruction have red packet to receive account and the red packet amount of money, each red packet generated The summation of the red packet amount of money of information instruction is not more than the red packet total amount.
11. according to the method described in claim 10, it is characterized in that, at least one described configuration parameter further includes that red packet is sent Period, the red packet information also indicate corresponding with the red packet reception account of red packet information instruction positioned at the red packet Red packet sending time in sending time section.
12. a kind of red packet information generation device characterized by comprising
Red packet generates request reception unit, and the red packet generation that the instruction for receiving client transmission has red packet to issue account is asked It asks, Xiang Suoshu client returns to red packet configuration interface;
Configuration parameter receiving unit, at least one configuration returned for receiving the client by the red packet configuration interface Parameter, the configuration parameter include cohesion index range and red packet total amount;
Red packet receive account determination unit, for from the red packet issue account relating each good friend's account in, determine with The cohesion index that the red packet issues between account is located at each red packet in the cohesion index range and receives account;
Red packet information determination unit, for determining red packet information corresponding with each red packet reception account respectively, the red packet letter Breath instruction has the red packet amount of money, and the summation of the red packet amount of money of each red packet information instruction generated is always golden no more than the red packet Volume.
13. a kind of server characterized by comprising at least one processor and at least one processor;The memory is deposited Program is contained, the processor calls the program of the memory storage, and described program is used for:
The red packet that receiving the instruction that client is sent has red packet to issue account generates request, and Xiang Suoshu client returns to red packet configuration Interface;
At least one configuration parameter that the client is returned by the red packet configuration interface is received, the configuration parameter includes Cohesion index range and red packet total amount;
It is determining intimate between red packet sending account from each good friend's account for issuing account relating with the red packet Degree index is located at each red packet in the cohesion index range and receives account;
Determine red packet information corresponding with each red packet reception account respectively, the red packet information instruction has the red packet amount of money, gives birth to At the summation of the red packet amount of money of each red packet information instruction be not more than the red packet total amount.
14. a kind of red packet information generation device characterized by comprising
Red packet generates request transmitting unit, and the red packet for having red packet to issue account for sending instruction to server generates request;
Red packet configuration interface receiving unit, the red packet configuration interface returned for receiving the server;
Configuration parameter return unit, for returning at least one configuration ginseng to the server based on the red packet configuration interface Number generates so that the server is based on the cohesion index range and red packet total amount at least one described configuration parameter Each red packet information corresponding with red packet sending account, each red packet information instruction have red packet to receive account and red packet The summation of the amount of money, the red packet amount of money of each red packet information instruction generated is not more than the red packet total amount.
15. a kind of terminal characterized by comprising at least one processor and at least one processor;The memory storage There is program, the processor calls the program of the memory storage, and described program is used for:
The red packet that sending instruction to server has red packet to issue account generates request;
Receive the red packet configuration interface that the server returns;
At least one configuration parameter is returned to the server based on the red packet configuration interface, so that the server is based on institute The cohesion index range and red packet total amount at least one configuration parameter are stated, is generated corresponding with red packet sending account Each red packet information, each red packet information instruction have red packet to receive account and the red packet amount of money, each red packet generated The summation of the red packet amount of money of information instruction is not more than the red packet total amount.
CN201711386212.8A 2017-12-20 2017-12-20 Red packet information generation method and device, terminal and server Active CN109949026B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711386212.8A CN109949026B (en) 2017-12-20 2017-12-20 Red packet information generation method and device, terminal and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711386212.8A CN109949026B (en) 2017-12-20 2017-12-20 Red packet information generation method and device, terminal and server

Publications (2)

Publication Number Publication Date
CN109949026A true CN109949026A (en) 2019-06-28
CN109949026B CN109949026B (en) 2023-04-14

Family

ID=67005703

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711386212.8A Active CN109949026B (en) 2017-12-20 2017-12-20 Red packet information generation method and device, terminal and server

Country Status (1)

Country Link
CN (1) CN109949026B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110717743A (en) * 2019-09-06 2020-01-21 联想(北京)有限公司 Distribution method, electronic equipment and storage medium
CN112561521A (en) * 2020-12-03 2021-03-26 星宏传媒有限公司 Method, system and equipment for processing mass electronic red packet data
CN113301066A (en) * 2020-02-24 2021-08-24 阿里巴巴集团控股有限公司 Virtual resource pushing method, device and system
CN114465832A (en) * 2022-01-13 2022-05-10 北京快乐茄信息技术有限公司 Information processing method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106203989A (en) * 2016-06-28 2016-12-07 财付通支付科技有限公司 A kind of information processing method and device
CN106960322A (en) * 2016-01-08 2017-07-18 深圳市星电商科技有限公司 The sending method and device of electronics red packet
CN107220899A (en) * 2016-03-21 2017-09-29 阿里巴巴集团控股有限公司 Social networks structure, information recommendation method, device and server

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106960322A (en) * 2016-01-08 2017-07-18 深圳市星电商科技有限公司 The sending method and device of electronics red packet
CN107220899A (en) * 2016-03-21 2017-09-29 阿里巴巴集团控股有限公司 Social networks structure, information recommendation method, device and server
CN106203989A (en) * 2016-06-28 2016-12-07 财付通支付科技有限公司 A kind of information processing method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110717743A (en) * 2019-09-06 2020-01-21 联想(北京)有限公司 Distribution method, electronic equipment and storage medium
CN113301066A (en) * 2020-02-24 2021-08-24 阿里巴巴集团控股有限公司 Virtual resource pushing method, device and system
CN112561521A (en) * 2020-12-03 2021-03-26 星宏传媒有限公司 Method, system and equipment for processing mass electronic red packet data
CN114465832A (en) * 2022-01-13 2022-05-10 北京快乐茄信息技术有限公司 Information processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN109949026B (en) 2023-04-14

Similar Documents

Publication Publication Date Title
CN109949026A (en) A kind of red packet information generating method, device, terminal and server
CN104980903B (en) A kind of method and device for protecting privacy of user
CN106682890A (en) Business value transferring method and apparatus among multiple user accounts
CN107547214B (en) Group's reading method, electronic equipment and computer storage medium based on e-book
CN101248680B (en) Rule based data collection and management in a wireless communications network
CN110020888A (en) The sharing method and device of goal task
CN105160522A (en) Virtual resource transfer method, related device and system
CN107213634A (en) A kind of game user management method, game server and system
CN109740782A (en) Reserving method and device, storage medium and electronic equipment
CN108921690A (en) Money transfer transactions thing apoplexy control method and device
WO2011127296A1 (en) Facilitating billing of embedded applications
CN106027368B (en) Business data processing method and device
CN103812897A (en) Network flow control method and device
CN109711713A (en) Determine the method, apparatus and storage medium of worksheet processing driver
CN109002249A (en) Method, storage medium, equipment and the system of present double hit are realized by long-pressing gesture
CN108428124A (en) It is a kind of to use vehicle order charge processing method and server
CN109584060A (en) Processing method, device and the computer equipment and storage medium of timing transaction task
CN109461026A (en) Card certificate distribution method, device, computer equipment and storage medium
CN110264155A (en) It is a kind of based on the control method and Related product that confirm service on line
CN110163394A (en) Information display method, device and the equipment of trip application
CN108446786A (en) A kind of information processing method, device and electronic equipment
JP7026994B2 (en) Message exchange methods and devices, computer programs, electronic devices
CN106941559A (en) A kind of calendar information sharing method and calendar client
WO2021038945A1 (en) Digital currency exchange device, digital currency exchange method, and digital currency exchange system
CN107180344A (en) For recharge method, device and system

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