CN111934977A - Information processing method, terminal, server and storage medium - Google Patents

Information processing method, terminal, server and storage medium Download PDF

Info

Publication number
CN111934977A
CN111934977A CN202010588336.XA CN202010588336A CN111934977A CN 111934977 A CN111934977 A CN 111934977A CN 202010588336 A CN202010588336 A CN 202010588336A CN 111934977 A CN111934977 A CN 111934977A
Authority
CN
China
Prior art keywords
information
server
user
timer
allocable resources
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
CN202010588336.XA
Other languages
Chinese (zh)
Other versions
CN111934977B (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.)
Tenpay Payment Technology Co Ltd
Original Assignee
Tenpay Payment Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tenpay Payment Technology Co Ltd filed Critical Tenpay Payment Technology Co Ltd
Priority to CN202010588336.XA priority Critical patent/CN111934977B/en
Publication of CN111934977A publication Critical patent/CN111934977A/en
Application granted granted Critical
Publication of CN111934977B publication Critical patent/CN111934977B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3821Electronic credentials
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages

Abstract

The embodiment of the invention discloses an information processing method, a terminal, a server and a storage medium. The method comprises the following steps: obtaining first information sent by a first user, wherein the first information is information that the first user distributes a first amount of allocable resources to at least one user in a group; sending second information to the group based on the first information; responding to the triggering behavior of the first triggered second information, and starting a timer; obtaining a second number of users triggering the second information within the timing time of the timer; and when the timing time of the timer is up, performing resource allocation processing based on the first quantity and the second quantity.

Description

