CN106961465A - A kind of resource sending method and server - Google Patents

A kind of resource sending method and server Download PDF

Info

Publication number
CN106961465A
CN106961465A CN201610133800.XA CN201610133800A CN106961465A CN 106961465 A CN106961465 A CN 106961465A CN 201610133800 A CN201610133800 A CN 201610133800A CN 106961465 A CN106961465 A CN 106961465A
Authority
CN
China
Prior art keywords
resource
bag
issued
scheduled time
resource bag
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
Application number
CN201610133800.XA
Other languages
Chinese (zh)
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.)
Shenzhen Star Electronic-Commerce Technology Co Ltd
Original Assignee
Shenzhen Star Electronic-Commerce Technology 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 Shenzhen Star Electronic-Commerce Technology Co Ltd filed Critical Shenzhen Star Electronic-Commerce Technology Co Ltd
Publication of CN106961465A publication Critical patent/CN106961465A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • H04L67/1078Resource delivery mechanisms

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of resource sending method and server.Resource sending method includes:Server prepares the multiple resource bags for needing to send, each resource bag carries initial resource quantity, server is according to the request down distributing resource bag of resources requesting party, and count the number that resource coating is issued in the scheduled time, when the number that resource coating is issued in the scheduled time is more than predetermined value, reduce the initial resource quantity that each resource bag is carried in the resource bag not issued, otherwise, increase the initial resource quantity that each resource bag is carried in the resource bag not issued, the resource bag after adjustment is then issued to the resources requesting party of request resource bag after the scheduled time.Through the above way, the present invention can adjust the resource quantity that each resource bag is carried according to resource acceptance rate, and resource interaction is more flexible.

Description

