Method, device and equipment for giving articles, and method, device and equipment for receiving articles
By automatically displaying item information in Internet applications using preset keywords and current status, and giving or obtaining through triggering operations, the problem of cumbersome gift process in the existing technology is solved, and operation efficiency and user experience are improved.
Patent Information
- Application Number
- CN202411337839.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-24
- Publication Date
- 2024-12-13
AI Technical Summary
The process of giving gifts in existing Internet applications is cumbersome and the operation is inefficient. Users need to find gift controls and select from many gifts, causing social pressure and operational difficulties.
When the session message contains preset keywords or the current status meets the conditions, the item information will be automatically displayed, and the gift or acquisition will be achieved through triggering operations, which simplifies the user's operation process and enhances the interactivity between accounts.
It simplifies the operation process of giving gifts, improves user experience, reduces social pressure, enhances the interaction between the first account and the second account, and avoids the operation steps of returning after leaving the chat interface.
Smart Images

Figure CN119135646A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of Internet technology, and in particular to a method for giving away items, a method for receiving items, a device and equipment. Background Art
[0002] With the development of Internet technology, Internet applications have been widely used due to their convenience and speed. Many social behaviors between users can be carried out through Internet applications, which greatly saves the time consumed by offline social behaviors.
[0003] Giving gifts is a common social behavior. Many Internet applications provide the gift giving function. When a user clicks on the gift giving control in an Internet application, a gift interface is displayed. The gift interface displays a large number of gifts. The user can select a gift from the large number of gifts and give the selected gift to a contact selected by the user.
[0004] However, in the above gift giving process, the user needs to find a gift giving control and then select a suitable gift from a large number of gifts. The operation process is too complicated and the operation efficiency is very low. Summary of the invention
[0005] The present disclosure provides a method for gifting an item, a method for receiving an item, a device and equipment, which enhance the interactivity between a first account and a second account, and recommend a clear target for the first user, thereby avoiding the social pressure caused to the first user by selecting an item. The technical solution of the present disclosure includes the following aspects.
[0006] According to a first aspect of an embodiment of the present disclosure, there is provided a method for giving away an item, comprising:
[0007] When the displayed conversation message includes a preset keyword or the current state satisfies the conditions for gifting the item, the first item information is displayed on the conversation interface between the first account and the second account;
[0008] In response to a gifting operation on the first item information, gifting the item to the second account;
[0009] Among them, the first account is the account logged in by the local end, the conversation message is sent by the first account or by the second account, the preset keyword is a keyword with the intention of obtaining an item, and the current status includes at least one of the current status of the first account, the current status of the second account and the status at the current time.
[0010] In some embodiments, when the displayed conversation message includes a preset keyword or the current state satisfies the item gift condition, displaying the first item information on the conversation interface between the first account and the second account includes:
[0011] Identifying the preset keyword in the conversation message;
[0012] Determine an item keyword corresponding to the preset keyword in the conversation message, where the item keyword includes at least one of an item name, an item type, or an item brand;
[0013] Determining items that match the item keyword;
[0014] On the conversation interface, the first item information corresponding to the item is displayed.
[0015] In some embodiments, when the displayed conversation message includes a preset keyword or the current state satisfies the item gift condition, displaying the first item information on the conversation interface between the first account and the second account includes:
[0016] When the displayed conversation message includes the preset keyword or the current state satisfies the item gift condition, a prompt message is displayed on the conversation interface, the prompt message being used to prompt the user to gift the item to the second account;
[0017] In response to a triggering operation on the prompt message, the first item information is displayed.
[0018] In some embodiments, the current state satisfies the item gifting condition, including at least one of the following:
[0019] The current date is a holiday;
[0020] The current date is the birthday of the user to which the second account belongs, or the birthday of a user who has a preset association relationship with the user to which the second account belongs;
[0021] The current date is the birthday of the user to which the first account belongs, or is the birthday of a user who has a preset association relationship with the user to which the first account belongs;
[0022] The current time is the preset commemorative time between the first account and the second account;
[0023] A preset event occurs at the current time;
[0024] The second account posted a dynamic message containing a congratulatory keyword.
[0025] In some embodiments, in response to the gift operation on the first item information, gifting the item to the second account includes:
[0026] In response to a triggering operation on a gift control in the first item information, gifting the item to the second account; or,
[0027] In response to a first gesture operation on the first item information, the item is donated to the second account; the first gesture operation is: sliding or long pressing the first item information, or dragging the first item information to the avatar of the second account, or dragging the first item information to the conversation area in the conversation interface.
[0028] In some embodiments, displaying the first item information on the conversation interface between the first account and the second account includes:
[0029] Displaying second item information on the conversation interface, where the second item information is used to display the item, and the second item information does not include a gift control for the item;
[0030] In response to a triggering operation on the second item information, the second item information is replaced with the first item information, the size of the first item information is larger than the size of the second item information, and the first item information includes a gift control for the item.
[0031] In some embodiments, in response to the gift operation on the first item information, gifting the item to the second account includes:
[0032] In response to the gifting operation on the first item information, displaying a detail interface of the item, the detail interface including the detail information of the item and a gift confirmation control;
[0033] In response to a trigger operation on the confirmation gift control, an item gift order is generated, and a resource transfer interface is displayed, wherein the item gift order indicates that the first account gives the item to the second account, and the resource transfer interface includes a target resource to be deducted for giving the item and a resource deduction control;
[0034] In response to the triggering operation of the resource deduction control, after the target resource is deducted from the resource account of the first account, an item donation message is sent to the second account, and the item donation message is used for the second account to claim the item.
[0035] In some embodiments, the method further comprises:
[0036] In response to the operation of obtaining the first item information, the item is obtained based on the first account.
[0037] In some embodiments, in response to the operation of obtaining the first item information, obtaining the item based on the first account includes:
[0038] In response to a triggering operation on a get control in the first item information, the item is obtained based on the first account; or,
[0039] In response to a second gesture operation on the first item information, the item is obtained based on the first account; the second gesture operation is: sliding or long pressing the first item information, or dragging the first item information to the avatar of the first account.
[0040] In some embodiments, in response to the operation of obtaining the first item information, obtaining the item based on the first account includes:
[0041] In response to the acquisition operation of the first item information, displaying a detail interface of the item, the detail interface including the detail information of the item and a confirmation acquisition control;
[0042] In response to a trigger operation on the confirmation acquisition control, an item acquisition order is generated, and a resource transfer interface is displayed, wherein the item acquisition order indicates that the first account acquires the item, and the resource transfer interface includes a target resource to be deducted for acquiring the item and a resource deduction control;
[0043] In response to a triggering operation on the resource deduction control, after the target resource is deducted from the resource account of the first account, the item is issued to the first account based on the item acquisition order.
[0044] According to a second aspect of an embodiment of the present disclosure, there is provided a method for picking up an item, comprising:
[0045] Displaying a conversation interface between a first account and a second account, where the second account is the account logged in by the local terminal;
[0046] On the conversation interface, an item donation message sent by the first account is displayed, wherein the item donation message indicates that the first account donates an item to the second account, and the item is an item that matches a preset keyword in the conversation message in the conversation interface, or an item that matches a current state, wherein the preset keyword is a keyword with an intention to obtain an item, and the current state includes at least one of a current state of the first account, a current state of the second account, and a state at a current time;
[0047] In response to a claiming operation on the item donation message, the item is claimed based on the second account.
[0048] In some embodiments, the item donation message includes a collection control, and the collection of the item based on the second account in response to the collection operation of the item donation message includes:
[0049] In response to a triggering operation on the pickup control, displaying a detail interface of the item, the detail interface including detail information of the item and a confirmation order control;
[0050] In response to the triggering operation of the confirmation order control, an item collection order is generated, and a resource transfer interface is displayed, wherein the item collection order indicates collecting the item donated by the first account to the second account, and the resource transfer interface includes a target resource to be deducted for collecting the item and a resource deduction control, and the target resource is 0;
[0051] In response to the triggering operation of the resource deduction control, after the target resource is deducted from the resource account of the second account, the item is issued to the second account based on the item collection order.
[0052] According to a third aspect of an embodiment of the present disclosure, there is provided a device for giving away an item, comprising:
[0053] An item display unit, configured to display the first item information on the conversation interface between the first account and the second account when the displayed conversation message includes a preset keyword or the current state meets the item gift condition;
[0054] a gifting unit, configured to gift the item to the second account in response to a gifting operation on the first item information;
[0055] Among them, the first account is the account logged in by the local end, the conversation message is sent by the first account or by the second account, the preset keyword is a keyword with the intention of obtaining an item, and the current status includes at least one of the current status of the first account, the current status of the second account and the status at the current time.
[0056] In some embodiments, the item display unit is configured to identify the preset keyword in the conversation message; determine the item keyword corresponding to the preset keyword in the conversation message, and the item keyword includes at least one of an item name, an item type, or an item brand; determine the item that matches the item keyword; and display the first item information corresponding to the item on the conversation interface.
[0057] In some embodiments, the item display unit is configured to include the preset keywords in the displayed conversation message, or to display a prompt message on the conversation interface when the current status meets the item gift condition, and the prompt message is used to prompt the gift of the item to the second account; in response to the triggering operation of the prompt message, the first item information is displayed.
[0058] In some embodiments, the current state satisfies the item gifting condition, including at least one of the following:
[0059] The current date is a holiday;
[0060] The current date is the birthday of the user to which the second account belongs, or the birthday of a user who has a preset association relationship with the user to which the second account belongs;
[0061] The current date is the birthday of the user to which the first account belongs, or is the birthday of a user who has a preset association relationship with the user to which the first account belongs;
[0062] The current time is the preset commemorative time between the first account and the second account;
[0063] A preset event occurs at the current time;
[0064] The second account posted a dynamic message containing a congratulatory keyword.
[0065] In some embodiments, the donation unit includes:
[0066] A first gift subunit is configured to gift the item to the second account in response to a triggering operation on a gift control in the first item information; or
[0067] The second gifting sub-unit is configured to gift the item to the second account in response to a first gesture operation on the first item information; the first gesture operation is: sliding or long pressing the first item information, or dragging the first item information to the avatar of the second account, or dragging the first item information to the conversation area in the conversation interface.
[0068] In some embodiments, the item display unit comprises:
[0069] A first display subunit is configured to display second item information on the conversation interface, where the second item information is used to display the item, and the second item information does not include a gift control for the item;
[0070] The second display subunit is configured to replace the second item information with the first item information in response to a triggering operation on the second item information, the size of the first item information is larger than the size of the second item information, and the first item information includes a gift control for the item.
[0071] In some embodiments, the gifting unit is configured to, in response to a gifting operation on the first item information, display a detail interface of the item, the detail interface including the detail information of the item and a confirmation gift control; in response to a triggering operation on the confirmation gift control, generate an item gift order and display a resource transfer interface, the item gift order indicating that the first account gifts the item to the second account, the resource transfer interface including the target resources to be deducted for gifting the item and a resource deduction control; in response to a triggering operation on the resource deduction control, after deducting the target resources from the resource account of the first account, send an item gift message to the second account, the item gift message being used for the second account to collect the item.
[0072] In some embodiments, the apparatus further comprises:
[0073] The acquisition unit is configured to acquire the item based on the first account in response to an acquisition operation on the first item information.
[0074] In some embodiments, the acquisition unit includes:
[0075] A first acquisition subunit is configured to acquire the item based on the first account in response to a triggering operation on an acquisition control in the first item information; or
[0076] The second acquisition subunit is configured to acquire the item based on the first account in response to a second gesture operation on the first item information; the second gesture operation is: sliding or long pressing the first item information, or dragging the first item information to the avatar of the first account.
[0077] In some embodiments, the acquisition unit is configured to, in response to an acquisition operation on the first item information, display a detail interface of the item, the detail interface including the detail information of the item and a confirmation acquisition control; in response to a trigger operation on the confirmation acquisition control, generate an item acquisition order and display a resource transfer interface, the item acquisition order indicating that the first account acquires the item, the resource transfer interface including a target resource to be deducted to acquire the item and a resource deduction control; in response to a trigger operation on the resource deduction control, after deducting the target resource from the resource account of the first account, the item is issued to the first account based on the item acquisition order.
[0078] According to a fourth aspect of an embodiment of the present disclosure, there is provided a device for picking up an item, comprising:
[0079] A display unit, configured to display a conversation interface between a first account and a second account, wherein the second account is an account logged in by the local end;
[0080] The display unit is further configured to display, on the conversation interface, an item donation message sent by the first account, wherein the item donation message indicates that the first account donates an item to the second account, and the item is an item that matches a preset keyword in the conversation message in the conversation interface, or an item that matches a current state, wherein the preset keyword is a keyword with an intention to obtain an item, and the current state includes at least one of a current state of the first account, a current state of the second account, and a state at a current time;
[0081] The receiving unit is configured to receive the item based on the second account in response to a receiving operation of the item donation message.
[0082] In some embodiments, the item donation message includes a collection control, and the collection unit is configured to display a detail interface of the item in response to a trigger operation on the collection control, the detail interface including detail information of the item and a confirmation order control; in response to a trigger operation on the confirmation order control, generate an item collection order and display a resource transfer interface, the item collection order indicates collecting the item donated by the first account to the second account, the resource transfer interface including a target resource to be deducted for collecting the item and a resource deduction control, the target resource being 0; in response to a trigger operation on the resource deduction control, after deducting the target resource from the resource account of the second account, the item is issued to the second account based on the item collection order.
[0083] According to a fifth aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0084] processor;
[0085] a memory for storing instructions executable by the processor;
[0086] The processor is configured to execute the instructions to implement the method of giving away items or the method of receiving items as described in the above aspects.
[0087] According to the sixth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method of giving away items or the method of receiving items as described in the above aspects.
[0088] According to a seventh aspect of an embodiment of the present disclosure, a computer program product is provided, including a computer program, which, when executed by a processor, implements the method of giving away an item or the method of receiving an item as described in the above aspects.
[0089] In the disclosed embodiment, when the displayed conversation message includes preset keywords or the current state meets the conditions for gifting an item, the first item information is automatically displayed on the conversation interface, so that the first user can trigger a gift operation on the first item information to gift the item to the second account, thereby enhancing the interactivity between the first account and the second account. In addition, a clear gift target is recommended for the first user, so that the first user does not need to actively select an item to be gifted to the second account from too many items, thereby avoiding the social pressure caused to the first user by selecting an item.
[0090] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0091] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0092] Figure 1 It is a schematic diagram of an implementation environment according to an exemplary embodiment.
[0093] Figure 2 The present invention is a flowchart of a method for presenting an item according to an exemplary embodiment.
[0094] Figure 3 is a schematic diagram of first item information in a conversation interface according to an exemplary embodiment.
[0095] Figure 4 is a schematic diagram of first item information in another conversation interface according to an exemplary embodiment.
[0096] Figure 5 The figure is a flow chart of another method for giving away items according to an exemplary embodiment.
[0097] Figure 6 is a schematic diagram of second item information in a conversation interface according to an exemplary embodiment.
[0098] Figure 7 It is a schematic diagram showing first item information after being replaced by second item information in a conversation interface according to an exemplary embodiment.
[0099] Figure 8 It is a schematic diagram of a details interface according to an exemplary embodiment.
[0100] Fig. 9 The diagram is a schematic diagram of a resource transfer interface according to an exemplary embodiment.
[0101] Fig.10 The figure is a schematic diagram showing an item gift message according to an exemplary embodiment.
[0102] Fig.11 The figure is a schematic diagram showing another item gifting message according to an exemplary embodiment.
[0103] Fig.12 The figure is a flow chart of yet another method for giving away items according to an exemplary embodiment.
[0104] Fig.13 The figure is a schematic diagram showing a prompt message according to an exemplary embodiment.
[0105] Fig.14 It is a schematic diagram of an item selection interface according to an exemplary embodiment.
[0106] Fig.15 The present invention is a flowchart of a method for picking up items according to an exemplary embodiment.
[0107] Fig.16 The figure is a schematic diagram of another item gifting message according to an exemplary embodiment.
[0108] Fig.17 The figure is a schematic diagram showing another item gifting message according to an exemplary embodiment.
[0109] Fig.18 is a schematic diagram of another details interface according to an exemplary embodiment.
[0110] Fig.19 It is a schematic diagram of another resource transfer interface according to an exemplary embodiment.
[0111] Fig. 20 The present invention is a flowchart of a method for obtaining an item according to an exemplary embodiment.
[0112] Fig.21 The present invention is a structural block diagram of a device for giving away items according to an exemplary embodiment.
[0113] Fig. 22 It is a structural block diagram of another device for giving away items according to an exemplary embodiment.
[0114] Fig.23 It is a structural block diagram of a terminal according to an exemplary embodiment.
[0115] Fig.24 The figure is a structural block diagram of a server according to an exemplary embodiment. DETAILED DESCRIPTION
[0116] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0117] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0118] The user information involved in the present disclosure may be information authorized by the user or fully authorized by all parties.
[0119] Figure 1 is a schematic diagram of an implementation environment according to an exemplary embodiment. Figure 1 , the implementation environment includes a terminal 101 and a server 102. The terminal 101 and the server 102 are connected via a wireless or wired network.
[0120] Exemplarily, the terminal 101 is installed with an Internet application provided by the server 102, and the terminal 101 can realize functions such as chatting with friends, watching live broadcasts, online shopping, etc. through the Internet application. The Internet application is a chat application, a short video application, a shopping application, or other applications, and the embodiments of the present disclosure do not limit this.
[0121] In the disclosed embodiment, the terminal 101 displays a conversation interface between a first account and a second account based on an Internet application, and the conversation interface is used for the first account and the second account to perform social activities, wherein the first account is an account logged in by the terminal 101, and the second account is an account logged in by other terminals, and the second account can be a friend account of the first account or another account. In addition, a variety of items are provided in the Internet application, and any account can browse the item information corresponding to any item, obtain any item, or give any item to other accounts.
[0122] In some embodiments, the terminal 101 includes a smart phone, a tablet computer, a laptop computer, a desktop computer, etc., but is not limited thereto.
[0123] In some embodiments, server 102 is an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network) and big data and artificial intelligence platforms, but the embodiments of the present disclosure do not limit this.
[0124] The following is an example of an application scenario of the embodiment of the present disclosure.
[0125] The first one is the chat scene:
[0126] The conversation interface between the first account and the second account is a chat interface, through which the first account or the second account can send chat messages to each other, make voice calls, video calls, or give items to each other. During the chat between the first account and the second account, if a chat message includes an item keyword, it means that the first user and the second user mentioned an item matching the item keyword during the chat, and the item information corresponding to the item is displayed on the conversation interface at this time, or, if the current date is a holiday or the second user's birthday, the item information corresponding to the item is displayed on the conversation interface. In response to the gift operation of the item information, the item can be given to the second account based on the currently logged in first account. During the whole process, the first user does not need to specifically select the item to be given to the second user from a large number of items, nor does he need to leave the chat interface.
[0127] The second type is the live broadcast scenario:
[0128] The second account is the anchor account, the first account is the account for entering the live broadcast room and watching the live broadcast, and the conversation interface between the first account and the second account is the live broadcast interface. The conversation message displayed in the live broadcast interface can be a promotional message posted by the second account in the live broadcast interface, or a comment message posted by the first account in the live broadcast interface. If a comment message includes an item keyword, the item information corresponding to the item matching the item keyword will be displayed on the live broadcast interface. In response to the gift operation of the item information, the item can be gifted to the second account based on the currently logged in first account. During the whole process, the first user does not need to specifically select the item to be gifted to the second user from a large number of items, nor does he need to leave the live broadcast interface.
[0129] The third type is watching the video scene:
[0130] The second account is the account that publishes the video, and the first account is the account that watches the video. The first account can share, like, comment, post bullet screens, and other operations on the video. The conversation interface between the first account and the second account is the video playback interface, and the conversation messages displayed in the conversation interface can be comment messages or bullet screen messages posted by the second account for the video. If a conversation message includes an item keyword, the item information corresponding to the item matching the item keyword is displayed based on the video playback interface. In response to the gift operation on the item information, the item can be gifted to the second account based on the currently logged in first account. During the whole process, the first user does not need to specifically select the item to be gifted to the second user from a large number of items, nor does he need to leave the video playback interface.
[0131] It should be noted that the above three scenarios are only examples, and the embodiments of the present disclosure may also be applied to other scenarios, and the embodiments of the present disclosure do not limit the application scenarios.
[0132] Figure 2 is a flow chart of a method for giving away items according to an exemplary embodiment. Figure 2 As shown, the method is performed by an electronic device, which may be the above-mentioned Figure 1 The terminal 101 or the server 102 shown in the figure is not limited in the embodiment of the present disclosure. The method includes the following steps.
[0133] In step 201, when the displayed conversation message includes preset keywords or the current state satisfies the conditions for gifting the item, the electronic device displays the first item information on the conversation interface between the first account and the second account.
[0134] The first account is the account logged in by the local terminal, that is, the first account is the account logged in by the electronic device, and the second account can be the account logged in by other electronic devices other than the electronic device. And for the sake of distinction, the user to whom the first account belongs is called the first user, and the user to whom the second account belongs is called the second user.
[0135] In addition, on the conversation interface, either the first account or the second account can send conversation messages. The embodiment of the present disclosure only takes the conversation message in the conversation interface as an example for explanation. The conversation message can be sent by either the first account or the second account.
[0136] The preset keyword is a keyword with the intention of obtaining an item. The inclusion of the preset keyword in the conversation message indicates that the first user to whom the first account belongs or the second user to whom the second account belongs has expressed the intention of obtaining the item, and also indicates that the first user or the second user is likely to be interested in the item matching the preset keyword. At this time, in order to facilitate the subsequent gifting of the item, the first item information can be automatically displayed on the conversation interface, and the item displayed by the first item information can be recommended to the first user or the second user.
[0137] The first item information may include the name, picture, price, sales volume, number of reviews, type, etc. of the item, which is not limited in the embodiment of the present disclosure. The first user may learn about the item by browsing the first item information.
[0138] In some embodiments, the electronic device provides multiple items, and a recommendation algorithm may be used to recommend the first item information to the first account, or the first item information may be recommended to the first account based on a recommendation model. In addition, the personal information, historical operation records, etc. of the first account or the second account may be referred to during the recommendation process to recommend item information that the first user is interested in or the second user is interested in.
[0139] In some embodiments, the first item information may be in the form of a card, and the electronic device displays a card corresponding to the item on the conversation interface, wherein the card displays the first item information. In addition to browsing the first item information in the card, the first user may also close, move, slide, zoom, and perform other operations on the card, which is not limited in the embodiments of the present disclosure.
[0140] In some embodiments, when there are multiple items matching the preset keyword, the electronic device displays multiple groups of first item information on the conversation interface, and each group of first item information is used to display the items matching the preset keyword. Alternatively, the electronic device selects a target number of items from multiple items matching the preset keyword, and displays the first item information corresponding to the selected target number of items on the conversation interface. Alternatively, the electronic device filters from multiple items matching the preset keyword according to the filtering conditions, and displays the first item information corresponding to the filtered items on the conversation interface. Among them, the filtering conditions can be that the online time must not be earlier than the preset time before the current date, or the sales volume must not be lower than the preset quantity, etc.
[0141] For example, when the amount of first item information is large and it is impossible to display all of the first item information in the conversation interface at once, multiple groups of first item information can be arranged in sequence to form an item information sequence, and the first user can slide or turn the pages of the item information sequence to switch the display of the first item information included in the item information sequence.
[0142] In some embodiments, step 201 includes: identifying preset keywords in the conversation message; determining item keywords corresponding to the preset keywords in the conversation message, the item keywords including at least one of item name, item type or item brand; determining items that match the item keywords; and displaying first item information corresponding to the item on the conversation interface.
[0143] Among them, the preset keyword is a keyword with the intention of obtaining an item, such as "I want to eat XX", "I don't know what to eat", "I miss XX very much", and the item keyword corresponding to the preset keyword refers to the object targeted by the preset keyword in the conversation message, and the item keyword includes at least one of the item name, item type or item brand. Therefore, the item keyword refers to the item that the user who sent the conversation message wants to obtain. For example, the preset keyword is a verb in the conversation message, and the item keyword is the noun targeted by the verb. Therefore, the first item information corresponding to the item matching the item keyword is displayed on the conversation interface. Since the item keyword is a word corresponding to the preset keyword, it can accurately represent the item that the user who sent the conversation message wants to obtain, thereby improving the accuracy of identifying items, thereby increasing the probability of gifting items, and improving the interactivity between users on both sides.
[0144] In other embodiments, step 201 includes: when the conversation message includes preset keywords but does not include item keywords corresponding to the preset keywords, it means that the user who sent the conversation message wants to obtain items but has not determined a clear target item, so the item matching the preset keywords can be any item, and the electronic device can randomly select an item from the item library and display the first item information corresponding to the item, or select an item matching the second account from the item library and display the first item information corresponding to the item, or select the most popular item from the item library and display the first item information corresponding to the item. For example, based on the record of the second account previously obtaining items, the item type preferred by the second account can be determined, and then an item belonging to the item type is selected, and the selected item can be considered as an item liked by the second user. Alternatively, the item with the highest sales in the past week is selected, and the selected item can be recommended to the second user for trial.
[0145] See also Figure 3 , the account logged in by the electronic device is account A, and the electronic device displays a conversation interface between account A and account B, and the conversation interface displays conversation messages sent by account A or account B. Among them, the conversation message "I want to eat hamburgers" sent by account B includes the preset keyword "I want to eat", and the item keyword corresponding to the preset keyword is "hamburger", so it can be determined that account B has the intention to obtain hamburgers, and three groups of item information are displayed on the conversation interface, recommending three different hamburgers to the first user, so as to prompt the first user to send a hamburger to the second account.
[0146] In some embodiments, the electronic device involves a variety of business scenarios, and the items provided in different business scenarios are different. For example, the items provided in the local business scenario are items applicable to a specific geographical range, such as local group-purchased goods. These items need to be used in stores or other locations belonging to the geographical range, and therefore can only be used by users belonging to the geographical range, and cannot be used by users belonging to other geographical ranges. Alternatively, the items provided in the takeaway business scenario are also items applicable to a specific geographical range and can only be delivered to users belonging to the geographical range. The items provided in the online shopping business scenario may include physical items, online services, etc., where physical items can be delivered to users in any geographical range for use. In the disclosed embodiment, the item corresponding to the first item information can be selected from items that are not restricted by geographical range, or items applicable to the geographical range to which the second account belongs. The disclosed embodiment does not limit this.
[0147] In addition, the current state may be the current state of the electronic device, or the current state in the real world to which the electronic device belongs, etc. The current state includes at least one of the current state of the first account, the current state of the second account, and the state at the current time. Accordingly, the item gifting condition refers to the condition that the current state needs to meet when gifting an item to the other party's account, and the embodiments of the present disclosure do not limit this.
[0148] When the current status satisfies the item gifting conditions, it means that the current time is suitable for the first account to gift the item to the second account, so the first item information is displayed on the conversation interface.
[0149] In some embodiments, the current status satisfies the item gifting conditions, including at least one of the following 1 to 6.
[0150] 1. The current date is a holiday, such as the Spring Festival, Lantern Festival, Mid-Autumn Festival, Children's Day, etc.
[0151] Whenever a holiday comes, the first item information may be displayed so that the first account can give the item to the second account to celebrate the arrival of the holiday.
[0152] 2. The current date is the birthday of the user to which the second account belongs, or is the birthday of a user who has a preset association relationship with the user to which the second account belongs.
[0153] The second account can set a personal profile, and the personal profile can record the birthday of the user to which the second account belongs (i.e., the second user) or the birthday of the user who has a preset association relationship with the user to which the second account belongs. Alternatively, the first user can also add notes to the second account based on the understanding of the second user, thereby supplementing the personal profile of the second account. Among them, the preset association relationship can be relatives, friends, classmates, colleagues, etc. For example, the personal profile set by the second account includes the birthday of the second user but does not include the birthdays of the second user's relatives, and the first user, based on the understanding of the second user's relatives, notes the birthdays of the second user's relatives for the second account. Whenever the second user's birthday arrives, or whenever the second user's relatives' birthday arrives, the first item information can be displayed so that the first account can send items to the second account.
[0154] 3. The current date is the birthday of the first user, or is the birthday of a user who has a preset association with the user to which the first account belongs.
[0155] Similar to the second account, the first account can also set up personal information, which can record the birthday of the first user (ie, the first user) or the birthday of a user who has a preset association relationship with the user to which the first account belongs.
[0156] For example, whenever the first user's birthday comes, or whenever the first user's relative's birthday comes, the first item information can be displayed so that the first account can send the item to the second account and invite the second user to celebrate the first user's or his relative's birthday together.
[0157] 4. The current time is the preset commemorative time between the first account and the second account.
[0158] A preset commemorative time can be set between the first account and the second account. The preset commemorative time is a special time that is commemorative for the first user and the second user. It can be set by the first user or the second user, or automatically set by the electronic device. Whenever the preset commemorative time is reached, the first item information can be displayed so that the first account can give the item to the second account. The preset commemorative time can be a certain time point or a certain date, etc.
[0159] For example, the current date is the anniversary of the establishment of a friendship between the first account and the second account. The first account and the second account can establish a friendship to indicate that the first user and the second user are friends. After the friendship is established, the second account is included in the contact list of the first account. The conversation interface between the first account and the second account can be displayed by triggering the second account on the electronic device logged in to the first account, and the first account is included in the contact list of the second account. The conversation interface between the first account and the second account can be displayed by triggering the first account on the electronic device logged in to the second account. In addition to displaying the conversation interface, any two accounts that have established a friendship can also perform various types of social behaviors, which will not be repeated here. Whenever the anniversary of the establishment of a friendship between the first account and the second account arrives, the first item information can be displayed so that the first account can give an item to the second account to celebrate the two accounts becoming friends.
[0160] Alternatively, the current date is a preset commemorative date between the first account and the second account. A preset commemorative date can be set between the first account and the second account, and the preset commemorative date is a special date that is commemorative to the first user and the second user. Whenever the preset commemorative date is reached, the first item information can be displayed so that the first account can give the item to the second account. For example, the preset commemorative date can be the date when the first user and the second user met, the date when they became lovers, the date when they got married, etc., which is not limited in the embodiments of the present disclosure.
[0161] Alternatively, the current date is a landmark date for entering a preset season, such as the beginning of spring, the beginning of summer, the beginning of autumn, the beginning of winter, etc. The current date is a landmark date for entering a preset season, and in order to celebrate the arrival of the preset season, the first item information may be displayed so that the first account can present an item to the second account.
[0162] Alternatively, the current time point is a preset commemorative time point in a preset commemorative date, such as 5:20 on May 20, 2020, which represents the commemorative time point for a couple.
[0163] 5. A preset event has occurred, such as a snow event, a hail event, an event in which the first account's level is upgraded, an event in which the second account's level is upgraded, etc.
[0164] The preset event may be set by the first user or the second user, or may be automatically set by the electronic device. Whenever the preset event occurs, the first item information may be displayed so that the first account can send the item to the second account.
[0165] 6. The second account posted a dynamic message containing the congratulatory keyword.
[0166] When the second user has an event and publishes a dynamic message containing a congratulatory keyword, the first item information can be displayed so that the first account can send an item to the second account to congratulate the second user. The congratulatory keywords can be "celebration", "very happy", "received an admission letter", "promotion and salary increase", etc., which are not limited in the embodiments of the present disclosure.
[0167] It should be noted that the above 6 items are only examples of the current status satisfying the conditions for gifting items. In other embodiments, the current status satisfying the conditions for gifting items may also include other situations, which are not limited in the embodiments of the present disclosure.
[0168] When the current state satisfies the conditions for gifting the item, the process of displaying the first item information and the process of gifting the item are the same as the process when the conversation message includes preset keywords, and will not be repeated here.
[0169] In step 202, the electronic device donates an item to the second account in response to a donating operation on the first item information.
[0170] The gifting operation on the first item information indicates that the first account needs to gift the item to the second account, so the electronic device responds to the gifting operation on the first item information and gifts the item to the second account.
[0171] In some embodiments, step 202 includes the following 2021 and 2022.
[0172] 2021. In response to a triggering operation on a gift control in the first item information, gift an item to the second account. The gift control is used to indicate that the item is gifted to the other party account that is in conversation with the currently logged-in first account, that is, the second account. The first user can gift the item to the second account by triggering the gift control.
[0173] See also Figure 3, three groups of item information are displayed in the conversation interface, and each group of item information is used to display a hamburger, and each group of item information includes a gift control. If the first user triggers the gift control of the first group of item information, "Hamburger 1" will be given to the second account.
[0174] 2022. In response to a first gesture operation on the first item information, donate the item to the second account; the first gesture operation is: sliding or long pressing the first item information, or dragging the first item information to the avatar of the second account, or dragging the first item information to the conversation area in the conversation interface.
[0175] See also Figure 4 , three groups of item information are displayed in the conversation interface, each group of item information is used to display a hamburger, and each group of item information does not include a gift control. If the first user drags the first group of item information to the avatar of account B, "Hamburger 1" will be given to the second account.
[0176] Alternatively, the first item information is originally displayed in an area other than the conversation area in the conversation interface, and the first item information is dragged to the conversation area, and the item is presented to the second account.
[0177] The first user only needs to perform a simple first gesture operation to send the item to the second account. The operation is simple and fast, which simplifies the operation process and improves the operation efficiency. This gifting method enhances the fun, easily attracts the first user to send items using this gifting method, and improves the interactivity between the first account and the second account.
[0178] The method provided by the embodiment of the present disclosure automatically displays the first item information on the conversation interface when the displayed conversation message includes preset keywords or the current status satisfies the item gifting conditions, so that the first user can trigger a gifting operation on the first item information to gift the item to the second account, thereby enhancing the interactivity between the first account and the second account. Moreover, based on the item mentioned in the conversation message or the current status, a clear gifting target is recommended to the first user, so that the first user does not need to actively select the item to be gifted to the second account from too many items, thereby avoiding the social pressure caused to the first user by selecting items.
[0179] In addition, there is no need to leave the conversation interface during the entire gifting process, which avoids leaving the conversation interface, giving the gift, and then returning to the conversation interface. This avoids interrupting the social process between the first account and the second account, saves operation time, and improves operation efficiency.
[0180] In addition, the embodiments of the present disclosure also provide a variety of different conditions for gifting items, which improves flexibility. The electronic device can adopt one or more of the conditions for gifting items, so as to prompt the first user to gift items under different conditions for gifting items, thereby expanding the application scenarios of gifting items.
[0181] It should be noted that the above Figure 2 The embodiment shown takes the example of a first account sending an item to a second account. In another embodiment, the second account may send an item to the first account. The method flow of sending an item is the same as the above. Figure 2 In addition, the account logged into the electronic device is the first account, and the number of second accounts that communicate with the first account in the conversation interface can be one or more, and the embodiment of the present disclosure does not limit the number of second accounts.
[0182] Above Figure 2 The embodiment shown is only a brief description of the method of giving away items. Figure 2 Based on the illustrated embodiment, another method of giving an item as a present is also provided. Figure 5 is a flow chart of another method for giving away items according to an exemplary embodiment. Figure 5 As shown, the method is executed by an electronic device, and the method includes the following steps.
[0183] In step 501, when the displayed conversation message includes preset keywords or the current status satisfies the conditions for gifting an item, second item information is displayed on the conversation interface between the first account and the second account. The second item information is used to display the item, and the second item information does not include an item gift control.
[0184] Step 501 is the same as step 201, except that the second item information is displayed in step 501 instead of the first item information. Both the first item information and the second item information are used to display items, the first item information includes a gift control for the item, while the second item information does not include a gift control for the item, and the size of the first item information is larger than that of the second item information, so compared with the second item information, the first item information can display more information about the item.
[0185] In step 502, the electronic device replaces the second item information with the first item information in response to a triggering operation on the second item information, the size of the first item information is larger than the size of the second item information, and the first item information includes a gift control for the item.
[0186] In the embodiments of the present disclosure, for the same item, the second item information corresponding to the item is first displayed, and in response to a trigger operation on the second item information, the first item information corresponding to the item is then displayed, so as to display the gift control for the item. Therefore, the smaller-sized second item information is initially displayed, and when the first user triggers the second item information, indicating a desire to view more item information or give the item as a gift, the larger-sized first item information is displayed. This not only meets the first user's need to view item information but also effectively saves the display space of the conversation interface.
[0187] For example, when the electronic device includes a preset keyword in the conversation message, it can display multiple sets of second item information corresponding to multiple items that match the preset keyword on the conversation interface. At this time, the first user can roughly view the displayed second item information and only trigger one set of the second item information to indicate a desire to give the item corresponding to this set of second item information as a gift. In response to the trigger operation on one set of the second item information, the electronic device replaces the triggered second item information with the first item information, without replacing the second item information that has not been triggered. Therefore, only display the larger-sized first item information for the items with a gift-giving need, and display the smaller-sized first item information for the items without a gift-giving need, which not only meets the first user's need to view item information but also effectively saves the display space of the conversation interface.
[0188] Among them, the trigger operation on the second item information can be a click operation, a long-press operation, a swipe operation, etc., and the embodiments of the present disclosure do not limit this.
[0189] See Figure 6 , in response to the conversation message sent by account B including the preset keyword "so hungry" and the item keyword "hamburger", three sets of second item information are displayed on the conversation interface. Each set of second item information is used to display a kind of hamburger, and the three sets of second item information do not include the gift control. See Figure 7 , if the first user swipes up the first set of second item information, the first set of second item information is replaced with the larger-sized first item information, and the other second item information remains unchanged.
[0190] In step 503, the electronic device displays the detailed information interface of the item in response to the trigger operation on the gift control of the item. The detailed information interface includes the detailed information of the item and the confirmation gift control.
[0191] The electronic device gives the item to the second account in response to the trigger operation on the gift control of the item, and the giving process includes steps 503 to 505.
[0192] The detailed information of the item may include the name, picture, price, type, sales volume, evaluation, text description and other information of the item, which is not limited in the embodiments of the present disclosure. The detailed information of the item is more than the first item information and the second item information, so the first user can learn more about the item by browsing the detailed information of the item. In addition, the detailed interface also includes a confirmation gift control for the item, which can be triggered when the first user confirms that he wants to give the item to the second account.
[0193] In step 504, the electronic device generates an item donation order and displays a resource transfer interface in response to a trigger operation on the donation confirmation control.
[0194] Among them, the item gift order indicates that the first account gives an item to the second account, which can be regarded as a record of the gifted item.
[0195] Furthermore, since the first user needs to transfer the target resource to the owner of the item before the item can be given to the second account, the item gift order is in an untransferred state before the resource transfer is performed and has not yet officially taken effect. Only when the resource transfer is subsequently performed based on the item gift order and the item gift order is in a transferred state, can it officially take effect and the item can be distributed to the second account.
[0196] Therefore, after the electronic device generates an item gift order, it displays a resource transfer interface, which includes the target resource to be deducted for the gift item and a resource deduction control. The target resource can be points, virtual props, game coins, etc., which is not limited in the embodiment of the present disclosure.
[0197] For example, if the item is an item that is allowed to be given away for free, the target resource is 0, and if the item is not an item that is allowed to be given away for free, the target resource is greater than 0.
[0198] The resource deduction control can be triggered when the first user confirms that he wants to donate the item to the second account and the target resource is correct.
[0199] See also Figure 7 , the first user triggers the gift control of "Hamburger 1", which displays Figure 8 The details interface shown includes the hamburger picture, price, sales data, package details and the gift confirmation control "32 yuan gift immediately". Triggering the gift confirmation control will display Fig. 9 The payment interface shown includes the price, quantity, discount and three alternative payment methods of the selected hamburger meal, as well as the payment control "Pay 32 yuan now". After triggering the payment control, the first account can pay 32 yuan and give this hamburger meal to the second account.
[0200] In step 505, the electronic device responds to the triggering operation of the resource deduction control, deducts the target resource from the resource account of the first account, and then sends an item donation message to the second account, where the item donation message is used for the second account to collect the item.
[0201] The resource account of the first account stores resources. In response to the triggering operation of the resource deduction control, the electronic device deducts the target resource from the resource account of the first account, and then transfers the deducted target resource to the owner of the item, thereby achieving the effect of exchanging the target resource for the item. After that, the item gift message can be sent to the second account, and the electronic device logged in to the second account can receive the item based on the item gift message.
[0202] Among them, the item donation message may include item information corresponding to the item, such as the first item information or the second item information displayed in the conversation interface, or may also include an item donation order, or may also include information such as the first account or the first account's avatar, the donation time, a message added when donating the item, etc. The present disclosed embodiment does not limit the content of the item donation message.
[0203] In some embodiments, the electronic device sends an item gift message to the second account on the conversation interface, and the item gift message can be displayed based on the conversation interface in both the electronic device logged in to the first account and the electronic device logged in to the second account. The display style of the item gift message is the same as the display style of other conversation messages, that is, the item gift message is displayed as a conversation message. Alternatively, the display style of the item gift message is different from the display style of other conversation messages, that is, the item gift message is displayed as a special message. Alternatively, the item gift message can also adopt a dynamic display style, and its display style can change.
[0204] See also Fig.10 , the electronic device logged into account A displays the item gift message sent by account A to account B on the conversation interface. The item gift message is displayed in the same style as other conversation messages.
[0205] See also Fig.11 , a message window pops up on the conversation interface of the electronic device logged into account A, and a message of item donation sent by account A to account B is displayed in the message window. The display style of the item donation message is different from that of other conversation messages.
[0206] Alternatively, the electronic device logging into account A may first display Fig.11 The message window shown will be closed after the display time reaches the preset time, and then displayed again Fig.10 The item gift message shown.
[0207] In some embodiments, the electronic device logged in to the first account interacts with the electronic device logged in to the second account through the server. Then in step 504, the electronic device logged in to the first account responds to the trigger operation of the confirmation gift control and sends a gift item request to the server. The gift item request carries the first account, the second account and the item identifier corresponding to the item. The item identifier is used to uniquely identify the item and can be the code or name of the item. The server generates an item gift order in response to the gift item request and sends it to the electronic device logged in to the first account, and the electronic device logged in to the first account displays a resource transfer interface. In step 505, the electronic device logged in to the first account responds to the trigger operation of the resource deduction control and sends a resource transfer request to the server. The server responds to the resource transfer request, deducts the target resource from the resource account of the first account, generates an item gift message, and sends the item gift message to the electronic device logged in to the first account. The electronic device logged in to the first account displays the item gift message on the session interface, and the server sends the item gift message to the electronic device logged in to the second account, and the electronic device logged in to the second account displays the item gift message on the session interface.
[0208] In some embodiments, although during the process of gifting an item, the electronic device switches from the conversation interface to the details interface and the resource transfer interface, after the gift of the item to the second account is completed, the electronic device automatically returns to the conversation interface, thereby facilitating the first account and the second account to continue socializing in the conversation interface. Therefore, the entire process of gifting an item does not deviate from the social scene, avoiding interruption of the social process between the first account and the second account, and eliminating the need for the first user to manually perform complex operations to return to the conversation interface after gifting the item.
[0209] The method provided by the embodiment of the present disclosure automatically displays the first item information on the conversation interface when the displayed conversation message includes a preset keyword or the current state meets the item gifting condition, thereby displaying items matching the preset keyword, making it convenient for the first user to gift the item to the second account by triggering a gifting operation on the first item information, thereby enhancing the interactivity between the first account and the second account. In addition, a clear gifting target is recommended for the first user, and the first user does not need to actively select the item to be gifted to the second account from too many items, thereby avoiding the social pressure caused to the first user by selecting items.
[0210] In addition, the entire process of gifting items does not require leaving the social scene, avoiding the situation of leaving the social scene first and then jumping to the search scene to search for gifts, giving gifts and then returning to the conversation interface. This avoids interrupting the social process between the first account and the second account, simplifies the operation process, saves operation time, and improves operation efficiency.
[0211] In addition, after the first item information is displayed on the conversation interface, the item can be donated to the second account by triggering the donation control or executing the first gesture operation. The operation is simple, avoiding time wasted due to complex operations and improving operation efficiency.
[0212] In addition, the second item information corresponding to the item is displayed first, and then the first item information with a larger size is displayed after the second item information is triggered, thereby displaying the gift control of the item, which not only meets the first user's need to browse the item information, but also effectively saves the display space of the conversation interface.
[0213] In addition, when donating an item, the item details interface is first displayed for the first user to browse the item details and confirm whether to donate the item. If the first user confirms to donate the item, an item donation order is generated, and the target resources of the first account are deducted through the resource transfer interface, thereby completing the effect of exchanging items for target resources. From the conversation interface to the details interface and then to the resource transfer interface, the first user can learn more information through a simple interface jump, thereby ensuring the smooth progress of the item donation operation.
[0214] In addition, the corresponding item keywords are determined based on the preset keywords in the conversation message. If the conversation message is sent by the first account, the item keywords can accurately represent the first user's preferences, and the first user's favorite items can be given to the second user, which reflects the first user's sincerity in making friends with the second user and helps to deepen the second user's good impression of the first user. If the conversation message is sent by the second account, the item keywords can accurately represent the second user's preferences, thus providing a clear gift target for the first user. Even if the first user does not know the second user's preferences, the second user can be given the item he likes, which improves the second user's satisfaction with the gifted item and avoids giving inappropriate gifts that affect the relationship between the first and second users.
[0215] The disclosed embodiment also provides another method for giving away items. Fig.12 is a flow chart of another method for giving away items according to an exemplary embodiment. Fig.12 As shown, the method is executed by an electronic device, and the method includes the following steps.
[0216] In step 1201, when the displayed conversation message includes preset keywords, or the current state satisfies the conditions for gifting an item, the electronic device displays a prompt message on the conversation interface, and the prompt message is used to prompt the gift of an item to the second account.
[0217] When the displayed conversation message includes preset keywords or the current status satisfies the conditions for gifting an item, it indicates that the current time is suitable for the first account to gift an item to the second account, so a prompt message is displayed on the conversation interface, and the prompt message is used to prompt the gift of the item to the second account.
[0218] In some embodiments, the prompt message includes text prompting to donate items to the second account, and may also include preset keywords, item keywords corresponding to the preset keywords, or current status, so that the first user can understand the reason for donating items to the second account.
[0219] Step 1201 is the same as the above-mentioned step 201, except that in step 1201, the first item information is not directly displayed on the conversation interface, but a prompt message is displayed first. Only when the prompt message is triggered, the first item information is displayed. Whether to display the first item information can be determined according to the actual needs of the first user, thereby avoiding disturbing the first user.
[0220] In step 1202, the electronic device displays first item information in response to a triggering operation on a prompt message.
[0221] If the first user wishes to donate an item to the second account, the prompt message is triggered, thereby displaying the first item information.
[0222] In some embodiments, the electronic device displays first item information corresponding to at least one item on the item selection interface in response to the triggering operation of the prompt message. Therefore, the prompt message can serve as an entrance to the item selection interface. After the prompt message is triggered, the electronic device can display the item selection interface, which displays the first item information corresponding to at least one item for the first user to select the item to be given.
[0223] In some embodiments, the item library includes multiple items that can be obtained or given as gifts, and the electronic device displays the first item information corresponding to all items in the item library on the item selection interface. Alternatively, in other embodiments, in order to reduce the number of items and avoid difficulties for users to select items due to too many items, the electronic device displays the first item information corresponding to the items that match the current state on the item selection interface. The matching items are different for different states. For example, if the current date is the second user's birthday, the first item information corresponding to items suitable as birthday gifts, such as birthday cakes, milk tea, etc., is displayed on the item selection interface, and daily necessities such as washing machines and brooms are no longer displayed.
[0224] In some embodiments, the electronic device involves a variety of business scenarios, and the items provided in different business scenarios are different. For example, the items provided in the local business scenario are items applicable to a specific geographical range, such as local group-buying goods. These items need to be used in stores or other locations belonging to the geographical range, so they can only be used by users belonging to the geographical range, and users belonging to other geographical ranges cannot use them. Alternatively, the items provided in the takeaway business scenario are also items applicable to a specific geographical range and can only be delivered to users belonging to the geographical range. The items provided in the online shopping business scenario may include physical items, online services, coupons, recharge cards, etc., where physical items can be delivered to users of any geographical range for use, but it takes a long time to deliver them to users. In the disclosed embodiment, the displayed items can be selected from items that are not restricted by geographical range, or items that are applicable to the geographical range to which the second account belongs and are guaranteed to be delivered to the second user on the current date. The disclosed embodiment does not limit this.
[0225] In step 1203, the electronic device donates an item to the second account in response to a donating operation on any item in the item selection interface.
[0226] Step 1203 is similar to step 202 and steps 503-505, and will not be described again here.
[0227] See also Fig.13 , the conversation interface displays a prompt message "Your friend's birthday is today, please choose a gift for her>", and the first user triggers the prompt message. Fig.14 The item selection interface shown in the figure displays the first item information corresponding to multiple items and the gift control "Go to buy" for each item. After the first user triggers the gift control of any item in the item selection interface, the details interface is displayed. The details interface includes the item's picture, price, sales data, details and confirmation gift control. After the confirmation gift control is triggered, an item gift order is generated and a resource transfer interface is displayed. The resource transfer interface includes the target resources and resource deduction controls required to deduct the gift item. After the resource deduction control is triggered, the item is gifted to the second account. Alternatively, after the first user triggers the gift control of any item in the item selection interface, an item gift order is generated, the resource transfer interface is displayed, and the step of displaying the details interface is skipped.
[0228] In some embodiments, although the electronic device switches from the conversation interface to the item selection interface during the process of gifting an item, after the gift of the item to the second account is completed, the electronic device automatically returns to the conversation interface, thereby facilitating the first account and the second account to continue socializing in the conversation interface. Therefore, the entire process of gifting an item does not deviate from the social scene, avoiding interruption of the social process between the first account and the second account, and eliminating the need for the first user to manually perform complex operations to return to the conversation interface after gifting the item.
[0229] The method provided by the embodiment of the present disclosure automatically displays a prompt message based on the conversation interface to prompt the user to send an item to the second account when the displayed conversation message includes a preset keyword or the current state satisfies the item sending condition, so that the first user can enter the item selection interface by triggering the prompt message, and send the item to the second account after selecting the item, without waiting for the first user to remember to send the item to the second user, thereby enhancing the interactivity between the first account and the second account. In addition, a clear sending target is recommended for the first user, so that the first user does not need to actively select the item to be sent to the second account from too many items, thereby avoiding the social pressure caused by selecting items to the first user.
[0230] In addition, items that match the current status are displayed in the item selection interface, and items that do not match the current status are no longer displayed, which effectively reduces the number of items and avoids difficulties for users to select items due to too many items, thereby reducing the pressure on users. Items that match the current status are more likely to be items that the second user likes, thereby increasing the second user's satisfaction with the items and promoting the relationship between the first user and the second user.
[0231] Fig.15 is a flow chart of a method for picking up items according to an exemplary embodiment. Fig.15 As shown, the method is executed by an electronic device, and the method includes the following steps.
[0232] In step 1501, the electronic device displays a conversation interface between the first account and the second account.
[0233] The second account is the account logged in by the local end, that is, the second account is the account logged in by the electronic device, and the first account can be the account logged in by other electronic devices other than the electronic device. And for the sake of distinction, the user to whom the first account belongs is called the first user, and the user to whom the second account belongs is called the second user.
[0234] In step 1502, the electronic device displays an item donation message sent by the first account on the conversation interface, where the item donation message indicates that the first account donates an item to the second account.
[0235] The item is an item that matches a preset keyword in a conversation message in a conversation interface, or an item that matches a current state, the preset keyword is a keyword with an intention to obtain the item, and the current state includes at least one of a current state of a first account, a current state of a second account, and a state at a current time.
[0236] For example, the electronic device logged into the first account can execute the above Figure 2 The embodiment shown, Figure 5 The embodiment shown or Fig.12 In the embodiment shown, when an item is donated to a second account, the electronic device logged into the second account displays the item donation message sent by the first account. The display style of the item donation message is the same as the display style of other conversation messages, that is, the item donation message is displayed as a conversation message. Alternatively, the display style of the item donation message is different from the display style of other conversation messages, that is, the item donation message is displayed as a special message. Alternatively, the item donation message can also adopt a dynamic display style, and its display style can change.
[0237] See also Fig.16 , the electronic device logged into account B displays the item gift message sent by account A to account B on the conversation interface, that is, the item gift message received by account B. The item gift message is displayed in the same manner as other conversation messages.
[0238] See also Fig.17 , a message window pops up on the conversation interface of the electronic device logged into account B, and the message window displays the item gift message sent by account A to account B, that is, the item gift message received by account B. The display style of the item gift message is different from other conversation messages.
[0239] Alternatively, the electronic device logged into account B may first display Fig.17 The message window shown will be closed after the display time reaches the preset time, and then displayed again Fig.16 The item gift message shown.
[0240] In step 1503, the electronic device receives the item based on the second account in response to the receiving operation of the item donation message.
[0241] The receiving operation for the item gift message may be an operation of clicking or long pressing the item gift message, or a triggering operation of a receiving control in the item gift message.
[0242] In some embodiments, in response to a trigger operation on a collection control, an item details interface is displayed, the details interface includes item details information and an order confirmation control; in response to a trigger operation on the order confirmation control, an item collection order is generated, and a resource transfer interface is displayed, the item collection order indicates collection of an item presented by a first account to a second account, the resource transfer interface includes a target resource to be deducted for collection of the item and a resource deduction control, the target resource is 0; in response to a trigger operation on the resource deduction control, after deducting the target resource from the resource account of the second account, the item is issued to the second account based on the item collection order. For example, a details interface such as Fig.18 As shown, the resource transfer interface is as follows Fig.19 shown.
[0243] Among them, the detailed information of the item may include the name, picture, price, type, sales volume, evaluation, text introduction and other information of the item. Among them, the item gift message may include the item information corresponding to the item, such as the first item information or the second item information displayed in the conversation interface, or may also include the item gift order, or may also include the first account or the first account's avatar and other information, gift time, a message added when the item is gifted, etc., and the embodiments of the present disclosure are not limited to this.
[0244] It should be noted that since the first account has already transferred the target resource corresponding to the item to the owner of the item, the second account does not need to transfer the target resource, so the target resource required to transfer the item is 0. After deducting the target resource, the item can be issued to the second account based on the item collection order. For example, the item is stored in the item library of the second account.
[0245] In some embodiments, the electronic device returns the item to the first account in response to a rejection operation on the item gift message. The rejection operation on the item gift message may be a triggering operation on a rejection control in the item gift message or other operations, indicating that the second user does not want to accept the item gifted by the first user, and the item is returned to the first account. For example, the item is stored in the item library of the first account. Exemplarily, an item return message is sent to the first account, and the electronic device logged in to the first account displays the item return message on the conversation interface to prompt the first user that the second user has returned the item.
[0246] The disclosed embodiments provide a method for gifting items on a conversation interface. When a displayed conversation message includes preset keywords or the current status satisfies a condition for gifting an item, a first account gifts an item to a second account, and the second account receives the item, thereby enhancing the interactivity between the first account and the second account and promoting the relationship between the first user and the second user.
[0247] In addition, when picking up an item, the item details interface is first displayed for the second user to browse the item details and confirm whether to pick up the item. If the user confirms to pick up the item, an item pick-up order is generated, and the target resources of the second account are deducted through the resource transfer interface. The process of picking up the item is simulated as the process of "purchasing an item". The second user can learn more information through a simple interface jump, thereby ensuring the smooth progress of the item pick-up operation.
[0248] In addition, the disclosed embodiment also provides a method for rejecting items, so that when the second user does not wish to accept the items presented by the first user, the second user can return the items, thereby providing the second user with more choices and improving flexibility.
[0249] Fig. 20 is a flow chart of a method for obtaining an item according to an exemplary embodiment. Fig. 20 As shown, the method is executed by an electronic device, and the method includes the following steps.
[0250] In step 2001, when the displayed conversation message includes preset keywords, or the current state satisfies the conditions for gifting an item, the electronic device displays the first item information on the conversation interface.
[0251] Step 2001 is the same as steps 201 and 501 above, and will not be repeated here.
[0252] In step 2002, the electronic device obtains the item based on the first account in response to the operation of obtaining the first item information.
[0253] The operation of obtaining the first item information indicates that the first account needs to obtain the item.
[0254] In some embodiments, the first item information includes an item acquisition control, and in response to a trigger operation on the acquisition control, the item is acquired based on the first account; or, in response to a second gesture operation on the first item information, the item is acquired based on the first account; the second gesture operation is: sliding or long pressing the first item information, or dragging the first item information to the avatar of the first account.
[0255] The method provided by the embodiment of the present disclosure automatically displays the first item information on the conversation interface when the displayed conversation message includes preset keywords or the current status satisfies the item gifting conditions, so as to facilitate the first user to obtain the item by triggering the acquisition operation of the first item information. There is no need to leave the conversation interface during the entire process of obtaining the item, thus avoiding the need to leave the conversation interface first, obtain the gift, and then return to the conversation interface, thus avoiding interrupting the social process between the first account and the second account, saving operation time, and improving operation efficiency. Moreover, based on the items or current status mentioned in the conversation message between the first user and the second user, a clear acquisition target is recommended to the first user, so that the first user does not need to actively select the item to be obtained from too many items, thus avoiding the pressure caused to the first user by selecting items.
[0256] In addition, after the first item information is displayed on the conversation interface, the item can be acquired by triggering an acquisition control or performing a second gesture operation, which is simple to operate, avoids time wasted due to complex operations, and improves operating efficiency.
[0257] In some embodiments, in response to an operation to obtain first item information, obtaining the item based on the first account includes: in response to a trigger operation on an acquisition control in the first item information, obtaining the item based on the first account; or, in response to a second gesture operation on the first item information, obtaining the item based on the first account; the second gesture operation is: an operation of sliding or long pressing the first item information, or an operation of dragging the first item information to the avatar of the first account.
[0258] The first item information includes an acquisition control, and the acquisition control is used to instruct the first account to acquire the item. When the first user triggers the acquisition control, the item is acquired based on the first account. The acquisition control and the gift control are different controls. The first item information may include the gift control and may also include the acquisition control. In another embodiment, the first item information may only include the gift control but not the acquisition control. In this case, the first account can gift the item to the second account through the gift control, but cannot acquire the item through the acquisition control.
[0259] In addition, the second gesture operation is different from the first gesture operation, so that when the first user triggers the gesture operation on the first item information, it is distinguished whether the item is donated to the second account or the first account obtains the item itself.
[0260] In some embodiments, in response to an operation of obtaining information of a first item, obtaining the item based on the first account includes:
[0261] In response to an operation to obtain information of a first item, a detail interface of the item is displayed, the detail interface including detail information of the item and a confirmation acquisition control; in response to a trigger operation to the confirmation acquisition control, an item acquisition order is generated, and a resource transfer interface is displayed, the item acquisition order indicates that the first account obtains the item, the resource transfer interface including a target resource to be deducted for obtaining the item and a resource deduction control; in response to a trigger operation to the resource deduction control, after deducting the target resource from the resource account of the first account, the item is issued to the first account based on the item acquisition order.
[0262] When acquiring an item, the item details interface is first displayed for the first user to browse the item details and confirm whether to acquire the item. If the user confirms to acquire the item, an item acquisition order is generated, and the target resources of the first account are deducted through the resource transfer interface, thereby completing the effect of exchanging the item with the target resources. From the conversation interface to the details interface and then to the resource transfer interface, the first user can learn more information through a simple interface jump, thereby ensuring the smooth progress of the item acquisition operation.
[0263] It should be noted that the embodiments of the present disclosure are different from the above Figure 2 The embodiments shown and Figure 5 The embodiment shown is the same, the only difference is Figure 2 The embodiments shown and Figure 5 The embodiment shown is that the first account gives an item to the second account, while the embodiment disclosed in this disclosure is that the first account obtains the item itself. Therefore, for repeated or similar content, the embodiment disclosed in this disclosure will not be repeated.
[0264] Fig.21 is a structural block diagram of a device for giving away items according to an exemplary embodiment. Fig.21 , the device includes the following units.
[0265] The item display unit 2101 is configured to display the first item information on the conversation interface between the first account and the second account when the displayed conversation message includes a preset keyword or the current state meets the item gift condition;
[0266] The gifting unit 2102 is configured to gift an item to the second account in response to a gifting operation on the first item information;
[0267] Among them, the first account is the account logged in by the local end, the conversation message is sent by the first account or by the second account, the preset keyword is a keyword with the intention of obtaining an item, and the current status includes at least one of the current status of the first account, the current status of the second account and the status at the current time.
[0268] In some embodiments, the item display unit 2101 is configured to identify preset keywords in a conversation message; determine an item keyword corresponding to the preset keyword in the conversation message, where the item keyword includes at least one of an item name, an item type, or an item brand; determine an item that matches the item keyword; and display first item information corresponding to the item on the conversation interface.
[0269] In some embodiments, the item display unit 2101 is configured to include preset keywords in the displayed conversation message, or to display a prompt message on the conversation interface when the current status meets the conditions for gifting the item, and the prompt message is used to prompt the gift of the item to the second account; in response to the triggering operation of the prompt message, the first item information is displayed.
[0270] In some embodiments, the current status satisfies the item gifting condition, including at least one of the following:
[0271] The current date is a holiday;
[0272] The current date is the birthday of the user to which the second account belongs, or is the birthday of a user who has a preset association relationship with the user to which the second account belongs;
[0273] The current date is the birthday of the user to which the first account belongs, or is the birthday of a user who has a preset association relationship with the user to which the first account belongs;
[0274] The current time is the preset commemorative time between the first account and the second account;
[0275] A preset event occurs at the current time;
[0276] The second account posted a dynamic message containing the congratulatory keyword.
[0277] In some embodiments, the gift unit 2102 includes:
[0278] The first gift subunit is configured to gift an item to the second account in response to a triggering operation on a gift control in the first item information; or,
[0279] The second gifting subunit is configured to gift an item to the second account in response to a first gesture operation on the first item information; the first gesture operation is: sliding or long pressing the first item information, or dragging the first item information to the avatar of the second account, or dragging the first item information to the conversation area in the conversation interface.
[0280] In some embodiments, the item display unit 2101 includes:
[0281] The first display subunit is configured to display second item information on the conversation interface, where the second item information is used to display the item, and the second item information does not include a gift control for the item;
[0282] The second display subunit is configured to replace the second item information with the first item information in response to a triggering operation on the second item information. The size of the first item information is larger than that of the second item information. The first item information includes a gift control for the item.
[0283] In some embodiments, the gifting unit 2102 is configured to, in response to a gifting operation on the first item information, display an item details interface, the details interface including the item details information and a confirmation gifting control; in response to a triggering operation on the confirmation gifting control, generate an item gifting order and display a resource transfer interface, the item gifting order indicating that the first account gifts an item to the second account, the resource transfer interface including the target resources to be deducted for the gifted item and a resource deduction control; in response to a triggering operation on the resource deduction control, after deducting the target resources from the resource account of the first account, send an item gifting message to the second account, the item gifting message is used for the second account to collect the item.
[0284] In some embodiments, the apparatus further comprises:
[0285] The acquisition unit is configured to acquire the item based on the first account in response to an acquisition operation on the first item information.
[0286] In some embodiments, the acquisition unit includes:
[0287] A first acquisition subunit is configured to acquire the item based on the first account in response to a triggering operation on an acquisition control in the first item information; or,
[0288] The second acquisition subunit is configured to acquire the item based on the first account in response to a second gesture operation on the first item information; the second gesture operation is: sliding or long pressing the first item information, or dragging the first item information to the avatar of the first account.
[0289] In some embodiments, the acquisition unit is configured to, in response to an acquisition operation on the first item information, display an item details interface, the details interface including the item details information and a confirmation acquisition control; in response to a trigger operation on the confirmation acquisition control, generate an item acquisition order and display a resource transfer interface, the item acquisition order indicates that the first account acquires the item, the resource transfer interface including the target resources to be deducted to acquire the item and a resource deduction control; in response to a trigger operation on the resource deduction control, after deducting the target resources from the resource account of the first account, issue the item to the first account based on the item acquisition order.
[0290] Fig. 22 is a structural block diagram of a device for picking up items according to an exemplary embodiment. Fig. 22 , the device includes the following units.
[0291] The display unit 2201 is configured to display a conversation interface between the first account and the second account, where the second account is the account logged in by the local terminal;
[0292] The display unit 2201 is further configured to display, on the conversation interface, an item donation message sent by the first account, where the item donation message indicates that the first account donates an item to the second account, where the item is an item that matches a preset keyword in the conversation message in the conversation interface, or an item that matches a current state, where the preset keyword is a keyword with an intention to obtain the item, and the current state includes at least one of a current state of the first account, a current state of the second account, and a state at a current time;
[0293] The receiving unit 2202 is configured to receive the item based on the second account in response to a receiving operation of the item donation message.
[0294] In some embodiments, the item donation message includes a collection control, and the collection unit 2202 is configured to display an item details interface in response to a trigger operation on the collection control, the details interface including item details information and an order confirmation control; in response to a trigger operation on the order confirmation control, generate an item collection order and display a resource transfer interface, the item collection order indicates collecting the item donated by the first account to the second account, the resource transfer interface includes a target resource to be deducted for collecting the item and a resource deduction control, and the target resource is 0; in response to a trigger operation on the resource deduction control, after deducting the target resource from the resource account of the second account, the item is issued to the second account based on the item collection order.
[0295] Regarding the device in the above embodiment, the specific manner in which each unit performs the operation has been described in detail in the embodiment of the method, and will not be elaborated here.
[0296] The embodiments of the present disclosure are executed by an electronic device, and the electronic device is a terminal or a server.
[0297] Fig.23 2 is a block diagram of a terminal according to an exemplary embodiment. In some embodiments, the terminal 2300 includes: a mobile phone, a desktop computer, a laptop computer, a tablet computer, a PDA or other terminals. The terminal 2300 may also be called a user equipment, a portable terminal, a laptop terminal, a desktop terminal or other names.
[0298] Typically, the terminal 2300 includes: a processor 2301 and a memory 2302 .
[0299] In some embodiments, processor 2301 includes one or more processing cores, such as a quad-core processor, an octa-core processor, etc.
[0300] In some embodiments, the memory 2302 includes one or more computer-readable storage media, which are non-transitory. In some embodiments, the non-transitory computer-readable storage medium in the memory 2302 is used to store executable instructions, which are used to be executed by the processor 2301 to implement the method of giving away items or the method of receiving items provided in the method embodiment of the present disclosure.
[0301] In some embodiments, the terminal 2300 may also optionally include: a peripheral device interface 2303 and at least one peripheral device. In some embodiments, the processor 2301, the memory 2302 and the peripheral device interface 2303 are connected via a bus or a signal line. In some embodiments, each peripheral device is connected to the peripheral device interface 2303 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 2304, a display screen 2305, a camera assembly 2306, an audio circuit 2307, a positioning assembly 2308 and a power supply 2309.
[0302] In some embodiments, the terminal 2300 further includes one or more sensors 2310 . The one or more sensors 2310 include, but are not limited to, an acceleration sensor 2311 , a gyroscope sensor 2312 , a pressure sensor 2313 , an optical sensor 2314 , and a proximity sensor 2315 .
[0303] Those skilled in the art will understand that Fig.23 The structure shown in the figure does not constitute a limitation on the terminal 2300, and the terminal 2300 may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
[0304] Fig.24 This is a schematic diagram of the structure of a server according to an exemplary embodiment. The server 2400 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 2401 and one or more memories 2402, wherein the memory 2402 stores at least one computer program, and the at least one computer program is loaded and executed by the processor 2401 to implement the methods provided by the above-mentioned various method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output. The server may also include other components for implementing device functions, which will not be described in detail here.
[0305] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided. When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute the method of giving away an item or the method of receiving an item in the above-mentioned embodiment. For example, the computer-readable storage medium can be a ROM (Read Only Memory), a RAM (Random Access Memory), a CD-ROM (Compact Disc Read-Only Memory), a magnetic tape, a floppy disk, an optical data storage device, etc.
[0306] In an exemplary embodiment, a computer program product is also provided, including a computer program, and when the computer program is executed by a processor, the method of giving away an item or the method of receiving an item in the above embodiment is implemented.
[0307] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0308] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for giving away an item, characterized in that: include: When the displayed conversation message includes a preset keyword or the current state satisfies the conditions for gifting the item, the first item information is displayed on the conversation interface between the first account and the second account; In response to a gifting operation on the first item information, gifting the item to the second account; Among them, the first account is the account logged in by the local end, the conversation message is sent by the first account or by the second account, the preset keyword is a keyword with the intention of obtaining an item, and the current status includes at least one of the current status of the first account, the current status of the second account and the status at the current time.
2. The method according to claim 1, characterized in that When the displayed conversation message includes a preset keyword or the current state satisfies the item gifting condition, displaying the first item information on the conversation interface between the first account and the second account includes: Identifying the preset keyword in the conversation message; Determine an item keyword corresponding to the preset keyword in the conversation message, where the item keyword includes at least one of an item name, an item type, or an item brand; Determining items that match the item keyword; On the conversation interface, the first item information corresponding to the item is displayed.
3. The method according to claim 1, characterized in that When the displayed conversation message includes a preset keyword or the current state satisfies the item gifting condition, displaying the first item information on the conversation interface between the first account and the second account includes: When the displayed conversation message includes the preset keyword or the current state satisfies the item gift condition, a prompt message is displayed on the conversation interface, the prompt message being used to prompt the user to gift the item to the second account; In response to a triggering operation on the prompt message, the first item information is displayed.
4. The method according to claim 1, characterized in that The current state satisfies the item gifting condition, which includes at least one of the following: The current date is a holiday; The current date is the birthday of the user to which the second account belongs, or the birthday of a user who has a preset association relationship with the user to which the second account belongs; The current date is the birthday of the user to which the first account belongs, or is the birthday of a user who has a preset association relationship with the user to which the first account belongs; The current time is the preset commemorative time between the first account and the second account; A preset event occurs at the current time; The second account posted a dynamic message containing a congratulatory keyword.
5. The method according to claim 1, characterized in that In response to the gifting operation on the first item information, gifting the item to the second account includes: In response to a triggering operation on a gift control in the first item information, gifting the item to the second account; or, In response to a first gesture operation on the first item information, the item is donated to the second account; the first gesture operation is: sliding or long pressing the first item information, or dragging the first item information to the avatar of the second account, or dragging the first item information to the conversation area in the conversation interface.
6. The method according to claim 1, characterized in that The displaying of the first item information on the conversation interface between the first account and the second account includes: Displaying second item information on the conversation interface, where the second item information is used to display the item, and the second item information does not include a gift control for the item; In response to a triggering operation on the second item information, the second item information is replaced with the first item information, the size of the first item information is larger than the size of the second item information, and the first item information includes a gift control for the item.
7. The method according to claim 1, characterized in that In response to the gifting operation on the first item information, gifting the item to the second account includes: In response to the gifting operation on the first item information, displaying a detail interface of the item, the detail interface including the detail information of the item and a gift confirmation control; In response to a trigger operation on the confirmation gift control, an item gift order is generated, and a resource transfer interface is displayed, wherein the item gift order indicates that the first account gives the item to the second account, and the resource transfer interface includes a target resource to be deducted for giving the item and a resource deduction control; In response to the triggering operation of the resource deduction control, after the target resource is deducted from the resource account of the first account, an item donation message is sent to the second account, and the item donation message is used for the second account to claim the item.
8. The method according to claim 1, characterized in that: The method further comprises: In response to the operation of obtaining the first item information, the item is obtained based on the first account.
9. The method according to claim 8, characterized in that The step of obtaining the item based on the first account in response to the operation of obtaining the first item information includes: In response to a triggering operation on a get control in the first item information, the item is obtained based on the first account; or, In response to a second gesture operation on the first item information, the item is obtained based on the first account; the second gesture operation is: sliding or long pressing the first item information, or dragging the first item information to the avatar of the first account.
10. The method according to claim 8, characterized in that The step of obtaining the item based on the first account in response to the operation of obtaining the first item information includes: In response to the acquisition operation of the first item information, displaying a detail interface of the item, the detail interface including the detail information of the item and a confirmation acquisition control; In response to a trigger operation on the confirmation acquisition control, an item acquisition order is generated, and a resource transfer interface is displayed, wherein the item acquisition order indicates that the first account acquires the item, and the resource transfer interface includes a target resource to be deducted for acquiring the item and a resource deduction control; In response to a triggering operation on the resource deduction control, after the target resource is deducted from the resource account of the first account, the item is issued to the first account based on the item acquisition order.
11. A method for receiving an item, characterized in that: include: Displaying a conversation interface between a first account and a second account, where the second account is the account logged in by the local terminal; On the conversation interface, an item donation message sent by the first account is displayed, wherein the item donation message indicates that the first account donates an item to the second account, and the item is an item that matches a preset keyword in the conversation message in the conversation interface, or an item that matches a current state, wherein the preset keyword is a keyword with an intention to obtain an item, and the current state includes at least one of a current state of the first account, a current state of the second account, and a state at a current time; In response to a claiming operation on the item donation message, the item is claimed based on the second account.
12. The method according to claim 11, characterized in that The item donation message includes a collection control, and in response to a collection operation on the item donation message, collecting the item based on the second account includes: In response to a triggering operation on the pickup control, displaying a detail interface of the item, the detail interface including detail information of the item and a confirmation order control; In response to the triggering operation of the confirmation order control, an item collection order is generated, and a resource transfer interface is displayed, wherein the item collection order indicates collecting the item donated by the first account to the second account, and the resource transfer interface includes a target resource to be deducted for collecting the item and a resource deduction control, and the target resource is 0; In response to the triggering operation of the resource deduction control, after the target resource is deducted from the resource account of the second account, the item is issued to the second account based on the item collection order.
13. A device for giving away items, characterized in that: include: An item display unit, configured to display the first item information on the conversation interface between the first account and the second account when the displayed conversation message includes a preset keyword or the current state meets the item gift condition; a gifting unit, configured to gift the item to the second account in response to a gifting operation on the first item information; Among them, the first account is the account logged in by the local end, the conversation message is sent by the first account or by the second account, the preset keyword is a keyword with the intention of obtaining an item, and the current status includes at least one of the current status of the first account, the current status of the second account and the status at the current time.
14. A device for picking up items, characterized in that: include: A message display unit, configured to display a conversation interface between a first account and a second account, wherein the second account is an account logged in by the local end; The message display unit is further configured to display, on the conversation interface, an item donation message sent by the first account, wherein the item donation message indicates that the first account donates an item to the second account, and the item is an item that matches a preset keyword in the conversation message in the conversation interface, or an item that matches a current state, wherein the preset keyword is a keyword with an intention to obtain an item, and the current state includes at least one of a current state of the first account, a current state of the second account, and a state at a current time; The receiving unit is configured to receive the item based on the second account in response to a receiving operation of the item donation message.
15. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the method for giving an item as described in any one of claims 1 to 10, or to implement the method for receiving an item as described in claim 11 or 12.
16. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method for giving away items as described in any one of claims 1 to 10, or the method for receiving items as described in claim 11 or 12.
17. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a processor, implements the method for giving away items as claimed in any one of claims 1 to 10, or implements the method for receiving items as claimed in claim 11 or 12.