Information processing method, terminal, server and storage medium
The application is a division of a Chinese patent application with the application number of 201610635639.6 and the application name of 'an information processing method, a terminal and a server' filed in 04.08.2019.
Technical Field
The present invention relates to information processing technologies, and in particular, to an information processing method, a terminal, a server, and a storage medium.
Background
With the rapid development of internet technology, a great number of social applications emerge. Besides information interaction through the social application, the terminal users can also perform operations such as mobile payment. In one application scenario, a plurality of terminal users are in a session window, and a first terminal can issue at least part of attributed digital money into the session window through information for other terminal users to obtain, which can be called "red packet robbing". The prior art 'snatching the red envelope' generally comprises the following processing flows: and obtaining the red packet according to the sequence of the red packet information checked by the terminal. However, in the scheme of 'snatching red packets' in the prior art, people who pick up red packets need to wait for the completion of picking up the red packets one by one, and when the people who pick up the red packets do not find the existence of the red packets or are not beside a mobile phone for a long time, the people need to wait for a long time to complete the whole process or finally return to a sender, so that the distribution efficiency of the electronic red packets is low.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention provide an information processing method, a terminal, a server, and a storage medium.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
the embodiment of the invention provides an information processing method, which comprises the following steps:
obtaining first information sent by a first user, wherein the first information is information that the first user distributes a first amount of allocable resources to at least one user in a group;
sending second information to the group based on the first information;
responding to the triggering behavior of the first triggered second information, and starting a timer;
obtaining a second number of users triggering the second information within the timing time of the timer;
and when the timing time of the timer is up, performing resource allocation processing based on the first quantity and the second quantity.
The embodiment of the invention also provides an information processing method, which comprises the following steps:
receiving second information sent by a server, and displaying the second information in a conversation window of a group; wherein the second information is for allocating a first number of allocable resources to users of the group;
acquiring a first trigger operation on the second information, sending third information to the server when the first trigger operation is determined to be a first trigger action on the second information, so that the server starts a timer based on the third information, and acquiring a second number of users triggering the second information by the server within the timing time of the timer;
and when the timing time of the timer is up, obtaining the resources allocated by the server, wherein the server performs resource allocation processing based on the first quantity and the second quantity.
The embodiment of the invention also provides an information processing method, which comprises the following steps:
determining a group;
displaying a resource configuration interface of the group;
acquiring a first quantity of allocable resources and a first attribute parameter input on the resource configuration interface, and generating first information based on the first quantity of the allocable resources and the first attribute parameter;
and sending the first information to a server so that the server calls corresponding display effect data based on the first attribute parameter, generates second information based on the display effect data, and sends the second information to the group.
An embodiment of the present invention further provides a server, where the server includes: the device comprises a first communication unit, a first processing unit and a timing unit; wherein the content of the first and second substances,
the first communication unit is configured to obtain first information sent by a first user, where the first information is information that the first user allocates a first amount of allocable resources to at least one user in a group;
the first communication unit is further configured to send second information to the group based on the first information;
the timing unit is used for responding to the triggering behavior of the first triggered second information and starting a timer;
the first communication unit is further configured to obtain a second number of users triggering the second information within a timing time of the timer;
the first processing unit is configured to perform resource allocation processing based on the first number and the second number when the timing time of the timer expires.
Optionally, the first processing unit is further configured to invoke corresponding display effect data based on a first attribute parameter in the first information; generating second information based on the display effect data;
the first communication unit is specifically configured to send the second information to the group.
Optionally, the first communication unit is further configured to send a timing state of the timer to a user triggering the second information in the group after the timer is started.
Optionally, the first communication unit is further configured to obtain a timing state of the timer after receiving fourth information for requesting the timing state sent by any user in the group, and send the timing state of the timer to the user sending the fourth information.
Optionally, the first processing unit is further configured to determine that the second information is triggered for the first time when third information sent by any user in the group is received for the first time, where the third information is generated when the second information is triggered for the first time by any user.
Optionally, the first processing unit is specifically configured to allocate, based on the second number and a pre-configured allocation rule, the first number of allocable resources to the user who triggers the second information.
Optionally, the first information further includes a third quantity, where the third quantity characterizes the number of users whose allocable resources support allocation of the first quantity; when the second number is greater than the third number, the first processing unit is specifically configured to randomly select users satisfying the third number from the users triggering the second information, and allocate the first number of allocable resources to the users triggering the second information based on the third number and a pre-configured allocation rule.
Optionally, when the second number is not greater than the third number, the first processing unit is specifically configured to:
randomly distributing the first number of the allocable resources according to the second number to obtain a first sub-number of the allocable resources meeting the second number, and respectively sending the first sub-number of the allocable resources to corresponding users triggering the second information;
or, the first number of allocable resources are evenly distributed based on the number of users whose allocation is supported by the first number of allocable resources, a second sub-number of allocable resources are obtained, and the second sub-number of allocable resources are respectively sent to the users who trigger the second information.
Optionally, the first processing unit is specifically configured to, when the timing time of the timer expires, if the obtained number of the second sub-number of the allocable resources is greater than the third number, return the allocable resources that are not sent to the user that triggered the second information to the first user.
Optionally, the timing time of the timer is preset by the server, or the timing time of the timer is determined according to the timing time configured by the first user in the first information.
Optionally, the first communication unit is further configured to send a notification message to a user who triggers the second information, where the notification message includes a sub-quantity of allocable resources obtained by a corresponding user, so that when a terminal of the user detects a second trigger operation for the notification message, the terminal obtains the allocable resources allocated by the server, and outputs a display effect corresponding to the display effect data in the second information.
An embodiment of the present invention further provides a terminal, where the terminal includes: the device comprises a communication unit, a processing unit and a detection unit; wherein the content of the first and second substances,
the communication unit is used for receiving second information sent by the server and displaying the second information in a conversation window of the group; wherein the second information is for allocating a first number of allocable resources to users of the group;
the detection unit is used for acquiring a first trigger operation on the second information;
the communication unit is further configured to send third information to the server when it is determined that the first trigger operation is a first trigger action on the second information, so that the server starts a timer based on the third information, and the server obtains a second number of users who trigger the second information within a timing time of the timer;
and the processing unit is used for obtaining the resources allocated by the server when the timing time of the timer is up, wherein the server performs resource allocation processing based on the first quantity and the second quantity.
Optionally, the processing unit is further configured to output a display effect corresponding to the display effect data in the second information when the timing time of the timer expires.
Optionally, the communication unit is further configured to obtain a notification message sent by the server when the timing time of the timer expires;
the processing unit is further configured to output the notification message in a session window of the group;
the communication unit is further configured to obtain the allocable resource allocated by the server when detecting a second trigger operation for the notification message.
Optionally, the processing unit is further configured to display, when a second trigger operation for the notification message is detected, whether to obtain the hint information of the allocable resource and the hint information of the obtained number of the allocable resource.
Optionally, the communication unit is further configured to receive a timing status sent by the server based on the third information;
the processing unit is further configured to output a first interface including the timing status.
Optionally, the communication unit is further configured to send fourth information to the server when detecting that a first trigger operation is not performed for the second information for the first time, where the fourth information is used to request a timing state;
the communication unit is further configured to obtain a timing state sent by the server based on the fourth information;
the processing unit is further configured to generate and display a first interface including the timing state.
An embodiment of the present invention further provides a terminal, where the terminal includes: a communication unit and a processing unit; wherein the content of the first and second substances,
the processing unit is used for determining a group, displaying a resource configuration interface of the group, acquiring a first quantity of allocable resources and a first attribute parameter which are input on the resource configuration interface, and generating first information based on the first quantity of the allocable resources and the first attribute parameter;
the communication unit is used for sending the first information to a server, so that the server calls corresponding display effect data based on the first attribute parameter, generates second information based on the display effect data, and sends the second information to the group.
An embodiment of the present invention further provides a server, where the server includes: a processor and a memory for storing a computer program operable on the processor, wherein the processor is operable to perform the steps of any of the methods of any of the embodiments described above when executing the computer program.
An embodiment of the present invention further provides a terminal, where the terminal includes: a processor and a memory for storing a computer program operable on the processor, wherein the processor is operable to perform the steps of any of the methods of any of the embodiments described above when executing the computer program.
Embodiments of the present invention also provide a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of any of the methods in any of the above embodiments.
According to the information processing method, the terminal, the server and the storage medium provided by the embodiment of the invention, on one hand, the server obtains first information which is sent by a first user and contains attribute parameters; the first information is information that the first user allocates a first amount of allocable resources to at least one second user; when the attribute parameter is a first attribute parameter, generating second information based on the first attribute parameter, and sending the second information to a group where a first user and at least one second user are located; the second information displayed by the conversation window corresponding to the group has a specific display effect; the second information is triggered by a second user for the first time, after third information generated by the second user based on a triggering behavior is received, a timer is started, and the timing state of the timer is sent to the second user; the third information represents that the second information is triggered for the first time; obtaining a second number of second users triggering the second information within the timing time of the timer; and when the timing time of the timer is up, allocating the first number of allocable resources to a second user triggering the second information based on the second number and a pre-configured allocation rule. On the other hand, second information sent by the server is received, and the second information is output in the session window; wherein the second information is for allocating a first number of allocable resources to users in the session window; detecting a first trigger operation aiming at the second information, generating third information when the first trigger operation is the first operation aiming at the second information in the session window, and sending the third information to the server; and obtaining a timing state sent by the server; generating and outputting a first interface containing the timing state based on the first trigger operation; and when the timing state represents that the timing time is up, acquiring the allocable resources distributed by the server, and outputting a specific display effect corresponding to the first attribute parameter. Therefore, the technical scheme of the embodiment of the invention provides a new information interaction scheme about 'robbing red envelope', when a second user triggers second information for the first time, the server starts a timer to start timing, namely the user triggering the red envelope information in the countdown timing time is marked as effective; the user who triggers the red packet information when the timing time of the timer is up may obtain the red packet, so that the time period for obtaining the allocable resource is greatly shortened, and the information interaction efficiency is improved.
Drawings
FIG. 1 is a diagram of hardware entities performing information interaction in an embodiment of the present invention;
FIG. 2 is a first flowchart illustrating an information processing method according to an embodiment of the present invention;
FIG. 3 is a second flowchart illustrating an information processing method according to an embodiment of the present invention;
FIG. 4 is an interaction diagram of an information processing method according to an embodiment of the present invention;
FIG. 5 is a schematic view of an interaction scenario of an information processing method according to an embodiment of the present invention;
fig. 6a to fig. 6c are schematic diagrams of an application scenario of the terminal according to the embodiment of the present invention;
fig. 7 is a schematic view of another application scenario of the terminal according to the embodiment of the present invention;
FIG. 8 is a schematic diagram of a server according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 10 is a schematic diagram of a server/terminal as a hardware entity according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
FIG. 1 is a diagram of hardware entities performing information interaction in an embodiment of the present invention; as shown in fig. 1, fig. 1 includes: the system comprises a server 11 and terminal devices 12-14, wherein the terminal devices 12-14 perform information interaction with the server 11 through a wired network or a wireless network, and the terminal devices 12-14 comprise mobile phones, desktop computers, PCs, all-in-one machines and the like. Wherein the terminal devices 12-14 may be in the same group; the terminal devices 12 to 14 can all output a session window, and the session window contains users corresponding to the terminal devices 12 to 14; the session window may be a session window of a certain instant messaging application, or may be a session window through a web page. In an example, the server 11 may interact with a first type of terminal device (for example, a terminal where a user who issues a red packet is located) through a network to obtain red packet request information sent by the first type of user corresponding to the first type of terminal device, where the red packet request information specifically includes: the red packet request information may include a red packet number, a red packet amount, and attribute information, where the attribute information may specifically indicate that the red packet event represented by the red packet request information is a common red packet event or a red packet event with a specific display effect according to an embodiment of the present invention. The terminal devices 12-14 may also include a second type of terminal device, as opposed to the first type of terminal device, which may interact with the server 11 via a network. The server 11 generates the red packet information with a specific display effect based on the red packet request information sent by the first class terminal device, and outputs the red packet information to a conversation window containing the first class user and the second class user. When the second type terminal device detects the input operation of the second type user for the red packet information displayed in the session window, the second type terminal device indicates that the red packet is requested to be obtained, and correspondingly sends a message to the server 11. In this embodiment, when the attribute information indicates that the event is a red packet event with a specific display effect, the red packet information displayed in the session window of the second type of terminal device is different from the red packet information corresponding to a common red packet event; as an example, the conversation window displays red envelope information having a particular display appearance. When any terminal device in the second class of terminal devices detects an input event of a second class user for the red packet information, the second class of terminal devices performs information interaction with the server 11, the server 11 starts a timer, and countdown is started; within the timing time of the timer, the server may further continue to receive a notification message indicating a second class of terminal devices that trigger the red packet information; and until the timing time of the timer is up, the server 11 counts the number of the second class users triggering the red packet information, and allocates the red packet amount issued by the first class users to the second class users triggering the red packet information according to a pre-configured allocation rule.
Of course, the second type of terminal device may include the first type of terminal device, that is, the terminal device that issues the red packet may also be used as the terminal device that obtains the red packet.
The above example of fig. 1 is only an example of a system architecture for implementing the embodiment of the present invention, and the embodiment of the present invention is not limited to the system architecture described in the above fig. 1, and various embodiments of the present invention are proposed based on the system architecture.
The embodiment of the invention provides an information processing method which is applied to a server. FIG. 2 is a first flowchart illustrating an information processing method according to an embodiment of the present invention; as shown in fig. 2, the information processing method includes:
step 201: the server obtains first information which is sent by a first user and contains attribute parameters; the first information is information that the first user allocates a first amount of allocable resources to at least one second user. Wherein the first user and the at least one second user are in the same group.
Step 202: when the attribute parameter is a first attribute parameter, generating second information based on the first attribute parameter, and sending the second information to a group where a first user and at least one second user are located; the second information displayed by the conversation window corresponding to the group has a specific display effect.
Step 203: the second information is triggered by a second user for the first time, after third information generated by the second user based on a triggering behavior is received, a timer is started, and the timing state of the timer is sent to the second user; the third information represents that the second information is triggered for the first time.
Step 204: and when the timing time of the timer is up, allocating the first number of allocable resources to the second user triggering the second information based on the second number and a pre-configured allocation rule.
In this embodiment, the first user corresponds to a first terminal, and the second user corresponds to a second terminal, that is, the user can perform an operation on the corresponding terminal; the first terminal and the at least one second terminal are in the same group, and the session window corresponding to the group may specifically be a session window based on a social application (e.g., an instant messaging application); based on the group, the first user and the at least one second user can communicate with each other, and can also perform social activities, such as information sharing. In embodiments of the present invention, payment activities, such as "red parcel," payment activities for transfers, may also be performed between the first user and the at least one second user through the session window; it is understood that the first user transmits allocable resources to the at least one second user through the session window; the allocable resource can be an electronic red packet with a certain amount.
Based on the above description, the first user sets an attribute parameter of an allocable resource and a first quantity of the allocable resource (the first quantity may specifically be a specific amount of money) in the session window through an input operation, generates first information based on the set attribute parameter and the first quantity, and sends the first information to the server. In practical application, a payment tool is built in a social application to which the session window belongs (for example, if the social application is a WeChat application, a WeChat wallet payment tool is built in the WeChat application; and if the social application is a QQ application, a QQ wallet payment tool is built in the QQ application); generally, the allocable resource in the embodiment of the present invention is electronic money in a payment tool built in a social application to which the session window belongs; it is to be understood that the first user pays a first amount of allocatable resources to at least one second user, i.e. the first user sends at least part of the electronic money already in the payment instrument built into the own social instrument to the at least one second user by means of the association of the group.
The server receives first information sent by the first user, where the first information includes a first quantity and an attribute parameter, and the attribute parameter is used to indicate that the allocable resource represented by the first information is a common allocable resource or a specific allocable resource. Wherein, the common allocable resource corresponds to a common information processing rule, for example, the first user sends the common allocable resource through a session window; the allocable resource supports allocation to n (n is a positive integer) second users; and the second user clicks the allocable resource, and if the number of the second users clicking the allocable resource is the first n, the second user can obtain the part of the allocable resource. In practical applications, the common allocable resource may refer to an existing "information exchange process of a red packet". The specific allocable resource corresponds to a specific information processing rule, and the specific information processing rule is an information interaction flow of the embodiment of the invention.
In this embodiment, after receiving the first information, the server obtains an attribute parameter included in the first information, and determines whether the attribute parameter is a first attribute parameter, where the first attribute parameter is an attribute parameter corresponding to the specific allocable resource. When the attribute parameter is the first attribute parameter, the server may determine that the first user sent a particular allocable resource. The server calls corresponding display effect data based on the first attribute parameters, generates second information based on the display effect data, and sends the second information to a group where the first user and at least one second user are located; the first user corresponds to a first terminal, the second user corresponds to a second terminal, and the server sends second information to the session window corresponding to the group; at this time, the second information having a specific display effect, for example, a specific skin (the skin may be a static image or a dynamic image) based on the display effect data included in the second information displayed in the conversation window by the at least one second user is displayed.
In this embodiment, when the second information is output and displayed on the at least one second terminal through the session window, the second user may perform an input operation on the second information, and when the second terminal detects the input operation on the second information, the second terminal may send third information to the server; when the server receives the third information, the server can determine that the second user clicks the second information; correspondingly, when the server receives the third information for the first time, it can be determined that the second information in the session window is triggered by a second user for the first time. In this embodiment, when the second information is triggered for the first time, the server starts a timer, and the timer starts to count down. The timing time of the timer can be preset by the server; as another embodiment, the timing time of the timer may be configured in the first information input by the first user.
In this embodiment, in the timing time of the timer, that is, in the countdown time of the timer, the server obtains the number of the second users that trigger the second information by receiving the third information sent by the second terminal. Specifically, in a conversation window, each second user clicking second information in the conversation window for the first time sends third information to the server through a corresponding second terminal; the third information is used for indicating that the corresponding second user desires to be allocated with the allocable resource; the server may determine the number of second users who triggered the second information based on the number of received third information. Wherein, the third information may include an identifier of the corresponding second user (or second terminal).
As an example, when a second user performs an input operation on the second information, the server receives third information and sends the timing state of the timer to the second user; and the second terminal where the second user is located outputs and displays a first interface based on the received timing state of the timer, wherein the first interface comprises the timing state of the timer, namely the first interface of the second terminal displays the countdown state of the timer. In one embodiment, the second user may hold the first interface until the timed state of the timer expires.
In another embodiment, the second user may close the first interface by an input operation and return to the conversation window again. In this application scenario, during the timing time of the timer, the method further includes: the server obtains the timing state of the timer after receiving fourth information sent by a second user, and sends the timing state of the timer to the second user; wherein the fourth information indicates that the second information is not triggered by the second user for the first time. The second user can detect input operation aiming at the second information in the conversation window again within the timing time range of the timer, and fourth information is generated based on the detected input operation; and after receiving the fourth information, the server obtains the timing state of the timer and sends the timing state to the second user, so that the second user can output and display the first interface again, and the timing state of the timer is displayed through the first interface.
In this embodiment, when it is determined that the timer expires, that is, when the timer countdown expires, the server allocates the first number of allocable resources to the second user triggering the second information based on the second number and a pre-configured allocation rule.
In this embodiment, the first information sent by the first user further includes a third amount, where the third amount represents the number of second users whose allocable resources of the first amount support allocation, and may be understood as 10 yuan (first amount) of electronic money (allocable resources) to be allocated to 10 (third amount) users. In practical applications, the following situations may occur: the first case is that the second number is greater than the third number, that is, the number of second users clicking the second information is greater than the number of second users to be allocated configured in advance. Based on this, in this embodiment, the method further includes: randomly selecting a second user meeting a third number from the second users triggering the second information, and allocating the first number of allocable resources to the second users triggering the second information based on the third number and a pre-configured allocation rule.
Specifically, in this case, the server may be configured with a random extraction algorithm in advance, and randomly extract, from the second users that trigger the second information, the second users that satisfy the third number, which may be understood as second users that do not obtain the allocated allocable resource, from the second users that trigger the second information.
The second case is that the second number is not greater than the third number, that is, the number of second users clicking the second information is not greater than the preconfigured number of second users to be allocated. Based on this, in this case, the allocation of the first number of allocable resources may be performed using the above-described pre-configured allocation rule.
In this embodiment, the pre-configured allocation rule may not be limited to the following two ways: randomly or proportionally randomly.
As an embodiment, when the second number is not greater than the third number, the allocating the first number of allocable resources to a second user triggering the second information based on the second number and a pre-configured allocation rule includes: and randomly distributing the first number of the allocable resources according to the second number to obtain a first sub-number of the allocable resources meeting the second number, and respectively sending the first sub-number of the allocable resources to corresponding second users triggering the second information.
Specifically, in this embodiment, when the timing time of the timer expires, the server randomly allocates the first number of allocable resources based on a second number of second users that trigger the second information, determines a sub-number of allocable resources obtained by each second user, and allocates allocable resources that satisfy the sub-number to the corresponding second users. For example, the first information includes: 10-dollar electronic money that can be distributed to 10 second users; the number of the second users actually clicked is 8, and the server randomly allocates 10 units to the 8 second users, and the electronic money obtained by each second user may be different.
As another embodiment, when the second number is not greater than the third number, the allocating the first number of allocable resources to a second user triggering the second information based on the second number and a pre-configured allocation rule includes: allocating the first number of allocable resources evenly based on the number of second users whose allocation is supported by the first number of allocable resources, to obtain a second sub-number of allocable resources; and respectively sending the second sub-quantity of the allocable resources to a second user triggering the second information.
Specifically, in this embodiment, when the timing time of the timer expires, the server randomly allocates the first number of allocable resources in proportion based on a second number of second users that trigger the second information, that is, the allocable resources obtained by each second user are the same; a sub-number of allocable resources obtained by each second user is determined, and allocable resources satisfying the sub-number are allocated to the corresponding second user. For example, the first information includes: 10-dollar electronic money that can be distributed to 10 second users; and if the number of the actually clicked second users is 8, the server averagely divides 10 yuan into 10 shares, each share is 1 yuan, the electronic money amount distributed to the 8 second users is 1 yuan, and the rest 2 yuan is returned to the first user again.
The technical scheme of the embodiment of the invention provides a new information interaction scheme about 'robbing red envelope', when a second user triggers second information for the first time, the server starts a timer to start timing, namely, the user triggering the red envelope information in the countdown timing time is recorded as effective; the user who triggers the red packet information when the timing time of the timer is up is likely to obtain the red packet, so that the time period for obtaining the allocable resource is greatly shortened, and the information interaction efficiency is improved; on the other hand, when the timing time of the timer is up, a specific display effect (such as an explosion display effect, a firework display effect and the like) is displayed, and the active atmosphere of information interaction is increased.
The embodiment of the invention also provides an information processing method which is applied to a terminal corresponding to the second user. FIG. 3 is a second flowchart illustrating an information processing method according to an embodiment of the present invention; as shown in fig. 3, the information processing method includes:
step 301: receiving second information sent by a server, and outputting the second information in a session window; wherein the second information is for allocating a first number of allocable resources to users in the session window.
Step 302: and when the first trigger operation is the first operation aiming at the second information in the session window, generating third information and sending the third information to the server.
Step 303: and acquiring the timing state sent by the server, and generating and outputting a first interface containing the timing state based on the first trigger operation.
Step 304: and when the timing state represents that the timing time is up, acquiring the allocable resources distributed by the server, and outputting a specific display effect corresponding to the first attribute parameter.
In this embodiment, the second user is, relative to the first user, a user who obtains a first number of allocable resources issued by the first user; as an embodiment, the first user who issues the first amount of the allocable resource may also serve as the second user, that is, the user who issues the electronic red packet may also serve as one of the users who obtain the electronic red packet.
In the embodiment, second information sent by a server is received, and the second information is output and displayed in a session window; wherein, the conversation window comprises at least two users. The second information carries specific display effect data, and the second information has a specific display effect based on the contained display effect data, where the specific display effect is, for example, a specific skin (the skin may be a static image or a dynamic image, etc.).
In this embodiment, when the second information is output and displayed through the session window, the second user may perform a first trigger operation on the second information; the second terminal corresponding to the second user may generate third information based on the detected first trigger operation, and send the third information to the server. The third information represents that the second user triggers the second information for the first time; in order to distinguish from the first operation or the non-first operation on the second information, information corresponding to the first operation on the second information is recorded as third information, and information corresponding to the non-first operation on the second information is recorded as fourth information.
In this embodiment, when the server receives at least one third message, the server may determine the first received third message based on the sequence of the received third messages, and further start a timer, where the timer starts to count down; correspondingly, the second user obtains the timing state sent by the server, and the timing state is displayed through a first interface output by a second terminal corresponding to the second user. When the first interface displays the timing state, the second terminal may trigger its own timer to start countdown based on the obtained timing state of the timer, for example, if the obtained timing state of the timer is still 10 seconds, the second user triggers its own timer to start counting down from 10 seconds, and controls the count of its own timer to display the timing state in the first interface.
In one embodiment, the second user can close the first interface through input operation and return to the conversation window again; may also stay on the first interface. After the second user closes the first interface, the second user can also perform input operation on the second information in the conversation window, so that a second terminal corresponding to the second user outputs and displays the first interface again; then, when the first trigger operation is a non-first operation in the session window for the second information, the method further includes: generating fourth information and sending the fourth information to the server; the fourth information is used for requesting a timing state; and acquiring the timing state sent by the server, and generating and displaying a first interface containing the timing state based on the first trigger operation.
In this embodiment, when the server determines that the timing time of the timer is up, that is, when the countdown of the timer is terminated, the server obtains the number of second users that trigger the second information, determines the sub-number of allocable resources obtained by the second users according to a pre-configured allocation rule, and sends the sub-number of allocable resources corresponding to each second user to the second users; correspondingly, when the timing time is up, the second user obtains the allocable resources which are allocated by the server and meet the sub-quantity.
In one embodiment, when the timing time expires, obtaining allocable resources allocated by the server includes: when the timing time is up, obtaining a notification message sent by a server, and outputting the notification message in the session window; and when a second trigger operation aiming at the notification message is detected, acquiring the allocable resources distributed by the server, and outputting an image which is matched with the first attribute parameter and contains a specific display effect. Wherein, the specific display effect may specifically be at least one of the following effects: explosion effect, firework effect, red envelope effect, preset expression effect, and the like.
The technical scheme of the embodiment of the invention provides a new information interaction scheme about 'robbing red envelope', when a second user triggers second information for the first time, the server starts a timer to start timing, namely, the user triggering the red envelope information in the countdown timing time is recorded as effective; the user who triggers the red packet information when the timing time of the timer is up is likely to obtain the red packet, so that the time period for obtaining the allocable resource is greatly shortened, and the information interaction efficiency is improved; on the other hand, when the timing time of the timer is up, a specific display effect (such as an explosion display effect, a firework display effect and the like) is displayed, and the active atmosphere of information interaction is increased.
The embodiment of the invention also provides an information processing method. FIG. 4 is an interaction diagram of an information processing method according to an embodiment of the present invention; as shown in fig. 4, the information processing method includes:
step 401: the first user sets an attribute parameter of the first information, a first quantity characterizing a payment amount, and a second quantity characterizing a second user whose allocatable resource supports allocation.
Here, the first user may set the attribute parameter as a first attribute parameter characterizing an explosion effect.
Step 402: and the first user sends the first information to a server, wherein the first information comprises attribute parameters, the first quantity and the second quantity.
Step 403: and when the server determines that the attribute parameter is the first attribute parameter, generating second information based on the first attribute parameter.
Here, the server calls corresponding display effect data based on the first attribute parameter, and generates second information based on the display effect data.
Step 404: sending the second information to a conversation window comprising the first user and at least one second user; the first user corresponds to a first terminal, the second user corresponds to a second terminal, and the server sends second information to at least one second terminal corresponding to the group; the second information displayed by the conversation window has a specific display effect. The specific display effect is, for example, a specific skin (the skin may be a static image or a dynamic image).
Step 405: and the second user detects a first trigger operation, wherein the first trigger operation is a trigger operation aiming at the second information.
Step 406: and when the first triggering operation represents that the second information is triggered for the first time, the second user generates third information and sends the third information to the server.
Step 407: the server starts a timer based on the received third information.
Step 408: and the server sends the timing state of the timer to the second user.
Step 409: when the timer is started to the time of the timer, other second users in the session window may also perform a first trigger operation on the second information, and based on that the first trigger operation is a non-first trigger operation on the second information, a terminal corresponding to the other second users generates fourth information.
Step 410: and the other second users send the fourth information to the server.
Step 411: and the server counts a second number of second users triggering the second information when detecting that the timing time is up.
Step 412: determining a sub-number of allocable resources obtained by each second user triggering the second information based on the second number and a pre-configured allocation rule.
Step 413: and the server sends a notification message to each second user triggering the second information, wherein the notification message comprises the sub-quantity of the allocable resources obtained by the corresponding second user.
Step 414: and after the second user obtains the notification message, obtaining a corresponding sub-quantity of allocable resources through the detected second trigger operation aiming at the notification message, and outputting an image which is matched with the first attribute parameter and contains a specific display effect.
The technical scheme of the embodiment of the invention provides a new information interaction scheme about 'robbing red envelope', when a second user triggers second information for the first time, the server starts a timer to start timing, namely, the user triggering the red envelope information in the countdown timing time is recorded as effective; the user who triggers the red packet information when the timing time of the timer is up is likely to obtain the red packet, so that the time period for obtaining the allocable resource is greatly shortened, and the information interaction efficiency is improved; on the other hand, when the timing time of the timer is up, a specific display effect (such as an explosion display effect, a firework display effect and the like) is displayed, and the active atmosphere of information interaction is increased.
The information processing method according to the embodiment of the present invention is specifically described below with reference to a specific "red packet" application scenario. FIG. 5 is a schematic view of an interaction scenario of an information processing method according to an embodiment of the present invention; fig. 6a to fig. 6c are schematic diagrams of an application scenario of the terminal according to the embodiment of the present invention; fig. 7 is a schematic view of another application scenario of the terminal according to the embodiment of the present invention; as shown in fig. 5, fig. 6a to fig. 6c, and fig. 7, the method includes:
step 51: the red packet-sending user sets an explosion red packet event, the explosion effect of the explosion red packet, the red packet amount and the red packet number through the session window of the first terminal (the red packet number indicates the number of terminals allocated by red packet support of the red packet amount).
Step 52: and after the setting is finished, sending the first information to the server.
Step 53: and the red packet-sending user carries out payment operation on the explosive red packet event through the first terminal, and the payment operation can be carried out on the basis of a payment tool built in the application to which the session window belongs. And after the payment is finished, the server records the explosion red packet event and the explosion effect, generates explosion red packet information based on the explosion red packet event, and sends the explosion red packet information to a second terminal corresponding to the red packet receiving user in the session window.
Step 54: and outputting the explosion red packet information by a session window displayed by the second terminal, wherein the explosion red packet information has a special display effect, and the special display effect is that the explosion red packet information has a special skin effect. And the user of the second terminal can click the explosion red packet information in the conversation window, which is equivalent to viewing the explosion red packet information. As shown in fig. 6a to 6c, the terminal in the figure is used as a second terminal, and displays "XX red packet" transmitted by the first terminal user; the second end user may click on "XX Red envelope" to view the Red envelope message; in this embodiment, "XX red packet" is displayed with a special display effect different from that of a general red packet.
Step 55: and the second terminal generates third information based on the clicking operation and sends the third information to the server.
Step 56: the server receives the third information and starts the countdown of a timer when the third information represents that the explosive red packet information is operated for the first time; and simultaneously, the timing state of the timer is sent to a second terminal which clicks the explosion red packet information.
The second terminal receives the timing state of the timer, and displays the timing state of the timer through a first interface, as an example, the first interface displays the count of countdown, as shown in fig. 6a to 6c, and displays the count of countdown in a generated first interface 61 from 10 to 0; when the count-down count is 0, the count-down is finished, namely the timing time of the timer is up; in other embodiments, the timing status of the timer can be indicated by other display manners, such as the status of the progress bar is changed from long to short, and when the status of the progress bar disappears, the timing time of the timer is up. In practical application, the second terminal can close the first interface through input operation and return to the session window; for example, as shown in fig. 6a to 6c, the upper right corner of the first interface 61 may be provided with a function key 62 for closing the first interface 61; when the second terminal detects an input operation for the function key 62, the first interface 61 may be closed, and the session window is returned again. The first interface may also be maintained waiting for the countdown to end.
And when the server determines that the timing of the timer is terminated, sending a notification message to the second terminal.
After the second terminal receives the notification message, the second terminal user clicks the notification message, that is, the second terminal detects the input operation aiming at the notification message, and obtains the result of the red packet robbing (which may include the result of 'middle robbing' or 'no robbing').
When the server determines that the timing of the timer is terminated, the number of the terminals which trigger the explosion red packet information is checked in the timing process of the timer, and when the number of the terminals is more than the number of the red packets set by the first terminal, the number of the terminals which randomly select the excess parts is not robbed to the red packets. For the second terminal users capable of obtaining the red packet, the amount of the sub-electronic red packet obtained by each second terminal user can be determined according to a pre-configured random distribution mode or a proportional random distribution mode, and the electronic money meeting the amount of the sub-electronic red packet is distributed to the corresponding second terminal users.
In this embodiment, no matter the result of the red packet robbed obtained by the second terminal user is "robbed in the middle" or "robbed not in the middle", the second terminal displays an image including an explosion effect when detecting an input operation for the notification message, that is, when detaching the "red packet"; the explosion effect may specifically comprise at least one of the following effects: explosion effect, firework effect, expression effect, and the like; as an example, as shown in fig. 7, a display effect of explosion or fireworks is displayed; accordingly, for obtaining the second terminal satisfying the corresponding sub-red package, the amount of the obtained sub-red package is also displayed, for example, a prompt message that "you have got the XX element of the red package" is displayed in fig. 7.
As an embodiment, when the explosive red packet information in the session window is not operated by any second end user within a preset time (for example, within 24 hours), the server returns the amount of electronic money to the first end user.
The embodiment of the invention also provides a server. FIG. 8 is a schematic diagram of a server according to an embodiment of the present invention; as shown in fig. 8, the server includes: a first communication unit 71, a first processing unit 72, and a timing unit 73; wherein the content of the first and second substances,
the first communication unit 71 is configured to obtain first information that includes an attribute parameter and is sent by a first user; the first information is information that the first user allocates a first amount of allocable resources to at least one second user, and the first information is sent to the first processing unit 72;
the first processing unit 72 is configured to generate second information based on the first attribute parameter when the attribute parameter is the first attribute parameter;
the first communication unit 71 is further configured to send the second information to a group where the first user and at least one second user are located; the second information displayed by the conversation window corresponding to the group has a specific display effect; the second information is triggered by a second user for the first time, and third information generated by the second user based on the triggering action is received; the third information represents that the second information is triggered for the first time;
the first processing unit 72 is further configured to enable the timing unit 73 to start after the first communication unit 71 receives the third information, so as to obtain a timing state of the timing unit 73;
the first communication unit 71 is further configured to send the timing status of the timing unit 73 to the second user; the timing unit 73 is further configured to obtain a second number of second users triggering the second information within the timing time;
the first processing unit 72 is further configured to allocate, within the timing time of the timing unit 73, the first number of allocable resources to a second user that triggers the second information based on the second number and a pre-configured allocation rule.
In an embodiment, the first communication unit 71 is further configured to receive fourth information sent by a second user within a timing time of the timing unit 73; the fourth information represents that the second information is not triggered by a second user for the first time;
the first processing unit 72 is further configured to, after the first communication unit 71 receives the fourth information, obtain a timing state of the timing unit 73;
the first communication unit 71 is further configured to send the timing status of the timing unit 73 to the second user.
In one embodiment, the first information further includes a third number, where the third number represents the number of second users whose allocable resources support allocation of the first number;
the first processing unit 72 is further configured to, when the second number is greater than the third number, randomly select a second user meeting the third number from the second users triggering the second information, and allocate the first number of allocable resources to the second user triggering the second information based on the third number and a pre-configured allocation rule.
As another embodiment, the first processing unit 72 is further configured to, when the second number is not greater than the third number, randomly allocate the first number of allocable resources according to the second number, and obtain a first sub-number of allocable resources that satisfy the second number;
the first communication unit 71 is further configured to send the first sub-number of allocable resources to corresponding second users that trigger the second information respectively;
or, the first processing unit 72 is further configured to, when the second number is not greater than the third number, evenly allocate the first number of allocable resources based on the number of second users whose allocation is supported by the first number of allocable resources, and obtain a second sub-number of allocable resources;
the first communication unit 71 is further configured to send the second sub-number of allocable resources to the second users triggering the second information, respectively.
It should be understood by those skilled in the art that the functions of each processing unit in the server according to the embodiments of the present invention may be understood by referring to the description of the information processing method, and each processing unit in the server according to the embodiments of the present invention may be implemented by an analog circuit that implements the functions described in the embodiments of the present invention, or may be implemented by running software that performs the functions described in the embodiments of the present invention on an intelligent terminal.
In this embodiment, the first Processing Unit 72 and the timing Unit 73 in the server may be implemented by a Central Processing Unit (CPU), a Digital Signal Processor (DSP), or a Programmable Gate Array (FPGA) in the server in practical application; the first communication unit 71 in the server may be implemented by a communication component in the server in practical applications.
The embodiment of the invention also provides a terminal, which is a second terminal. Fig. 9 is a schematic structural diagram of a terminal according to an embodiment of the present invention; as shown in fig. 9, the terminal includes: a communication unit 81, a processing unit 82, and a detection unit 83; wherein the content of the first and second substances,
the communication unit 81 is configured to receive second information sent by the server;
the processing unit 82 is configured to output the second information; wherein the second information is for allocating a first number of allocable resources to users in the session window;
the detecting unit 83 is configured to detect a first trigger operation for the second information;
the processing unit 82 is further configured to generate third information when it is determined that the first trigger operation is a first operation on the second information in the session window;
the communication unit 81 is further configured to send the third information to the server; the second processing unit 82 is further configured to obtain a timing status sent by the server, and send the timing status to the server; the timing state is used for obtaining the allocable resources distributed by the server when the timing state represents the timing time;
the processing unit 82 is further configured to generate and output a first interface including the timing state based on the first trigger operation; and the system is further used for obtaining the allocable resources allocated by the server when the timing state represents that the timing time is up, and outputting a specific display effect corresponding to the first attribute parameter.
As an embodiment, the processing unit 82 is further configured to generate fourth information when the first trigger operation is a non-first operation in the session window for the second information; the fourth information is used for requesting a timing state;
the communication unit 81 is further configured to send the fourth information to the server; the timing state is also used for obtaining the timing state sent by the server;
the processing unit 82 is further configured to generate and display a first interface including the timing status based on the first trigger operation.
As an embodiment, the communication unit 81 is configured to obtain a notification message sent by a server when the timing time expires, and send the notification message to the processing unit 82;
the processing unit 82 is further configured to output the notification message in the session window;
the detecting unit 83 is further configured to detect a second trigger operation for the notification message;
the processing unit 82 is further configured to, when the detecting unit 83 detects the second trigger operation, obtain the allocable resource allocated by the server, and output an image including a specific display effect and matching the first attribute parameter.
It should be understood by those skilled in the art that the functions of each processing unit in the terminal according to the embodiment of the present invention may be understood by referring to the description of the information processing method, and each processing unit in the terminal according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that performs the functions described in the embodiment of the present invention on an intelligent terminal.
In this embodiment, the terminal (including the first terminal and the second terminal) may be implemented by a mobile phone, a desktop computer, a PC, an all-in-one machine, and other terminals in practical application. The processing unit 82 and the detection unit 83 in the terminal can be realized by a CPU, a DSP or an FPGA in the terminal in practical application; the communication unit 81 in the terminal can be implemented by a communication component in the terminal in practical application.
In this embodiment, an example in which the terminal and the server are hardware entities is shown in fig. 10. The terminal/server comprises a processor 91, a storage medium 92 and at least one external communication interface 93; the processor 91, the storage medium 92, and the external communication interface 93 are all connected by a bus 94.
Here, it should be noted that: the above description related to the server item is similar to the above description of the method, and the description of the beneficial effects of the method is omitted for brevity. For technical details not disclosed in the server embodiment of the present invention, refer to the description of the method embodiment of the present invention.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (39)

