CN107153581A - The acquisition methods and device of resource - Google Patents

The acquisition methods and device of resource Download PDF

Info

Publication number
CN107153581A
CN107153581A CN201710228969.8A CN201710228969A CN107153581A CN 107153581 A CN107153581 A CN 107153581A CN 201710228969 A CN201710228969 A CN 201710228969A CN 107153581 A CN107153581 A CN 107153581A
Authority
CN
China
Prior art keywords
resource
terminal
interaction data
received
needed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710228969.8A
Other languages
Chinese (zh)
Other versions
CN107153581B (en
Inventor
王斯敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710228969.8A priority Critical patent/CN107153581B/en
Publication of CN107153581A publication Critical patent/CN107153581A/en
Priority to PCT/CN2018/078937 priority patent/WO2018188444A1/en
Priority to TW107111689A priority patent/TW201837704A/en
Application granted granted Critical
Publication of CN107153581B publication Critical patent/CN107153581B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of acquisition methods of resource and device.This method includes:The first configured information is received in the chat window of the first group, the first configured information is used for the first resource Distribution Events for indicating that the first account number is initiated, and the first account number is the account number in the first group;Obtain and interact the first produced interaction data with terminal, the first interaction data is used for the number of times for indicating to interact with terminal, and the first interaction data is associated with first resource Distribution Events;The first interaction data is sent to server;The first resource that the reception server is sent in response to the first interaction data, it is part or all of in the total resources that the first resource received is distributed for needed for first resource Distribution Events, and the number of times that is indicated with the first interaction data of first resource of the part for the total resources distributed for needed for first resource Distribution Events increases.The present invention solves correlation technique in group communication, the low technical problem of the controllability of resource acquisition.

Description

The acquisition methods and device of resource
Technical field
The present invention relates to computer realm, in particular to the acquisition methods and device of a kind of resource.
Background technology
At present, in group communication, the acquisition of resource can be carried out, but the acquisition of resource be typically it is random, can not Control.
Terminal can be used for realizing the resource acquisition in group communication, can be received by the pre-set button on terminal interface Instruction, to obtain resource.But the randomness of resource that gets of the account number in group and uncertain very big, one of account Number resource got may be fewer, thus the controllability of resource acquisition is low, so as to reduce Consumer's Experience.
For above-mentioned in group communication, the problem of controllability of resource acquisition is low not yet proposes effective solution at present Certainly scheme.
The content of the invention
The embodiments of the invention provide a kind of acquisition methods of resource and device, handed over at least solving correlation technique in group In mutually, the low technical problem of the controllability of resource acquisition.
There is provided a kind of acquisition methods of resource for one side according to embodiments of the present invention.The acquisition methods of the resource Including:The first configured information is received in the chat window of the first group, wherein, the first configured information is used to indicate the first account Number initiate first resource Distribution Events, the first account number be the first group in account number;Obtain produced by being interacted with terminal The first interaction data, wherein, terminal is used to show chat window under the instruction of preset instructions, and the first interaction data is used to refer to Show the number of times interacted with terminal, the first interaction data is associated with first resource Distribution Events;First is sent to server Interaction data;The first resource that the reception server is sent in response to the first interaction data, wherein, the first resource received is the It is part or all of in the total resources of distribution needed for one resource dissemination event, and be first resource point in the first resource received During part in the total resources of distribution needed for hair event, the number of times increasing that the first resource received is indicated with the first interaction data Plus and increase.
Another aspect according to embodiments of the present invention, additionally provides a kind of acquisition device of resource.The acquisition dress of the resource Put including:The first configured information is received in the chat window of the first group, wherein, the first configured information is used to indicate first The first resource Distribution Events that account number is initiated, the first account number is the account number in the first group;Acquisition is interacted with terminal is produced The first raw interaction data, wherein, terminal is used to show chat window under the instruction of preset instructions, and the first interaction data is used for The number of times interacted with terminal is indicated, the first interaction data is associated with first resource Distribution Events;The is sent to server One interaction data;The first resource that the reception server is sent in response to the first interaction data, wherein, the first resource received is It is part or all of in the total resources of distribution needed for first resource Distribution Events, and be first resource in the first resource received During part in the total resources of distribution needed for Distribution Events, the number of times that the first resource received is indicated with the first interaction data Increase and increase.
In embodiments of the present invention, the first configured information is received in the chat window of the first group, wherein, first refers to Show information be used for indicate the first account number initiate first resource Distribution Events, the first account number be the first group in account number;Obtain The first produced interaction data is interacted with terminal, wherein, terminal is used to show chat window under the instruction of preset instructions Mouthful, the first interaction data is used for the number of times for indicating to interact with terminal, the first interaction data and first resource Distribution Events phase Association;The first interaction data is sent to server;The first resource that the reception server is sent in response to the first interaction data, its In, it is part or all of in the total resources that the first resource received is distributed for needed for first resource Distribution Events, and receiving To the total resources distributed for needed for first resource Distribution Events of first resource in part when, the first resource received with The number of times that first interaction data is indicated increases and increased.Due to the reception server in response to being interacted with terminal produced by the One interaction data and it is part or all of in the total resources of distribution needed for the first resource Distribution Events that send, and receive be The number of times that the first resource of part in total resources is indicated with the first interaction data increases and increased, it is achieved thereby that improving money The technique effect for the controllability that source is obtained, and then correlation technique is solved in group communication, the controllability of resource acquisition is low Technical problem.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this hair Bright schematic description and description is used to explain the present invention, does not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is a kind of schematic diagram of the hardware environment of the acquisition methods of resource according to embodiments of the present invention;
Fig. 2 is a kind of flow chart of the acquisition methods of resource according to embodiments of the present invention;
Fig. 3 is the flow chart of the acquisition methods of another resource according to embodiments of the present invention;
Fig. 4 is the flow chart of the acquisition methods of another resource according to embodiments of the present invention;
Fig. 5 is a kind of flow chart of the sending method of resource according to embodiments of the present invention;
Fig. 6 is the flow chart of the sending method of another resource according to embodiments of the present invention;
Fig. 7 is the flow chart of the acquisition methods of another resource according to embodiments of the present invention;
Fig. 8 is a kind of interaction schematic diagram of the acquisition methods of resource according to embodiments of the present invention;
Fig. 9 is a kind of schematic diagram of event that given bonus in the chat window of group according to embodiments of the present invention;
Figure 10 is a kind of schematic diagram of page that gives bonus according to embodiments of the present invention;
Figure 11 is a kind of schematic diagram at the interface of reception red packet according to embodiments of the present invention;
Figure 12 is the signal of the interaction data produced by a kind of acquisition according to embodiments of the present invention is interacted with terminal Figure;
Figure 13 is a kind of schematic diagram of the prompt message of display red packet amount of money according to embodiments of the present invention;
Figure 14 is the signal of the red packet amount of money in the red packet that a kind of multiple account numbers of reception according to embodiments of the present invention are initiated Figure;
Figure 15 is a kind of schematic diagram of the acquisition device of resource according to embodiments of the present invention;
Figure 16 is the schematic diagram of the acquisition device of another resource according to embodiments of the present invention;
Figure 17 is the schematic diagram of the acquisition device of another resource according to embodiments of the present invention;
Figure 18 is the schematic diagram of the acquisition device of another resource according to embodiments of the present invention;And
Figure 19 is a kind of structured flowchart of terminal according to embodiments of the present invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people The every other embodiment that member is obtained under the premise of creative work is not made, should all belong to the model that the present invention is protected Enclose.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so using Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except illustrating herein or Order beyond those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover Lid is non-exclusive to be included, for example, the process, method, system, product or the equipment that contain series of steps or unit are not necessarily limited to Those steps or unit clearly listed, but may include not list clearly or for these processes, method, product Or the intrinsic other steps of equipment or unit.
Embodiment 1
There is provided a kind of embodiment of the acquisition methods of resource according to embodiments of the present invention.
Alternatively, in the present embodiment, the acquisition methods of above-mentioned resource can apply to as shown in Figure 1 by server 102 and the hardware environment that is constituted of terminal 104 in.Fig. 1 is a kind of the hard of the acquisition methods of resource according to embodiments of the present invention The schematic diagram of part environment.As shown in figure 1, server 102 is attached by network with terminal 104, above-mentioned network is included but not It is limited to:Wide area network, Metropolitan Area Network (MAN) or LAN, terminal 104 are not limited to PC, mobile phone, tablet personal computer etc..The embodiment of the present invention The acquisition methods of resource can be performed by server 102, can also be performed, be can also be by server 102 by terminal 104 Performed jointly with terminal 104.Wherein, the acquisition methods that terminal 104 performs the resource of the embodiment of the present invention can also be by installing Client thereon is performed.
Fig. 2 is a kind of flow chart of the acquisition methods of resource according to embodiments of the present invention.As shown in Fig. 2 this method can To comprise the following steps:
Step S202, receives the first configured information in the chat window of the first group.
In the technical scheme that the application above-mentioned steps S202 is provided, first is received in the chat window of the first group Configured information, wherein, the first configured information is used for the first resource Distribution Events for indicating that the first account number is initiated, and the first account number is the Account number in one group.
The chat window of first group is the exchanging window that event interaction is carried out for multiple account numbers, can be instant messaging The chat window chatted using upper multiple account numbers, message can be both sent by the chat window, can also be received and be disappeared Breath, such as, the message are chat messages, can both send resource, can also receive resource.Wherein, resource can be and cash Virtual resource of equal value, such as, user possesses the network of Third-party payment ability by instant messaging application or Alipay etc. Platform, sends with consumption effectiveness and traditionally on paper red packet outward appearance similar electronic red packet to other users, can also be cash equivalent The resources such as certificate, bond, integration, flow, virtual objects, are not limited herein.
Account number in first group of the embodiment can initiate resource dissemination event, and the resource dissemination event is used to divide Resource is sent out, such as, give bonus event.The reception mode of the resource of resource dissemination case distribution can be by clicking on the pre- of client If button is received, or the data of rocking produced by rocking terminal are obtained.
The first configured information is received in the chat window of the first group, that is, chat of the client in the first group The first configured information is received in window, first configured information is used for the first resource distribution thing for indicating that the first account number is initiated Part, the default page that can be in chat window is shown, such as, the master of first resource Distribution Events is shown in the default page Topic, color, the event type of first resource Distribution Events can receive touch control operation for first configured information.Alternatively, Each account number corresponding client of the first resource Distribution Events in the first group that first account number is initiated can show, So as to improve the property of participation of the corresponding user of multiple account numbers.
Alternatively, before the first configured information is received, distribution needed for server record first resource Distribution Events Resource.
Step S204, obtains and interacts the first produced interaction data with terminal.
In the technical scheme that the application above-mentioned steps S204 is provided, obtain first produced by being interacted with terminal and hand over Mutual data, wherein, terminal is used to show chat window under the instruction of preset instructions, such as, and preset instructions are the first instruction letter Breath, shows chat window, or what is received after terminal blank screen is used for when terminal receives the first configured information Open operational order of chat window etc..First interaction data is used for the number of times for indicating to interact with terminal, the first interaction number According to associated with first resource Distribution Events.
Alternatively, interacted with terminal including rocking terminal, terminal can be produced during rocking rocks data, its In, the first interaction data includes rocking data.Alternatively, after the first configured information is received, terminal is obtained when default Between after, first produced during rocking rocks data, that is, client obtain terminal after the preset lime, and First produced during rocking rocks data, this first rock data can serve to indicate that terminal receiving the first instruction letter What is got after breath rocks number of times, and this first to rock data related to the first resource Distribution Events that the first account number is initiated Connection, can rock the resource rocked in number of times acquisition first resource Distribution Events of the terminal indicated by data, eventually by first End can be mobile terminal, such as, and the terminal is mobile phone.
Alternatively, the predeterminated position including clicking on terminal screen is interacted with terminal, the default of terminal screen is being clicked on Click data can be produced during position, wherein, the first interaction data includes click data.Alternatively, first is being received After configured information, obtain after the preset lime, first point produced during the predeterminated position of terminal screen is clicked on Data are hit, that is, client obtains terminal after the preset lime, and are produced during the predeterminated position of terminal screen is clicked on The first raw click data, first click data can serve to indicate that terminal after the first configured information is received by point Number of times is hit, and first click data is associated with the first resource Distribution Events that the first account number is initiated, and can pass through first The resource being clicked in number of times acquisition first resource Distribution Events of terminal indicated by click data.
Alternatively, being interacted with terminal includes the predeterminated position of long-press terminal screen, in the predeterminated position of long-press terminal During can produce pressing data, wherein, the first interaction data include pressing data.Alternatively, the first instruction is being received After information, obtain after the preset lime, the first pressing number produced during the predeterminated position of pressing terminal screen According to, that is, client obtains terminal after the preset lime, and produced during the predeterminated position of pressing terminal screen First pressing data, first pressing data can serve to indicate that terminal after the first configured information is received when being pressed Between and pressing dynamics, and first pressing data is associated with the first resource Distribution Events that the first account number is initiated, Ke Yitong Cross the resource being pressed in time and pressing dynamics acquisition first resource Distribution Events of the terminal indicated by the first pressing data.
Alternatively, interact and interacted including the energy conversion device with terminal with terminal, the energy conversion device It can be the microphone set in terminal.During sound is sent to the energy conversion device of terminal, energy conversion device Voice signal can be converted to electric signal, wherein, the first interaction data includes the corresponding data of electric signal.Alternatively, connecing Receive after the first configured information, obtain after the preset lime, the process of sound is being sent to the energy conversion device of terminal The corresponding data of electric signal of middle generation, that is, client obtains terminal after the preset lime, and turn to the energy of terminal The corresponding data of electric signal that parallel operation part is produced during sending sound, the corresponding data of the electric signal can serve to indicate that end Hold the intensity of sound got or air-flow size after the first configured information is received, and the corresponding number of the electric signal , can be by the sound indicated by the corresponding data of electric signal according to associated with the first resource Distribution Events that the first account number is initiated Resource in intensity or air-flow acquiring size first resource Distribution Events.
It should be noted that above-mentioned is only the preferred embodiment of the embodiment of the present invention with the mode that terminal is interacted, The mode interacted with terminal the only aforesaid way of the embodiment of the present invention is not represented, it is any to be interacted with terminal The mode of interaction data is produced all within protection scope of the present invention, is no longer illustrated one by one herein.
Alternatively, the terminal for obtaining and showing chat window interacts the first produced interaction data, or obtains Take and interact the first produced interaction data with the terminal in black state, the running status current to terminal be not herein Limit.
Step S206, the first interaction data is sent to server.
In the technical scheme that the application above-mentioned steps S206 is provided, the first interaction data is sent to server.
First interaction data is associated with first resource Distribution Events.Produced first is interacted in acquisition and terminal After interaction data, first interaction data is sent to server, that is, user end to server sends the first interaction number According to.Alternatively, server record first resource Distribution Events and the identification information of the first account number, the first resource Distribution Events It is corresponding with the first account number.
Step S208, the first resource that the reception server is sent in response to the first interaction data.
In the technical scheme that the application above-mentioned steps S208 is provided, the reception server is sent in response to the first interaction data First resource, wherein, part in the total resources that the first resource received is distributed for needed for first resource Distribution Events or All, and during part in the total resources that the first resource received is distributed for needed for first resource Distribution Events, receive First resource indicated with the first interaction data number of times increase and increase.
After the first interaction data is sent to server, server receives the first interaction data, and to the first interaction number According to being responded, the first resource sent to client is obtained, the first resource can be the first account number sent to client The part or all of red packet amount of money in the red packet amount of money of distribution needed for the red packet event of initiation.The first resource is first resource point Part resource or whole resources in the total resources of distribution needed for hair event.The first resource received is with the first interaction data The number of times increase of instruction and increase, that is, more with number of times that terminal is interacted, server first is provided to what client was sent Source is more.
Alternatively, when total resources are in predetermined threshold value, the number of times increase that first resource is indicated with the first interaction data And according to the increase of default radix.Such as, first resource Distribution Events are red packet event, and first resource is distributed for needed for red packet event Red packet total amount in the part or all of amount of money, the default radix of the amount of money of granting is calculated according to the total amount that gives bonus, hot During bag total amount≤0.1, the default radix that the red packet amount of money of distribution is incremental is 0.01, when red packet total amount >=1, distribution it is red The incremental default radix of volume covered with gold leaf is 0.1.
By above-mentioned steps S202 to step S208, the first configured information is received in the chat window of the first group, First configured information is used for the first resource Distribution Events for indicating that the first account number is initiated, and the first account number is the account in the first group Number;Obtain and interact the first produced interaction data with terminal, terminal is used to show chat under the instruction of preset instructions Window, the first interaction data is used for the number of times for indicating to interact with terminal, the first interaction data and first resource Distribution Events It is associated;The first interaction data is sent to server;The first resource that the reception server is sent in response to the first interaction data, connects It is part or all of in the total resources that the first resource received is distributed for needed for first resource Distribution Events, and in received During part in the total resources that one resource is distributed for needed for first resource Distribution Events, the first resource received is handed over first The number of times that mutual data are indicated increases and increased, because the reception server is interacted in response to interacting produced first with terminal Data and it is part or all of in the total resources of distribution needed for the first resource Distribution Events that send, and in the first money received During part in the total resources that source is distributed for needed for first resource Distribution Events, the first resource received is with the first interaction number Increase according to the number of times of instruction and increase, it is achieved thereby that improving the technique effect of the controllability of resource acquisition, and then solve phase Pass technology is in group communication, the low technical problem of the controllability of resource acquisition.
As an alternative embodiment, in step S202, after receiving the first configured information, in response in chat The touch control operation to the first configured information is detected in window, and then ejects the first prompt window in the terminal, in the terminal bullet Go out after the first prompt window, obtain and interact the first produced interaction data with terminal.
Fig. 3 is the flow chart of the acquisition methods of another resource according to embodiments of the present invention.As shown in figure 3, this method Also include:
Step S301, detects the touch control operation to the first configured information in chat window.
In the technical scheme that the application above-mentioned steps S301 is provided, detected in chat window to the first configured information Touch control operation.
Touch control operation can be carried out to the first configured information, such as, single-click operation, double click operation or first indicate The corresponding region of information stops the operation such as preset time.After the first configured information is received, detected in chat window To the touch control operation of the first configured information.
Step S302, in response to touch control operation, ejects the first prompt window in the terminal.
In the technical scheme that the application above-mentioned steps S302 is provided, in response to touch control operation, first is ejected in the terminal Prompt window, wherein, the event type of first resource Distribution Events, event type corresponding are shown in the first prompt window The reception mode of one resource is to be interacted with terminal.
First resource Distribution Events have event type, and the event type can serve to indicate that the recipient of first resource Formula.After the touch control operation to the first configured information is detected, in response to the touch control operation, shown in the first prompt window The event type of first resource Distribution Events, the reception mode of the corresponding first resource of the event type is to be handed over terminal Mutually.Alternatively, the first prompt window can also be by the reception mode of the corresponding first resource of Word message prompting event type To be interacted with terminal, so as to point out user to carry out rocking operation to terminal obtaining the first interaction data.
After ejecting the first prompt window in the terminal, the first interaction data of generation is interacted with terminal, obtain this One interaction data.
Eject in the terminal after the first prompt window, the first prompt window can be ejected on the upper strata of chat window, should First prompt window can exit the interface of terminal, such as, pass through the mark for being used to indicate to exit terminal in the first prompt window Button receives touch control operation, and the first window disappears at the interface of terminal.
The embodiment in chat window by after the first configured information is received, detecting to the first configured information Touch control operation, in response to touch control operation, the first prompt window is ejected in the terminal, first is shown in first prompt window The event type of resource dissemination event, the reception mode of the corresponding first resource of event type is interacts with terminal, at end Ejected in end after the first prompt window, obtain and interact the first produced interaction data with terminal, it is achieved thereby that right The number of times interacted for instruction and terminal, and first interaction data associated with first resource Distribution Events.
As an alternative embodiment, step S204, acquisition interacts produced first with terminal and interacts number According to including:After waiting for first scheduled time, obtain and interact the first produced interaction data with terminal, wherein, the One scheduled time was shown in the way of countdown in the first prompt window.
After the first configured information is received, touch control operation is received in chat window, the first prompt window is ejected. Alternatively, the timing since the time up to touch control operation that receives, obtains the first timing time, when the first timing time reaches the During one scheduled time, obtain and interact the first produced interaction data with terminal.That is, when the first timing time is not up to During first scheduled time, even if being interacted with terminal, this can not be obtained and interact produced interaction data with terminal.
The embodiment rocks data by first produced by acquisition terminal is rocked after waiting the first preheating setting time, It is ready to rock terminal so as to leave user time for, and then improves Consumer's Experience.
As an alternative embodiment, in step S202, after receiving the first configured information, in chat window Receive the second configured information;Obtain and interact the second produced interaction data with terminal;Second is sent to server to hand over Mutual data;The Secondary resource that the reception server is sent in response to the second interaction data.
Fig. 4 is the flow chart of the acquisition methods of another resource according to embodiments of the present invention.As shown in figure 4, this method It is further comprising the steps of:
Step S401, receives the second configured information in chat window.
In the technical scheme that the application above-mentioned steps S401 is provided, the second configured information is received in chat window, Wherein, the second configured information is used for the Secondary resource Distribution Events for indicating that the second account number is initiated, and the second account number is in the first group Account number.
Group chatting includes multiple account numbers.After the first configured information is received, is received in chat window Two configured informations, second configured information is used for the Secondary resource Distribution Events for indicating that the second account number is initiated.Alternatively, this second Account number is identical with the first account number, that is, after the first account number initiates first resource Distribution Events, the first account number continues to initiate the Two resource dissemination events.Second account number can also be different from the first account number, that is, initiating first resource event in the first account number Afterwards, other account numbers also initiate Secondary resource Distribution Events in succession.
Second configured information is used for the Secondary resource Distribution Events for indicating that the second account number is initiated, can be in chat window The default page shown, such as, theme, the color of Secondary resource Distribution Events, Secondary resource point are shown in the default page The event type of hair event, touch control operation can be received for second configured information.Alternatively, the second of the second account number initiation All account numbers corresponding client of the resource dissemination event in the first group can be shown, so as to improve multiple account numbers pair The property of participation of the user answered.
Alternatively, before the second configured information is received, distribution needed for server record Secondary resource Distribution Events Resource.
Alternatively, eject after the first prompt window, chatted during waiting for first scheduled time in the terminal The second configured information is received in window, can also be shown in first scheduled time in the way of countdown after terminating, with Terminal receives the second configured information during interacting.
Step S402, obtains and interacts the second produced interaction data with terminal.
In the technical scheme that the application above-mentioned steps S402 is provided, obtain second produced by being interacted with terminal and hand over Mutual data, wherein, the second interaction data is associated with Secondary resource Distribution Events.
Received in chat window after the second configured information, acquisition interacts produced second with terminal and interacted Data, can obtain terminal after the preset lime, the second interaction data produced during rocking, second interaction data Number of times, and second interaction data and second are rocked for what instruction terminal was got after the second configured information is received The Secondary resource Distribution Events that account number is initiated are associated, and can be obtained by the number of times that rocks of the terminal indicated by the second interaction data Take the resource in Secondary resource Distribution Events.
Alternatively, the resource in the first case distribution resource is not yet provided when finishing, and second interaction data is also with One case distribution resource is related, that is, second interaction data and the first case distribution resource and second event distribution resource are all Correlation, can by the terminal indicated by the second interaction data rock number of times obtain first resource Distribution Events in resource.
Step S403, the second interaction data is sent to server.
In the technical scheme that the application above-mentioned steps S403 is provided, the second interaction data is sent to server.
Second interaction data is associated with Secondary resource Distribution Events.Produced second is interacted in acquisition and terminal After interaction data, second interaction data is sent to server, that is, user end to server sends the second interaction number According to.Alternatively, server record Secondary resource Distribution Events and the identification information of the second account number, the Secondary resource Distribution Events Corresponding with the second account number, the server also records the identification information of first resource Distribution Events and the first account number, and this first Resource dissemination event is corresponding with the first account number.
Step S404, the Secondary resource that the reception server is sent in response to the second interaction data.
In the technical scheme that the application above-mentioned steps S404 is provided, the reception server is sent in response to the second interaction data Secondary resource, wherein, part in the total resources that the Secondary resource received is distributed for needed for Secondary resource Distribution Events or All, and the number of times that is indicated with the second interaction data of the Secondary resource received increases and increased.
After the second interaction data is sent to server, server receives the second interaction data, and to the second interaction number According to being responded, the Secondary resource sent to client is obtained.What the Secondary resource was distributed for needed for Secondary resource Distribution Events Part resource or whole resources in total resources.The Secondary resource received is with the number of times increase that the second interaction data is indicated Increase, that is, more with number of times that terminal is interacted, the Secondary resource that server is sent to client is more, is user The increase experience that more pay for more work.
Alternatively, the resource in the first case distribution resource is not yet provided when finishing, second interaction data and first Case distribution resource and second event distribution resource are related.After the second interaction data is sent to server, service is received First resource and Secondary resource that device is sent in response to the second interaction data, the then resource received are first resource and the second money Source sum.
Alternatively, after the first configured information is received, during being interacted with terminal, the reception server is rung Should be in the portion in the resource that the resource that interaction data is sent is distributed for needed for the resource dissemination event that the account number of predetermined number is initiated Divide resource or whole resources.
Alternatively, if thering are multiple account numbers to initiate resource dissemination event simultaneously, in the chat of the first group in chat window A plurality of configured information is received in window.User rocks terminal, every configured information after waiting for first scheduled time, Server response and terminal can be received simultaneously interacts produced interaction data, and what the multiple account numbers issued were initiated Part resource or whole resources in the resource of distribution needed for resource dissemination event.
For example, red packet A is sent out in 9:35, terminal has begun to rock, and the red packet A received the red packet amount of money has started to It is incremented by.Red packet B is sent out in 9:36, when terminal is rocked, red packet B automatically initiates inverse 3 seconds, after 3 seconds, receives The red packet amount of money in red packet B also begins to be incremented by.The total red packet amount of money then received be the red packet amount of money in the red packet A received and The summation of the red packet amount of money in the red packet B received.
The embodiment by the way that after the first configured information is received, the second configured information is received in chat window, Second configured information is used for the Secondary resource Distribution Events for indicating that the second account number is initiated, and the second account number is the account in the first group Number;Obtain and interact the second produced interaction data with terminal, the second interaction data is related to Secondary resource Distribution Events Connection;The second interaction data is sent to server;The Secondary resource that the reception server is sent in response to the second interaction data, is received The total resources distributed for needed for Secondary resource Distribution Events of Secondary resource in part or all of, and the Secondary resource received The number of times indicated with the second interaction data increases and increased, it is achieved thereby that by interacting to receive multiple accounts with terminal Part or all of resource in number resource of distribution needed for the resource dissemination event initiated, it is achieved thereby that improving resource acquisition The effect of controllability, improves the interest of resource acquisition.
As an alternative embodiment, step S402, acquisition interacts produced second with terminal and interacts number According to including:After waiting for second scheduled time, obtain and interact the second produced interaction data with terminal, wherein, the Two scheduled times were shown in the way of countdown in the second prompt window ejected in terminal.
After the second configured information is received, touch control operation is received in chat window, the second prompt window is ejected. Alternatively, the timing since the time up to touch control operation that receives, obtains the second timing time, when the second timing time reaches the During two scheduled times, obtain and interact the second produced interaction data with terminal.That is, when the second timing time is not up to During second scheduled time, even if being interacted with terminal, it can not obtain and interact produced interaction data with terminal.
The embodiment obtained after waiting the second preheating setting time produced by being interacted with terminal first by handing over Mutual data, go to rock terminal, and then improve Consumer's Experience sufficient time so as to leave user for.
As an alternative embodiment, step S204, acquisition interacts produced first with terminal and interacts number According to including:The number of times that terminal is rocked in predetermined amount of time is obtained by the gyroscope of terminal;First interaction data is set to bag The number of times rocked and/or the frequency rocked are included, wherein, the frequency rocked is obtained according to the number of times and predetermined amount of time that rock.
Terminal is provided with gyroscope, and the parameter of the gyroscope includes coordinate axis information and acceleration information, passes through the gyro The coordinate axis information of instrument and information is accelerated to obtain in the coordinate of terminal information and accelerate information, wherein, reference axis packet Include x-axis, y-axis, z-axis information.By obtaining the acceleration of the gyroscope, it may determine that terminal is being rocked by the size of acceleration During sway frequency, and then the number of times that rocks of terminal is counted.Such as, got rid of from static to exerting oneself in terminal During, the acceleration of gyroscope can become, and the acceleration of terminal is obtained by the acceleration of gyroscope, and then according to end The acceleration at end obtains the sway frequency of terminal.
The number of times interacted in predetermined amount of time with terminal is obtained by the gyroscope of terminal.First, which rocks data, is used for The number of times that instruction terminal is rocked, this first can be rocked data and be set to include the number of times rocked and/or the frequency rocked, shake The frequency of rolling can be obtained according to the number of times and predetermined amount of time rocked.
For example, in 1 second, the numerical value of the acceleration of gyroscope becomes 100 from 0, and this when, meter terminal rocked one It is secondary.The acceleration information of gyroscope becomes 0 from 100 again, and terminal is counted again and is rocked once, then the number of times that rocks of the terminal in 1 second For 1 time, the frequency rocked is 2 times/second.
Alternatively, the terminal of the embodiment is provided with energy conversion device, and the energy conversion device can be microphone. During user sends sound to microphone, microphone can be converted to voice signal electric signal, such as, by voice signal Voltage data, current data etc. are converted to, is not limited herein.Further, can be true by obtaining the electric signal of microphone The air-flow size determined the intensity of sound of voice signal or produced by voice signal, such as, when user against microphone yell or When person blows, the electric signal of microphone can change, by the electric signal of change determine intensity of sound that user sends or The air-flow size of generation.Provided finally by the intensity of sound indicated by the corresponding data of electric signal or air-flow acquiring size first Resource in the Distribution Events of source.
Alternatively, determine user against microphone yell according to user voice intensity or the air-flow size electric signal of generation Or the number of times blown, so as to be obtained according to user against microphone yell or the number of times of air blowing in first resource Distribution Events Resource.
It should be noted that above-mentioned is only the preferred embodiment of the embodiment of the present invention with the mode that terminal is interacted, The mode interacted with terminal the only aforesaid way of the embodiment of the present invention is not represented, it is any to be interacted with terminal The mode of interaction data is produced all within protection scope of the present invention, is no longer illustrated one by one herein.
As an alternative embodiment, in step S208, the reception server is sent in response to the first interaction data During first resource, the first prompt message is shown in the second prompt window ejected in the terminal, wherein, the first prompt message is used for The value of the current first resource got of prompting.
In the first resource that the reception server is sent in response to the first interaction data, the second reminding window is ejected in the terminal Mouthful.The first prompt message is shown in second prompt window, first prompt message can be text information, for pointing out to work as Before the value of first resource that has been received by.Alternatively, first sent in the reception server in response to the second interaction data When resource and Secondary resource, first resource and Secondary resource are shown in the first prompt window ejected in the terminal simultaneously, wherein, Second interaction data is homogeneously associated with first resource Distribution Events and Secondary resource Distribution Events.
As an alternative embodiment, showing the first prompt message in the second prompt window ejected in the terminal When, the second prompt message is shown in the second prompt window, wherein, the second prompt message is used to point out not yet to distribute in total resources Resource value.
In the second prompt window ejected in the terminal in addition to showing the first prompt message, in the second prompt window The second prompt message can also be shown, still undealt money in total resources of second prompt message for pointing out server record The value in source, so that user understands the distribution condition for the total resources distributed needed for current first resource Distribution Events, with true It is fixed whether to continue to rock terminal acquisition resource.
As an alternative embodiment, the first resource bag that the reception server is sent in response to the first interaction data Include:The total resources distributed needed for first resource Distribution Events are not distributed finish in the case of, receive first resource;In the first money In the case that the total resources distribution of distribution needed for the Distribution Events of source is finished, the 3rd prompt message is shown, wherein, the 3rd prompt message Total resources distribution for pointing out to distribute needed for first resource Distribution Events is finished.
The total resources distributed needed for first resource Distribution Events are not distributed finish in the case of, user can be obtained at any time The first interaction data produced by terminal is rocked, first interaction data is sent to server, the reception server is in response to first The first resource that interaction data is sent, the value of the resource received continues to be incremented by.Distribute needed for first resource Distribution Events Total resources distribution finish in the case of, show the 3rd prompt message, the 3rd prompt message can for bullet layer prompting word Information, such as, and " resource has been shaken ", or vibration information, such as, and terminal vibrating alert.
As an alternative embodiment, in step S208, the reception server is sent in response to the first interaction data After first resource, the event type of information resources Distribution Events is selected in the chat window of the first group, information resources are It is part or all of in the total resources of distribution needed for information resources Distribution Events;That ejects in the terminal is corresponding with event type Resource acquisition window in, obtain the total resources of distribution needed for information resources Distribution Events;Information resources point are sent to server The total resources of distribution needed for hair event, and receive in chat window the 3rd configured information.
Fig. 5 is a kind of flow chart of the sending method of resource according to embodiments of the present invention.As shown in figure 5, this method is also Comprise the following steps:
Step S501, selects the event type of information resources Distribution Events in the chat window of the first group.
In the technical scheme that the application above-mentioned steps S501 is provided, the 3rd is selected to provide in the chat window of the first group The event type of source Distribution Events, wherein, the reception mode of the corresponding information resources of event type is to be interacted with terminal, the It is part or all of in the total resources that three resources are distributed for needed for information resources Distribution Events.
After the first resource that the reception server is sent in response to the first interaction data, resource can also be sent out, such as, Shake after red packet, can also give bonus in chat window.The reception mode of the event type correspondence resource of resource is by pre- If button receives touch control operation, such as, when resource dissemination event is red packet event, receiving touch control operation by pre-set button is Spell the mode of operation of luck red packet.The event type of resource can also correspond to the reception mode of resource to rock terminal, such as, when When resource dissemination event is red packet event, the reception mode of resource is that to rock terminal be the mode of operation for shaking red packet. In the chat window of one group, primary selector has been adjusted, the event class of information resources Distribution Events is selected by primary selector Type, the reception mode of the corresponding information resources of event type of the information resources Distribution Events is interacts with terminal, and the 3rd It is part or all of in the total resources that resource is distributed for needed for information resources Distribution Events.
Alternatively, after the event type of selection information resources Distribution Events, the event type of selection can be cancelled, weight Newly choose other event types.
Step S502, obtains the total resources of distribution needed for information resources Distribution Events.
In the technical scheme that the application above-mentioned steps S502 is provided, that ejects in the terminal is corresponding with event type In resource acquisition window, the total resources of distribution needed for information resources Distribution Events are obtained, and receive in chat window the 3rd Configured information, wherein, the 3rd configured information is used to indicate information resources Distribution Events.
Resource acquisition window can be by text information identified event type, such as, being shown in resource acquisition window is used for The reception mode for indicating information resources is the text information for the event type for rocking terminal.Selected in the chat window of the first group After the event type for selecting information resources Distribution Events, the resource acquisition window corresponding with event type ejected in the terminal In, the total resources of distribution needed for information resources Distribution Events are obtained, the value of total resources can be set in resource acquisition window.
Step S503, the total resources distributed needed for information resources Distribution Events are sent to server, and in chat window Receive the 3rd configured information.
In the technical scheme that the application above-mentioned steps S503 is provided, needed for sending information resources Distribution Events to server The total resources of distribution, and the 3rd configured information is received in chat window, wherein, the 3rd configured information is used to indicate that the 3rd provides Source Distribution Events.
After the total resources distributed needed for obtaining information resources Distribution Events, touch control operation is received by predeterminable area, Such as, " plug money enters red packet " corresponding region is clicked on, after completion is paid, indicates to send information resources distribution thing to server The total resources of distribution needed for part.
After the total resources distributed needed for information resources Distribution Events are sent to server, the is shown in chat window Three configured informations, wherein, the 3rd configured information is used for the information resources Distribution Events for indicating to initiate.
The embodiment is by after the first resource that the reception server is sent in response to the first interaction data, at first group The event type of information resources Distribution Events is selected in the chat window of group, wherein, event type corresponding information resources connect Debit's formula is interacts with terminal, the part or complete in the total resources that information resources are distributed for needed for information resources Distribution Events Portion;In the resource acquisition window corresponding with event type ejected in the terminal, required point of information resources Distribution Events are obtained The total resources of hair;The total resources distributed needed for information resources Distribution Events are sent to server, and are received in chat window 3rd configured information, it is achieved thereby that sending the purpose of resource.
As an alternative embodiment, after step S501, the event type for selecting information resources Distribution Events, In the resource acquisition window corresponding with event type ejected in the terminal, type switching command is received;Obtain the 4th resource The total resources of distribution needed for Distribution Events;The total resources distributed needed for the 4th resource dissemination event are sent to server, and are being chatted The 4th configured information is received in skylight opening, wherein, the 4th configured information is used to indicate the 4th resource dissemination event.
Fig. 6 is the flow chart of the sending method of another resource according to embodiments of the present invention.As shown in fig. 6, this method It is further comprising the steps of:
Step S601, receives type switching command.
In the technical scheme that the application above-mentioned steps S601 is provided, that ejects in the terminal is corresponding with event type In resource acquisition window, type switching command is received, wherein, type switching command is used to switch over event type, obtains Event type after switching.
When resource dissemination event is red packet event, event type is when swaggering red packet type, in giving bonus that terminal is ejected Page display reminding information " current to swagger red packet, to be changed to common red packet ", by the way that wherein, " swaggering red packet " type is to rock end End, which is obtained, rocks data to obtain a type of the red packet amount of money, and common red packet can be to spell luck red packet, such as, and user clicks on " tearing open " button on terminal interaction interface, you can get a random red packet of the amount of money.
Type switching command is received by prompt message, red packet type will be swaggered and switch to common red packet type, so that real Now to the switching of the event type of resource dissemination event.
Step S602, obtains the total resources of distribution needed for the 4th resource dissemination event.
In the technical scheme that the application above-mentioned steps S602 is provided, distribution is total needed for obtaining the 4th resource dissemination event Resource, wherein, the event type of the 4th resource dissemination event is the event type after switching.
After type switching command is received, the total resources of distribution needed for the 4th resource dissemination event, the 4th money are obtained The event type of source Distribution Events is the event type after switching, such as, is common red packet type.
Step S603, the total resources distributed needed for the 4th resource dissemination event are sent to server, and in chat window Receive the 4th configured information.
In the technical scheme that the application above-mentioned steps S603 is provided, needed for sending the 4th resource dissemination event to server The total resources of distribution, and the 4th configured information is received in chat window, wherein, the 4th configured information is used to indicate that the 4th provides Source Distribution Events.
After the total resources distributed needed for the 4th resource dissemination event that obtains, touch control operation is received by predeterminable area, Such as, " plug money enter red packet " corresponding region is clicked on, indicate to distribute needed for sending the 4th resource dissemination event to server is total Resource.
After the total resources distributed needed for the 4th resource dissemination event are sent to server, the is shown in chat window Four configured informations, wherein, the 4th configured information is used for the 4th resource dissemination event for indicating to initiate.
In the resource acquisition window corresponding with event type that the embodiment is ejected in the terminal, receive type switching and refer to Order, wherein, type switching command is used to switch over event type, the event type after being switched;Obtain the 4th resource The total resources of distribution needed for Distribution Events, wherein, the event type of the 4th resource dissemination event is the event type after switching;To Server sends the total resources of distribution needed for the 4th resource dissemination event, and receives in chat window the 4th configured information, Wherein, the 4th configured information is used to indicate the 4th resource dissemination event, it is achieved thereby that to the type of information resources Distribution Events Switching, reached the purpose of total resources for sending and distributing needed for the 4th resource dissemination event to server, improved resource and obtain The effect of the controllability taken.
Embodiment 2
Technical scheme is illustrated with reference to preferred embodiment.Specifically using resource Distribution Events to be red Bag event, resource is that the red packet amount of money is illustrated.
Fig. 7 is the flow chart of the acquisition methods of another resource according to embodiments of the present invention.As shown in fig. 7, this method Comprise the following steps:
Step S701, enters the page that gives bonus in the chat window of group.
In the chat window of group, " red packet " entrance can be selected in the menu bar of lower section, should " red packet " entrance use Given bonus the page in entering.
Step S702, selects the type given bonus to swagger red packet type.
Enter in the chat window of group after the page that gives bonus, eject type selecting prompt window, the type prompting Window shows the type of red packet, such as, spells luck red packet type, swaggers red packet type etc..The type given bonus is selected to swagger Red packet type.
Step S703, the page setup red packet amount of money is set in the red packet amount of money.
In the type that gives bonus of selection for after swaggering red packet type, the ejection red packet amount of money sets the page, can be in red packet The amount of money sets the page to receive the red packet amount of money that user inputs.Alternatively, during the red packet amount of money is set, red packet can be switched Type.
Step S704, sends the red packet for setting the red packet amount of money.
After the red packet amount of money sets the page setup red packet amount of money, the red packet is sent.
Step S705, after preset time is waited, obtains rocking for terminal and rocks data produced by operating.
After sending and setting the red packet of the red packet amount of money, the corresponding client transmission red packet of each account number into group. After preset time is waited, obtain rocking for terminal and rock data produced by operating, this, which rocks data, is used for instruction terminal The number of times rocked, it is associated with red packet event that this rocks data.
Step S706, during terminal is rocked, the red packet amount of money of data transmission is rocked in the reception server response.
Obtain terminal rock produced by operation rock data after, send this to server and rock data, service Device rocks data to this and responded, and obtains the red packet amount of money, the red packet amount of money that the reception server is sent.The red packet amount of money is with shaking Shake the increase for the number of times that data are indicated and increase.
The embodiment selects the type given bonus to swagger red by entering the page that gives bonus in the chat window of group Packet type, the page setup red packet amount of money is set in the red packet amount of money, sends the red packet for setting the red packet amount of money, is waiting preset time Afterwards, obtain rocking for terminal and rock data produced by operating, during terminal is rocked, the reception server response is rocked The red packet amount of money that data are sent, solves existing red packet and lacks the problem of interesting, the red packet amount of money is not random, user can be with passing through Oneself make great efforts to rock terminal and obtain more red packet amount of money, improve Consumer's Experience.
Fig. 8 is a kind of interaction schematic diagram of the acquisition methods of resource according to embodiments of the present invention.As shown in figure 8, the party Method comprises the following steps:
Step S801, client sends the red packet for swaggering red packet type.
The client can social class client, such as, and the client of instant messaging application, in the chat window of group It is middle to send the red packet for swaggering red packet type.
Step S802, after preset time is waited, client initiating terminal rocks operation.
After the red packet of red packet type is swaggered in client transmission, the corresponding client of each account number can be received in group To the configured information of the red packet.After preset time is waited, client can be produced with the operation of rocking of initiating terminal and rocked number According to.
Step S803, the sway frequency of the gyroscope computing terminal of terminal sends to server and determined according to terminal frequency Terminal rock number of times.
During terminal is rocked, the sway frequency of the gyroscope computing terminal of terminal is calculated by the sway frequency Terminal rocks number of times preset time period, and sending this to server rocks number of times.
Number of times is rocked in step S804, server response, and the part or all of amount of money in red packet is sent to client.
Server is after receiving and rocking number of times, and number of times is rocked in server response, obtains the red packet sent to client In the amount of money, and sent to the client corresponding with rocking number of times.When user will stop rocking terminal, then client stops Obtain the amount of money in red packet.
The embodiment sends the red packet for swaggering red packet type by client, after preset time is waited, client hair The operation of rocking of terminal is played, the sway frequency of the gyroscope computing terminal of terminal sends to server and determined according to terminal frequency Terminal rock number of times, number of times is rocked in server response, and the part or all of amount of money in red packet is sent to client, so that real Show the technique effect for the controllability for improving resource acquisition, and then solve correlation technique in group communication, resource acquisition The low technical problem of controllability.
Embodiment 3
The application environment of the embodiment of the present invention can be, but not limited to reference to the application environment in above-described embodiment, the present embodiment In this is repeated no more.A kind of the embodiments of the invention provide the acquisition methods for implementing above-mentioned resource optionally specifically should With.
The embodiment is specific using resource Distribution Events as red packet event, and resource is illustrated for the application scenarios of the red packet amount of money Explanation.The embodiment can be used in the product of social classification, and the product of the social classification has the function of transmitting-receiving red packet.
Fig. 9 is a kind of schematic diagram of event that given bonus in the chat window of group according to embodiments of the present invention. As shown in figure 9, in the group chatting window for the client that the first account number is logged in, selection " red packet " entrance mark is " red by this Bag " entrance mark has adjusted the event of giving bonus, and ejects the selection window of red packet type, red in the selection window of the red packet type Packet type includes " spell luck red packet " type, " swaggering red packet " type, wherein, the corresponding red packet amount of money of " swaggering red packet " type Reception mode is rocks terminal, and the terminal can be mobile terminal, such as, and the terminal is mobile phone.
The different select button of different red packet type correspondences, has adjusted primary selector, correspondence is selected by select button Red packet type.After selection red packet type, the red packet type chosen can be cancelled by " cancellation " button.Than Such as, red packet type selecting " swaggering red packet " type, can be cancelled by the selection of " cancellation " button should " swaggering red packet " type.
Figure 10 is a kind of schematic diagram of page that gives bonus according to embodiments of the present invention.As shown in Figure 10, clicked in user After " swaggering red packet " type, into the page that gives bonus, the total amount given bonus can be set in the page that gives bonus, such as, " 100 yuan ".This is swaggered red packet and does not limit number, does not limit the amount of money.In the red packet page, the type of red packet can be switched, such as, passed through " current for swagger red packet, be changed to common red packet " corresponding region receives touch control operation, and the type that " will swagger red packet " switches to general Aglow bag, can switch red packet type before the red packet amount of money is obtained, and can also switch red packet class after the red packet amount of money is obtained Type.
After the red packet amount of money is obtained, the red packet amount of money set is sent to server, such as, is passed through " plug money enters red packet " Corresponding region receives touch control operation, and after completion is paid, the red packet amount of money is sent to server.
Figure 11 is a kind of schematic diagram at the interface of reception red packet according to embodiments of the present invention.As shown in figure 11, to clothes It is engaged in after device transmission red packet, configured information, instruction letter is received in the chat window of the corresponding client of each account number of group Cease for indicating the above-mentioned red packet that the first account number is initiated, that is, when the red packet that the first account number is sent is sent to each chat account number During the chat window of corresponding client, the interface for receiving red packet, first account number of the interface display of the reception red packet can be ejected The theme of the red packet of transmission, such as, the theme of the red packet are " teatime arrives, everybody ... ", it is shown that for indicating red packet Type information, such as, and " getting red packet to shake ".
The touch control operation to configured information is detected in chat window, such as, to " teatime arrives, everybody ... " The clicking operation of red packet;In response to touch control operation, the first prompt window is ejected in the terminal, wherein, show in the first prompt window The type of red packet is shown with, the reception mode of red packet corresponding with red packet type is rocks terminal, the as shown in Figure 11 right halfs One prompt window, the first window shows that the type of red packet is " swaggering red packet ", red packet corresponding with " swaggering red packet " type Reception mode is to rock terminal.
Figure 12 is that a kind of acquisition terminal according to embodiments of the present invention rocks the produced schematic diagram for rocking data.As schemed Shown in 12, eject in the terminal after the first prompt window as shown in figure 11, after the scheduled time is waited, obtain terminal and shake Data are rocked produced by shaking, the scheduled time is shown in the way of countdown in the first prompt window ejected in terminal. Such as, occur 3 reciprocal secs " 03 " in the first prompt window ", after 3 reciprocal secs are complete, terminal can initiate the action shaken, Obtain terminal and rock data during rocking.
Alternatively, front end can obtain the parameter of the gyroscope of terminal, such as, obtain x-axis, y-axis, z-axis information and top The acceleration of spiral shell instrument.Wherein, the frequency that terminal is rocked may determine that by the size of acceleration, so as to realize what terminal was rocked The counting of number of times.Such as, terminal is got rid of from static to exerting oneself, and the acceleration of gyroscope can become, and is now counted terminal and is rocked Once.Such as, the numerical value 0 of the acceleration of gyroscope becomes 100, now counts terminal and rocks once.The acceleration value of gyroscope Become 0 from 100 again, terminal is now counted again and is rocked once.The sway frequency of computing terminal is gone by the acceleration of gyroscope, is obtained The number of times that terminal is rocked, the number of times that terminal is rocked is sent to server.Server response terminal rocks number of times to rocking The corresponding client of number of times sends the red packet amount of money.
Alternatively, when red packet total amount is in predetermined threshold value, the red packet amount of money received is with the increase for rocking number of times And according to the increase of default radix.Such as, amount of money amount of increase radix is calculated according to the total amount that gives bonus, when red packet total amount≤0.1, The incremental radix of the red packet amount of money is 0.01.When red packet total amount >=1, the incremental radix of the red packet amount of money is 0.1.
Figure 13 is a kind of schematic diagram of the prompt message of display red packet amount of money according to embodiments of the present invention.Such as Figure 13 institutes Show, when still there is the undealt red packet amount of money in the red packet sent, user can rock operation by initiating terminal at any time, then receive To the red packet amount of money with rock number of times be incremented by and continue be incremented by.The red packet that is currently received is shown in the second prompt window The amount of money.Such as, " you have made great efforts to shake:10.90 yuan ", still undealt red packet gold in current total red packet amount of money can also be shown Volume, such as, and " red packet balance in hand:70.10 it is first ".When the still undealt red packet amount of money is 0 in current total red packet amount of money, than Such as, " red packet balance in hand:0.00 yuan " when, then the vibrating alert of initiating terminal, and bullet layer prompt message, the prompt message occur Finished for pointing out total red packet amount of money to distribute, such as, and " red packet has been shaken ".User can check other account numbers current The red packet amount of money received in total red packet amount of money distribution procedure, such as, received and touched by " look at everybody luck " corresponding region Control operation, to show the red packet amount of money that other account numbers are got.
Figure 14 is the signal of the red packet amount of money in the red packet that a kind of multiple account numbers of reception according to embodiments of the present invention are initiated Figure.As shown in figure 14.If there is the red packet granting of multiple " swaggering red packet " types in group simultaneously, now user rocks hand Machine, then after the configured information of each red packet is received, after countdown 3 seconds, you can while receiving multiple account number hairs The amount of money of the red packet risen, alternatively, embodiment limitation can only shake the red packet for taking four account numbers to initiate, the red packet received simultaneously Total amount be amount of money sum in the red packet that each account number for receiving is initiated, such as, during terminal is rocked, receive To each account number initiate red packet in the amount of money be respectively:5.20th, 2.90,2.10,0.70, then total gold of the red packet received Volume is:5.20+2.90+2.10+0.70, that is, 10.09 yuan.
For example, the first account number is in 9:The 35 corresponding user B of the second account number initiated in red packet A, group have rocked The red packet amount of money in terminal, then the red packet A that the second account number is received has started to be incremented by.3rd account number is in 9:36 initiate red packet C, when When user B rocks mobile phone, red packet C automatically initiated inverse after 3 seconds, and the second account number receives the amount of money in red packet C, Second account number still can receive the amount of money in red packet A.The total amount that then the second account number is shaken is exactly the red packet A received In the amount of money+receive red packet C in the amount of money.
User can be selected to abandon the operation for rocking terminal at any time, and stopping is rocked after terminal, the corresponding account number of the user The amount of money of the red packet received stops being incremented by.
If as an alternative embodiment, there is the red packet grantings of multiple " swaggering red packet " types in group simultaneously, Then after the configured information of each red packet is received, shown on the interface of terminal it is corresponding with the account number given bonus it is default by Button, can should by rocking that terminal receives after receiving touch control operation by the corresponding pre-set button of account number with giving bonus The red packet amount of money that the account number that gives bonus is initiated, wherein, given bonus for the pre-set button that is not received by touch control operation is corresponding Account number, then can not receive its initiation the red packet amount of money.Alternatively, embodiment limitation can only shake simultaneously takes predetermined number The red packet that account number is initiated, such as, shake the red packet that four account numbers for taking the time of giving bonus forward are initiated, the red packet total amount received Amount of money sum in the red packet initiated for each the corresponding account number of pre-set button for receiving touch control operation, such as, shake in terminal During rolling, the amount of money in the red packet that each account number received is initiated is respectively:5.20th, 2.90,2.10,0.70, then connect The total amount of the red packet received is:5.20+2.90+2.10+0.70, that is, 10.09 yuan, it is to avoid client is receiving a large amount of In the case of red packet, the problem of processing task between client and server is heavy, such as, user end to server send eventually That holds rocks data, and the red packet that the reception server is initiated in response to the multiple account numbers for rocking data transmission of terminal causes client The task of processing reception red packet is heavy between end and server, and then causes the problem of service crashes phenomenon occurs.
The embodiment solves the problem of existing red packet lacks interest, solves the problem of red packet amount of money is not random, reaches Having arrived user can make great efforts to obtain the effect of more amount of money by oneself.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some steps can be carried out sequentially or simultaneously using other.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, involved action and module is not necessarily of the invention It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but a lot In the case of the former be more preferably embodiment.Understood based on such, technical scheme is substantially in other words to existing The part that technology contributes can be embodied in the form of software product, and the computer software product is stored in a storage In medium (such as ROM/R the first sub-goal propelling datas M, magnetic disc, CD), including some instructions are to cause a station terminal equipment (can be mobile phone, computer, server, or network equipment etc.) performs the method described in each embodiment of the invention.
Embodiment 4
According to embodiments of the present invention, a kind of acquisition dress for being used to implement the resource of the acquisition methods of above-mentioned resource is additionally provided Put.Figure 15 is a kind of schematic diagram of the acquisition device of resource according to embodiments of the present invention.As shown in figure 15, the device can be wrapped Include:First receiving unit 10, first acquisition unit 20, the first transmitting element 30 and the second receiving unit 40.
First receiving unit 10, for receiving the first configured information in the chat window of the first group, wherein, first Configured information is used for the first resource Distribution Events for indicating that the first account number is initiated, and the first account number is the account number in the first group.
First acquisition unit 20, the first produced interaction data is interacted for obtaining with terminal, wherein, terminal is used In showing chat window under the instruction of preset instructions, the first interaction data is used for the number of times for indicating to interact with terminal, the One interaction data is associated with first resource Distribution Events.
First transmitting element 30, for sending the first interaction data to server.
Second receiving unit 40, the first resource sent for the reception server in response to the first interaction data, wherein, connect It is part or all of in the total resources that the first resource received is distributed for needed for first resource Distribution Events, and in received During part in the total resources that one resource is distributed for needed for first resource Distribution Events, the first resource received is handed over first The number of times that mutual data are indicated increases and increased.
Figure 16 is the schematic diagram of the acquisition device of another resource according to embodiments of the present invention.As shown in figure 16, the dress Putting to include:First receiving unit 10, first acquisition unit 20, the first transmitting element 30 and the second receiving unit 40.The dress Putting also includes:Detection unit 50 and response unit 60, wherein, first acquisition unit 20 includes:First acquisition module 21.
It should be noted that the first receiving unit 10 of the embodiment, first acquisition unit 20, the and of the first transmitting element 30 Second receiving unit 40 is identical with the effect in the acquisition device of the resource of embodiment illustrated in fig. 15, does not repeat herein.
Detection unit 50, is indicated first for after the first configured information is received, being detected in chat window The touch control operation of information.
Response unit 60, in response to touch control operation, the first prompt window to be ejected in the terminal, wherein, the first prompting The event type of first resource Distribution Events is shown in window, the reception mode of the corresponding first resource of event type is and end End is interacted.
First acquisition module 21, for ejecting the first prompt window in the terminal after, obtain and interact institute with terminal The first interaction data produced.
Figure 17 is the schematic diagram of the acquisition device of another resource according to embodiments of the present invention.As shown in figure 17, the dress Putting to include:First receiving unit 10, first acquisition unit 20, the first transmitting element 30, the second receiving unit 40, detection are single Member 50 and response unit 60, wherein, first acquisition unit 20 includes:First acquisition module 21.First acquisition unit 20 can be with Including:Second acquisition module 22.
It should be noted that the first receiving unit 10 of the embodiment, first acquisition unit 20, the first transmitting element 30, Second receiving unit 40, detection unit 50 and response unit 60, the first acquisition module 21 and the resource of embodiment illustrated in fig. 16 Effect in acquisition device is identical, does not repeat herein.
Second acquisition module 22, for after waiting for first scheduled time, obtaining produced by being interacted with terminal First interaction data, wherein, first scheduled time was shown in the way of countdown in the first prompt window.
Figure 18 is the schematic diagram of the acquisition device of another resource according to embodiments of the present invention.As shown in figure 18, the dress Putting to include:First receiving unit 10, first acquisition unit 20, the first transmitting element 30 and the second receiving unit 40.The dress Putting to include:3rd receiving unit 70, second acquisition unit 80, the second transmitting element 90 and the 4th receiving unit 100.
It should be noted that the first receiving unit 10 of the embodiment, first acquisition unit 20, the and of the first transmitting element 30 Second receiving unit 40 is identical with the effect in the acquisition device of the resource of embodiment illustrated in fig. 15, does not repeat herein.
3rd receiving unit 70, for after the first configured information is received, the second finger to be received in chat window Show information, wherein, the second configured information is used for the Secondary resource Distribution Events for indicating that the second account number is initiated, and the second account number is first Account number in group.
Second acquisition unit 80, the second produced interaction data is interacted for obtaining with terminal, wherein, second hands over Mutual data are associated with Secondary resource Distribution Events.
Second transmitting element 90, for sending the second interaction data to server.
4th receiving unit 100, the Secondary resource sent for the reception server in response to the second interaction data, wherein, It is part or all of in the total resources that the Secondary resource received is distributed for needed for Secondary resource Distribution Events, and received The number of times that two resources are indicated with the second interaction data increases and increased.
Second acquisition unit 80 can include:3rd acquisition module, for wait second scheduled time after, obtain with Terminal interacts the second produced interaction data, wherein, second scheduled time was shown in the terminal in the way of countdown In second prompt window of ejection.
First acquisition unit 20 can include:4th acquisition module and setup module.Wherein, the 4th acquisition module, is used for The number of times that terminal is rocked in predetermined amount of time is obtained by the gyroscope of terminal;Setup module, for the first interaction data to be set It is set to including the number of times rocked and/or the frequency rocked, wherein, the frequency rocked is obtained according to the number of times and predetermined amount of time that rock Arrive.
Alternatively, the device can also include:First display unit, for interacting number in response to first in the reception server According to transmission first resource when, show the first prompt message in the second prompt window ejected in the terminal, wherein, the first prompting Information is used for the value for pointing out the current first resource got.
Alternatively, the device can also include the second display unit, in the second prompt window for ejecting in the terminal When showing the first prompt message, the second prompt message is shown in the second prompt window, wherein, the second prompt message is used to point out The value of still undealt resource in total resources.
Alternatively, the second receiving unit 40 includes:Receiving module and display module.Wherein, receiving module, for first The total resources of distribution are not distributed needed for resource dissemination event finish in the case of, receive first resource;Display module, for In the case that the total resources distribution of distribution needed for one resource dissemination event is finished, the 3rd prompt message is shown, wherein, the 3rd prompting The total resources distribution that information is used for distribution needed for pointing out first resource Distribution Events is finished.
Alternatively, the device can also include:Selecting unit, the 3rd acquiring unit and the 3rd transmitting element.Wherein, select Unit, for after the first resource that the reception server is sent in response to the first interaction data, in the chat window of the first group The event type of information resources Distribution Events is selected in mouthful, wherein, the reception modes of the corresponding information resources of event type be with Terminal is interacted, part or all of in the total resources that information resources are distributed for needed for information resources Distribution Events;3rd obtains Unit is taken, in the resource acquisition window corresponding with event type that ejects in the terminal, obtaining information resources distribution thing The total resources of distribution needed for part;3rd transmitting element, it is total for what is distributed needed for sending information resources Distribution Events to server Resource, and the 3rd configured information is received in chat window, wherein, the 3rd configured information is used to indicate that information resources distribute thing Part.
Alternatively, the device can also include:5th receiving unit, the 4th acquiring unit and the 4th transmitting element.Wherein, 5th receiving unit, for after the event type of selection information resources Distribution Events, ejecting in the terminal and event class In the corresponding resource acquisition window of type, type switching command is received, wherein, type switching command is used to carry out event type Switching, the event type after being switched;4th acquiring unit, for obtaining the total money distributed needed for the 4th resource dissemination event Source, wherein, the event type of the 4th resource dissemination event is the event type after switching;4th transmitting element, for service Device sends the total resources of distribution needed for the 4th resource dissemination event, and receives the 4th configured information in chat window, wherein, 4th configured information is used to indicate the 4th resource dissemination event.
It should be noted that the first receiving unit 10 in the embodiment can be used for performing in the embodiment of the present application 1 First acquisition unit 20 in step S202, the embodiment can be used for performing the step S204 in the embodiment of the present application 1, the reality The first transmitting element 30 in example is applied to can be used for performing second in the step S206 in the embodiment of the present application 1, the embodiment Receiving unit 40 can be used for performing the step S208 in the embodiment of the present application 1.
The embodiment receives the first configured information by the first receiving unit 10 in the chat window of the first group, its In, the first configured information is used for the first resource Distribution Events for indicating that the first account number is initiated, and the first account number is in the first group Account number, is obtained by first acquisition unit 20 and interacts the first produced interaction data with terminal, wherein, terminal is used for Chat window is shown under the instruction of preset instructions, the first interaction data is used for the number of times for indicating to interact with terminal, and first hands over Mutual data are associated with first resource Distribution Events, send the first interaction data to server by the first transmitting element 30, lead to The first resource that the reception server of the second receiving unit 40 is sent in response to the first interaction data is crossed, wherein, first received It is part or all of in the total resources that resource is distributed for needed for first resource Distribution Events, and be the in the first resource received During part in the total resources of distribution needed for one resource dissemination event, the first resource received is indicated with the first interaction data Number of times increase and increase, because the reception server is sent in response to interacting the first produced interaction data with terminal First resource Distribution Events needed for distribution total resources in it is part or all of, and the first resource received be first money During part in the total resources of distribution needed for the Distribution Events of source, the first resource received with the first interaction data indicates it is secondary Number increases and increased, it is achieved thereby that improving the technique effect of the controllability of resource acquisition, and then solves correlation technique in group In group interaction, the low technical problem of the controllability of resource acquisition.
Herein it should be noted that example and application scenarios phase that said units and module are realized with corresponding step Together, but it is not limited to the disclosure of that of above-described embodiment 1.It should be noted that above-mentioned module can be with as a part for device Operate in hardware environment as shown in Figure 1, can be realized by software, can also be realized by hardware, wherein, hardware environment Including network environment.
Embodiment 5
According to embodiments of the present invention, a kind of server or end for being used to implement the acquisition methods of above-mentioned resource is additionally provided End.
Figure 19 is a kind of structured flowchart of terminal according to embodiments of the present invention.As shown in figure 19, the terminal can include: One or more (one is only shown in figure) processors 191, memory 193 and transmitting device 195.As shown in figure 19, the end End can also include input-output equipment 197.
Wherein, the acquisition for the resource that memory 193 can be used in storage software program and module, such as embodiment of the present invention Corresponding programmed instruction/the module of method and apparatus, processor 191 by operation be stored in the software program in memory 193 with And module, so as to perform various function application and data processing, that is, realize the acquisition methods of above-mentioned resource.Memory 193 It may include high speed random access memory, nonvolatile memory, such as one or more magnetic storage device, sudden strain of a muscle can also be included Deposit or other non-volatile solid state memories.In some instances, memory 193 can further comprise relative to processor 191 remotely located memories, these remote memories can pass through network connection to terminal.The example of above-mentioned network include but It is not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Above-mentioned transmitting device 195 is used to data are received or sent via network, can be also used for processor with Data transfer between memory.Above-mentioned network instantiation may include cable network and wireless network.In an example, Transmitting device 195 includes a network adapter (Network Interface Controller, NIC), and it can pass through netting twine It is connected to be communicated with internet or LAN with router with other network equipments.In an example, transmission dress It is radio frequency (Radio Frequency, RF) module to put 195, and it is used to wirelessly be communicated with internet.
Wherein, specifically, memory 193 is used to store application program.
Processor 191 can call the application program that memory 193 is stored by transmitting device 195, to perform following steps Suddenly:
The first configured information is received in the chat window of the first group, wherein, the first configured information is used to indicate the The first resource Distribution Events that one account number is initiated, the first account number is the account number in the first group;
Obtain and interact the first produced interaction data with terminal, wherein, terminal is used for the instruction in preset instructions Lower display chat window, the first interaction data is used for the number of times for indicating to interact with terminal, the first interaction data and the first money Source Distribution Events are associated;
The first interaction data is sent to server;
The first resource that the reception server is sent in response to the first interaction data, wherein, the first resource received is the It is part or all of in the total resources of distribution needed for one resource dissemination event, and be first resource point in the first resource received During part in the total resources of distribution needed for hair event, the number of times increasing that the first resource received is indicated with the first interaction data Plus and increase.
Processor 191 is additionally operable to perform following step:After the first configured information is received, detected in chat window To the touch control operation to the first configured information;In response to touch control operation, the first prompt window is ejected in the terminal, wherein, first The event type of first resource Distribution Events is shown in prompt window, the reception mode of the corresponding first resource of event type is Interacted with terminal;Eject in the terminal after the first prompt window, obtain first produced by being interacted with terminal and hand over Mutual data.
Processor 191 is additionally operable to perform following step:After waiting for first scheduled time, acquisition is interacted with terminal The first produced interaction data, wherein, first scheduled time was shown in the way of countdown in the first prompt window.
Processor 191 is additionally operable to perform following step:After the first configured information is received, received in chat window To the second configured information, wherein, the second configured information is used for the Secondary resource Distribution Events for indicating that the second account number is initiated, the second account Number be the first group in account number;Obtain and interact the second produced interaction data with terminal, wherein, the second interaction data It is associated with Secondary resource Distribution Events;The second interaction data is sent to server;The reception server is in response to the second interaction number According to the Secondary resource of transmission, wherein, in the total resources that the Secondary resource received is distributed for needed for Secondary resource Distribution Events Partly or entirely, during part and in the total resources that the Secondary resource received is distributed for needed for Secondary resource Distribution Events, The number of times that the Secondary resource received is indicated with the second interaction data increases and increased.
Processor 191 is additionally operable to perform following step:After waiting for second scheduled time, acquisition is interacted with terminal The second produced interaction data, wherein, second scheduled time was shown in second ejected in terminal in the way of countdown and carried Show in window.
Processor 191 is additionally operable to perform following step:Terminal in predetermined amount of time is obtained by the gyroscope of terminal to rock Number of times;First interaction data is set to include the number of times rocked and/or the frequency rocked, wherein, the frequency rocked according to The number of times and predetermined amount of time rocked is obtained.
Processor 191 is additionally operable to perform following step:First sent in the reception server in response to the first interaction data During resource, the first prompt message is shown in the second prompt window ejected in the terminal, wherein, the first prompt message is used to point out The value of the current first resource got.
Processor 191 is additionally operable to perform following step:Display first is pointed out in the second prompt window ejected in the terminal During information, the second prompt message is shown in the second prompt window, wherein, the second prompt message is used to point out in total resources not yet The value of the resource of distribution.
Processor 191 is additionally operable to perform following step:The total resources distributed needed for first resource Distribution Events are not distributed In the case of finishing, first resource is received;In the case that the total resources distribution distributed needed for first resource Distribution Events is finished, The 3rd prompt message is shown, wherein, the 3rd prompt message is used for the total resources point of distribution needed for pointing out first resource Distribution Events Distribute complete.
Processor 191 is additionally operable to perform following step:First sent in the reception server in response to the first interaction data After resource, the event type of information resources Distribution Events is selected in the chat window of the first group, wherein, event type pair The reception mode for the information resources answered is interacts with terminal, and it is total that information resources are distributed for needed for information resources Distribution Events It is part or all of in resource;In the resource acquisition window corresponding with event type ejected in the terminal, obtain the 3rd and provide The total resources of distribution needed for the Distribution Events of source;The total resources distributed needed for server transmission information resources Distribution Events, and The 3rd configured information is received in chat window, wherein, the 3rd configured information is used to indicate information resources Distribution Events.
Processor 191 is additionally operable to perform following step:After the event type of selection information resources Distribution Events, at end In the resource acquisition window corresponding with event type ejected in end, type switching command is received, wherein, type switching command For being switched over to event type, the event type after being switched;Distribution is total needed for obtaining the 4th resource dissemination event Resource, wherein, the event type of the 4th resource dissemination event is the event type after switching;The 4th resource point is sent to server The total resources of distribution needed for hair event, and the 4th configured information is received in chat window, wherein, the 4th configured information is used for Indicate the 4th resource dissemination event.
Using the embodiment of the present invention, there is provided a kind of acquisition scheme of resource.Received in the chat window of the first group To the first configured information, wherein, the first configured information is used for the first resource Distribution Events for indicating that the first account number is initiated, the first account Number be the first group in account number;Obtain and interact the first produced interaction data with terminal, wherein, terminal is used for pre- If showing chat window under the instruction of instruction, the first interaction data is used for the number of times for indicating to interact with terminal, the first interaction Data are associated with first resource Distribution Events;The first resource that the reception server is sent in response to the first interaction data, wherein, It is part or all of in the total resources that the first resource received is distributed for needed for first resource Distribution Events, and receiving During part in the total resources that first resource is distributed for needed for first resource Distribution Events, the first resource received is with first The number of times that interaction data is indicated increases and increased.Because the reception server is handed in response to interacting produced first with terminal Mutual data and it is part or all of in the total resources of distribution needed for the first resource Distribution Events that send, and in first received During part in the total resources that resource is distributed for needed for first resource Distribution Events, the first resource received is with the first interaction The number of times that data are indicated increases and increased, it is achieved thereby that improving the technique effect of the controllability of resource acquisition, and then solves Correlation technique is in group communication, the low technical problem of the controllability of resource acquisition.
Alternatively, the specific example in the present embodiment may be referred to the example described in above-described embodiment, the present embodiment It will not be repeated here.
It will appreciated by the skilled person that the structure shown in Figure 19 is only signal, terminal can be smart mobile phone (such as Android phone, iOS mobile phones), tablet personal computer, palm PC and mobile internet device (Mobile Internet Devices, MID), the terminal device such as PAD.Figure 19 it does not cause to limit to the structure of above-mentioned electronic installation.For example, terminal is also May include more either less components (such as network interface, display device etc.) shown in 19 or with shown in Figure 19 not Same configuration.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To be completed by program come the device-dependent hardware of command terminal, the program can be stored in a computer-readable recording medium In, storage medium can include:Flash disk, read-only storage (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To be completed by program come the device-dependent hardware of command terminal, the program can be stored in a computer-readable recording medium In, storage medium can include:Flash disk, read-only storage (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
Embodiment 6
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium can For the program code for the acquisition methods for performing resource.
Alternatively, in the present embodiment, above-mentioned storage medium can be located at multiple in the network shown in above-described embodiment On at least one network equipment in the network equipment.
Alternatively, in the present embodiment, storage medium is arranged to the program code that storage is used to perform following steps:
The first configured information is received in the chat window of the first group, wherein, the first configured information is used to indicate the The first resource Distribution Events that one account number is initiated, the first account number is the account number in the first group;
Obtain and interact the first produced interaction data with terminal, wherein, terminal is used for the instruction in preset instructions Lower display chat window, the first interaction data is used for the number of times for indicating to interact with terminal, the first interaction data and the first money Source Distribution Events are associated;
The first interaction data is sent to server;
The first resource that the reception server is sent in response to the first interaction data, wherein, the first resource received is the It is part or all of in the total resources of distribution needed for one resource dissemination event, and be first resource point in the first resource received During part in the total resources of distribution needed for hair event, the number of times increasing that the first resource received is indicated with the first interaction data Plus and increase.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:Receiving first After configured information, the touch control operation to the first configured information is detected in chat window;In response to touch control operation, in terminal The first prompt window of middle ejection, wherein, the event type of first resource Distribution Events, event class are shown in the first prompt window The reception mode of the corresponding first resource of type is to be interacted with terminal;Eject after the first prompt window, obtain in the terminal The first produced interaction data is interacted with terminal.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:It is pre- in wait first After fixing time, obtain and interact the first produced interaction data with terminal, wherein, first scheduled time is with countdown Mode is shown in the first prompt window.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:Receiving first After configured information, the second configured information is received in chat window, wherein, the second configured information is used to indicate the second account number The Secondary resource Distribution Events of initiation, the second account number is the account number in the first group;Obtain produced by being interacted with terminal Second interaction data, wherein, the second interaction data is associated with Secondary resource Distribution Events;Second, which is sent, to server interacts number According to;The Secondary resource that the reception server is sent in response to the second interaction data, wherein, the Secondary resource received is Secondary resource It is part or all of in the total resources of distribution needed for Distribution Events, and be Secondary resource Distribution Events in the Secondary resource received During part in the total resources of required distribution, number of times increase that the Secondary resource received is indicated with the second interaction data and increase Plus.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:It is pre- in wait second After fixing time, obtain and interact the second produced interaction data with terminal, wherein, second scheduled time is with countdown Mode is shown in the second prompt window ejected in terminal.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:Pass through the top of terminal Spiral shell instrument obtains the number of times that terminal is rocked in predetermined amount of time;First interaction data is set to include the number of times that rocks and/or shaken The frequency of rolling, wherein, the frequency rocked is obtained according to the number of times and predetermined amount of time that rock.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:In the reception server During the first resource sent in response to the first interaction data, the prompting of display first letter in the second prompt window ejected in the terminal Breath, wherein, the first prompt message is used for the value for pointing out the current first resource got.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:Eject in the terminal The second prompt window in when showing the first prompt message, the second prompt message is shown in the second prompt window, wherein, second Prompt message is used for the value for pointing out still undealt resource in total resources.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:In first resource point The total resources of distribution are not distributed needed for hair event finish in the case of, receive first resource;Needed for first resource Distribution Events In the case that the total resources distribution of distribution is finished, the 3rd prompt message is shown, wherein, the 3rd prompt message is used to point out first to provide The total resources distribution of distribution needed for the Distribution Events of source is finished.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:In the reception server After the first resource sent in response to the first interaction data, information resources distribution thing is selected in the chat window of the first group The event type of part, wherein, the reception mode of the corresponding information resources of event type is interacts with terminal, and information resources are It is part or all of in the total resources of distribution needed for information resources Distribution Events;That ejects in the terminal is corresponding with event type Resource acquisition window in, obtain the total resources of distribution needed for information resources Distribution Events;Information resources point are sent to server The total resources of distribution needed for hair event, and the 3rd configured information is received in chat window, wherein, the 3rd configured information is used for Indicate information resources Distribution Events.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:Provided in selection the 3rd After the event type of source Distribution Events, in the resource acquisition window corresponding with event type ejected in the terminal, receive Type switching command, wherein, type switching command is used to switch over event type, the event type after being switched;Obtain The total resources of distribution needed for taking the 4th resource dissemination event, wherein, after the event type of the 4th resource dissemination event is switching Event type;The total resources distributed needed for sending the 4th resource dissemination event to server, and receive in chat window the Four configured informations, wherein, the 4th configured information is used to indicate the 4th resource dissemination event.
Alternatively, the specific example in the present embodiment may be referred to the example described in above-described embodiment, the present embodiment It will not be repeated here.
Alternatively, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. is various can be with the medium of store program codes.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
If the integrated unit in above-described embodiment is realized using in the form of SFU software functional unit and is used as independent product Sale or in use, the storage medium that above computer can be read can be stored in.Understood based on such, skill of the invention The part or all or part of the technical scheme that art scheme substantially contributes to prior art in other words can be with soft The form of part product is embodied, and the computer software product is stored in storage medium, including some instructions are to cause one Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) perform each embodiment institute of the invention State all or part of step of method.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not have in some embodiment The part of detailed description, may refer to the associated description of other embodiment.
, can be by others side in several embodiments provided herein, it should be understood that disclosed client Formula is realized.Wherein, device embodiment described above is only schematical, such as division of described unit, only one Kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or Another system is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed it is mutual it Between coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of unit or module by some interfaces Connect, can be electrical or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (15)

1. a kind of acquisition methods of resource, it is characterised in that including:
The first configured information is received in the chat window of the first group, wherein, first configured information is used to indicate the The first resource Distribution Events that one account number is initiated, first account number is the account number in first group;
Obtain and interact the first produced interaction data with terminal, wherein, the terminal is used for the instruction in preset instructions The lower display chat window, first interaction data is used for the number of times for indicating to interact with the terminal, described first Interaction data is associated with the first resource Distribution Events;
First interaction data is sent to server;
The first resource that the server is sent in response to first interaction data is received, wherein, described first received It is part or all of in the total resources that resource is distributed for needed for the first resource Distribution Events, and in described first received During part in the total resources that resource is distributed for needed for the first resource Distribution Events, the first resource received with The number of times that first interaction data is indicated increases and increased.
2. according to the method described in claim 1, it is characterised in that
After first configured information is received, methods described also includes:Detected in the chat window to described The touch control operation of first configured information;In response to the touch control operation, the first prompt window is ejected in the terminal, wherein, The event type of the first resource Distribution Events is shown in first prompt window, the event type is corresponding described The reception mode of first resource is to be interacted with the terminal;
Obtain includes with first interaction data produced by the terminal is interacted:Ejection first is carried in the terminal Show after window, obtain and interact produced first interaction data with the terminal.
3. method according to claim 2, it is characterised in that obtain described the produced by being interacted with the terminal One interaction data includes:
After waiting for first scheduled time, obtain and interact produced first interaction data with the terminal, its In, first scheduled time is shown in the way of countdown in first prompt window.
4. according to the method described in claim 1, it is characterised in that after first configured information is received, the side Method also includes:
The second configured information is received in the chat window, wherein, second configured information is used to indicate the second account number The Secondary resource Distribution Events of initiation, second account number is the account number in first group;
Obtain and interact the second produced interaction data with the terminal, wherein, second interaction data and described the Two resource dissemination events are associated;
Second interaction data is sent to the server;
The Secondary resource that the server is sent in response to second interaction data is received, wherein, described second received It is part or all of in the total resources that resource is distributed for needed for the Secondary resource Distribution Events, and in described second received During part in the total resources that resource is distributed for needed for the Secondary resource Distribution Events, the Secondary resource received with The number of times that second interaction data is indicated increases and increased.
5. method according to claim 4, it is characterised in that obtain described the produced by being interacted with the terminal Two interaction datas include:
After waiting for second scheduled time, obtain and interact produced second interaction data with the terminal, its In, second scheduled time is shown in the way of countdown in the second prompt window ejected in the terminal.
6. method as claimed in any of claims 1 to 5, it is characterised in that acquisition is interacted with terminal is produced Raw first interaction data includes:
The number of times that the terminal is rocked in predetermined amount of time is obtained by the gyroscope of the terminal;
First interaction data is set to include the number of times rocked and/or the frequency rocked, wherein, it is described to shake The number of times and the predetermined amount of time that the frequency of rolling is rocked according to are obtained.
7. method as claimed in any of claims 1 to 5, it is characterised in that receive the server in response to During the first resource that first interaction data is sent, methods described also includes:
The first prompt message is shown in the second prompt window ejected in the terminal, wherein, first prompt message is used In the value of the current first resource got of prompting.
8. method according to claim 7, it is characterised in that shown in the second prompt window ejected in the terminal During first prompt message, methods described also includes:
The second prompt message is shown in second prompt window, wherein, second prompt message is described total for pointing out The value of still undealt resource in resource.
9. method as claimed in any of claims 1 to 5, it is characterised in that receive the server in response to institute Stating the first resource of the first interaction data transmission includes:
The total resources distributed needed for the first resource Distribution Events are not distributed finish in the case of, receive it is described first money Source;
In the case that the total resources distribution distributed needed for the first resource Distribution Events is finished, the 3rd prompt message is shown, Wherein, the 3rd prompt message is used to point out the total resources distribution distributed needed for the first resource Distribution Events to finish.
10. according to the method described in claim 1, it is characterised in that receiving the server in response to the described first interaction After the first resource that data are sent, methods described also includes:
The event type of information resources Distribution Events is selected in the chat window of first group, wherein, the event class The reception mode of the corresponding information resources of type is interacts with the terminal, and the information resources are distributed for the information resources It is part or all of in the total resources of distribution needed for event;
In the resource acquisition window corresponding with the event type ejected in the terminal, the information resources point are obtained The total resources of distribution needed for hair event;
The total resources distributed needed for the information resources Distribution Events are sent to the server, and are connect in the chat window The 3rd configured information is received, wherein, the 3rd configured information is used to indicate the information resources Distribution Events.
11. method according to claim 10, it is characterised in that selecting the event class of the information resources Distribution Events After type, methods described also includes:
In the resource acquisition window corresponding with the event type ejected in the terminal, type switching command is received, Wherein, the type switching command is used to switch over the event type, the event type after being switched;
The total resources of distribution needed for obtaining the 4th resource dissemination event, wherein, the event type of the 4th resource dissemination event For the event type after the switching;
The total resources distributed needed for the 4th resource dissemination event are sent to the server, and are connect in the chat window The 4th configured information is received, wherein, the 4th configured information is used to indicate the 4th resource dissemination event.
12. a kind of acquisition device of resource, it is characterised in that including:
First receiving unit, for receiving the first configured information in the chat window of the first group, wherein, described first refers to Show information be used for indicate the first account number initiate first resource Distribution Events, first account number be first group in account Number;
First acquisition unit, the first produced interaction data is interacted for obtaining with terminal, wherein, the terminal is used for The chat window is shown under the instruction of preset instructions, first interaction data is used to indicate to interact with the terminal Number of times, first interaction data is associated with the first resource Distribution Events;
First transmitting element, for sending first interaction data to server;
Second receiving unit, for receiving the first resource that the server is sent in response to first interaction data, wherein, It is part or all of in the total resources that the first resource received is distributed for needed for the first resource Distribution Events, and During part in the total resources that the first resource received is distributed for needed for the first resource Distribution Events, receive The number of times that the first resource is indicated with first interaction data increases and increased.
13. device according to claim 12, it is characterised in that
Described device also includes:Detection unit, for after first configured information is received, in the chat window Detect the touch control operation to first configured information;Response unit, in response to the touch control operation, in the terminal The first prompt window of middle ejection, wherein, the event class of the first resource Distribution Events is shown in first prompt window Type, the reception mode of the corresponding first resource of the event type is interacts with the terminal;
The first acquisition unit includes:First acquisition module, for ejecting the first prompt window in the terminal after, obtain Take and interact produced first interaction data with the terminal.
14. device according to claim 13, it is characterised in that the first acquisition unit includes:
Second acquisition module, for after waiting for first scheduled time, obtaining and interacting produced institute with the terminal The first interaction data is stated, wherein, first scheduled time is shown in the way of countdown in first prompt window.
15. device according to claim 12, it is characterised in that described device also includes:
3rd receiving unit, for after first configured information is received, second to be received in the chat window Configured information, wherein, second configured information is used for the Secondary resource Distribution Events for indicating that the second account number is initiated, described second Account number is the account number in first group;
Second acquisition unit, the second produced interaction data is interacted for obtaining with the terminal, wherein, described second Interaction data is associated with the Secondary resource Distribution Events;
Second transmitting element, for sending second interaction data to the server;
4th receiving unit, for receiving the Secondary resource that the server is sent in response to second interaction data, wherein, It is part or all of in the total resources that the Secondary resource received is distributed for needed for the Secondary resource Distribution Events, and During part in the total resources that the Secondary resource received is distributed for needed for the Secondary resource Distribution Events, receive The number of times that the Secondary resource is indicated with second interaction data increases and increased.
CN201710228969.8A 2017-04-10 2017-04-10 Resource acquisition method and device Active CN107153581B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201710228969.8A CN107153581B (en) 2017-04-10 2017-04-10 Resource acquisition method and device
PCT/CN2018/078937 WO2018188444A1 (en) 2017-04-10 2018-03-14 Resource acquisition method and device, storage medium and electronic device
TW107111689A TW201837704A (en) 2017-04-10 2018-04-02 Method and device for acquiring resource, computer readable storage medium, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710228969.8A CN107153581B (en) 2017-04-10 2017-04-10 Resource acquisition method and device

Publications (2)

Publication Number Publication Date
CN107153581A true CN107153581A (en) 2017-09-12
CN107153581B CN107153581B (en) 2022-04-26

Family

ID=59793708

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710228969.8A Active CN107153581B (en) 2017-04-10 2017-04-10 Resource acquisition method and device

Country Status (3)

Country Link
CN (1) CN107153581B (en)
TW (1) TW201837704A (en)
WO (1) WO2018188444A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018188444A1 (en) * 2017-04-10 2018-10-18 腾讯科技(深圳)有限公司 Resource acquisition method and device, storage medium and electronic device
CN108830724A (en) * 2018-04-12 2018-11-16 平安科技(深圳)有限公司 A kind of resource data packet processing method and terminal device
CN109246225A (en) * 2018-09-25 2019-01-18 上海掌门科技有限公司 Method is provided and got to a kind of resource allocation
CN110996180A (en) * 2019-12-17 2020-04-10 李昱颉 Network live broadcast chatting method, system and server
CN112891941A (en) * 2021-03-25 2021-06-04 腾讯科技(深圳)有限公司 Virtual resource processing method and device, storage medium and electronic equipment
CN113344555A (en) * 2020-02-18 2021-09-03 阿里巴巴集团控股有限公司 Method, device and system for acquiring virtual resources, storage medium and processor
WO2022228064A1 (en) * 2021-04-30 2022-11-03 腾讯科技(深圳)有限公司 Method and apparatus for processing virtual resource packet, device, storage medium, and program product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150227963A1 (en) * 2014-02-12 2015-08-13 Turn Inc. Systems, methods, and apparatus for budget allocation
CN106020851A (en) * 2016-06-27 2016-10-12 乐视控股(北京)有限公司 Mobile terminal control method and device
CN106302111A (en) * 2016-08-04 2017-01-04 财付通支付科技有限公司 A kind of information processing method, terminal and server
CN106331305A (en) * 2015-07-02 2017-01-11 天脉聚源(北京)科技有限公司 Method and system for customizing shake function of WeChat
CN106339865A (en) * 2016-09-12 2017-01-18 广东欧珀移动通信有限公司 Electronic resource acquisition method based on mobile terminal and the mobile terminal
CN106445243A (en) * 2016-11-07 2017-02-22 深圳Tcl数字技术有限公司 Touch responding device and method for intelligent equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117250B (en) * 2015-08-24 2019-03-29 联想(北京)有限公司 A kind of compatibility processing method and electronic equipment
CN106161635B (en) * 2016-07-20 2019-01-29 腾讯科技(北京)有限公司 Information processing method, terminal and server
CN107153581B (en) * 2017-04-10 2022-04-26 腾讯科技(深圳)有限公司 Resource acquisition method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150227963A1 (en) * 2014-02-12 2015-08-13 Turn Inc. Systems, methods, and apparatus for budget allocation
CN106331305A (en) * 2015-07-02 2017-01-11 天脉聚源(北京)科技有限公司 Method and system for customizing shake function of WeChat
CN106020851A (en) * 2016-06-27 2016-10-12 乐视控股(北京)有限公司 Mobile terminal control method and device
CN106302111A (en) * 2016-08-04 2017-01-04 财付通支付科技有限公司 A kind of information processing method, terminal and server
CN106339865A (en) * 2016-09-12 2017-01-18 广东欧珀移动通信有限公司 Electronic resource acquisition method based on mobile terminal and the mobile terminal
CN106445243A (en) * 2016-11-07 2017-02-22 深圳Tcl数字技术有限公司 Touch responding device and method for intelligent equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
马晓林: "网络红包营销策略研究——以腾讯和阿里巴巴为例", 《中国优秀硕士学位论文全文数据库经济与管理科学辑》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018188444A1 (en) * 2017-04-10 2018-10-18 腾讯科技(深圳)有限公司 Resource acquisition method and device, storage medium and electronic device
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
CN109246225A (en) * 2018-09-25 2019-01-18 上海掌门科技有限公司 Method is provided and got to a kind of resource allocation
CN110996180A (en) * 2019-12-17 2020-04-10 李昱颉 Network live broadcast chatting method, system and server
CN110996180B (en) * 2019-12-17 2021-05-28 李昱颉 Network live broadcast chatting method, system and server
CN113344555A (en) * 2020-02-18 2021-09-03 阿里巴巴集团控股有限公司 Method, device and system for acquiring virtual resources, storage medium and processor
CN112891941A (en) * 2021-03-25 2021-06-04 腾讯科技(深圳)有限公司 Virtual resource processing method and device, storage medium and electronic equipment
WO2022228064A1 (en) * 2021-04-30 2022-11-03 腾讯科技(深圳)有限公司 Method and apparatus for processing virtual resource packet, device, storage medium, and program product

Also Published As

Publication number Publication date
TW201837704A (en) 2018-10-16
CN107153581B (en) 2022-04-26
WO2018188444A1 (en) 2018-10-18

Similar Documents

Publication Publication Date Title
CN107153581A (en) The acquisition methods and device of resource
CN106131057B (en) Certification based on virtual reality scenario and device
CN104765993B (en) A kind of method and apparatus of Anti-addiction
CN108579086B (en) Processing method, device, storage medium and the electronic device of object
CN104184731B (en) A kind of method for information display, apparatus and system
CN107340944B (en) The display methods and device of interface
CN108848399A (en) A kind of information interacting method and device based on more wheat positions room
CN106339947A (en) Method and device for performing business operation and acquiring group member information based on chat group
CN108228025A (en) message display method, device, mobile terminal and storage medium
CN105915766A (en) Control method and device based on virtual reality
CN105931081A (en) Method and apparatus for processing events
CN106422324A (en) Multi-terminal real-time communication method, device and system
CN107135146A (en) The display methods and device of information
CN106982158A (en) The sharing method and device of movement locus
CN106302111A (en) A kind of information processing method, terminal and server
CN108335088B (en) Virtual resource transfer method, device and storage medium
CN107147562A (en) Message treatment method and device
CN108905205A (en) Prompt processing method, device, storage medium and electronic device
CN115456624A (en) Interaction method and device based on electronic certificate and electronic equipment
CN110177041B (en) Voice information sending method and device, storage medium and electronic device
CN106161635B (en) Information processing method, terminal and server
CN109525697A (en) Contact person shares and the method, apparatus and terminal of display
CN107172136A (en) The synchronous method and device of voxel data
CN110362748A (en) User's recommended method, device, equipment, storage medium and system
CN110237528A (en) The control method and device of object, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant