CN108768830B - Method and equipment for pushing information and displaying information - Google Patents

Method and equipment for pushing information and displaying information Download PDF

Info

Publication number
CN108768830B
CN108768830B CN201810505553.0A CN201810505553A CN108768830B CN 108768830 B CN108768830 B CN 108768830B CN 201810505553 A CN201810505553 A CN 201810505553A CN 108768830 B CN108768830 B CN 108768830B
Authority
CN
China
Prior art keywords
user
group
resource
group resource
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810505553.0A
Other languages
Chinese (zh)
Other versions
CN108768830A (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.)
Shanghai Zhangmen Science and Technology Co Ltd
Original Assignee
Shanghai Zhangmen Science and 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 Shanghai Zhangmen Science and Technology Co Ltd filed Critical Shanghai Zhangmen Science and Technology Co Ltd
Priority to CN201810505553.0A priority Critical patent/CN108768830B/en
Publication of CN108768830A publication Critical patent/CN108768830A/en
Application granted granted Critical
Publication of CN108768830B publication Critical patent/CN108768830B/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/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Abstract

The embodiment of the application discloses a method and equipment for pushing and displaying information. One embodiment of a method for pushing information includes: generating a third information list based on the first information list and the second information list which are generated in advance; for each user who does not successfully acquire the group resources corresponding to the third information list, generating the group resource missing time of the user based on the pre-recorded time when the group resources are all acquired and the time when the user performs the acquiring operation on the group resources; sending each user that did not successfully acquire the group resource the user's group resource miss time. The implementation mode enriches the content of the information pushed in the resource getting process, and is beneficial to improving the experience of the user in the resource getting process.

Description

