CN108805438A - Method and apparatus for distributing resource, getting resource - Google Patents
Method and apparatus for distributing resource, getting resource Download PDFInfo
- Publication number
- CN108805438A CN108805438A CN201810569769.3A CN201810569769A CN108805438A CN 108805438 A CN108805438 A CN 108805438A CN 201810569769 A CN201810569769 A CN 201810569769A CN 108805438 A CN108805438 A CN 108805438A
- Authority
- CN
- China
- Prior art keywords
- resource
- user
- group
- preset condition
- new
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/04—Payment circuits
- G06Q20/06—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
- G06Q20/065—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
- G06Q10/06312—Adjustment or analysis of established resource schedule, e.g. resource or task levelling, or dynamic rescheduling
Landscapes
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- Accounting & Taxation (AREA)
- Entrepreneurship & Innovation (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Development Economics (AREA)
- Educational Administration (AREA)
- Finance (AREA)
- Game Theory and Decision Science (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the present application discloses the method and apparatus for distributing resource, getting resource.One specific implementation mode of the method for distributing resource includes:The group's resource for belonging to preset kind is issued to the multiple users for belonging to group chat;It receives and belongs to the request got to group's resource that at least one user of group chat sends, and generated for each user at least one user and get number;If getting number in the presence of meet preset condition, based on the part number got in number for meeting preset condition, the corresponding user of number that gets to meet preset condition distributes resource, and it based on the remaining number got in number for meeting preset condition, generates new group's resource concurrence and gives the multiple users for belonging to group chat.This embodiment offers a kind of new resource distribution modes, keep resource distribution mode more rich and varied.Also, the resource distribution mode can repeatedly generate new group's resource in resource allocation process and issue.
Description
Technical field
The invention relates to field of computer technology, and in particular to for distribute resource, get resource method and
Equipment.
Background technology
Instant messaging (Instant Message, IM) is communication modes the most popular on current internet, can be realized
Immediately message is sent and received.With the rapid development of Internet, various instant messaging applications also emerge one after another.Mostly
Number instant messaging application is all integrated with resources-type (such as red packet class) program, and resource is issued (such as in instant communication applications to realize
Red packet).In general, the resource issued in instant communication applications may include single resource (such as single red packet) and group's resource is (such as
Spell luck red packet).
If currently, the release group resource in the group chat of instant communication applications, the user for belonging to group chat can ask to get group
Resource in resource.Existing resource distribution mode would generally initiate the sequence of request according to user, be followed successively by user and distribute money
Source, until group's resource is all assigned.
Invention content
The embodiment of the present application proposes the method and apparatus for distributing resource, getting resource.
In a first aspect, some embodiments of the present application provide a kind of method for distributing resource, set applied to network
It is standby, including:The group's resource for belonging to preset kind is issued to the multiple users for belonging to group chat;Receive at least one use for belonging to group chat
The request that group's resource is got that family is sent, and generated for each user at least one user and get number, wherein
The summation for getting number of at least one user is equal to the number of group's resource;If in the presence of the number of getting for meeting preset condition, base
In the part number got in number for meeting preset condition, the corresponding user of number that gets to meet preset condition distributes money
Source, and based on the remaining number got in number for meeting preset condition, generates new group's resource concurrence and gives and belong to group chat
Multiple users.
Second aspect, some embodiments of the present application provide a kind of method for getting resource, are set applied to terminal
It is standby, including:Receive the group's resource for belonging to preset kind that the network equipment is issued in the affiliated group chat of the corresponding user of terminal device;
If detecting, user gets operation to the execution of group's resource, and the request got to group's resource is sent to the network equipment;If network
What equipment was generated for user, which get number, meets preset condition, based on the part number got in number, updates the resource of user
The resource value in account is stored, and being generated based on the remaining number got in number of receiving that the network equipment issues in group chat
New group's resource.
The third aspect, some embodiments of the present application provide a kind of device for distributing resource, are set to network and set
It is standby, including:Release unit is configured to issue the group's resource for belonging to preset kind to the multiple users for belonging to group chat;It receives single
Member is configured to receive the request for getting group's resource that at least one user for belonging to group chat sends, and is at least one
Each user in a user, which generates, gets number, wherein the summation for getting number of at least one user is equal to group's resource
Number;Distribution and generation unit, if being configured to get number in the presence of meet preset condition, based on the neck for meeting preset condition
Part number in access volume, the corresponding user of number that gets to meet preset condition distribute resource, and default based on meeting
The remaining number of condition got in number generates new group's resource concurrence and gives the multiple users for belonging to group chat.
Fourth aspect, some embodiments of the present application provide a kind of device for getting resource, are set to terminal and set
It is standby, including:Receiving unit is configured to receive the network equipment belonging to of being issued in the affiliated group chat of the corresponding user of terminal device
Group's resource of preset kind;Transmission unit, if being configured to detect that user gets operation to the execution of group's resource, to the network equipment
Send the request got to group's resource;Update and receiving unit, if be configured to that the network equipment is generated for user gets
Number meets preset condition, based on the part number got in number, updates the resource value in the resource storage account of user, and
Receive the new group's resource generated based on the remaining number got in number that the network equipment is issued in group chat.
5th aspect, some embodiments of the present application provide a kind of network equipment, which includes:One or more
A processor;Storage device stores one or more programs thereon;When one or more programs are held by one or more processors
Row so that one or more processors realize the method as described in any realization method in first aspect.
6th aspect, some embodiments of the present application provide a kind of terminal device, which includes:One or more
A processor;Storage device stores one or more programs thereon;When one or more programs are held by one or more processors
Row so that one or more processors realize the method as described in any realization method in second aspect.
7th aspect, some embodiments of the present application provide a kind of computer-readable medium, are stored thereon with computer
Program is realized the method as described in any realization method in first aspect or is realized such as when the computer program is executed by processor
The method of any realization method description in second aspect.
The method and apparatus for distributing resource, getting resource that above-described embodiment of the application provides, the network equipment can
To issue the group's resource for belonging to preset kind to the multiple users for belonging to group chat.Receiving at least one user for belonging to group chat
In the case of the request got to group's resource sent, the network equipment can be each user life at least one user
At getting number.Meet in the case of getting number of preset condition existing, the network equipment can be based on meeting preset condition
The part number got in number, the corresponding user of number that gets to meet preset condition distributes resource, while based on full
The remaining number of sufficient preset condition got in number generates new group's resource concurrence and gives the multiple users for belonging to group chat.This
Above-described embodiment of application can be with, such as excessively unbalanced in resource distribution, will distribute the portion in excessive resource
Divide and redistributed, to ensure certain resource allocation equalization while maintaining resource allocation randomness, and can be prolonged
Long user's residence time.Also, the application above mentioned embodiment provide a kind of new resource distribution mode, make resource allocation side
Formula is more rich and varied.Also, the resource distribution mode can repeatedly generate new group's resource in resource allocation process and carry out
Publication.
Description of the drawings
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is that the application some embodiments can be applied to exemplary system architecture figure therein;
Fig. 2 is the flow chart according to one embodiment of the method for distributing resource of the application;
Fig. 3 is the flow chart according to another embodiment of the method for distributing resource of the application;
Fig. 4 is the schematic diagram of an application scenarios of the method for distributing resource that Fig. 3 is provided;
Fig. 5 is the flow chart according to one embodiment of the method for getting resource of the application;
Fig. 6 is the flow chart according to another embodiment of the method for getting resource of the application;
Fig. 7 is adapted for showing for the structure of the computer system of the network equipment or terminal device of realizing the embodiment of the present application
It is intended to.
Specific implementation mode
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to
Convenient for description, is illustrated only in attached drawing and invent relevant part with related.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be using the application for distributing resource, the exemplary system architecture for the method for getting resource
100。
As shown in Figure 1, system architecture 100 may include terminal device 101, network 102 and the network equipment 103.Network 102
To provide the medium of communication link between terminal device 101 and the network equipment 103.Network 102 may include various connections
Type, such as wired, wireless communication link or fiber optic cables etc..
User can be interacted by network 102 with the network equipment 103 with using terminal equipment 101, to receive or send message
Deng.Various client applications, such as instant messaging application etc. can be installed on terminal device 101.
Terminal device 101 can be hardware, can also be software.Can support i.e. when terminal device 101 is hardware
When communication function various electronic equipments, including but not limited to smart mobile phone, tablet computer, pocket computer on knee and desk-top
Computer etc..When terminal device 101 is software, may be mounted in above-mentioned cited electronic equipment.It may be implemented
At multiple softwares or software module, single software or software module can also be implemented as.It is not specifically limited herein.
The network equipment 103 can be to provide the network equipment of various services, such as the network equipment 103 can be instant messaging
The background server of application;The background server can be integrated form, can also be distributed.After instant messaging application
Platform server can issue the group's resource for belonging to preset kind to the multiple users for belonging to group chat, and belong to group to what is received
The data such as the request got to group's resource that at least one user merely sends carry out the processing such as analyzing, and are tied according to processing
Fruit distributes resource for user.
It should be noted that the network equipment 103 can be hardware, can also be software.When the network equipment 103 is hardware
When, the distributed network equipment group of multiple network equipment compositions may be implemented into, single network equipment can also be implemented as.Work as net
When network equipment 103 is software, multiple softwares or software module (such as providing Distributed Services) may be implemented into, it can also
It is implemented as single software or software module.It is not specifically limited herein.
It should be noted that the method for distributing resource that some embodiments of the present application are provided can be set by network
Standby 103 execute, and the method for getting resource can be executed by terminal device 101.
It should be understood that the number of the terminal device, network and the network equipment in Fig. 1 is only schematical.According to realization
It needs, can have any number of terminal device, network and the network equipment.
With continued reference to Fig. 2, it illustrates the flows according to one embodiment of the method for distributing resource of the application
200.The method for being used to distribute resource is applied to the network equipment, includes the following steps:
Step 201, the group's resource for belonging to preset kind is issued to the multiple users for belonging to group chat.
In the present embodiment, the method for distributing resource runs the network equipment (such as network shown in FIG. 1 thereon
Equipment 103) it can belong to the publication of the terminal device (such as terminal device 101 shown in FIG. 1) for the multiple users for belonging to group chat
Group's resource of preset kind.
In practice, the user of instant messaging application can establish chat sessions with one or more other users.Wherein, i.e.,
When communication applications the chat sessions established of user and an other users can be referred to as personal chat sessions.Instant messaging is answered
The chat sessions that user establishes with multiple other users can be referred to as group chat session, abbreviation group chat.Instant messaging is answered
With resources-type (such as red packet class) program can be integrated, to realize the user of instant messaging application in personal chat sessions or group chat
Issue resource (such as red packet).
Here, the user of instant messaging application (can be used by the network equipment to the multiple users for belonging to group chat as whole
Family) issue the group's resource for belonging to preset kind (such as painted eggshell red packet spells luck red packet, common red packet).It is set when user opens a terminal
The instant messaging of standby upper installation is in application, can show the currently logged on user's of instant messaging application on the screen of terminal device
Chat sessions list.Then, when the user clicks group chat in chat sessions list when, can show this on the screen of terminal device
The chat sessions page of group chat.If a user of the group chat will issue to the multiple users for belonging to the group chat belongs to preset kind
Group's resource jumps to resource publication then page jumping operation can be first carried out in the user from the chat sessions page of the group chat
Page;Then resource number in the type of group's resource, the total amount of group's resource, group's resource is set on resource publications page;Finally
The publication operation for executing this group of resource, the publication that this group of resources are sent to trigger the terminal device of the user to the network equipment are asked
It asks.After receiving the posting request of this group of resources of user transmission, the network equipment can be to the multiple use for belonging to group chat
Issue this group of resources in family.In general, virtual publication button can be provided on the resource publication page, when the complete group's resource of user setting
After resource number in type, the total amount of group's resource, group's resource, the virtual publication button is clicked, that is, performs this group money
The publication in source operates.May include in the posting request for this group of resources that the terminal device of the user is sent to the network equipment but not
It is limited to the type, total amount and resource number of this group of resources of user setting.
Step 202, it receives and belongs to the request got to group's resource that at least one user of group chat sends, and for extremely
Each user in a few user, which generates, gets number.
In the present embodiment, the network equipment can receive first belong to group chat at least one user send to group's resource
The request got;Then it is generated for each user at least one user and gets number.Wherein, at least one user
Quantity can be equal to the resource number in this group of resources.The summation for getting number of at least one user can be equal to group's resource
Number.
Here, belong to multiple users of group chat to after belonging to multiple user's release group resources of group chat in the network equipment
Terminal device screen on can show this group of messages related to resources on the chat sessions page that shows.When a use for belonging to group chat
When this group of messages related to resources are clicked at family, i.e., this group of resources is performed and get operation.At this point it is possible to trigger the terminal device of the user
The request that the user gets this group of resources is sent to the network equipment.
Here, if group's resource exist do not get resource, whenever receive belong to group chat user send to this group of resources
The request got, one that the network equipment can be for user generation no more than the number for not getting resource get number.
Wherein, the number of this group of resources can be equal to for the summation for getting number that at least one user generates.
Step 203, if number is got in the presence of meet preset condition, based on the portion got in number for meeting preset condition
Score volume, the corresponding user of number that gets to meet preset condition distribute resource, and get number based on meet preset condition
Remaining number in volume generates new group's resource concurrence and gives the multiple users for belonging to group chat.
In the present embodiment, for each user at least one user, the network equipment can get the user
Number is analyzed, and determines that the user's gets whether number meets preset condition.It is preset in the number satisfaction of getting of the user
In the case of condition, the network equipment can be based on part number (such as random number or the fixed number got in number of the user
Volume), distribute resource for the user.Meanwhile the network equipment is also based on the remaining number of the user got in number, generates
New group's resource concurrence gives the multiple users for belonging to group chat.Wherein, the number for the resource of user distribution, which can be equal to, is somebody's turn to do
The part number of user got in number.The number of new group's resource can be equal to the remainder of the user got in number
Volume.Preset condition can be pre-set various conditions.For example, preset condition can be no less than default value.At this point, right
The number of getting of the user can be compared by each user at least one user, the network equipment with default value.
If the number of getting of the user is not less than default value, the number of getting of the user meets preset condition, meets preset condition
Number of getting include getting number not less than default value.Conversely, being then unsatisfactory for preset condition, it is unsatisfactory for preset condition
It includes getting number less than default value to get number.
In some embodiments, if in the presence of the number of getting for being unsatisfactory for preset condition, the network equipment can be based on being unsatisfactory for
The full amount of preset condition got in number, the corresponding user of number that gets to be unsatisfactory for preset condition distribute resource.
Here, for each user at least one user, the network equipment can analyze the number of getting of the user, and determine
The user's gets whether number meets preset condition.In the user in the case of getting number and be unsatisfactory for preset condition, net
Network equipment can get the full amount in number based on this, and resource is distributed for the user.Wherein, it is the resource of user distribution
Number can get the full amount in number equal to this.
In some embodiments, the number of getting for meeting preset condition may include:Not less than the neck that resource gets limit
Access volume.The number of getting for being unsatisfactory for preset condition may include:Number is got less than what resource got limit.Part number can
Limit is got to be less than resource.Wherein, it can be a pre-set numerical value that resource, which gets limit, can be user according to need
Pre-set numerical value is sought, can also be the numerical value of system default setting.The getting in number of limit will be got not less than resource
Part number distribute to user, meanwhile, generate not less than resource get limit the remaining number got in number it is new
Group's resource, and it is sent to the multiple users for belonging to group chat again.It efficiently avoids excessive number in resource allocation process
(such as more than group's resource number half) resource allocation get a user's in multiple users of resource to request
Situation, to ensure certain resource allocation equalization while maintaining resource allocation randomness;Also, by sending new group
Resource can extend user and be resident, and provide more rich various resource distribution mode.
In some embodiments, resource get limit can include but is not limited to it is at least one of following:Default value, group's money
The number in source and the default product for getting limit.Wherein, default value can be no more than the random number of the number of group resource.In advance
If it can be the arbitrary number between 0 to 1 to get limit.
In some embodiments, the network equipment can obtain resource from the posting request of group's resource and get limit.To
The multiple users publication for belonging to group chat belongs to before group's resource of preset kind, and the network equipment can also receive the use for belonging to group chat
The posting request for group's resource that family is sent.Here, group's resource can be arranged in a user for belonging to group chat on resource publications page
Type, the total amount of group's resource, the resource number in group's resource and resource get limit.Then, which executes this group money
The publication in source operates, and the posting request of this group of resources is sent to trigger the terminal device of the user to the network equipment.At this point, publication
Can also include using in request other than it may include the types of this group of resources, total amount and resource number of user setting
The resource of family setting gets limit.
In some embodiments, based on meet preset condition get number in part number, for meet preset item
Part get the step of corresponding user of number distributes resource before, the network equipment can also get number to meet preset condition
The corresponding user of volume sends first resource and gets notification message.Wherein, first resource get notification message can be used for notify be
The number of getting that the corresponding user of number generates of getting for meeting preset condition meets preset condition.
In some embodiments, based on be unsatisfactory for preset condition get number in full amount, it is pre- to be unsatisfactory for
If condition get the step of corresponding user of number distributes resource before, the network equipment can also be to being unsatisfactory for preset condition
It gets the corresponding user's transmission Secondary resource of number and gets notification message.Wherein, Secondary resource is got notification message and be can be used for
Notice is unsatisfactory for preset condition to be unsatisfactory for the number of getting that the corresponding user of number generates of getting of preset condition.
The method for distributing resource that above-described embodiment of the application provides, the network equipment can be to belonging to the more of group chat
A user's publication belongs to group's resource of preset kind.Receive belong to group chat at least one user send to group's resource into
In the case of the request that row is got, the network equipment can be that number is got in each user generation at least one user.It is depositing
Meeting in the case of getting number of preset condition, the network equipment can be based on the portion got in number for meeting preset condition
Score volume, the corresponding user of number that gets to meet preset condition distribute resource, while based on meeting getting for preset condition
Remaining number in number generates new group's resource concurrence and gives the multiple users for belonging to group chat.Provide a kind of new resource
The method of salary distribution keeps resource distribution mode more rich and varied.Also, the resource distribution mode can be more in resource allocation process
The new group's resource of secondary generation is issued.
With further reference to Fig. 3, it illustrates according to another embodiment of the method for distributing resource of the application
Flow 300.The method for being used to distribute resource is applied to the network equipment, includes the following steps:
Step 301, the group's resource for belonging to preset kind is issued to the multiple users for belonging to group chat.
Step 302, it receives and belongs to the request got to group's resource that at least one user of group chat sends, and for extremely
Each user in a few user, which generates, gets number.
Step 303, if number is got in the presence of meet preset condition, based on the portion got in number for meeting preset condition
Score volume, the corresponding user of number that gets to meet preset condition distribute resource, and get number based on meet preset condition
Remaining number in volume generates new group's resource concurrence and gives the multiple users for belonging to group chat.
In the present embodiment, the behaviour of the concrete operations of step 301-303 and step 201-203 in embodiment shown in Fig. 2
Make essentially identical, details are not described herein.
Step 304, it receives and belongs to the request got to new group's resource that at least one user of group chat sends, and
It is generated for each user at least one user and new gets number.
In the present embodiment, the network equipment (such as network equipment 103 shown in FIG. 1) can receive first belongs to group chat
The request that new group's resource is got that at least one user sends;Then it is each user life at least one user
Cheng Xin's gets number.Wherein, the quantity of at least one user can be equal to the resource number in new group's resource.At least one
The new summation for getting number of a user can be equal to the number of new group's resource.It should be noted that group's money is got in request
At least one user that at least one user in source gets new group's resource from request can be different.
Here, after the network equipment issues new group's resource to the multiple users for belonging to group chat, belong to the multiple of group chat
New group's message related to resources can be shown on the chat sessions page shown on the screen of the terminal device of user.When belonging to group chat
User when clicking new group's message related to resources, i.e., the group resource new to this, which performs, gets operation.At this point it is possible to trigger
The terminal device of the user sends the request that the user group resource new to this is got to the network equipment.
Here, if new group's resource, which exists, does not get resource, whenever receive the user for belonging to group chat send it is new to this
The request got of group's resource, the network equipment can be that generate no more than the number for not getting resource one of the user is new
Get number.Wherein, the new summation for getting number of at least one user can be equal to the number of new group's resource.
Step 305, if getting number in the presence of the new of preset condition is met, number is got based on the new of preset condition is met
Part number in volume, the new corresponding user of number that gets to meet preset condition distribute resource, and default based on meeting
The new remaining number got in number of condition, generates new group's resource concurrence and gives the multiple users for belonging to group chat again.
In the present embodiment, for each user at least one user, the network equipment can be to the new of the user
It gets number to be analyzed, determines that the new of the user gets whether number meets preset condition.New in the user is got
In the case that number meets preset condition, the network equipment can the new part number got in number based on the user (such as
Random number or fixed number), again resource is distributed for the user.Meanwhile the network equipment is also based on the new of the user
The remaining number in number is got, new group's resource concurrence is generated again and gives the multiple users for belonging to group chat.Wherein, again for
The number of the resource of user distribution can be equal to the new part number got in number of the user.What is generated again is new
The number of group's resource can be equal to the new remaining number got in number of the user.
Step 305 ', if getting number in the presence of the new of preset condition is unsatisfactory for, based on being unsatisfactory for the new of preset condition
The full amount in number is got, the new corresponding user of number that gets to be unsatisfactory for preset condition distributes resource.
In the present embodiment, for each user at least one user, the network equipment can be to the new of the user
It gets number to be analyzed, determines that the new of the user gets whether number meets preset condition.New in the user is got
In the case that number is unsatisfactory for preset condition, the network equipment can based on the new full amount got in number of the user,
It is that the user distributes resource again.Wherein, the new neck of the user can be equal to for the number of the resource of user distribution again
Full amount in access volume.
It should be noted that when generating the network equipment and issues new group's resource, belonging to the use of group chat per family can be with
New group's resource is got in request again, so that the network equipment executes step 304,305 and/or 305 ' again, until the network equipment
Until not regenerating new group's resource.
It is the schematic diagram of an application scenarios of the method for distributing resource that Fig. 3 is provided with continued reference to Fig. 4, Fig. 4.
In the application scenarios of Fig. 3, first, the whole users of the terminal device of the user A in group chat 1 into group chat 1 have issued one
The painted eggshell red packet that red packet number is 3, total amount is 12 yuan.At this point, the terminal device of whole users in group chat 1 can be in group
Merely this painted eggshell red packet message is shown on 1 chat sessions page.Later, the user B in group chat 1, user C and user D point successively
This painted eggshell red packet message is hit, the terminal device to trigger user B, user C and user D is sent to the network equipment to this respectively
The request that painted eggshell red packet is got.At this point, the network equipment is user B generation gets number 8, is that number is got in user's C generations
1, it is that number 3 is got in user's D generations.Then, since the number 3 of getting for getting number 1 and user D of user C is unsatisfactory for presetting
The red packet that the amount of money is 1 yuan is distributed to user C by condition, the network equipment, and the red packet that the amount of money is 3 yuan is distributed to user D.Due to
The number 8 of getting of family B meets preset condition, and the amount of money corresponding with the part number 2 got in number 8 is 2 yuan by the network equipment
Red packet distribute to user B, while by, red packet number corresponding with the remaining number 6 got in number 8 being 3, total amount 6
The new painted eggshell red packet of member is sent to whole users in group chat 1.Then, the user B in group chat 1, user C and user E be successively
This new painted eggshell red packet message is clicked, the terminal device to trigger user B, user C and user E is sent to the network equipment respectively
The request that new painted eggshell red packet is got to this.At this point, the network equipment is user B generate it is new get number 1.5, be use
Family C, which is generated, new to be got number 2, is generated for user E and new get number 2.5.Finally, due to user B, user C and user E
New number of getting is unsatisfactory for preset condition, and the red packet that the amount of money is 1.5 yuan is distributed to user B by the network equipment, is 2 by the amount of money
The red packet of member distributes to user C, and the red packet that the amount of money is 2.5 yuan is distributed to user E.At this point, belong to whole users of group chat 1
Terminal device can show this new painted eggshell red packet message on the chat sessions page of group chat 1.For example, Fig. 4 shows use
The chat sessions page of the group chat 1 shown on the terminal device of family B.Wherein, the painted eggshell red packet message shown on chat sessions page is such as
Shown in 401.The new painted eggshell red packet message shown on chat sessions page is as indicated at 402.
From figure 3, it can be seen that compared with the corresponding embodiments of Fig. 2, the method for distributing resource in the present embodiment
Flow 300 increase the step of being distributed again new group's resource.It as a result, can be in the scheme of the present embodiment description
New group's resource is repeatedly generated in resource allocation process, and repeatedly carries out resource allocation, to increase in resource allocation process
In interest.
With continued reference to Fig. 5, it illustrates the flows according to one embodiment of the method for getting resource of the application
500.The method for being used to get resource is applied to terminal device, includes the following steps:
Step 501, what the reception network equipment was issued in the affiliated group chat of the corresponding user of terminal device belongs to preset kind
Group's resource.
In the present embodiment, the method for getting resource runs terminal device (such as terminal shown in FIG. 1 thereon
Equipment 101) network equipment (such as network equipment 103 shown in FIG. 1) can be received belonging to the corresponding user of the terminal device
Group chat in the group's resource for belonging to preset kind issued.
In practice, the user of instant messaging application can establish chat sessions with one or more other users.Wherein, i.e.,
When communication applications the chat sessions established of user and an other users can be referred to as personal chat sessions.Instant messaging is answered
The chat sessions that user establishes with multiple other users can be referred to as group chat session, abbreviation group chat.Instant messaging is answered
With resources-type (such as red packet class) program can be integrated, to realize the user of instant messaging application in personal chat sessions or group chat
Issue resource (such as red packet).
Here, the user of instant messaging application can belong to pre- to multiple users (such as the whole users) publication for belonging to group chat
If (such as painted eggshell red packet spells luck red packet, common red packet to group's resource of type;Wherein, it gets painted eggshell red packet for request or spells luck
The number of getting of each user's generation of red packet can be different, and what each user that common red packet is got for request generated gets
Number can be identical).When the instant messaging installed on user opens a terminal equipment in application, can be shown on the screen of terminal device
Show the chat sessions list of the currently logged on user of instant messaging application.Then, the group in chat sessions list when the user clicks
When merely, the chat sessions page of the group chat can be shown on the screen of terminal device.If a user of the group chat will be to belonging to this
Multiple users publication of group chat belongs to group's resource of preset kind, then page jumping operation can be first carried out in the user, from
The chat sessions page of the group chat jumps to resource publications page;Then type, the group's resource of group's resource are set on resource publications page
Total amount, the resource number in group's resource;The publication operation for finally executing this group of resources, to trigger the terminal device of the user
The posting request of this group of resources is sent to the network equipment.After receiving the posting request of this group of resources of user transmission,
The network equipment can issue this group of resources to the multiple users for belonging to group chat.In general, void can be provided on the resource publication page
Cloth button is sent out, after resource number in the type, the total amount of group's resource, group's resource of the complete group's resource of user setting, point
The virtual publication button is hit, that is, performs the publication operation of this group of resources.The terminal device of the user is sent to the network equipment
It can include but is not limited to the type, total amount and resource of this group of resources of user setting in the posting request of this group of resources
Number.
Step 502, if detecting, user gets operation to the execution of group's resource, is led to network equipment transmission to group's resource
The request taken.
In the present embodiment, terminal device can detect user and get operation to what group's resource executed.Detecting the use
In the case that operation is got in family to the execution of group's resource, terminal device can send to the network equipment and be asked to what group's resource was got
It asks.
Here, belong to multiple users of group chat to after belonging to multiple user's release group resources of group chat in the network equipment
Terminal device screen on can show this group of messages related to resources on the chat sessions page that shows.When a use for belonging to group chat
When this group of messages related to resources are clicked at family, i.e., this group of resources is performed and get operation.At this point it is possible to trigger the terminal device of the user
The request that the user gets this group of resources is sent to the network equipment.
Step 503, if the number of getting that the network equipment is generated for user meets preset condition, based on the portion got in number
Score volume updates the resource value in the resource storage account of user, and receive that the network equipment issues in group chat based on getting
New group's resource that remaining number in number generates.
In the present embodiment, after receiving the request got to group's resource that the user for belonging to group chat sends,
The network equipment can be that number is got in user generation.The case where number meets preset condition is got what is generated for the user
Under, the network equipment can be by the resource allocation for the part number (such as random number or fixed number) of the user got in number
Give the user.At this point, the resource that terminal device based on the part number got in number, can update user stores in account
Resource value.Meanwhile terminal device can also receive the getting in number based on the user that the network equipment is issued in group chat
New group's resource that remaining number generates.For example, terminal device can calculate the user resource storage account in resource value
With the part number of the user got in number and, as the user resource storage account in new resource value.Its
In, preset condition can be pre-set various conditions.For example, preset condition can be no less than default value.If the use
The number of getting at family is not less than default value, then the number of getting of the user meets preset condition, meets getting for preset condition
Number includes getting number not less than default value.Conversely, being then unsatisfactory for preset condition, be unsatisfactory for preset condition gets number
Volume includes getting number less than default value.
In some embodiments, if the number of getting being generated for user is unsatisfactory for preset condition, terminal device can be based on
The full amount in number is got, the resource value in the resource storage account of user is updated.Here, belong to group chat receiving
After the request got to group's resource that user sends, the network equipment can be that number is got in user generation.For this
What user generated get in the case that number is unsatisfactory for preset condition, and the network equipment can be complete in number by getting for the user
The resource allocation of portion's number gives the user.At this point, terminal device can update user's based on the full amount got in number
Resource stores the resource value in account.For example, terminal device can calculate the user resource storage account in resource value with
The sum for getting the full amount in number of the user, as the new resource value in the resource storage account of the user.
In some embodiments, the number of getting for meeting preset condition may include:Not less than the neck that resource gets limit
Access volume.The number of getting for being unsatisfactory for preset condition may include:Number is got less than what resource got limit.Part number can
Limit is got to be less than resource.Wherein, it can be a pre-set numerical value that resource, which gets limit, can be user according to need
Pre-set numerical value is sought, can also be the numerical value of system default setting.
In some embodiments, resource get limit can include but is not limited to it is at least one of following:Default value, group's money
The number in source and the default product for getting limit.Wherein, default value can be no more than the random number of the number of group resource.In advance
If it can be the random number between 0 to 1 to get limit.
In some embodiments, belong to what the reception network equipment was issued in the affiliated group chat of the corresponding user of terminal device
Before group's resource of preset kind, terminal device can also send the posting request of group's resource to the network equipment.Here, belong to group
The resource in the type of group's resource, the total amount of group's resource, group's resource can be arranged in a user merely on resource publications page
Number and resource get limit.Then, which executes the publication operation of this group of resource, with trigger the terminal device of the user to
The network equipment sends the posting request of this group of resources.At this point, in posting request in addition to may include user setting this group of resources
Type, except total amount and resource number, the resource that can also include user setting get limit.
In some embodiments, based on the part number in getting number, the resource for updating user stores in account
Before resource value, the first resource that terminal device can also receive network equipment transmission gets notification message.Wherein, first resource
Getting can be with notification message for notifying the number of getting being generated for user to meet preset condition.
In some embodiments, based on the full amount in getting number, the resource for updating user stores in account
Before resource value, the Secondary resource that terminal device can also receive network equipment transmission gets notification message.Wherein, Secondary resource
Notification message is got to can be used for that the number of getting being generated for user is notified to be unsatisfactory for preset condition.
The method for getting resource that above-described embodiment of the application provides, terminal device can receive the network equipment and exist
That is issued in the affiliated group chat of the corresponding user of the terminal device belongs to group's resource of preset kind.Detecting the user to the group
In the case that operation is got in resource execution, terminal device can send the request got to this group of resources to the network equipment.
In the case where what is generated for the user gets number and meet preset condition, terminal device can be based on the part got in number
Number updates the resource value in the resource storage account of the user, at the same receive that the network equipment issues in the group chat based on
Get new group's resource that the remaining number in number generates.It provides a kind of new resource and gets mode, make the resource side of getting
Formula is more rich and varied.Also, the resource gets mode can repeatedly receive network equipment publication during resource is got
New group's resource.
With further reference to Fig. 6, it illustrates according to another embodiment of the method for getting resource of the application
Flow 600.The method for being used to get resource is applied to terminal device, includes the following steps:
Step 601, what the reception network equipment was issued in the affiliated group chat of the corresponding user of terminal device belongs to preset kind
Group's resource.
Step 602, if detecting, user gets operation to the execution of group's resource, is led to network equipment transmission to group's resource
The request taken.
Step 603, if the number of getting that the network equipment is generated for user meets preset condition, based on the portion got in number
Score volume updates the resource value in the resource storage account of user, and receive that the network equipment issues in group chat based on getting
New group's resource that remaining number in number generates.
In the present embodiment, the behaviour of the concrete operations of step 601-603 and step 501-503 in embodiment shown in fig. 6
Make essentially identical, details are not described herein.
Step 604, if detecting, user gets operation to new group's resource execution, sends to the network equipment and is provided to new group
The request that source is got.
In the present embodiment, terminal device can detect user and get operation to what new group's resource executed.It is detecting
In the case that the user gets operation to new group's resource execution, terminal device can be sent to the network equipment to new group's resource
The request got.
Here, after the network equipment issues new group's resource to the multiple users for belonging to group chat, belong to the multiple of group chat
New group's message related to resources can be shown on the chat sessions page shown on the screen of the terminal device of user.When belonging to group chat
User when clicking new group's message related to resources, i.e., the group resource new to this, which performs, gets operation.At this point it is possible to trigger
The terminal device of the user sends the request that the user group resource new to this is got to the network equipment.
Step 605, if the new number of getting that the network equipment is generated for user meets preset condition, number is got based on new
Part number in volume updates the resource value in the resource storage account of user, and receives the network equipment and sent out in group chat again
The new group's resource of cloth generated based on the new remaining number got in number.
In the present embodiment, receive belong to group chat user send the request that new group's resource is got it
Afterwards, the network equipment can be that the user generates and new gets number.It is preset for the new number satisfaction of getting that the user generates
In the case of condition, the network equipment can be by new part number (such as random number or the fixation got in number of the user
Number) resource allocation give the user.At this point, terminal device can be updated and used based on the new part number got in number
Resource value in the resource storage account at family.Meanwhile terminal device can also receive that the network equipment issues in group chat based on
New group's resource that the new remaining number got in number of the user generates.For example, terminal device can calculate the user
Resource storage account in resource value and the user the new part number got in number and, the money as the user
Source stores the new resource value in account.
Step 605 ', if the new number of getting being generated for user is unsatisfactory for preset condition, got in number based on new
Full amount, again update user resource storage account in resource value.
In the present embodiment, receive belong to group chat user send the request that new group's resource is got it
Afterwards, the network equipment can be that the user generates and new gets number.For the user generate it is new get number be unsatisfactory for it is pre-
If in the case of condition, the network equipment can give the new resource allocation for getting the full amount in number of the user to the use
Family.At this point, terminal device based on the new full amount got in number, can update user resource storage account in money
Source value.For example, terminal device, which can calculate the new of resource value and the user in the resource storage account of the user, gets number
The sum of full amount in volume, as the new resource value in the resource storage account of the user.
It should be noted that whenever the new group's resource for receiving network equipment transmission, the use for belonging to group chat per family can be again
This new group's resource is got in secondary request, so that terminal device executes step 604,605 or 605 ' again, until the network equipment is not
Until regenerating new group's resource.
From fig. 6 it can be seen that compared with the corresponding embodiments of Fig. 5, the method for getting resource in the present embodiment
Flow 600 increase the step of repeatedly being got to new group's resource.It as a result, can be in the scheme of the present embodiment description
Resource repeatedly receives new group's resource of network equipment publication during getting, and repeatedly carries out resource and get, to increase
Interest during resource is got.
Below with reference to Fig. 7, it illustrates suitable for for realizing that the network equipment of the embodiment of the present application is (such as shown in FIG. 1
The network equipment 103) or terminal device (such as terminal device 101 shown in FIG. 1) computer system 700 structural schematic diagram.
The network equipment or terminal device shown in Fig. 7 are only an example, should not be to the function and use scope of the embodiment of the present application
Bring any restrictions.
As shown in fig. 7, computer system 700 includes central processing unit (CPU) 701, it can be read-only according to being stored in
Program in memory (ROM) 702 or be loaded into the program in random access storage device (RAM) 703 from storage section 708 and
Execute various actions appropriate and processing.In RAM 703, also it is stored with system 700 and operates required various programs and data.
CPU 701, ROM 702 and RAM 703 are connected with each other by bus 704.Input/output (I/O) interface 705 is also connected to always
Line 704.
It is connected to I/O interfaces 705 with lower component:Importation 706 including keyboard, mouse etc.;It is penetrated including such as cathode
The output par, c 707 of spool (CRT), liquid crystal display (LCD) etc. and loud speaker etc.;Storage section 708 including hard disk etc.;
And the communications portion 709 of the network interface card including LAN card, modem etc..Communications portion 709 via such as because
The network of spy's net executes communication process.Driver 710 is also according to needing to be connected to I/O interfaces 705.Detachable media 711, such as
Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on driver 710, as needed in order to be read from thereon
Computer program be mounted into storage section 708 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium
On computer program, which includes the program code for method shown in execution flow chart.In such reality
It applies in example, which can be downloaded and installed by communications portion 709 from network, and/or from detachable media
711 are mounted.When the computer program is executed by central processing unit (CPU) 701, limited in execution the present processes
Above-mentioned function.It should be noted that computer-readable medium described herein can be computer-readable signal media or
Computer-readable medium either the two arbitrarily combines.Computer-readable medium for example can be --- but it is unlimited
In --- electricity, system, device or the device of magnetic, optical, electromagnetic, infrared ray or semiconductor, or the arbitrary above combination.It calculates
The more specific example of machine readable medium can include but is not limited to:Being electrically connected with one or more conducting wires, portable meter
Calculation machine disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable programmable read only memory
(EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device or
The above-mentioned any appropriate combination of person.In this application, can be any include computer-readable medium or storage program has
Shape medium, the program can be commanded the either device use or in connection of execution system, device.And in the application
In, computer-readable signal media may include in a base band or as the data-signal that a carrier wave part is propagated, wherein
Carry computer-readable program code.Diversified forms may be used in the data-signal of this propagation, including but not limited to electric
Magnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable Jie
Any computer-readable medium other than matter, the computer-readable medium can be sent, propagated or transmitted for being held by instruction
Row system, device either device use or program in connection.The program code for including on computer-readable medium
It can transmit with any suitable medium, including but not limited to:Wirelessly, electric wire, optical cable, RF etc. or above-mentioned arbitrary conjunction
Suitable combination.
The calculating of the operation for executing the application can be write with one or more programming languages or combinations thereof
Machine program code, described program design language include object-oriented programming language-such as Java, Smalltalk, C+
+, further include conventional procedural programming language-such as " C " language or similar programming language.Program code can
Fully to execute on the user computer, partly execute, executed as an independent software package on the user computer,
Part executes or executes on a remote computer or server completely on the remote computer on the user computer for part.
In situations involving remote computers, remote computer can pass through the network of any kind --- including LAN (LAN)
Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service
Provider is connected by internet).
Flow chart in attached drawing and block diagram, it is illustrated that according to the system of the various embodiments of the application, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part for a part for one module, program segment, or code of table, the module, program segment, or code includes one or more uses
The executable instruction of the logic function as defined in realization.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually
It can be basically executed in parallel, they can also be executed in the opposite order sometimes, this is depended on the functions involved.Also it to note
Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding
The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction
Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard
The mode of part is realized.Described unit can also be arranged in the processor, for example, can be described as:A kind of processor packet
Include release unit, receiving unit and distribution and generation unit.Wherein, the title of these units under certain conditions constitute pair
The restriction of the unit itself, for example, release unit is also described as " issuing to the multiple users for belonging to group chat and belonging to default
The unit of group's resource of type ".In another example can also be described as:A kind of processor includes receiving unit, transmission unit and update
And generation unit.Wherein, the title of these units does not constitute the restriction to the unit itself under certain conditions, for example, connecing
Receive unit be also described as " receive the network equipment issued in the affiliated group chat of the corresponding user of terminal device belong to default
The unit of group's resource of type ".
As on the other hand, present invention also provides a kind of computer-readable medium, which can be
Included in the network equipment or terminal device described in above-described embodiment;Can also be individualism, and should without supplying
In the network equipment or terminal device.Above computer readable medium carries one or more program, when said one or
When multiple programs are executed by the network equipment or terminal device so that the network equipment:It is issued to the multiple users for belonging to group chat
Belong to group's resource of preset kind;It receives and belongs to the request got to group's resource that at least one user of group chat sends,
And generated for each user at least one user and get number, wherein the summation etc. for getting number of at least one user
In the number of group's resource;If number is got in the presence of meet preset condition, based on the portion got in number for meeting preset condition
Score volume, the corresponding user of number that gets to meet preset condition distribute resource, and get number based on meet preset condition
Remaining number in volume generates new group's resource concurrence and gives the multiple users for belonging to group chat.Or make the terminal device:It connects
Receive the group's resource for belonging to preset kind that the network equipment is issued in the affiliated group chat of the corresponding user of terminal device;If detecting use
Operation is got in family to the execution of group's resource, and the request got to group's resource is sent to the network equipment;If the network equipment is user
The number of getting generated meets preset condition, based on the part number got in number, in the resource storage account for updating user
Resource value, and receive the new group's money generated based on the remaining number got in number that the network equipment issues in group chat
Source.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.People in the art
Member should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature
Other technical solutions of arbitrary combination and formation.Such as features described above has similar work(with (but not limited to) disclosed herein
Can technical characteristic replaced mutually and the technical solution that is formed.
Claims (19)
1. a kind of method for distributing resource is applied to the network equipment, including:
The group's resource for belonging to preset kind is issued to the multiple users for belonging to group chat;
It receives and belongs to the request got to group's resource that at least one user of the group chat sends, and be at least one
Each user in a user, which generates, gets number, wherein the summation for getting number of at least one user is provided equal to the group
The number in source;
If getting number in the presence of meet preset condition, based on the part number got in number for meeting preset condition,
Distribute resource for the corresponding user of number that gets for meeting preset condition, and based on it is described meet preset condition get number
Remaining number in volume generates new group's resource concurrence and gives the multiple users for belonging to the group chat.
2. according to the method described in claim 1, wherein, the method further includes:
If number is got in the presence of be unsatisfactory for preset condition, based on the whole numbers got in number for being unsatisfactory for preset condition
Volume distributes resource for the corresponding user of number that gets for being unsatisfactory for preset condition.
3. according to the method described in claim 2, wherein, the number of getting for meeting preset condition includes:Not less than resource
That gets limit gets number;The number of getting for being unsatisfactory for preset condition includes:Less than the neck that the resource gets limit
Access volume.
4. according to the method described in claim 3, wherein, it includes at least one of following that the resource, which gets limit,:Default value,
The number of group's resource and the default product for getting limit.
5. according to the method described in claim 4, wherein, belonging to preset kind in described issued to the multiple users for belonging to group chat
Group's resource before, further include:
Receive the posting request for belonging to group's resource that the user of the group chat sends, wherein the posting request includes
At least one of below:The default value, described preset get limit.
6. according to the method described in claim 1, wherein, it is described based on it is described meet preset condition get number in portion
Score volume is that the corresponding user of number that gets for meeting preset condition distributes before resource, further includes:
Notification message is got to the corresponding user's transmission first resource of number of getting for meeting preset condition, wherein described
First resource get notification message for notify for it is described meet preset condition get getting for number corresponding user generation
Number meets the preset condition.
7. according to the method described in claim 2, wherein, it is described based on it is described be unsatisfactory for preset condition get number
Full amount, the corresponding user of number that gets that preset condition is unsatisfactory for for described in distribute before resource, further include:
Notification message is got to the corresponding user's transmission Secondary resource of number of getting for being unsatisfactory for preset condition, wherein institute
It states Secondary resource and gets notification message for notifying to be that the corresponding user of number that gets for being unsatisfactory for preset condition generates
It gets number and is unsatisfactory for the preset condition.
8. according to the method described in one of claim 1-7, wherein new group's resource belongs to the preset kind;And
After the new group's resource concurrence of the generation gives the multiple users for belonging to the group chat, further include:
It receives and belongs to the request got to new group's resource that at least one user of the group chat sends, and for extremely
Each user in a few user, which generates, new gets number, wherein the new summation for getting number of at least one user
Equal to the number of new group's resource;
If number is got in the presence of the new of preset condition is met, based on the new portion got in number for meeting preset condition
Score volume distributes resource for the new corresponding user of number that gets for meeting preset condition, and default based on the satisfaction
The new remaining number got in number of condition, generates new group's resource concurrence and gives the multiple use for belonging to the group chat again
Family;
If getting number in the presence of the new of preset condition is unsatisfactory for, it is unsatisfactory for the new of preset condition based on described and gets in number
Full amount, distribute resource for the new corresponding user of number that gets for being unsatisfactory for preset condition.
9. a kind of method for getting resource is applied to terminal device, including:
Receive the group's resource for belonging to preset kind that the network equipment is issued in the affiliated group chat of the corresponding user of terminal device;
If detect the user to group's resource execution get operation, to the network equipment transmission to group's resource into
The request that row is got;
If the network equipment, which is the number of getting that the user generates, meets preset condition, based on the portion got in number
Score volume updates the resource value in the resource storage account of the user, and receives the network equipment and sent out in the group chat
The new group's resource of cloth generated based on the remaining number got in number.
10. according to the method described in claim 9, wherein, the method further includes:
The number of getting generated if the user is unsatisfactory for preset condition, based on the full amount got in number, more
Resource value in the resource storage account of the new user.
11. according to the method described in claim 10, wherein, the number of getting for meeting preset condition includes:Not less than money
What limit was got in source gets number;The number of getting for being unsatisfactory for preset condition includes:Limit is got less than the resource
Get number.
12. according to the method for claim 11, wherein it includes at least one of following that the resource, which gets limit,:Present count
Value, number and the default product for getting limit of group's resource.
13. according to the method for claim 12, wherein in the reception network equipment in the corresponding user institute of terminal device
That is issued in category group chat belongs to before group's resource of preset kind, further includes:
The posting request of group's resource is sent to the network equipment, wherein the posting request includes following at least one
?:The default value, described preset get limit.
14. according to the method described in claim 9, wherein, it is described based on it is described get number in part number, update institute
Before stating the resource value in the resource storage account of user, further include:
It receives the first resource that the network equipment is sent and gets notification message, wherein the first resource gets notification message
For notifying the number of getting generated for the user to meet the preset condition.
15. according to the method described in claim 10, wherein, it is described based on it is described get number in full amount, update
Before resource value in the resource storage account of the user, further include:
It receives the Secondary resource that the network equipment is sent and gets notification message, wherein the Secondary resource gets notification message
For notifying the number of getting generated for the user to be unsatisfactory for the preset condition.
16. according to the method described in one of claim 9-15, wherein new group's resource belongs to the preset kind;With
And
It is described receive that the network equipment issues in the group chat generated based on the remaining number got in number
New group's resource after, further include:
If detecting, the user gets operation to new group's resource execution, to the network equipment send to it is described newly
The request that group's resource is got;
Meet the preset condition if the new number of getting that the user generates, based on the new portion got in number
Score volume updates the resource value in the resource storage account of the user, and receives the network equipment in the group chat again
The new group's resource of middle publication generated based on the new remaining number got in number;
It is unsatisfactory for the preset condition if the new number of getting that the user generates, is got in number based on described new
Full amount updates the resource value in the resource storage account of the user again.
17. a kind of network equipment, including:
One or more processors;
Storage device stores one or more programs thereon;
When one or more of programs are executed by one or more of processors so that one or more of processors are real
Now such as method according to any one of claims 1-8.
18. a kind of terminal device, including:
One or more processors;
Storage device stores one or more programs thereon;
When one or more of programs are executed by one or more of processors so that one or more of processors are real
The now method as described in any in claim 9-16.
19. a kind of computer readable storage medium, is stored thereon with computer program, the computer program is executed by processor
The method of Shi Shixian such as method according to any one of claims 1-8 or realization as described in any in claim 9-16.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810569769.3A CN108805438A (en) | 2018-06-05 | 2018-06-05 | Method and apparatus for distributing resource, getting resource |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810569769.3A CN108805438A (en) | 2018-06-05 | 2018-06-05 | Method and apparatus for distributing resource, getting resource |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108805438A true CN108805438A (en) | 2018-11-13 |
Family
ID=64088633
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810569769.3A Pending CN108805438A (en) | 2018-06-05 | 2018-06-05 | Method and apparatus for distributing resource, getting resource |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108805438A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109949023A (en) * | 2019-03-20 | 2019-06-28 | 上海掌门科技有限公司 | One population resource allocation methods and equipment |
CN110061907A (en) * | 2019-04-28 | 2019-07-26 | 上海掌门科技有限公司 | Method and apparatus for getting resource, distributing resource |
CN112016789A (en) * | 2020-07-15 | 2020-12-01 | 北京淇瑀信息科技有限公司 | Internet financial service processing method and device and electronic equipment |
CN112866084A (en) * | 2020-12-31 | 2021-05-28 | 上海掌门科技有限公司 | Virtual resource processing method, equipment and computer readable medium for chat group |
CN113300937A (en) * | 2021-03-10 | 2021-08-24 | 阿里巴巴新加坡控股有限公司 | Resource allocation method, display method, device, system and equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104851041A (en) * | 2015-05-11 | 2015-08-19 | 浙江翼信科技有限公司 | Processing method of electronic resource and system thereof |
CN106251124A (en) * | 2016-07-18 | 2016-12-21 | 浙江翼信科技有限公司 | A kind of e-sourcing distribution method and equipment |
EP3144862A1 (en) * | 2015-09-18 | 2017-03-22 | Omron Corporation | Activity control system and activity control method |
CN107302488A (en) * | 2016-04-14 | 2017-10-27 | 阿里巴巴集团控股有限公司 | Distribution method, system and the server of virtual objects |
-
2018
- 2018-06-05 CN CN201810569769.3A patent/CN108805438A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104851041A (en) * | 2015-05-11 | 2015-08-19 | 浙江翼信科技有限公司 | Processing method of electronic resource and system thereof |
EP3144862A1 (en) * | 2015-09-18 | 2017-03-22 | Omron Corporation | Activity control system and activity control method |
CN107302488A (en) * | 2016-04-14 | 2017-10-27 | 阿里巴巴集团控股有限公司 | Distribution method, system and the server of virtual objects |
CN106251124A (en) * | 2016-07-18 | 2016-12-21 | 浙江翼信科技有限公司 | A kind of e-sourcing distribution method and equipment |
Non-Patent Citations (1)
Title |
---|
晓投资: ""手气最佳,必须接着发红包,这是规矩"", 《新浪博客BLOG.SINA.COM.CN/S/BLOG_151ED22540102W926.HTML》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109949023A (en) * | 2019-03-20 | 2019-06-28 | 上海掌门科技有限公司 | One population resource allocation methods and equipment |
CN110061907A (en) * | 2019-04-28 | 2019-07-26 | 上海掌门科技有限公司 | Method and apparatus for getting resource, distributing resource |
CN110061907B (en) * | 2019-04-28 | 2022-03-11 | 上海掌门科技有限公司 | Method and equipment for drawing resources and distributing resources |
CN112016789A (en) * | 2020-07-15 | 2020-12-01 | 北京淇瑀信息科技有限公司 | Internet financial service processing method and device and electronic equipment |
CN112016789B (en) * | 2020-07-15 | 2024-01-16 | 北京淇瑀信息科技有限公司 | Internet financial service processing method and device and electronic equipment |
CN112866084A (en) * | 2020-12-31 | 2021-05-28 | 上海掌门科技有限公司 | Virtual resource processing method, equipment and computer readable medium for chat group |
CN113300937A (en) * | 2021-03-10 | 2021-08-24 | 阿里巴巴新加坡控股有限公司 | Resource allocation method, display method, device, system and equipment |
CN113300937B (en) * | 2021-03-10 | 2023-08-29 | 淘宝(中国)软件有限公司 | Resource allocation method, display method, device, system and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108805438A (en) | Method and apparatus for distributing resource, getting resource | |
CN110310034A (en) | A kind of service orchestration applied to SaaS, business flow processing method and apparatus | |
CN109995877A (en) | Information-pushing method and device | |
CN110624246B (en) | Virtual resource acquisition method and device, storage medium and electronic equipment | |
CN108924036A (en) | Method and apparatus for distributing resource, getting resource | |
CN109246741A (en) | Wireless network connecting method for terminal | |
CN109951305A (en) | Virtual group creation method, equipment and computer-readable medium | |
CN110209315A (en) | The display methods of character, device, electronic equipment and storage medium in user interface | |
CN110223088A (en) | A kind of method and device that method, the information of information distribution generate | |
CN110070394A (en) | Data processing method, system, medium and calculating equipment | |
CN108764866A (en) | Method and apparatus for distributing resource, getting resource | |
CN107403342A (en) | A kind of method, terminal device, server and storage medium for providing resource | |
CN108600329A (en) | For pushed information, the method and apparatus for showing information | |
CN110163001A (en) | Information display method and device based on customer relationship | |
CN109034757A (en) | Method and apparatus for distributing resource, getting resource, issue resource | |
CN108768823A (en) | Method and apparatus for handling message, showing message | |
CN110058902A (en) | Information processing method, electronic equipment and computer-readable medium | |
CN108763881A (en) | Method and apparatus for controlling user right | |
CN107920019A (en) | Pay close attention to method and device, computer equipment and the storage medium of good friend | |
CN108345508A (en) | Interface calls test method and device | |
CN115022106B (en) | Group information processing method, device, equipment and medium | |
CN110061907A (en) | Method and apparatus for getting resource, distributing resource | |
CN115547515A (en) | Doctor-patient session management method, device and system | |
CN109714357A (en) | Method and apparatus for distributing resource | |
CN109614603A (en) | Method and apparatus for generating information |
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 |