1. An information processing method, characterized in that the method comprises:
obtaining first information sent by a first user, wherein the first information is information that the first user distributes a first amount of allocable resources to at least one user in a group;
sending second information to the group based on the first information;
responding to the triggering behavior of the first triggered second information, and starting a timer;
obtaining a second number of users triggering the second information within the timing time of the timer;
and when the timing time of the timer is up, performing resource allocation processing based on the first quantity and the second quantity.
2. The method of claim 1, wherein sending second information to the group based on the first information comprises:
calling corresponding display effect data based on a first attribute parameter in the first information;
generating second information based on the display effect data;
and sending the second information to the group.
3. The method of claim 1, further comprising:
and after the timer is started, sending the timing state of the timer to the user triggering the second information in the group.
4. The method of claim 3, further comprising:
and after receiving fourth information which is sent by any user in the group and used for requesting the timing state, acquiring the timing state of the timer, and sending the timing state of the timer to the user sending the fourth information.
5. The method of claim 1, further comprising:
and when third information sent by any user in the group is received for the first time, determining that the second information is triggered for the first time, wherein the third information is generated when any user triggers the second information for the first time.
6. The method according to any one of claims 1 to 5, wherein the performing resource allocation processing based on the first number and the second number specifically includes:
and allocating the first number of allocable resources to the user triggering the second information based on the second number and a pre-configured allocation rule.
7. The method of claim 6, wherein the first information further comprises a third quantity, and wherein the third quantity characterizes the number of users whose allocation is supported by the first quantity of allocable resources; when the second number is greater than the third number, the allocating, based on the second number and a pre-configured allocation rule, the first number of allocable resources to the user who triggers the second information specifically includes:
and randomly selecting users meeting a third number from the users triggering the second information, and allocating the first number of allocable resources to the users triggering the second information based on the third number and a pre-configured allocation rule.
8. The method according to claim 7, wherein when the second number is not greater than the third number, the allocating the first number of allocable resources to the user triggering the second information based on the second number and a pre-configured allocation rule specifically includes:
randomly distributing the first number of the allocable resources according to the second number to obtain a first sub-number of the allocable resources meeting the second number, and respectively sending the first sub-number of the allocable resources to corresponding users triggering the second information;
or, the first number of allocable resources are evenly distributed based on the number of users whose allocation is supported by the first number of allocable resources, a second sub-number of allocable resources are obtained, and the second sub-number of allocable resources are respectively sent to the users who trigger the second information.
9. The method of claim 8, further comprising:
and when the timing time of the timer is up, if the obtained number of the allocable resources of the second sub-number is greater than the third number, returning the allocable resources which are not sent to the user triggering the second information to the first user.
10. The method according to any one of claims 1 to 5, wherein the timing time of the timer is preset by a server, or is determined according to the timing time configured by the first user in the first information.
11. The method according to any one of claims 1 to 5, further comprising:
and sending a notification message to the user triggering the second information, wherein the notification message comprises the sub-quantity of the allocable resources obtained by the corresponding user, so that when the terminal of the user detects a second triggering operation aiming at the notification message, the allocable resources distributed by the server are obtained, and the display effect corresponding to the display effect data in the second information is output.
12. An information processing method, characterized in that the method comprises:
receiving second information sent by a server, and displaying the second information in a conversation window of a group; wherein the second information is for allocating a first number of allocable resources to users of the group;
acquiring a first trigger operation on the second information, sending third information to the server when the first trigger operation is determined to be a first trigger action on the second information, so that the server starts a timer based on the third information, and acquiring a second number of users triggering the second information by the server within the timing time of the timer;
and when the timing time of the timer is up, obtaining the resources allocated by the server, wherein the server performs resource allocation processing based on the first quantity and the second quantity.
13. The method of claim 12, further comprising:
and when the timing time of the timer is up, outputting the display effect corresponding to the display effect data in the second information.
14. The method according to claim 12, wherein the obtaining allocable resources allocated by the server specifically includes:
when the timing time of the timer is up, acquiring a notification message sent by a server, and outputting the notification message in a session window of the group;
and when a second trigger operation aiming at the notification message is detected, acquiring the allocable resources allocated by the server.
15. The method of claim 14, further comprising:
and when a second trigger operation aiming at the notification message is detected, displaying prompt information of whether the allocable resources are obtained and prompt information of the obtained number of the allocable resources.
16. The method according to any one of claims 12 to 15, further comprising:
and receiving the timing state sent by the server based on the third information, and outputting a first interface containing the timing state.
17. The method according to any one of claims 12 to 15, further comprising:
when first trigger operation aiming at the second information for the first time is detected, fourth information is sent to the server, and the fourth information is used for requesting a timing state;
and acquiring a timing state sent by the server based on the fourth information, and generating and displaying a first interface containing the timing state.
18. An information processing method characterized by comprising:
determining a group;
displaying a resource configuration interface of the group;
acquiring a first quantity of allocable resources and a first attribute parameter input on the resource configuration interface, and generating first information based on the first quantity of the allocable resources and the first attribute parameter;
and sending the first information to a server so that the server calls corresponding display effect data based on the first attribute parameter, generates second information based on the display effect data, and sends the second information to the group.
19. A server, characterized in that the server comprises: the device comprises a first communication unit, a first processing unit and a timing unit; wherein the content of the first and second substances,
the first communication unit is configured to obtain first information sent by a first user, where the first information is information that the first user allocates a first amount of allocable resources to at least one user in a group;
the first communication unit is further configured to send second information to the group based on the first information;
the timing unit is used for responding to the triggering behavior of the first triggered second information and starting a timer;
the first communication unit is further configured to obtain a second number of users triggering the second information within a timing time of the timer;
the first processing unit is configured to perform resource allocation processing based on the first number and the second number when the timing time of the timer expires.
20. The server according to claim 19,
the first processing unit is further configured to call corresponding display effect data based on a first attribute parameter in the first information; generating second information based on the display effect data;
the first communication unit is specifically configured to send the second information to the group.
21. The server according to claim 19, wherein the first communication unit is further configured to send a timing status of the timer to the user in the group who triggered the second message after starting the timer.
22. The server according to claim 21, wherein the first communication unit is further configured to obtain the timing status of the timer after receiving fourth information for requesting the timing status sent by any user in the group, and send the timing status of the timer to the user sending the fourth information.
23. The server according to claim 19, wherein the first processing unit is further configured to determine that the second information is triggered for the first time when third information sent by any user in the group is received for the first time, where the third information is generated when the second information is triggered for the first time by any user.
24. The server according to any one of claims 19 to 23, wherein the first processing unit is specifically configured to allocate the first number of allocable resources to a user that triggers the second information based on the second number and a pre-configured allocation rule.
25. The server according to claim 24, wherein the first information further comprises a third quantity, the third quantity characterizing a number of users for which the first quantity of allocable resources supports allocation; when the second number is greater than the third number, the first processing unit is specifically configured to randomly select users satisfying the third number from the users triggering the second information, and allocate the first number of allocable resources to the users triggering the second information based on the third number and a pre-configured allocation rule.
26. The server according to claim 25, wherein when the second number is not greater than the third number, the first processing unit is specifically configured to:
randomly distributing the first number of the allocable resources according to the second number to obtain a first sub-number of the allocable resources meeting the second number, and respectively sending the first sub-number of the allocable resources to corresponding users triggering the second information;
or, the first number of allocable resources are evenly distributed based on the number of users whose allocation is supported by the first number of allocable resources, a second sub-number of allocable resources are obtained, and the second sub-number of allocable resources are respectively sent to the users who trigger the second information.
27. The server according to claim 26, wherein the first processing unit is specifically configured to, when the timing time of the timer expires, if the obtained number of the second sub-number of allocable resources is greater than the third number, return allocable resources that are not sent to the user that triggered the second information to the first user.
28. The server according to any one of claims 19 to 23, wherein the timing time of the timer is preset by the server, or is determined according to the timing time configured by the first user in the first information.
29. The server according to any one of claims 19 to 23, wherein the first communication unit is further configured to send a notification message to the user who triggered the second information, where the notification message includes a sub-number of allocable resources obtained by the corresponding user, so that when the terminal of the user detects a second trigger operation for the notification message, the terminal obtains the allocable resources allocated by the server, and outputs a display effect corresponding to the display effect data in the second information.
30. A terminal, characterized in that the terminal comprises: the device comprises a communication unit, a processing unit and a detection unit; wherein the content of the first and second substances,
the communication unit is used for receiving second information sent by the server and displaying the second information in a conversation window of the group; wherein the second information is for allocating a first number of allocable resources to users of the group;
the detection unit is used for acquiring a first trigger operation on the second information;
the communication unit is further configured to send third information to the server when it is determined that the first trigger operation is a first trigger action on the second information, so that the server starts a timer based on the third information, and the server obtains a second number of users who trigger the second information within a timing time of the timer;
and the processing unit is used for obtaining the resources allocated by the server when the timing time of the timer is up, wherein the server performs resource allocation processing based on the first quantity and the second quantity.
31. The terminal according to claim 20, wherein the processing unit is further configured to output a display effect corresponding to the display effect data in the second information when the timing time of the timer expires.
32. The terminal of claim 30,
the communication unit is further used for acquiring a notification message sent by the server when the timing time of the timer is up;
the processing unit is further configured to output the notification message in a session window of the group;
the communication unit is further configured to obtain the allocable resource allocated by the server when detecting a second trigger operation for the notification message.
33. The terminal according to claim 32, wherein the processing unit is further configured to display, when detecting a second trigger operation for the notification message, a hint information on whether an allocable resource is obtained and a hint information on the obtained number of allocable resources.
34. The terminal according to any of claims 30 to 33, wherein the communication unit is further configured to receive a timing status sent by the server based on the third information;
the processing unit is further configured to output a first interface including the timing status.
35. The terminal according to any of claims 30 to 33, wherein the communication unit is further configured to send fourth information to the server when detecting a first trigger operation not for the second information for the first time, where the fourth information is used to request a timing status;
the communication unit is further configured to obtain a timing state sent by the server based on the fourth information;
the processing unit is further configured to generate and display a first interface including the timing state.
36. A terminal, characterized in that the terminal comprises: a communication unit and a processing unit; wherein the content of the first and second substances,
the processing unit is used for determining a group, displaying a resource configuration interface of the group, acquiring a first quantity of allocable resources and a first attribute parameter which are input on the resource configuration interface, and generating first information based on the first quantity of the allocable resources and the first attribute parameter;
the communication unit is used for sending the first information to a server, so that the server calls corresponding display effect data based on the first attribute parameter, generates second information based on the display effect data, and sends the second information to the group.
37. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 11; or which when executed by a processor performs the steps of the method of any one of claims 12 to 17, or which when executed by a processor performs the steps of the method of claim 18.
38. A server, comprising: a processor and a memory for storing a computer program operable on the processor, wherein the processor is operable to perform the steps of the method of any of claims 1 to 11 when the computer program is executed.
39. A terminal, comprising: a processor and a memory for storing a computer program operable on the processor, wherein the processor is operable to perform the steps of the method of any of claims 12 to 17 or the steps of the method of claim 18 when executing the computer program.
CN202010588336.XA 2016-08-04 2016-08-04 Information processing method, terminal, server and storage medium Active CN111934977B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010588336.XA CN111934977B (en) 2016-08-04 2016-08-04 Information processing method, terminal, server and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010588336.XA CN111934977B (en) 2016-08-04 2016-08-04 Information processing method, terminal, server and storage medium
CN201610635639.6A CN106302111B (en) 2016-08-04 2016-08-04 Information processing method, terminal and server

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201610635639.6A Division CN106302111B (en) 2016-08-04 2016-08-04 Information processing method, terminal and server