Method and equipment for pushing information and displaying information
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a method and equipment for pushing and displaying information.
Background
Instant Messaging (IM) is the most popular communication method on the internet at present, and can realize Instant Message sending and receiving. With the rapid development of the internet, various instant messaging applications are emerging. Most instant messaging applications integrate resource class (e.g., red packet class) programs to enable publishing resources (e.g., red packets) in the instant messaging application. In general, the resources published in an instant messaging application may include both individual resources (e.g., individual red packs) and group resources (e.g., spelling of a handful of red packs).
Currently, if a group resource is released in a group chat of an instant messaging application, a user belonging to the group chat may request to retrieve the resource in the group resource. And if the user belonging to the group chat successfully gets the resources, pushing information indicating that the user successfully gets the resources to the user.
Disclosure of Invention
The embodiment of the application provides a method and equipment for pushing and displaying information.
In a first aspect, some embodiments of the present application provide a method for pushing information, which is applied to a network device, and includes: generating a third information list based on a first information list and a second information list which are generated in advance, wherein the first information list records the identification of each user who executes the pickup operation on the group resource issued in the group chat, the second information list records the identification of each user who successfully picks up the group resource, and the third information list records the identification of each user who unsuccessfully picks up the group resource; for each user who does not successfully acquire the group resources corresponding to the third information list, generating the group resource missing time of the user based on the pre-recorded time when the group resources are all acquired and the time when the user performs the acquiring operation on the group resources; sending each user that did not successfully acquire the group resource the user's group resource miss time.
In a second aspect, some embodiments of the present application provide a method for displaying information, which is applied to a terminal device, and includes: sending a pickup request for a group resource issued in the group chat to a network device, wherein the pickup request comprises an identifier of a user logging in an application providing the group chat; and if the missing time of the group resource of the user sent by the network equipment is received, displaying the missing time of the group resource of the user on a chat session page of the group chat.
In a third aspect, some embodiments of the present application provide an apparatus for pushing information, where the apparatus is disposed in a network device, and includes: a first generation unit configured to generate a third information list based on a first information list and a second information list generated in advance, wherein the first information list records an identifier of each user who performs a pickup operation on a group resource issued in a group chat, the second information list records an identifier of each user who successfully picks up the group resource, and the third information list records an identifier of each user who unsuccessfully picks up the group resource; a second generation unit configured to generate, for each user who has not successfully picked up the group resource corresponding to the third information list, a group resource miss time of the user based on a time at which the group resource is picked up in its entirety and a time at which the user performs a pickup operation on the group resource, which are recorded in advance; a pushing unit configured to send a group resource miss time of each user who does not successfully acquire the group resource to the user.
In a fourth aspect, some embodiments of the present application provide an apparatus for displaying information, provided in a terminal device, including: a sending unit configured to send a pickup request for a group resource issued in a group chat to a network device, wherein the pickup request includes an identification of a user logged in an application providing the group chat; and the display unit is configured to display the group resource missing time of the user on a chat session page of the group chat if the group resource missing time of the user sent by the network equipment is received.
In a fifth aspect, some embodiments of the present application provide a network device, including: one or more processors; a storage device on which one or more programs are stored; when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method as described in any implementation of the first aspect.
In a sixth aspect, some embodiments of the present application provide a terminal device, including: one or more processors; a storage device on which one or more programs are stored; when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method as described in any implementation of the second aspect.
In a seventh aspect, some embodiments of the present application provide a computer readable medium, on which a computer program is stored, which computer program, when executed by a processor, implements the method as described in any implementation of the first aspect or implements the method as described in any implementation of the second aspect.
According to the method and the device for pushing and displaying information provided by the embodiment of the application, the network device may first generate a third information list in which an identifier of each user who does not successfully acquire the group resource is recorded based on the first information list in which the identifier of each user who performs an acquisition operation on the group resource is recorded and the second information list in which the identifier of each user who successfully acquires the group resource is recorded. For each user that does not successfully acquire the group resource, the network device may generate a group resource miss time for the user based on a time when the group resource is all acquired and a time when the user performs an acquisition operation on the group resource. Subsequently, the network device may send each user that did not successfully acquire the group resource the user's group resource miss time. The missing time of the group resource of the user is pushed to each user who does not successfully receive the group resource, the content of the information pushed in the resource receiving process is enriched, and the experience of the user in the resource receiving process is promoted.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram to which some embodiments of the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a method for pushing information, according to the present application;
FIG. 3 is a flow diagram of yet another embodiment of a method for pushing information according to the present application;
FIG. 4 is a schematic diagram of an application scenario of the method for pushing information provided by FIG. 3;
FIG. 5 is a flow diagram of one embodiment of a method for displaying information according to the present application;
FIG. 6 is a flow diagram of yet another embodiment of a method for displaying information according to the present application;
fig. 7 is a schematic structural diagram of a computer system suitable for implementing a network device or a terminal device according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 shows an exemplary system architecture 100 to which the method for pushing information, displaying information of the present application may be applied.
As shown in fig. 1, system architecture 100 may include terminal device 101, network 102, and network device 103. Network 102 is the medium used to provide communication links between terminal device 101 and network device 103. Network 102 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
A user may use terminal device 101 to interact with network device 103 through network 102 to receive or send messages and the like. Various client applications, such as an instant messaging application, may be installed on the terminal device 101.
The terminal apparatus 101 may be hardware or software. When the terminal device 101 is hardware, it may be various electronic devices supporting an instant messaging function, including but not limited to a smart phone, a tablet computer, a laptop portable computer, a desktop computer, and the like. When the terminal apparatus 101 is software, it can be installed in the electronic apparatuses listed above. It may be implemented as multiple pieces of software or software modules, or as a single piece of software or software module. And is not particularly limited herein.
Network device 103 may be a network device that provides various services, for example, network device 103 may be a background server for an instant messaging application; the background server may be integrated or distributed. The background server of the instant messaging application may analyze and process data such as the first information list and the second information list, and push a processing result (e.g., missing time of the group resource) to the terminal device 101.
It should be noted that the network device 103 may be hardware or software. When the network device 103 is hardware, it may be implemented as a distributed network device group formed by a plurality of network devices, or may be implemented as a single network device. When the network device 103 is software, it may be implemented as multiple pieces of software or software modules (e.g., to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
It should be noted that the method for pushing information provided by some embodiments of the present application may be performed by the network device 103, and the method for displaying information may be performed by the terminal device 101.
It should be understood that the number of terminal devices, networks, and network devices in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and network devices, as desired for an implementation.
With continued reference to fig. 2, a flow 200 of one embodiment of a method for pushing information in accordance with the present application is shown. The method for pushing the information is applied to the network equipment and comprises the following steps:
step 201, generating a third information list based on the first information list and the second information list generated in advance.
In this embodiment, a network device (e.g., network device 103 shown in fig. 1) on which the method for pushing information operates may generate a first information list and a second information list. Then, a third information list is generated based on the first information list and the second information list. The first information list may record an identifier of each user who performs a pickup operation on a group resource published in the group chat. The second list of information may record an identification of each user who successfully picked up the group resource. The third information list may record an identification of each user who has not successfully picked up the group resource.
In practice, a user of an instant messaging application may establish a chat session with one or more other users. A chat session established by a user of an instant messaging application with one other user may be referred to as a personal chat session. A chat session established by a user of an instant messaging application with a plurality of other users may be referred to as a group chat session, or simply a group chat. The instant messaging application may integrate resource class (e.g., red-envelope class) programs to enable a user of the instant messaging application to publish resources (e.g., red-envelopes) in a personal chat session or group chat.
Here, the user of the instant messaging application may issue a group resource (e.g., a spelled charm, a general charm) to a plurality of users belonging to the group chat, such as some or all of the users, and the users belonging to the group chat may request to retrieve the resource in the group resource. When the user opens the instant messaging application installed on the terminal device, a chat session list of a currently logged-in user of the instant messaging application can be displayed on a screen of the terminal device. Subsequently, when the user clicks a group chat in the chat session list, a chat session page of the group chat may be displayed on the screen of the terminal device. If one user of the group chat publishes the group resource to all users belonging to the group chat, the group resource message may be displayed on a chat session page displayed on a screen of a terminal device of the user for each of all users belonging to the group chat. When the user clicks the group resource message, the pickup operation is performed on the group resource. At this time, the terminal device of the user may be triggered to send a pickup request to the network device, where the pickup request is requested by the user to pickup the group of resources.
In some embodiments, if the network device receives a pickup request for the group resource sent by a terminal device of a user belonging to the group chat, an identifier of the user corresponding to the pickup request may be recorded in the first information list. The pick-up request may include an identifier of the corresponding user. The user identifier may be composed of letters, numbers, symbols, and the like, and is used to uniquely identify the user, such as an account of the user. Here, if a user belonging to the group chat sends a pickup request for the group resource to the network device, the user is a user performing a pickup operation on the group resource, and the network device may record an identifier of the user in the first information list.
In some embodiments, if there is an un-picked resource in the group resource, at least a part of the amount of the un-picked resource is allocated to the corresponding user, and the identifier of the corresponding user is recorded in the second information list. Here, the network device may determine whether there are any more uncommitted resources in the group resource. And under the condition that the non-drawing resources exist in the group of resources, distributing at least part of amount (such as random amount or fixed amount) of the non-drawing resources to the corresponding users. At this time, the user is a user who successfully acquires the group resource, and the network device may record the identity of the user in the second information list.
In some embodiments, after all of the group resources are picked up, the network device may filter out the identifiers belonging to the users in the second information list from the first information list, and generate a third information list. For example, the identifier of each user recorded in the second information list may be matched in the first information list, and the identifier of the user who succeeds in matching may be deleted from the first information list, so as to obtain a third information list in which the identifier of each user who does not successfully receive the group resource is recorded.
Step 202, for each user who does not successfully acquire the group resource corresponding to the third information list, generating the group resource missing time of the user based on the pre-recorded time when the group resource is all acquired and the time when the user performs the acquiring operation on the group resource.
In this embodiment, for each user that does not successfully acquire the group resource corresponding to the third information list, the network device may first acquire the time when the group resource is completely acquired and the time when the user performs the acquisition operation on the group resource; and then generating the group resource missing time of the user based on the time when the group resource is completely picked up and the time when the user performs the picking operation on the group resource.
In some embodiments, if all of the un-picked resources are allocated to the corresponding users, the network device may record the allocation time as the time when all of the group resources are picked up. Typically, during the resource allocation process, one user belonging to a group chat sends a pick-up request for a group resource to a network device. If the network device allocates all of the un-picked resources to the user, the group of resources is fully picked up. Therefore, the time when the network device allocates all of the un-acquired resources to the user is the time when the group resources are all acquired.
In some embodiments, the pickup request sent to the network device by the user belonging to the group chat may include a time when the user performs a pickup operation on the group resource. For example, when a user belonging to a group chat clicks on a group resource message, the time when the user clicks on the group resource message may be recorded as the time when the user performs a pickup operation on a group resource. Subsequently, a pickup request including a time at which the user performs a pickup operation on the group resource is transmitted to the network device.
In some embodiments, the network device may take the time of receipt of the pickup request as the time at which the user sending the pickup request performed the pickup operation on the group resource. For example, when a user belonging to a group chat clicks on a group resource message, a terminal device of the user is triggered to send a pickup request to a network device. The network device may record the time at which it received the pickup request as the time at which the pickup operation was performed on the group resource by the user.
In some embodiments, the network device may calculate a difference between a time when the group resource is fully picked up and a time when the user performs a pickup operation on the group resource in the third information list as the group resource miss time of the user.
Step 203, sending the group resource missing time of the user to each user who does not successfully get the group resource.
In this embodiment, for each user who does not successfully receive the group resource, the network device may send the group resource missing time of the user to the user, so that in the resource receiving process, if the user belonging to the group chat initiates a receiving request to the network device but does not successfully receive the resource, the group resource missing time of the user may be displayed on the terminal device of the user.
It should be noted that the network device may execute the method for pushing information in this embodiment after a first preset time (for example, after 1 minute) when the group resource is fully picked up, or may execute the method for pushing information in this embodiment when a pickup request for the group resource is not received within a second preset time (for example, within 30 seconds) after the group resource is fully picked up. Of course, the method for pushing information in this embodiment may also be performed when other trigger conditions are met. The condition triggering the execution of the method for pushing information in the present embodiment is not specifically limited here.
In the method for pushing information provided by the foregoing embodiment of the present application, the network device may first generate a third information list in which an identifier of each user who does not successfully receive the group resource is recorded, based on the first information list in which an identifier of each user who performs a receiving operation on the group resource is recorded and the second information list in which an identifier of each user who successfully receives the group resource is recorded. For each user that does not successfully acquire the group resource, the network device may generate a group resource miss time for the user based on a time when the group resource is all acquired and a time when the user performs an acquisition operation on the group resource. Subsequently, the network device may send each user that did not successfully acquire the group resource the user's group resource miss time. The missing time of the group resource of the user is pushed to each user who does not successfully receive the group resource, the content of the information pushed in the resource receiving process is enriched, and the experience of the user in the resource receiving process is promoted.
With further reference to fig. 3, a flow 300 of yet another embodiment of a method for pushing information according to the present application is shown. The method for pushing the information is applied to the network equipment and comprises the following steps:
step 301, generating a third information list based on the first information list and the second information list generated in advance.
Step 302, for each user who does not successfully acquire the group resource corresponding to the third information list, generating a group resource missing time of the user based on the pre-recorded time when the group resource is all acquired and the time when the user performs the acquiring operation on the group resource.
Step 303, sending the group resource missing time of the user to each user who does not successfully get the group resource.
In the present embodiment, the specific operations of steps 301-.
And step 304, sending the group resource missing time of each user who does not successfully pick up the group resource to other users belonging to the group chat.
In this embodiment, the network device (for example, the network device 103 shown in fig. 1) may further send the group resource missing time of each user who does not successfully retrieve the group resource to another user belonging to the group chat, so that in the resource retrieving process, if the user belonging to the group chat initiates a retrieving request for the group resource to the network device but does not successfully retrieve the resource, the group resource missing time of the user may be displayed on the terminal device of the other user belonging to the group chat.
With continued reference to fig. 4, fig. 4 is a schematic diagram of an application scenario of the method for pushing information provided by fig. 3. In the application scenario of fig. 4, first, the terminal device of the user a in the group chat 1 issues one spelling charm with a total amount of 12 dollars and a number of red charms of 3 to all the users in the group chat 1. At this time, the terminal devices of all the users in the group chat 1 can display the spelling angry and red packet message on the chat page of the group chat 1. And then, sequentially clicking the hand-sharing gas red packet message by a user B, a user C, a user D, a user E and a user F in the group chat 1 to trigger terminal equipment of the user B, the user C, the user D, the user E and the user F to respectively send a pickup request for picking up the hand-sharing gas red packet to network equipment. The network device records the identities of user B, user C, user D, user E and user F in a first list of information. Meanwhile, the network device allocates the red packet with the amount of money of 3 yuan in the hand-spelling red packet to the user B, allocates the red packet with the amount of money of 4 to the user C, allocates the red packet with the amount of money of 3 to the user D, and records the identifications of the user B, the user C and the user D in the second information list. Then, the network device determines the user E and the user F which do not successfully receive the spelling breath red packet based on the first information list and the second information list, and records the identifications of the user E and the user F in the third information list. Then, the network device calculates the difference between the time when the spelling gas red packet is completely received and the time when the user E and the user F perform receiving operation on the spelling gas red packet, and determines that the time when the user E misses the spelling gas red packet is 0.5 second and the time when the user F misses the spelling gas red packet is 1 second. Finally, the network device sends the time that the user E and the user F miss the spelling of the handful red envelope to all the users belonging to the group chat 1. At this time, the terminal devices of all users belonging to the group chat 1 may display the time when the user E and the user F miss the handful break on the chat session page of the group chat 1. For example, fig. 4 illustrates a chat session page of the group chat 1 displayed on the terminal device of the user E. Wherein information displayed on the chat session page including the time that user E missed the spelled handful of red envelope is shown at 401. Information displayed on the chat session page including the avatar of user F and the time that user F missed the spelled handful of red envelope is shown at 402.
As can be seen from fig. 3, compared with the embodiment corresponding to fig. 2, the flow 300 of the method for pushing information in the present embodiment adds a step of sending the group resource miss time of each user who does not successfully get the group resource to other users belonging to the group chat. Therefore, in the solution described in this embodiment, the missing time of the group resource of each user who does not successfully receive the group resource is pushed to other users belonging to the group chat, so that the content of the information pushed in the resource receiving process is further enriched.
With continued reference to FIG. 5, a flow 500 of one embodiment of a method for displaying information in accordance with the present application is illustrated. The method for displaying information is applied to terminal equipment and comprises the following steps:
step 501, a request for getting group resources published in a group chat is sent to a network device.
In this embodiment, a terminal device (e.g., terminal device 101 shown in fig. 1) on which the method for displaying information operates may send a pick-up request for a group resource published in a group chat to a network device (e.g., network device 103 shown in fig. 1). Wherein the pickup request can be used for requesting the pickup of the group resource for the user belonging to the group chat. The pick-up request may include an identification of a user logged into an application providing group chat. The user's identification may be composed of letters, numbers, symbols, etc. for uniquely identifying the user, such as the user's account.
In practice, a user of an instant messaging application may establish a chat session with one or more other users. A chat session established by a user of an instant messaging application with one other user may be referred to as a personal chat session. A chat session established by a user of an instant messaging application with a plurality of other users may be referred to as a group chat session, or simply a group chat. The instant messaging application may integrate resource class (e.g., red-envelope class) programs to enable a user of the instant messaging application to publish resources (e.g., red-envelopes) in a personal chat session or a group chat.
Here, the user of the instant messaging application may issue a group resource (e.g., a spelling atmosphere red packet or a general red packet) to a plurality of users belonging to the group chat, such as some or all of the users, and any user belonging to the group chat may request to retrieve the resource in the group resource. When the user opens the instant messaging application installed on the terminal device, a chat session list of a currently logged-in user of the instant messaging application can be displayed on a screen of the terminal device. Subsequently, when the user clicks a group chat in the chat session list, a chat session page of the group chat may be displayed on the screen of the terminal device. If one user of the group chat publishes the group resource to all users belonging to the group chat, the group resource message may be displayed on a chat session page displayed on a screen of a terminal device of the user for each of all users belonging to the group chat. When the user clicks the group resource message, the pickup operation is performed on the group resource. At this time, the terminal device of the user may be triggered to send a pickup request to the network device, where the pickup request is requested by the user to pickup the group of resources.
Step 502, if the group resource missing time of the user sent by the network device is received, the group resource missing time of the user is displayed on the chat session page of the group chat.
In this embodiment, in the case of receiving the group resource missing time of the user sent by the network device, the terminal device may display the group resource missing time of the user on a group chat session page of the group chat. For example, the group resource missing time of the user may be displayed on the chat session page in a pop-up window form, or may be directly overlaid on the chat session page and integrated with the chat session page.
In some embodiments, the terminal device may display the group resource miss time of the user in at least one of the following areas: a preset area of the chat session page (e.g., the lower right corner area of the chat session page), an area in which group resource messages in the chat session page are located, a vicinity area of the group resource messages in the chat session page (e.g., the upper area of the area in which the group resource messages are located), and so forth.
In some embodiments, the resource value in the resource storage account of the user is updated if a resource pickup notification message sent by the network device is received. The resource pickup notification message may be used to notify the user that the resource pickup is successful and the amount of the resource picked up by the user. For example, the terminal device may calculate the sum of the resource value in the user's resource storage account and the amount of the resource that the user has earned as a new resource value in the user's resource storage account.
In the method for displaying information provided in the foregoing embodiment of the present application, the terminal device belonging to the user in the group chat may send, to the network device, a request for getting group resources published in the group chat. In the case of receiving the group resource missing time of the user sent by the network device, the terminal device of the user may display the group resource missing time of the user on a chat session page of the group chat. The missing time of the group resource of the user is displayed on the terminal equipment of the user who does not successfully receive the group resource, the content of the information displayed in the resource receiving process is enriched, and the experience of the user in the resource receiving process is promoted.
With further reference to FIG. 6, a flow 600 of yet another embodiment of a method for displaying information in accordance with the present application is illustrated. The method for displaying information is applied to terminal equipment and comprises the following steps:
step 601, sending a request for getting group resources published in the group chat to the network device.
Step 602, if the group resource missing time of the user sent by the network device is received, displaying the group resource missing time of the user on a chat session page of the group chat.
In the present embodiment, the specific operations of step 601-602 are substantially the same as the operations of step 501-502 in the embodiment shown in fig. 5, and are not repeated herein.
Step 603, if the identification of the other user who does not successfully receive the group resource and the group resource missing time sent by the network device are received, finding out the information of the other user from the locally stored information of the at least one user according to the identification of the other user.
In this embodiment, the network device (e.g., the network device 103 shown in fig. 1) on which the method for displaying information operates may also send, to a terminal device (e.g., the terminal device 101 shown in fig. 1) belonging to a user of the group chat, an identification of another user who has not successfully picked up the group resource and the group resource miss time. Under the condition that the identification of other users who do not successfully pick up the group resource and the missing time of the group resource, which are sent by the network equipment, are received, the terminal equipment can find out the information of the other users from the locally stored information of at least one user according to the identification of the other users. Generally, the terminal device may match the identifier of the other user with the identifier of the user corresponding to the locally stored information of the at least one user, and obtain the information of the user successfully matched. The user's information may include, but is not limited to, the user's identification, the user's avatar, the user's nickname, the user's account number, and so on.
Step 604, displaying the information of other users and the missing time of the group resource on the chat session page.
In this embodiment, the terminal device may display information of other users and group resource missing time on a group chat session page of the group chat. For example, the information of other users and the missing time of the group resource can be displayed on the chat session page in a pop-up window form, or can be directly overlaid on the chat session page and integrated with the chat session page.
In some embodiments, the terminal device may display information of other users and group resource miss times in at least one of the following areas: a preset area of the chat session page (e.g., the lower right corner area of the chat session page), an area in which group resource messages in the chat session page are located, a vicinity area of the group resource messages in the chat session page (e.g., the upper area of the area in which the group resource messages are located), and so forth.
As can be seen from fig. 6, compared with the embodiment corresponding to fig. 5, the flow 600 of the method for displaying information in the present embodiment adds a step of displaying information of other users and a group resource miss time. Therefore, the scheme described in this embodiment may also display information of other users belonging to group chat and group resource missing time, further enriching the content of the information displayed in the resource getting process.
Referring now to FIG. 7, shown is a block diagram of a computer system 700 suitable for use in implementing a network device (e.g., network device 103 shown in FIG. 1) or a terminal device (e.g., terminal device 101 shown in FIG. 1) of an embodiment of the present application. The network device or the terminal device shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 7, the computer system 700 includes a Central Processing Unit (CPU)701, which can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data necessary for the operation of the system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
The following components are connected to the I/O interface 705: an input portion 706 including a keyboard, a mouse, and the like; an output section 707 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 708 including a hard disk and the like; and a communication section 709 including a network interface card such as a LAN card, a modem, or the like. The communication section 709 performs communication processing via a network such as the internet. A drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 710 as necessary, so that a computer program read out therefrom is mounted into the storage section 708 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 709, and/or installed from the removable medium 711. The computer program performs the above-described functions defined in the method of the present application when executed by the Central Processing Unit (CPU) 701. It should be noted that the computer readable medium described herein can be a computer readable signal medium or a computer readable medium or any combination of the two. A computer readable medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, which may be described as: a processor includes a first generating unit, a second generating unit, and a pushing unit. Here, the names of these units do not constitute a limitation to the unit itself in some cases, and for example, the first generation unit may also be described as "a unit that generates a third information list based on a first information list and a second information list generated in advance". As another example, it can also be described as: a processor includes a transmitting unit and a display unit. Where the names of these elements do not in some cases constitute a limitation of the element itself, for example, the sending element may also be described as an "element sending a pick-up request to a network device for a group resource published in a group chat".
As another aspect, the present application also provides a computer-readable medium, which may be included in the network device or the terminal device described in the above embodiments; or may exist separately without being assembled into the network device or the terminal device. The computer readable medium carries one or more programs which, when executed by the network device or terminal device, cause the network device to: generating a third information list based on a first information list and a second information list which are generated in advance, wherein the first information list records the identification of each user who executes the pickup operation on the group resource issued in the group chat, the second information list records the identification of each user who successfully picks up the group resource, and the third information list records the identification of each user who unsuccessfully picks up the group resource; for each user who does not successfully acquire the group resources corresponding to the third information list, generating the group resource missing time of the user based on the pre-recorded time when the group resources are all acquired and the time when the user performs the acquiring operation on the group resources; sending each user that did not successfully acquire the group resource the user's group resource miss time. Or cause the terminal device to: sending a pickup request for a group resource issued in the group chat to a network device, wherein the pickup request comprises an identifier of a user logging in an application providing the group chat; and if the missing time of the group resource of the user sent by the network equipment is received, displaying the missing time of the group resource of the user on a chat session page of the group chat.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements in which any combination of the features described above or their equivalents does not depart from the spirit of the invention disclosed above. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (12)

1. A method for pushing information is applied to a network device and comprises the following steps:
generating a third information list based on the generated first information list and a second information list, wherein the first information list records an identifier of each user who performs a pickup operation on a group resource issued in the group chat, the second information list records an identifier of each user who successfully picks up the group resource, and the third information list records an identifier of each user who does not successfully pick up the group resource;
for each user which does not successfully receive the group resource and corresponds to the third information list, generating the group resource missing time of the user based on the pre-recorded time when the group resource is completely received and the time when the user performs receiving operation on the group resource;
sending the group resource missing time of each user who does not successfully acquire the group resource to the user;
wherein, after the generating of the group resource miss time of the user, the method further comprises:
and sending the group resource missing time of each user who does not successfully pick up the group resource to other users belonging to the group chat.
2. The method of claim 1, wherein the generating a third list of information based on the pre-generated first list of information and second list of information comprises:
and filtering out the identifications belonging to the users in the second information list from the first information list to generate the third information list.
3. The method of claim 1, wherein the generating a group resource miss time for the user based on the pre-recorded time when the group resource is fully picked up and the time when the user performs the picking operation on the group resource comprises:
and calculating the difference value between the time when the group resource is completely picked up and the time when the user carries out picking operation on the group resource, wherein the difference value is used as the group resource missing time of the user.
4. The method according to one of claims 1-3, wherein the method further comprises:
if a pickup request for the group resource sent by a terminal device of the user belonging to the group chat is received, recording an identifier of the user corresponding to the pickup request in the first information list, wherein the pickup request comprises the identifier of the corresponding user.
5. The method of claim 4, wherein after said recording the identity of the corresponding user in the first list of information, further comprising:
if the group resources have resources which are not picked up, at least part of the amount of the resources in the resources which are not picked up are distributed to the corresponding users, and the identification of the corresponding users is recorded in the second information list.
6. The method of claim 5, wherein the method further comprises:
and if all the resources in the non-acquired resources are allocated to the corresponding users, recording the allocation time as the time when all the group resources are acquired.
7. A method for displaying information is applied to a terminal device and comprises the following steps:
sending a pickup request for a group resource issued in a group chat to a network device, wherein the pickup request comprises an identification of a user logged in an application providing the group chat;
if receiving the group resource missing time of the user sent by the network equipment, displaying the group resource missing time of the user on a chat session page of the group chat, wherein the group resource missing time is generated based on the pre-recorded time of all the group resources being picked up and the time of the user performing picking up operation on the group resources;
if the identification of other users who do not successfully pick up the group resource and the group resource missing time sent by the network equipment are received, searching the information of the other users from the locally stored information of at least one user according to the identification of the other users;
and displaying the information of the other users and the group resource missing time on the chat session page.
8. The method of claim 7, wherein the method further comprises:
and if a resource drawing notification message sent by the network equipment is received, updating the resource value in the resource storage account of the user, wherein the resource drawing notification message is used for notifying the user of successful resource drawing and the amount of the resource drawn by the user.
9. The method of claim 7, wherein said displaying information of the other users and group resource miss times on the chat session page comprises:
displaying the other user's information and group resource miss times in at least one of: the preset area of the chat session page, the area where the group resource message in the chat session page is located, and the area near the group resource message in the chat session page.
10. A network device, comprising:
one or more processors;
a storage device on which one or more programs are stored;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-6.
11. A terminal device, comprising:
one or more processors;
a storage device on which one or more programs are stored;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 7-9.
12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method of any one of claims 1 to 6 or carries out the method of any one of claims 7 to 9.
CN201810505553.0A 2018-05-24 2018-05-24 Method and equipment for pushing information and displaying information Active CN108768830B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810505553.0A CN108768830B (en) 2018-05-24 2018-05-24 Method and equipment for pushing information and displaying information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810505553.0A CN108768830B (en) 2018-05-24 2018-05-24 Method and equipment for pushing information and displaying information

Publications (2)

Publication Number Publication Date
CN108768830A CN108768830A (en) 2018-11-06
CN108768830B true CN108768830B (en) 2022-09-16

Family

ID=64005524

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810505553.0A Active CN108768830B (en) 2018-05-24 2018-05-24 Method and equipment for pushing information and displaying information

Country Status (1)

Country Link
CN (1) CN108768830B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111949393B (en) * 2019-05-16 2024-02-06 腾讯科技(深圳)有限公司 Resource allocation and acquisition methods, devices, storage medium and equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847346A (en) * 2016-03-21 2016-08-10 乐视网信息技术(北京)股份有限公司 Method and device for downloading resources

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106470391B (en) * 2015-08-21 2020-11-27 腾讯科技(深圳)有限公司 Method and device for group sending of service data
CN107302488B (en) * 2016-04-14 2021-07-09 创新先进技术有限公司 Virtual article distribution method, system and server
US10146560B2 (en) * 2016-09-30 2018-12-04 Xiaoyun Wu Method and apparatus for automatic processing of service requests on an electronic device
CN107566456A (en) * 2017-08-09 2018-01-09 北京小米移动软件有限公司 User's request processing method and device
CN107730224A (en) * 2017-10-07 2018-02-23 长沙明道信息科技有限公司 A kind of network red packet design method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847346A (en) * 2016-03-21 2016-08-10 乐视网信息技术(北京)股份有限公司 Method and device for downloading resources

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《Research on guidance law based on the finite time control》;Zhao Wang 等;《IEEE》;20111231;全文 *

Also Published As

Publication number Publication date
CN108768830A (en) 2018-11-06

Similar Documents

Publication Publication Date Title
CN109857908B (en) Method and apparatus for matching videos
CN109743245B (en) Method and device for creating group
US11800201B2 (en) Method and apparatus for outputting information
CN111756917A (en) Information interaction method, electronic device and computer readable medium
US20150052199A1 (en) Updating time-related information in post to make it more relevant for the requester on subsequent retrieval of post
CN108924036B (en) Method and equipment for allocating resources and drawing resources
CN109873756B (en) Method and apparatus for transmitting information
CN108038172B (en) Search method and device based on artificial intelligence
CN108764866B (en) Method and equipment for allocating resources and drawing resources
WO2020030072A1 (en) Method for allocating resource, method for obtaining resource, method for publishing resource, and device
CN108768823B (en) Method and equipment for processing message and displaying message
CN108768830B (en) Method and equipment for pushing information and displaying information
CN108011936B (en) Method and device for pushing information
CN111225255B (en) Target video push playing method and device, electronic equipment and storage medium
CN110673886A (en) Method and device for generating thermodynamic diagram
US11777889B2 (en) Information processing method and device and electronic equipment
CN109951380B (en) Method, electronic device, and computer-readable medium for finding conversation messages
CN109348298B (en) Method and equipment for pushing and playing multimedia data stream
CN109214846B (en) Information storage method and device
CN111131359B (en) Method and apparatus for generating information
WO2023005508A1 (en) Questionnaire delivery method, system and device, medium and product
CN110061907B (en) Method and equipment for drawing resources and distributing resources
CN115563134A (en) Interaction method, interaction device, electronic equipment and computer readable medium
CN111125503A (en) Method and apparatus for generating information
CN111064844A (en) Message prompting method and device, electronic equipment and computer readable medium

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