A kind of resource sending method and server
Technical field
The present invention relates to Internet resources interaction technique field, more particularly to a kind of resource sender Method and server.
Background technology
In a kind of existing resource interaction method, as resource sender and multiple resource recipients progress Resource is interacted, by resource sender's original definition resource bag number and each resource bag carry just Beginning resource quantity, the initial resource quantity for being then based on resource sender setting sends out each resource bag Give resources requesting party.Such resource interactive form, the resource quantity that each resource is carried is fixed It is constant so that resource interacts underaction.
In addition, for resources requesting party, the resource quantity of each resource bag is directly connected to money The enthusiasm of source requestor requests resource, such as the situation more than the resource quantity of each resource bag, can More user's request resources can be had.Thus, resource sender is in order to balance transmitted resource Quantity and the requested degree of resource bag, it needs to adjust each according to the requested degree of resource bag The resource quantity of resource bag, and delayed serious feelings occur in adjustment manually unavoidably Condition, and also reduce the response efficiency of server.
The content of the invention
It is automatic the present invention solves the technical problem of how based on resource to be coated with situation about issuing The resource quantity that each resource bag is carried is adjusted, so that resource interaction is more flexible and changeable, together When meet the demand of resource sender and resources requesting party.
In order to solve the above technical problems, one aspect of the present invention is:
A kind of resource sending method is provided, methods described includes:Server prepares to need many of transmission Individual resource bag, each resource bag carries initial resource quantity;Issued according to the request of resources requesting party The resource bag;The number that the resource coating is issued in the statistics scheduled time, judges described predetermined Whether the number that the resource coating is issued in the time is more than predetermined value;When institute in the scheduled time State resource and be coated with the number issued more than the predetermined value, reduce each in the resource bag not issued The initial resource quantity that resource bag is carried, otherwise, increases each resource in the resource bag not issued Wrap the initial resource quantity carried;Under the resources requesting party that resource bag is asked after to the scheduled time Resource bag after hair adjustment.
In order to solve the above technical problems, another technical solution used in the present invention is:
A kind of resource is provided and sends server, the resource send server include preparation module, under Module, statistical module, judge module and processing module are sent out, wherein:The preparation module is used for Prepare the multiple resource bags for needing to send, each resource bag carries initial resource quantity;It is described to issue Module is used to issue the resource bag according to the request of resources requesting party;The statistical module is used to unite The number that the resource coating is issued in the meter scheduled time;The judge module is used to judge the money Whether the number that source coating is issued is more than predetermined value;The processing module was used in the scheduled time When the number that the interior resource coating is issued is more than the predetermined value, the resource bag not issued is reduced In the initial resource quantity that carries of each resource bag, otherwise, increase every in the resource bag not issued The initial resource quantity that individual resource bag is carried;The module that issues was additionally operable to after the scheduled time The resources requesting party of request resource bag issues the resource bag after adjustment.
The situation of prior art is different from, the present invention prepares the multiple moneys for needing to send by server Source is wrapped, and each resource bag carries initial resource quantity, under request of the server according to resources requesting party Resource bag is sent out, and counts the number that resource coating is issued in the scheduled time, when resource in the scheduled time When being coated with the number issued more than predetermined value, reduce each resource bag in the resource bag not issued and take The initial resource quantity of band, otherwise, increases what each resource bag in the resource bag not issued was carried Initial resource quantity, is then issued after adjustment to the resources requesting party of request resource bag after the scheduled time Resource bag.By such mode, of the invention has the advantages that:
The situation that server can be coated with the number issued according to resource in the given time is adjusted automatically The initial resource quantity that whole each resource bag is carried, thus without reception resource sender to resource The adjust request of the resource quantity carried is wrapped, so as to improve the response efficiency of server.
The situation that server can be coated with the number issued according to resource in the given time is adjusted automatically The initial resource quantity that whole each resource bag is carried, so as to the resource transmitted by more excellent balance The quantity of bag and request degree of the resources requesting party to resource.
Server can each be provided based on the number adjust automatically that resource coating is issued in the scheduled time The resource quantity that source bag is carried, so that resource interaction is more flexible and changeable, while meeting resource Sender and the demand of resources requesting party.
Brief description of the drawings
Fig. 1 is the network architecture schematic diagram of resource sending method provided in an embodiment of the present invention;
Fig. 2 is the flow chart of resource sending method provided in an embodiment of the present invention;
Fig. 3 is the flow signal of resource sending method in the electronics red packet that one embodiment of the invention is provided Figure;
Fig. 4 is the structural representation for the electronics red packet broadcasting system that one embodiment of the invention is provided;
Fig. 5 is the structural representation of resource sending method in the electronics red packet that one embodiment of the invention is provided Figure;
Fig. 6 is the schematic flow sheet of the embodiment of Resources Spread one in electronics red packet in the prior art;
Fig. 7 is the structural representation of the embodiment of prior art electronics red packet broadcasting system one;
Fig. 8 is the structural representation that a kind of resource provided in an embodiment of the present invention sends server
Fig. 9 is the structural representation of preparation module in server provided in an embodiment of the present invention;
Figure 10 is the structural representation that another resource provided in an embodiment of the present invention sends server.
Embodiment
In order to be better understood from the resource sending method and server of the present invention, below first to the present invention The applicable network architecture of embodiment is simply introduced, referring to Fig. 1, Fig. 1 is implementation of the present invention The network architecture schematic diagram for the resource sending method that example is provided.
As shown in figure 1, the network architecture of the resource sending method of the embodiment of the present invention includes server 100 and terminal device 200, terminal device can include it is multiple, such as first terminal equipment 210, Second terminal equipment 220, the terminal device 240 of third terminal equipment 230 and the 4th etc. (this Embodiment only schematically illustrates 4 terminal devices).In multiple terminal devices, part is eventually End equipment sends method, apparatus there is provided resource to be sent to server, section terminating equipment as resource As resource request method, apparatus, the resource sent to server request resource sender.
Server 100 can be information resources service device, and terminal device 200 can be mobile terminal, The mobile electronic device such as mobile phone, panel computer, notebook computer, personal digital assistant, It can be desktop computer etc..Can be between server 100 and terminal device 200 by network or Other wirelessly or non-wirelessly mode realize communication connection.Such as can be to be carried out by mobile Internet etc. Communication connection.
When carrying out resource transmission based on the network architecture that above resource is sent, resource sender passes through it The terminal device at place sends resource transmission instruction to server and provides specific resource to be sent, Resource of the server based on resource sender sends instruction and generation pair is allocated to resource to be sent The resource bag answered, then issues resource bag according to the request of resources requesting party.
But in existing resource sending method, it is initial that server can only be set based on resource sender Each resource bag is sent to resources requesting party, resource interactive mode underaction by resource quantity.
Not enough more than based on prior art, the embodiment of the present invention provides a kind of resource sending method, Server can each be waited to issue based on the number adjust automatically that resource coating is issued in the scheduled time Resource quantity entrained by resource bag, so that resource interaction is more flexible and changeable, while in money The both sides of source sender and resources requesting party obtain balance on needing.
Based on the network architecture shown in Fig. 1, the embodiment of the invention discloses a kind of resource sending method, Referring to Fig. 2, Fig. 2 is a kind of flow chart of resource sending method provided in an embodiment of the present invention, The present embodiment is described with the angle of server.As illustrated, the present embodiment resource sender Method comprises the following steps:
S101:Server prepares the multiple resource bags for needing to send, and each resource bag carries initial money Source quantity.
When implementing, server generates instruction by receiving the resource bag of resource sender, wherein, The generation instruction of resource bag includes the total resources number of resource bag and the number of resource bag.Server according to The resource bag generation instruction of resource sender, by number of the total resources number of resource bag according to resource bag It is allocated, the multiple resource bags sent the need for generation correspondence.Such as resource sender needs hair 100 resource bags are sent, total resources number is 10000.So server is by total resources number 10000 It is assigned to resource bag of the correspondence generation with transmission in 100 resource bags.Wherein, server can be by Total resources are assigned randomly in 100 resource bags, and total resources can also be evenly distributed to 100 In resource bag.Total resources are evenly distributed to often by server in the way of mean allocation in the present embodiment In individual resource bag.
Or resource bag generation instruction include resource bag total resources number and each resource bag at the beginning of Beginning resource quantity, that is to say, that resource sender is presetting the initial of each resource bag carrying Resource quantity and the total resources number for sending resource bag, server are set according to resource sender's It is fixed to distribute total resources number to generate the multiple resource bags for needing to send.
Wherein, as a kind of concrete implementation mode, the resource bag in the embodiment of the present invention can be Electronics red packet, resource specifically refer to electronic certificate in electronics red packet, electronic ticket, electronic money, One of which or a variety of combinations in fund, resource link.Specifically, electronic certificate can To be thing letter card or silver letter card, electronic ticket can be electronic coupons, coupons etc., resource link For obtaining its corresponding resource.
Further, silver letter card refer to bank required number fund is freezed according to the application of opener and Open, and promise to undertake the electronic certificate that payment and settlement is handled according to agreement solution pair condition.In bank, version is red Make a block booking in scape, opener is the enterprise for applying for providing red packet to bank.After red packet has been got, use Family inputs the bank account information of oneself in receiving for silver letter card at witness, card, silver are received to bank's application Fund is transferred to receipts card account by row i.e. within the time of agreement.Thing letter card is a kind of subject matter information note Voucher is recorded, is record and a kind of standardization of propagation commodity (service) information, generalization network electricity Sub- document.The indispensable various functions of ecommerce are integrated with thing letter card, it is once clicked triggering Purchase then starts supplier's delivery, logistics distribution, bank's bank settlement by preset program and trading rules Etc. flow.Thing letter card can be achieved the distribution of the whole network domain, circulation and merchandise.Thing letter card at least includes having The goods attribute of title and the amount of money and the receipts settlement information with least one account.Thing letter card by Product vendor provides, and collecting account is product vendor's account.Resource inside red packet is thing Then can be that have favourable price or price that businessman provides are zero (i.e. free of cost) during letter card Commodity thing letter card, user can believe that the purchase function of card completes to be somebody's turn to do with relatively low price by thing The purchase of commodity.
Wherein, when resource bag is electronics red packet, step S101 can be specifically:Server is accurate Red packet initial capital amount is carried in the standby multiple electronics red packets for needing to send, each red packet.Here Fund amount can be appended content in above-mentioned electronics red packet quantity, or cash amount, Fund amount representated by reward voucher or coupons.
S102:According to the request down distributing resource bag of resources requesting party.
Server receives the request of resources requesting party, according to the request of resources requesting party by under resource bag It is dealt into resources requesting party.Wherein, server can down distributing resource bag in the form of a link, can also The form down distributing resource bag of multimedia file (such as video file, audio file, picture etc.). When resource bag in the form of multimedia file when to issue, resource bag can also include on front cover, front cover Interactive interface is provided with, resources requesting party obtains the resource that resource bag is included by interactive interface.
S103:The number that resource coating is issued in the statistics scheduled time, judges resource in the scheduled time It is coated with whether the number issued is more than predetermined value.
The server statistics number that resource coating is issued in the given time.Here the scheduled time is clothes It is engaged in the device default time, such as can is half an hour, 1 hour, 3 hours etc..It is of the invention real The number that resource coating is issued in the scheduled time in example is applied, can specifically refer to resource in the scheduled time (or perhaps number of times, i.e., it is one not get a resource bag to the number that coating resources requesting party gets It is secondary to get).In this case, the number that resource coating is issued in the scheduled time of server statistics, The actual resource number got by resources requesting party is only counted as under resource coating in the scheduled time The number of hair.
Realized as another, the number that resource coating is issued in the scheduled time may also mean that predetermined Resource coating resources requesting party's number got and the number of times that is forwarded by resources requesting party in time Summation.In this case, server counts actual got by resources requesting party of resource bag simultaneously Number and the number of times forwarded by resources requesting party, are coated with using both summations as resource in the scheduled time The number issued.
As preferred implementation, that resource coating is issued in the embodiment of the present invention scheduled time Number is coated with the total of resources requesting party's number got and the number of times that is forwarded by resources requesting party for resource With.
Judge whether the number that resource coating is issued in the scheduled time is more than predetermined value.Work as the scheduled time When the number that interior resource coating is issued is more than predetermined value, S105 is performed, otherwise, S106 is performed.
Here predetermined value, is the default reference for being used to weigh resource bag pouplarity of server Value.During implementing, the setting of preset value can the resource based on resource sender transmission Bag quantity and the above-mentioned scheduled time are used as reference settings.The resource that such as resource sender sends Bag quantity is 1000, and the scheduled time is half an hour, can set predetermined value as 100 or 200 etc.. Certainly, in specific setting up procedure, it can also set above-mentioned predetermined based on the situation that issues of resource bag Value.Such as resource bag has issued 10 in 10 minutes, and that can set predetermined value as 30 Or 40 etc..The embodiment of the present invention is not limited for the specific limiting mode of predetermined value.
Using resource bag as electronics red packet as an example, step S102 can be specifically:Server is united The electronics red packet number got and the number of times being forwarded in the scheduled time are counted, judges that red packet is led Whether the number in domain and the number of times being forwarded exceed predetermined value.
S104:Reduce the initial resource quantity that each resource bag is carried in the resource bag not issued.
When the number that resource coating is issued in the scheduled time is more than predetermined value, server reduces remaining The initial resource quantity that each resource bag is carried in the resource bag (resource bag i.e. pending) not issued. The reduction of the embodiment of the present invention refers on the basis of the initial resource quantity, by initial resource number Amount is adjusted in a quantity less than initial resource quantity.Specific adjustment number, can be with The number that resource coating is issued in the scheduled time is used as reference beyond the degree of predetermined value.It is such as pre- The number that interior resource coating of fixing time is issued exceeds more than one times of predetermined value, then being adapted to property The initial resource quantity of each resource bag is adjusted to the half or more of original initial resource quantity It is few.
By electronics red packet of resource bag as concrete example, such as enterprise in order to carry out business promotion, Electronics red packet is sent to user.The initial amount of money of each red packet is 10 yuan, the half an hour scheduled time Interior predetermined value is 1000 red packets, and red packet provides half an hour, counts on red packet and got and forwarded Total quantity be 2000.Illustrate that the red packet is very popular.Reflected based on such red packet and imitated Really, the amount of money by each red packet of being adapted to property is adjusted to 5 yuan or 8 yuan, more to cause User can get red packet, and enterprise also reached with limited fund input and preferably promote On the one hand effect, so as to obtain the optimum balance between cost and business promotion effect, i.e., control Zhi Liao enterprises send the cost of electronics red packet, on the other hand ensure to reach preferably business as far as possible again Industry promotion effect.
S105:Increase the initial resource quantity that each resource bag is carried in the resource bag not issued.
When the number that resource coating is issued in the scheduled time is less than predetermined value, server increase is remaining The initial resource quantity that each resource bag is carried in the resource bag (resource bag i.e. pending) not issued. The increase of the embodiment of the present invention refers on the basis of the initial resource quantity, by initial resource number Amount is adjusted in a quantity more more than initial resource.Specific adjustment number, can be with The number and the difference degree of predetermined value that resource coating is issued in the scheduled time are used as reference.Such as The number that resource coating is issued in the scheduled time is less than predetermined value half or less, then Ke Yishi The initial resource quantity by each resource bag of answering property is adjusted to twice of original initial resource quantity Or it is more.
By electronics red packet of resource bag as concrete example, such as enterprise in order to carry out business promotion, Electronics red packet is sent to user.The initial amount of money of each red packet is in 3 yuan, the half an hour scheduled time Predetermined value is 1000 red packets, and red packet provides half an hour, counts on what red packet was got and forwarded Total quantity is 300.Illustrate that the red packet does not have enough attractions.Based on the reflection of such red packet Effect, the amount of money by each red packet of being adapted to property is adjusted to 5 yuan or 8 yuan more either 10 Member, to increase the attraction of red packet so that more users can get red packet, and enterprise Also preferably promotion effect has been reached with limited fund input, has reached input cost and promote effect The balance of fruit.
S106:The resources requesting party of resource bag is asked to issue the resource after adjustment after to the scheduled time Bag.
After the initial resource quantity that each resource bag is carried is adjusted, to the scheduled time after ask resource The resources requesting party of bag issues the resource bag after adjustment.Be then back to continue executing with above-mentioned S102 and The step of after it.
That is, the resource sending method of the present invention, each scheduled time can once be united Meter, then adjusts the resource quantity that each resource bag is carried, so as to realize each according to statistics The resource quantity that resource bag is carried is coated with the situation dynamic change issued based on resource, so as to realize money The transmission of source bag can flexibly change, while meeting the both sides of resource sender and resources requesting party Demand.
As a preferred implementation of the invention, the method for the present invention also includes:When pre- timing When the number that interior resource coating is issued is more than predetermined value, server shortens the scheduled time, with Otherwise the scheduled time after shortening, extends the scheduled time as the time counted next time, The time counted next time is used as using the scheduled time after extension.
That is, in the resource sending method of the embodiment of the present invention, while based on the first pre- timing In resource coating issue situation adjustment the scheduled time, using second scheduled time after adjustment as The time counted next time.As a kind of concrete implementation, specific adjustment amplitude size can be with base Exceed in resource bag in the scheduled time or be used as reference with the difference degree of predetermined value.
Still illustrated so that resource bag is electronics red packet as an example, such as the scheduled time initially set For 1 hour, predetermined value was 1000, and resource coating is counted within 1 hour after resource bag if starting to send The number issued be 10000, at this moment can be suitably will be adjusted to the scheduled time 10 minutes, 20 Minute or half an hour etc., resource coating counted within 1 hour after resource bag issue if starting to send Number be 100, at this moment can be suitably will be adjusted to the scheduled time 2 hours, 4 hours or Person 6 hours etc..Certainly, this be can be as needed to pre- in a kind of citing, practical application Fix time and be adjusted, so that total Data-Statistics are effective and accuracy is higher, the adjustment of resource bag It is more reasonable.
It should be noted that the adjustment of the scheduled time can be based on counting obtained resource bag every time Situation about being issued is adjusted, therefore, and resource is sent in whole process in the embodiment of the present invention, The scheduled time for being counted changes constantly, such as first scheduled time is 1 hour, Second scheduled time was half an hour, and the 3rd scheduled time was 10 minutes etc..
Wherein, in another embodiment of the present invention, server prepares in above-mentioned steps S101 When needing the multiple resource bags sent, it can be accomplished by the following way:Silver where resource sender Row end server 1 is generated according to the resource bag of resource sender and instructed, by resource sender correspondence account The corresponding resource that indoor request is sent is freezed, and generates instruction according to resource bag, by resource The total resources number of report is allocated according to the number of resource bag, and what is sent the need for generation correspondence is multiple Resource bag.
After multiple resource bags are generated with upper type, above-mentioned steps S102-S106 is performed, when issuing Resource coating resources requesting party receive, and the resource bag of reception is got in resources requesting party's request When, it can be accomplished by the following way:Bank's end server 2 receives resource where resources requesting party Requesting party's gets request, and resource sender place bank end server 1, resource sender institute The resource freezed is thawed according to request in bank's end server 1, and by resource sender's account The resource for the respective amount got is asked with resources requesting party to transfer resources requesting party institute in number In the account of the corresponding resources requesting party of bank's end server 2.
So that user 1 sends electronics red packet as an example, Fig. 3 to Fig. 5 is please referred to, Fig. 3 is this hair The schematic flow sheet of resource sending method in the electronics red packet that a bright embodiment is provided;Fig. 4 is this hair The structural representation for the electronics red packet broadcasting system that a bright embodiment is provided;Fig. 5 is that the present invention one is real The structural representation of resource sending method in the electronics red packet of example offer is provided.The terminal of user 1 is hair Sending end, the terminal 2 of user 2 is receiving terminal.The corresponding bank server of Bank Account Number 1 of user 1 1, the correspondence bank server 2 of Bank Account Number 2 of user 2.User 1 can be enterprise or individual.
As shown in figure 3, the asking according to the terminal (the first equipment) of user 1 of bank's end server 1 The electronics red packet of the A amount of money is sought survival into, in the Bank Account Number for freezing user 1 (the first equipment user) The A amount of money, and the address information of the electronics red packet or the electronics red packet be distributed in setting network put down Platform.Wherein, as shown in figure 4, the electronics red packet of transmitting terminal generation need to only be published to the network platform, Any receiving terminal can receive the electronics red packet in the state of networking, and receiving terminal is not even in having Also the electronics red packet can be received in the case of issuing the network platform of the electronics red packet, is realized across flat Platform propagates electronics red packet.
Server is when confirming that obtaining request meets preparatory condition, the electricity got from the network platform During sub- red packet, by electronics red packet correspondence resource send to the account of user 2 (the second equipment user's Account), the second equipment user can be accepted covert payment, tear the operations such as red packet, neck red packet open.
It is understood that user 2 (the second equipment user) is accepted covert payment, tears red packet, neck open During red packet, bank's end server 1 sends the corresponding fund of electronics red packet to the account of user 2 In (account of the second equipment user).Wherein, the financial need in the electronics red packet is withdrawn deposit operation Really the amount of money could be gone in corresponding account.
When the electronics red packet received during user 2 needs to the first account withdraw deposit operation, lead to Cross the request of withdrawing deposit that the second equipment sends electronics red packet to bank's end server 2, bank's end server 2 according to receive withdraw deposit request transmitting bank 1 couple of first equipment user of end server bank's account The amount of money that freezes of electronics red packet in number is thawed, and by the Bank Account Number of the first equipment user The amount of money corresponding with the electronics red packet transfer Bank Account Number to the second equipment user (user 2) In.That is, bank end server 1 transfers the A amount of money in the Bank Account Number of the first equipment user to In the Bank Account Number of two equipment users (user 2).
Due in the prior art, the hair of electronics red packet, rob, neck is based on third-party platform, and It is transmitted and handles inside the same third-party platform such as instant messaging, electric business platform, thus it is de- It can not then be realized from third-party platform;In addition, the bank account of user is also in advance and third-party platform Account bind, and the electronics red packet amount of money deposit third-party platform account in, the transmission of electronics red packet and Reception is only transfer and the mark of the value data in third-party platform system.Wherein, prior art The Resources Spread mode of middle electronics red packet specifically refers to Fig. 6 and Fig. 7, does not repeat herein.Wherein, Fig. 6 is the schematic flow sheet of the embodiment of resource flow shifting method one in electronics red packet in the prior art, figure 7 be the structural representation of the embodiment of prior art electronics red packet broadcasting system one.
, can band in the prior art in the actual value deposit third-party platform account of user's bank account Carry out the safety problem of funds data, there are third-party platform financial risks, and of the prior art carry Existing complex operation step.Moreover, any Capital Flow of the electronics red packet obtained by third party enters Withdraw deposit, forward etc. and being both needed to complete by third-party platform, this sequence of operations is not only user There is provided convenient, make the operation of user more cumbersome on the contrary, reduce the probability of user's forwarding electronic red packet.
Compared with prior art, the such scheme based on the present invention, user is sent after electronics red packet, The correspondence amount of money, which is still in the bank account for the person of giving bonus, to be freezed, until other users acknowledge receipt of electricity After sub- red packet, the correspondence electronics red packet amount of money is released from the bank account for the person of giving bonus and freezes and turns Account is into the bank account for the person of accepting covert payment.In the absence of safety problem of the fund on third-party platform, The actual value of stored value card directly circulates in bank account, compared to prior art, the present invention Step of withdrawing deposit it is easy, it is safe.And based on the such scheme of the present invention, electronics red packet Send and get and be not limited to identical platform, support to carry out between different platform the transmitting of data, interaction and Processing.
The resource sending method of the embodiments of the present invention, prepares to need many of transmission by server Individual resource bag, each resource bag carries initial resource quantity, and server please according to resources requesting party's Down distributing resource bag is sought, and counts the number that resource coating is issued in the scheduled time, when in the scheduled time When the number that resource coating is issued is more than predetermined value, each resource in the resource bag not issued is reduced The initial resource quantity carried is wrapped, otherwise, increases each resource bag in the resource bag not issued and takes The initial resource quantity of band, then issues tune to the resources requesting party of request resource bag after the scheduled time Resource bag after whole.
By the above resource sending method of the embodiment of the present invention, server can be according in pre- timing The initial resource that each resource bag of situation adjust automatically for the number that interior resource coating is issued is carried Quantity, please thus without the adjustment for receiving the resource quantity that resource sender carries to resource bag Ask, so as to improve the response efficiency of server.
The situation that server can be coated with the number issued according to resource in the given time is adjusted automatically The initial resource quantity that whole each resource bag is carried, so as to the resource transmitted by more excellent balance The quantity of bag and request degree of the resources requesting party to resource.
Server can each be provided based on the number adjust automatically that resource coating is issued in the scheduled time The resource quantity that source bag is carried, so that resource interaction is more flexible and changeable, while meeting resource Sender and the demand of resources requesting party.
It is the scene that business promotion purpose sends electronics red packet in particular for enterprise, for receiving electricity For the user of sub- red packet, the amount of money size of electronics red packet directly affect user to the electronics red packet Fancy grade and the enthusiasm informed of forwarding, existing mode is all to set electronics red packet by enterprise Number and each electronics red packet the amount of money, or set electronics red packet total amount and total quantity Then the amount of money of each electronics red packet is randomly provided by system.This mode, it is impossible to meet the market requirement The situation of change does not realize business promotion effect preferably so as to.And pass through the resource of the present invention Sending method, by counting the reception number of the electronics red packet in preset time, being forwarded number of times, So as to judge to need to reduce or increase the amount of money of electronics red packet, so as to obtain in cost and business Optimum balance between promotion effect, thus on the one hand control enterprise send electronics red packet into Originally, it on the other hand can ensure to reach preferably business promotion effect.
Referring to Fig. 8, Fig. 8 is the knot that a kind of resource provided in an embodiment of the present invention sends server The modules that server includes in structure schematic diagram, the present embodiment are used to perform Fig. 2-Fig. 5 and figure Each step of the corresponding embodiments of 2- Fig. 5.Specifically refer to Fig. 2-Fig. 5 and Fig. 2-Fig. 5 institutes Show the detailed description of the step of each in embodiment, do not repeat herein.Referring to Fig. 8, the present invention is real Applying the resource transmission server 300 of example includes preparation module 31, issues module 32, statistical module 33rd, judge module 34 and processing module 35, wherein:
Preparation module 31 is used for the multiple resource bags for preparing to need to send, and each resource bag is carried just Beginning resource quantity.
Wherein, please further combined with Fig. 9, preparation module 31 further comprises receiving in the present embodiment Unit 311 and generation unit 312, wherein:
Receiving unit 311 is used for the resource bag generation instruction for receiving resource sender, the generation of resource bag Instruction includes the total resources number of resource bag and the number of resource bag or the initial money of each resource bag Source quantity.
Generation unit 312, which is used to be generated according to resource bag, to be instructed, and generation needs the multiple resources sent Bag.
Wherein, as a kind of concrete implementation mode, the resource bag in the embodiment of the present invention can be Electronics red packet, resource specifically refer to electronic certificate in electronics red packet, electronic ticket, electronic money, One of which or a variety of combinations in fund, resource link.Specifically, electronic certificate can To be thing letter card or silver letter card, electronic ticket can be electronic coupons, coupons etc., resource link For obtaining its corresponding resource.
Issuing module 32 is used for the request down distributing resource bag according to resources requesting party.
Statistical module 33 is used to count the number that resource coating is issued in the scheduled time.
Judge module 34 is used to judge whether the number that resource coating is issued is more than predetermined value.
When processing module 35 is more than predetermined value for the number that the coating of resource in the given time is issued, Reduce the initial resource quantity that each resource bag is carried in the resource bag not issued, otherwise, increase The initial resource quantity that each resource bag is carried in the resource bag not issued;
In the embodiment of the present invention, the number that resource coating is issued is got for resource coating resources requesting party Number;Or the resource number that issues of coating for resource be coated with number that resources requesting party gets and by The summation of the number of times of resources requesting party's forwarding.
Wherein, in another implementation, the processing module 35 of the present embodiment is additionally operable to pre- When the number that interior resource coating of fixing time is issued is more than predetermined value, shorten the scheduled time, after shortening The scheduled time be used as the time counted next time, otherwise, extend the scheduled time, after extension The scheduled time is used as the time counted next time.
Module 32 is issued to be additionally operable to ask the resources requesting party of resource bag to issue tune to after the scheduled time Resource bag after whole.
Such scheme, server prepares the multiple resource bags for needing to send, and each resource bag is carried just Beginning resource quantity, according to the request down distributing resource bag of resources requesting party, and it is domestic-investment to count the scheduled time The number that source coating is issued, when the number that resource coating is issued in the scheduled time is more than predetermined value, Reduce the initial resource quantity that each resource bag is carried in the resource bag not issued, otherwise, increase The initial resource quantity that each resource bag is carried in the resource bag not issued, then to the scheduled time The resources requesting party of request resource bag issues the resource bag after adjustment afterwards.Pass through such mode, clothes Business device can be taken based on each resource bag of number adjust automatically that resource coating is issued in the scheduled time The resource quantity of band, so that resource interaction is more flexible and changeable, while meeting resource sender With the demand of resources requesting party.
Referring to Fig. 10, Figure 10, which is another resource provided in an embodiment of the present invention, sends server Structural representation, the resource of the present embodiment, which sends server 400, to be used to perform above-mentioned Fig. 2-Fig. 5 And each specific steps in Fig. 2-embodiment illustrated in fig. 5.Referring to Fig. 10, the present embodiment Resource, which sends server 400, includes processor 41, memory 42, receiver 43, transmitter 44 And bus system 45, wherein:
The control resource of processor 41 sends the operation of server 400, and processor 41 can also be referred to as CPU (Central Processing Unit, CPU).Processor 41 is probably a kind of IC chip, the disposal ability with signal.Processor 41 can also be general processor, Digital signal processor (DSP, Digital Signal Processing), application specific integrated circuit (ASIC, Application Specific Integrated Circuit), field programmable gate array (FPGA, Field - Programmable Gate Array) or other PLDs, discrete gate or crystalline substance Body pipe logical device, discrete hardware components.General processor can be microprocessor or the processing Device can also be any conventional processor etc..
Memory 42 can include read-only storage and random access memory, and to processor 41 Instruction and data is provided.The a part of of memory 42 can also deposit including non-volatile random Reservoir (NVRAM).
Each component of server 400 is coupled by bus system 45, wherein total linear system System 45 can also include power bus, controlling bus and state letter in addition to including data/address bus Number bus etc..The bus system can be ISA (Industry Standard Architecture, industry Standard architecture) bus, (Peripheral Component Interconnect, outside is set PCI Standby interconnection) (Extended Industry Standard Architecture extend work by bus or EISA Industry standard architecture) bus etc..The bus can be one or more physical circuit, when being Address bus, data/address bus, controlling bus etc. can be divided into during a plurality of physical circuit.In the present invention Some other embodiment in, processor 41, memory 42 and receiver 43, transmitter 44 It can also be directly connected to by communication line.But for the sake of clear explanation, will be various in figure Bus is all designated as bus system 45.
Memory 42 stores following element, can perform module either data structure or it Subset, or their superset:
Operational order:Including various operational orders, for realizing various operations.
Operating system:Including various system programs, for realizing various basic businesses and processing base In the task of hardware.
In embodiments of the present invention, processor 41 is by calling the operational order that memory 42 is stored (operational order is storable in operating system), performs following operation:
The control receiver 43 of processor 41 receives the resource bag generation instruction of resource sender, resource Bag generation instruction includes the total resources number of resource bag and the number of resource bag or each resource bag Initial resource quantity, generates according to resource bag and instructs, and generation needs the multiple resource bags sent.
Wherein, as a kind of concrete implementation mode, the resource bag in the embodiment of the present invention can be Electronics red packet, resource specifically refer to electronic certificate in electronics red packet, electronic ticket, electronic money, One of which or a variety of combinations in fund, resource link.Specifically, electronic certificate can To be thing letter card or silver letter card, electronic ticket can be electronic coupons, coupons etc., resource link For obtaining its corresponding resource.
Processor 41 is according to the request of resources requesting party, and control transmitter 44 is under resources requesting party Send out resource bag.
Processor 41 further counts the number that resource coating is issued in the scheduled time, judges resource It is coated with whether the number issued is more than predetermined value, the number that resource coating is issued in the given time is big When predetermined value, control reduces the initial resource that each resource bag is carried in the resource bag not issued Quantity, otherwise, the initial resource that each resource bag is carried in the resource bag that control increase is not issued Quantity.
In the embodiment of the present invention, the number that resource coating is issued is got for resource coating resources requesting party Number;Or the resource number that issues of coating for resource be coated with number that resources requesting party gets and by The summation of the number of times of resources requesting party's forwarding.
Processor 41 further controls transmitter to the resource request of request resource bag after the scheduled time Side issues the resource bag after adjustment.
Wherein, the number that further resource coating is issued in the given time of processor 41 is more than pre- During definite value, shorten scheduled time, using the scheduled time after shortening as count next time when Between, otherwise, extend scheduled time, using the scheduled time after extension as counting next time Time.
Above-mentioned resource sending method and resource to the embodiment of the present invention sends server specifically It is bright, it will be understood that the present invention prepares the multiple resource bags for needing to send, Mei Gezi by server Source bag carries initial resource quantity, server according to the request down distributing resource bag of resources requesting party, and The number that resource coating is issued in the statistics scheduled time, as that resource coating is issued in the scheduled time When number is more than predetermined value, the initial resource that each resource bag is carried in the resource bag not issued is reduced Quantity, otherwise, increases the initial resource quantity that each resource bag is carried in the resource bag not issued, Then the resource bag after adjustment is issued to the resources requesting party of request resource bag after the scheduled time.Pass through Such mode, server can be based on the number adjust automatically that resource coating is issued in the scheduled time The resource quantity that each resource bag is carried, so that resource interaction is more flexible and changeable, it is simultaneously full The demand of sufficient resource sender and resources requesting party.
It is the scene that business promotion purpose sends electronics red packet in particular for enterprise, for receiving electricity For the user of sub- red packet, the amount of money size of electronics red packet directly affect user to the electronics red packet Fancy grade and the enthusiasm informed of forwarding, existing mode is all to set electronics red packet by enterprise Number and each electronics red packet the amount of money, or set electronics red packet total amount and total quantity Then the amount of money of each electronics red packet is randomly provided by system.This mode, it is impossible to meet the market requirement The situation of change does not realize business promotion effect preferably so as to.And pass through the resource of the present invention Sending method, by counting the reception number of the electronics red packet in preset time, being forwarded number of times, So as to judge to need to reduce or increase the amount of money of electronics red packet, so as to obtain in cost and business Optimum balance between promotion effect, thus on the one hand control enterprise send electronics red packet into Originally, it on the other hand can ensure to reach preferably business promotion effect.
In several embodiments provided by the present invention, it should be understood that disclosed system, dress Put and method, can realize by another way.For example, device embodiment described above It is only schematical, for example, the division of the module or unit, only a kind of logic function Divide, there can be other dividing mode when actually realizing, such as multiple units or component can be tied Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.It is another Point, shown or discussed coupling or direct-coupling or communication connection each other can be passed through The INDIRECT COUPLING of some interfaces, device or unit or communication connection, can be it is electrical, machinery or its Its form.
The unit illustrated as separating component can be or may not be physically separate , the part shown as unit can be or may not be physical location, you can with positioned at One place, or can also be distributed on multiple NEs.It can select according to the actual needs Some or all of unit therein is selected to realize the purpose of this embodiment scheme.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing list , can also two or more unit collection in member or unit is individually physically present Into in a unit.Above-mentioned integrated unit can both be realized in the form of hardware, can also Realized in the form of SFU software functional unit.
If the integrated unit is realized using in the form of SFU software functional unit and is used as independent production Product are sold or in use, can be stored in a computer read/write memory medium.Based on so Understanding, part that technical scheme substantially contributes to prior art in other words or The all or part of person's technical scheme can be embodied in the form of software product, the computer Software product is stored in a storage medium, including some instructions are make it that a computer is set Standby (can be personal computer, server, or network equipment etc.) or processor (processor) Perform all or part of step of each embodiment methods described of the invention.And foregoing storage medium Including:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), with Machine access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various Can be with the medium of store program codes.
Embodiments of the invention are the foregoing is only, are not intended to limit the scope of the invention, Equivalent structure or equivalent flow conversion that every utilization description of the invention and accompanying drawing content are made, or Other related technical fields are directly or indirectly used in, the patent for being similarly included in the present invention is protected In the range of shield.

Claims (10)

1. a kind of resource sending method, it is characterised in that methods described includes:
Server prepares the multiple resource bags for needing to send, and each resource bag carries initial resource number Amount;
The resource bag is issued according to the request of resources requesting party;
The number that the resource coating is issued in the statistics scheduled time, judges institute in the scheduled time State resource and be coated with whether the number issued is more than predetermined value;
When the number that the resource coating is issued in the scheduled time is more than the predetermined value, reduce The initial resource quantity that each resource bag is carried in the resource bag not issued, otherwise, increase not by The initial resource quantity that each resource bag is carried in the resource bag issued;
The resources requesting party of resource bag is asked to issue the resource bag after adjustment after to the scheduled time.
2. according to the method described in claim 1, it is characterised in that methods described also includes:
When the number that the resource coating is issued in the scheduled time is more than the predetermined value, contracting The short scheduled time, the time counted next time is used as using the scheduled time after shortening;Otherwise, Extend the scheduled time, the time counted next time is used as using the scheduled time after extension.
3. according to the method described in claim 1, it is characterised in that the server prepares to need The multiple resource bags sent, each resource bag, which carries initial resource quantity, to be included:
The server receives the resource bag generation instruction of resource sender, and the resource bag generation refers to Order includes the total resources number of resource bag and the number of resource bag or the initial resource of each resource bag Quantity;
The server is generated according to the resource bag and instructed, and generates the multiple moneys for needing to send Wrap in source.
4. according to the method described in claim 1, it is characterised in that what the resource coating was issued Number is that the resource is coated with the number that resources requesting party gets;Or that the resource coating is issued Number is coated with resources requesting party's number got and the number of times forwarded by resources requesting party for the resource Summation.
5. the method according to claim any one of 1-4, it is characterised in that the resource bag It is electronics red packet, the resource is the electronic certificate in the electronics red packet, electronic ticket, electronics goods At least one in coin, fund, resource link.
6. a kind of resource sends server, it is characterised in that the resource, which sends server, includes standard For module, module, statistical module, judge module and processing module are issued, wherein:
The preparation module is used for the multiple resource bags for preparing to need to send, and each resource bag is carried just Beginning resource quantity;
The module that issues is used to issue the resource bag according to the request of resources requesting party;
The statistical module is used to count the number that the resource coating is issued in the scheduled time;
The judge module is used to judge whether the number that the resource coating is issued is more than predetermined value;
It is big that the processing module is used for the number that the resource coating is issued within the scheduled time When the predetermined value, the initial resource that each resource bag is carried in the resource bag not issued is reduced Quantity, otherwise, increases the initial resource quantity that each resource bag is carried in the resource bag not issued;
It is described to issue the resources requesting party that module is additionally operable to ask resource bag to after the scheduled time Issue the resource bag after adjustment.
7. server according to claim 6, it is characterised in that the processing module is also used When the number that the resource coating is issued within the scheduled time is more than the predetermined value, shorten The scheduled time, the time counted next time is used as using the scheduled time after shortening;Otherwise, prolong The long scheduled time, the time counted next time is used as using the scheduled time after extension.
8. server according to claim 6, it is characterised in that the preparation module includes Receiving unit and generation unit, wherein:
The receiving unit is used for the resource bag generation instruction for receiving resource sender, the resource bag Generation instruction include the total resources number of resource bag and the number of resource bag or each resource bag at the beginning of Beginning resource quantity;
The generation unit, which is used to be generated according to the resource bag, to be instructed, and it is multiple that generation needs are sent Resource bag.
9. server according to claim 6, it is characterised in that the resource coating is issued Number be coated with the number got of resources requesting party for the resource;Or the resource is coated with what is issued Number is that the resource is coated with the number that resources requesting party gets and time forwarded by resources requesting party Several summations.
10. server according to claim 6, it is characterised in that the resource bag is electronics Red packet, the resource is the electronic certificate in the electronics red packet, electronic ticket, electronic money, money At least one in gold and resource link.
CN201610133800.XA 2016-01-08 2016-03-09 A kind of resource sending method and server Pending CN106961465A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610013376 2016-01-08
CN2016100133765 2016-01-08

Publications (1)

Publication Number Publication Date
CN106961465A true CN106961465A (en) 2017-07-18

Family

ID=59480773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610133800.XA Pending CN106961465A (en) 2016-01-08 2016-03-09 A kind of resource sending method and server

Country Status (1)

Country Link
CN (1) CN106961465A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107451858A (en) * 2017-07-24 2017-12-08 孙晖 Method for managing resource, device, storage medium and computer equipment
CN108830724A (en) * 2018-04-12 2018-11-16 平安科技(深圳)有限公司 A kind of resource data packet processing method and terminal device
CN109710410A (en) * 2018-12-24 2019-05-03 微梦创科网络科技(中国)有限公司 A kind of internet information resource distribution method and device
CN112085530A (en) * 2020-09-10 2020-12-15 上海风秩科技有限公司 Dynamic price adjusting method and system and electronic equipment
CN112132606A (en) * 2020-09-10 2020-12-25 上海风秩科技有限公司 Dynamic price adjustment method and system based on graph attention algorithm
CN112306704A (en) * 2019-08-01 2021-02-02 腾讯科技(深圳)有限公司 Numerical value packet transfer method, terminal, server, system and storage medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107451858A (en) * 2017-07-24 2017-12-08 孙晖 Method for managing resource, device, storage medium and computer equipment
CN108830724A (en) * 2018-04-12 2018-11-16 平安科技(深圳)有限公司 A kind of resource data packet processing method and terminal device
CN108830724B (en) * 2018-04-12 2023-04-14 平安科技(深圳)有限公司 Resource data packet processing method and terminal equipment
CN109710410A (en) * 2018-12-24 2019-05-03 微梦创科网络科技(中国)有限公司 A kind of internet information resource distribution method and device
CN109710410B (en) * 2018-12-24 2021-08-13 微梦创科网络科技(中国)有限公司 Internet information resource allocation method and device
CN112306704A (en) * 2019-08-01 2021-02-02 腾讯科技(深圳)有限公司 Numerical value packet transfer method, terminal, server, system and storage medium
CN112306704B (en) * 2019-08-01 2023-09-19 腾讯科技(深圳)有限公司 Numerical packet transfer method, terminal, server, system and storage medium
CN112085530A (en) * 2020-09-10 2020-12-15 上海风秩科技有限公司 Dynamic price adjusting method and system and electronic equipment
CN112132606A (en) * 2020-09-10 2020-12-25 上海风秩科技有限公司 Dynamic price adjustment method and system based on graph attention algorithm

Similar Documents

Publication Publication Date Title
CN106961465A (en) A kind of resource sending method and server
WO2019019682A1 (en) Payment method and apparatus, storage medium and terminal
CN103186852A (en) Payment method, payment device and payment system of networked transaction
EP0845749A3 (en) Electronic commerce support method and apparatus
US11068977B2 (en) System and method for providing a payment instrument
CN108038679A (en) Send the method and polymerization payment platform of payment message
CN102663585B (en) A kind of payment processing method of network transaction service
CN103246996A (en) Method, system, price enquiring system, terminal and checking system for realizing discount consumption
WO2018223976A1 (en) Method and apparatus for configuring live streaming application, storage medium and electronic apparatus
CN106961459A (en) Data processing method and device, data interactive method and system
CN106960323A (en) A kind of distribution method and device of electronics red packet
CN108985869A (en) Resource processing method and device, server and terminal equipment
CN106961416A (en) The generation method and device of resource
CN106961466A (en) The transmission of resource, get method and its equipment
CN110033340A (en) Interior purchase management method, device and the client device of virtual goods
CN106961463A (en) A kind of server and resource sending method
CN109191093A (en) Electronic invoice billing method, device and terminal device
CN106960312A (en) Data processing method and device, data interactive method and system
US20040117298A1 (en) Method and system for initiating a chargeback
CA3055642A1 (en) Payment system based on shared funds-management server, and method, device and server therefor
CN107689111A (en) Fruit juice mixer method for remote management and system
CA2987295C (en) Payment system based on shared funds-management server, and method, device and server therefor
JP2014078213A (en) Payment processing system and method thereof
CN106961381A (en) Forward mesh calibration method, the method for forwarding electronic red packet and server
CN106961380A (en) Resource payment method, apparatus and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170718

WD01 Invention patent application deemed withdrawn after publication