Publications (2)

Publication Number Publication Date
CN111934977A true CN111934977A (en) 2020-11-13
CN111934977B CN111934977B (en) 2022-08-02

Family

ID=57665019

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201610635639.6A Active CN106302111B (en) 2016-08-04 2016-08-04 Information processing method, terminal and server
CN202010588336.XA Active CN111934977B (en) 2016-08-04 2016-08-04 Information processing method, terminal, server and storage medium

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201610635639.6A Active CN106302111B (en) 2016-08-04 2016-08-04 Information processing method, terminal and server

Country Status (1)

Country Link
CN (2) CN106302111B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018024137A1 (en) * 2016-08-04 2018-02-08 腾讯科技(深圳)有限公司 Information processing method, apparatus and device, and storage medium
CN108460585A (en) * 2017-02-21 2018-08-28 阿里巴巴集团控股有限公司 A kind of resource acquiring method, resource allocation methods, device and electronic equipment
CN107153581B (en) * 2017-04-10 2022-04-26 腾讯科技(深圳)有限公司 Resource acquisition method and device
CN108810643A (en) * 2018-06-01 2018-11-13 沈文策 A kind of red packet distribution method, device and live broadcast system
CN110855544B (en) * 2018-08-20 2022-02-18 腾讯科技(深圳)有限公司 Message sending method, device and readable medium
CN111371882B (en) * 2020-02-28 2021-08-20 北京字节跳动网络技术有限公司 Data sharing and releasing control method and device, electronic equipment and computer readable medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104851041A (en) * 2015-05-11 2015-08-19 浙江翼信科技有限公司 Processing method of electronic resource and system thereof
CN105389117A (en) * 2015-12-07 2016-03-09 腾讯科技(深圳)有限公司 Resource acquiring method and apparatus and resource processing method, apparatus and system
WO2016045647A2 (en) * 2015-11-26 2016-03-31 华为技术有限公司 Red envelope data processing method and terminal
CN105553681A (en) * 2015-12-15 2016-05-04 武汉斗鱼网络科技有限公司 Anti-plug-in method and system
CN105681056A (en) * 2016-01-13 2016-06-15 阿里巴巴集团控股有限公司 Service realization method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104851041A (en) * 2015-05-11 2015-08-19 浙江翼信科技有限公司 Processing method of electronic resource and system thereof
WO2016045647A2 (en) * 2015-11-26 2016-03-31 华为技术有限公司 Red envelope data processing method and terminal
CN105389117A (en) * 2015-12-07 2016-03-09 腾讯科技(深圳)有限公司 Resource acquiring method and apparatus and resource processing method, apparatus and system
CN105553681A (en) * 2015-12-15 2016-05-04 武汉斗鱼网络科技有限公司 Anti-plug-in method and system
CN105681056A (en) * 2016-01-13 2016-06-15 阿里巴巴集团控股有限公司 Service realization method and device

Also Published As

Publication number Publication date
CN111934977B (en) 2022-08-02
CN106302111B (en) 2020-12-22
CN106302111A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN111934977B (en) Information processing method, terminal, server and storage medium
CN109600408B (en) Resource sharing method and device, storage medium and computer equipment
CN105389117B (en) Method and device for acquiring resources and method, device and system for processing resources
WO2018103590A1 (en) Method, device, and system for assigning pickup tasks
CN104753911B (en) A kind of information processing method based on social application, relevant apparatus and system
CN107679718B (en) List allocation method, apparatus and computer-readable storage medium
CN107104874B (en) Resource sharing method, device, terminal and computer readable storage medium
CN107592237B (en) Resource monitoring method and system of hybrid cloud
US8806507B1 (en) Dynamic provisioning of message groups
JP2019508794A (en) Resource sharing method, resource acquisition method, terminal, and server
CN111756917A (en) Information interaction method, electronic device and computer readable medium
CN107153581B (en) Resource acquisition method and device
CN105989511B (en) Service implementation method and device
CN114726947B (en) Message display method, device, user terminal and readable storage medium
CN109949026B (en) Red packet information generation method and device, terminal and server
CN108234141B (en) Directional traffic processing method and server
CN109118291B (en) User authentication method and device in advertisement task popularization and computer equipment
CN108241515B (en) Application shortcut establishing method and terminal
CN110572815A (en) Network access method, device, storage medium and terminal
CN113741754A (en) Task creation method and device, electronic equipment and computer-readable storage medium
CN109582401B (en) Promotion picture generation method and device, storage medium and computer equipment
CN106599142B (en) Data resource receiving method and device
CN112241544A (en) Business system, access method, device, computer equipment and storage medium
CN115794386A (en) Resource calling method and device of virtual machine and storage medium
CN108156206B (en) Data transfer method, server, client and system

Legal Events

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