CN114531407A - Data processing method and device based on virtual article and readable storage medium - Google Patents

Data processing method and device based on virtual article and readable storage medium Download PDF

Info

Publication number
CN114531407A
CN114531407A CN202011322948.0A CN202011322948A CN114531407A CN 114531407 A CN114531407 A CN 114531407A CN 202011322948 A CN202011322948 A CN 202011322948A CN 114531407 A CN114531407 A CN 114531407A
Authority
CN
China
Prior art keywords
virtual
article
target
item
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011322948.0A
Other languages
Chinese (zh)
Other versions
CN114531407B (en
Inventor
何碧莹
黎翠莹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202011322948.0A priority Critical patent/CN114531407B/en
Publication of CN114531407A publication Critical patent/CN114531407A/en
Application granted granted Critical
Publication of CN114531407B publication Critical patent/CN114531407B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership

Abstract

The embodiment of the application discloses a data processing method, a device and a readable storage medium based on a virtual article, wherein the data processing method based on the virtual article comprises the following steps: displaying the first session message in a session interface; the first session message comprises a virtual item for sharing to a group of users; the virtual item comprises one or more virtual unit items; responding to the triggering operation of a target user for the first conversation message, acquiring a target virtual unit article from the one or more virtual unit articles, and displaying a second conversation message containing the target virtual unit article in the conversation interface; updating and displaying the virtual article in the first session message; the updated displayed first session message includes virtual unit items other than the target virtual unit item among the one or more virtual unit items. By the aid of the method and the device, browsing efficiency of obtaining details corresponding to the virtual article can be improved.

Description

Data processing method and device based on virtual article and readable storage medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to a data processing method and apparatus based on virtual objects, and a readable storage medium.
Background
With the continuous development of the internet, more and more users tend to communicate with other people through the instant messaging application, and virtual goods are produced in order to improve the interactivity between the users. The virtual item is an intangible item distributed on the internet, such as a virtual gift, and the social relationship between users can be promoted by transceiving the virtual item.
In the existing scene of receiving and sending virtual articles, the virtual articles can be displayed in a session interface of an instant messaging application in a session message mode, a sending user sends the virtual articles in the session interface, then a plurality of receiving users can compete to obtain the virtual articles, when a certain receiving user obtains the virtual articles, other receiving users cannot sense the virtual articles, so that other receiving users still try to click to obtain the virtual articles, the details are checked and obtained through a detail obtaining interface after the click, the fact that the virtual articles are obtained by other people can be known, the browsing efficiency of obtaining the details is low, and the receiving and sending modes of the virtual articles are single.
Disclosure of Invention
The embodiment of the application provides a data processing method and device based on a virtual article and a readable storage medium, which can improve the browsing efficiency of acquiring details corresponding to the virtual article and enrich the receiving and sending modes of the virtual article.
One aspect of the present application provides a data processing method based on a virtual article, including:
displaying the first session message in a session interface; the first session message comprises a virtual item for sharing to a group of users; the virtual item comprises one or more virtual unit items;
responding to the triggering operation of a target user for the first conversation message, acquiring a target virtual unit article from the one or more virtual unit articles, and displaying a second conversation message containing the target virtual unit article in the conversation interface; the target user belongs to the user group;
updating and displaying the virtual article in the first session message; the updated displayed first session message includes virtual unit items other than the target virtual unit item among the one or more virtual unit items.
An embodiment of the present application provides a data processing method based on a virtual article, including:
responding to the sharing operation aiming at the virtual article, and displaying a first session message in a session interface; the first session message includes the virtual item for sharing to a group of users; the virtual item comprises one or more virtual unit items;
when a target user acquires a target virtual unit item from the one or more virtual unit items, displaying a second session message containing the target virtual unit item in the session interface; the target user belongs to the user group;
updating and displaying the virtual article in the first session message; the updated displayed first session message includes virtual unit items other than the target virtual unit item among the one or more virtual unit items.
An aspect of an embodiment of the present application provides a data processing apparatus based on a virtual article, including:
the first display module is used for displaying the first session message in the session interface; the first session message comprises a virtual item for sharing to a group of users; the virtual item comprises one or more virtual unit items;
a first obtaining module, configured to respond to a trigger operation of a target user for the first session message, obtain a target virtual unit item from the one or more virtual unit items, and display a second session message including the target virtual unit item in the session interface; the target user belongs to the user group;
the first updating module is used for updating and displaying the virtual article in the first session message; the updated displayed first session message includes virtual unit items other than the target virtual unit item among the one or more virtual unit items.
Wherein the first obtaining module comprises:
the operation unit is used for responding to the trigger operation of a target user aiming at the first session message and displaying a virtual article operation interface containing one or more virtual unit articles; responding to trigger operation aiming at a target virtual unit article in the virtual article operation interface, and generating operation data for acquiring the target virtual unit article;
and the first display unit is used for displaying a second conversation message containing the target virtual unit object in the conversation interface according to the operation data.
Wherein the first display unit includes:
the article acquisition subunit is used for displaying the target virtual unit article, the first acquisition prompt information and the target user head portrait corresponding to the target user in a virtual article prompt interface when the operation data meets the article acquisition condition corresponding to the virtual article; the first acquisition prompt message is used for prompting the target virtual unit article to be acquired by the target user;
a first display subunit, configured to display, in the conversation interface, the second conversation message sent by the target user when exiting the virtual article prompting interface; the second session message includes textual content associated with the target virtual unit item and the first acquisition hint information.
Wherein the apparatus further comprises:
the operation interface display module is used for displaying the article operation track animation related to the operation data in the virtual article operation interface; if the residual articles are acquired by the residual users in the process of displaying the article operation track animation, displaying user head portraits corresponding to the residual users at the positions of the residual articles in the virtual article operation interface; the remaining item is a virtual unit item which is not acquired in the one or more virtual unit items, and the remaining item does not include the target virtual unit item; the rest users are users except the target user in the user group; displaying article state prompt information in the virtual article operation interface; the item state prompt information is used for prompting the number of the virtual unit items which are currently acquired.
Wherein the first display unit includes:
the asset acquisition subunit is used for acquiring a target virtual asset corresponding to the target virtual unit article when the operation data meets the article acquisition condition corresponding to the virtual article;
the prize winning subunit is used for displaying the target virtual unit object, the first acquisition prompt information, the second acquisition prompt information and the target user head portrait corresponding to the target user in a virtual object prompt interface if the target virtual asset belongs to the prize winning asset type; the first acquisition prompt message is used for prompting the target virtual unit article to be acquired by the target user; the second obtaining prompt information is used for prompting that the obtained target virtual asset belongs to the type of the winning asset;
a second display subunit, configured to display, in the session interface, the second session message sent by the target user in a session context associated with the winning asset type when exiting the virtual article prompting interface, and display a winning identifier for characterizing the winning asset type in a position adjacent to where the second session message is located; the second session message includes the target virtual unit item, text content associated with the first acquisition prompt and text content associated with the second acquisition prompt.
The asset acquisition subunit is specifically configured to acquire a virtual asset allocation type corresponding to the target virtual unit article when the operation data meets an article acquisition condition corresponding to the virtual article; if the virtual asset allocation type belongs to the prize-winning asset type, determining the virtual asset corresponding to the prize-winning asset type as the target virtual asset, allocating the target virtual asset to a user account of the target user, and specifically, if the virtual asset allocation type does not belong to the prize-winning asset type, obtaining a unit virtual asset to be allocated from allocable virtual assets corresponding to the virtual article; the assignable virtual assets are virtual assets in the total virtual assets corresponding to the virtual goods except the virtual assets corresponding to the winning asset type and the assigned unit virtual assets; the virtual assets corresponding to the winning asset type are larger than the unit virtual assets to be distributed, and the unit virtual assets to be distributed are smaller than or equal to the distributable virtual assets; updating the allocable virtual assets according to the unit virtual assets to be allocated, determining the unit virtual assets to be allocated as the target virtual assets, and allocating the target virtual assets to the user accounts of the target users.
Wherein the apparatus further comprises:
an article non-acquisition module, configured to display the target virtual unit article, non-acquisition prompt information, and user head portraits corresponding to remaining users who acquire the target virtual unit article in the virtual article prompt interface when the operation data does not satisfy the article acquisition condition corresponding to the virtual article; the rest users are users except the target user in the user group; the non-acquired prompt message is used for prompting that the target virtual unit object is acquired by the rest users; displaying a third session message sent by the remaining user in the session interface when exiting the virtual item tips interface; the third session message includes text content associated with the target virtual unit item and the non-acquired reminder information.
Wherein the apparatus further comprises:
the condition judgment module is used for acquiring the user state corresponding to the target user; when the user state is an article non-acquisition state, acquiring an operation rule in the article acquisition condition, and displaying operation prompt information in the virtual article operation interface; the operation prompt information is used for prompting the operation rule corresponding to the virtual article; if the operation data meets the operation rule and the unit article state corresponding to the target virtual unit article is a retention state, determining that the operation data meets the article acquisition condition; the retention state refers to the target virtual unit item not being acquired; if the operation data does not meet the operation rule or the unit article state corresponding to the target virtual unit article is an occupied state, determining that the operation data does not meet the article acquisition condition; the occupancy state refers to the target virtual unit item being acquired by the remaining users; and the rest users are users except the target user in the user group.
The first updating module is specifically configured to cancel display of the target virtual unit item in the first session message;
the device further comprises:
a completion module for displaying a completion flag at an adjacent position where the first session message is located when the one or more virtual unit articles are all undisplayed; the completion flag is used to prompt that the one or more virtual unit items have all been shared to the user group.
An aspect of an embodiment of the present application provides a data processing apparatus based on a virtual article, including:
the second display module is used for responding to the sharing operation aiming at the virtual article and displaying the first conversation message in the conversation interface; the first session message includes the virtual item for sharing to a group of users; the virtual item comprises one or more virtual unit items;
a second obtaining module, configured to display a second session message including the target virtual unit item in the session interface when the target user obtains the target virtual unit item from the one or more virtual unit items; the target user belongs to the user group;
the second updating module is used for updating and displaying the virtual article in the first session message; the updated displayed first session message includes virtual unit items other than the target virtual unit item among the one or more virtual unit items.
Wherein the second display module comprises:
the virtual article sharing system comprises a setting unit, a sharing unit and a sharing unit, wherein the setting unit is used for responding to selection operation aiming at a virtual article list and determining a virtual article used for sharing; responding to the selection operation aiming at the splitting number of the goods, splitting the virtual goods to obtain one or more virtual unit goods; the number of the one or more virtual unit items is the item splitting number selected by the selecting operation; configuring a total virtual asset for the virtual item in response to a configuration operation for the total virtual asset;
a second display unit for generating a first session message according to the one or more virtual unit items and the total virtual asset, and displaying the first session message in the session interface; the first session message comprises an item name corresponding to the virtual item and the item split number.
Wherein the setting unit includes:
the prize-winning asset setting subunit is used for responding to the triggering operation aiming at the asset transfer control and displaying an asset transfer page; responding to the configuration operation aiming at the asset transfer page, and determining total virtual assets corresponding to the virtual articles and virtual assets corresponding to the prize-winning asset types; respectively setting asset types for the one or more virtual unit articles in the virtual articles, and configuring virtual assets corresponding to the prize-winning asset types for the virtual unit articles of which the asset types belong to the prize-winning asset types in the one or more virtual unit articles;
the unit asset setting subunit is used for configuring corresponding unit virtual assets for virtual unit articles of which the asset types do not belong to the prize winning asset types according to the residual virtual assets; and the residual virtual assets are the virtual assets in the total virtual assets except the virtual assets corresponding to the winning asset type.
An aspect of an embodiment of the present application provides a data processing apparatus based on a virtual article, including: a processor and a memory;
the processor is connected with the memory, wherein the memory is used for storing a computer program, and the processor is used for calling the computer program to execute the method in one aspect of the embodiment of the application.
An aspect of the embodiments of the present application provides a computer-readable storage medium storing a computer program, the computer program comprising program instructions that, when executed by a processor, perform a method as in an aspect of the embodiments of the present application.
According to the embodiment of the application, a first session message containing a virtual article can be displayed in a session interface, the virtual article can include one or more virtual unit articles, and the virtual article can be shared with a user group, when a target user in the user group acquires the target virtual unit article from the one or more virtual unit articles through a trigger operation for the first session message, a second session message containing the target virtual unit article can be displayed in the session interface, and the virtual article in the first session message can be updated and displayed, so that the updated and displayed first session message only includes the virtual unit articles except the target virtual unit article in the one or more virtual unit articles. In the process of receiving and sending the virtual object, the virtual object in the first session message can be updated and displayed in real time according to the acquisition condition of the target virtual unit object, and the acquired target virtual unit object is displayed through the second session message, so that the acquisition details corresponding to the virtual object can be displayed in real time in the session interface, and the acquisition details corresponding to the virtual object can be displayed without being manually operated by a user to other interfaces, so that the browsing efficiency of the acquisition details corresponding to the virtual object can be improved, the virtual object can be shared with a user group, effective interaction can be formed between a receiving user and a receiving user in the user group and between a sending user and the receiving user, and the user can select the desired virtual unit object from one or more virtual unit objects, so that the receiving and sending modes of the virtual object can be enriched.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram illustrating a system architecture according to an embodiment of the present disclosure;
2 a-2 d are schematic diagrams of a scene of data processing based on a virtual article according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a data processing method based on a virtual article according to an embodiment of the present application;
4 a-4 d are schematic diagrams of interfaces of a data processing process based on virtual articles according to an embodiment of the present application;
fig. 5 is a schematic flowchart of a virtual article acquisition result determination process according to an embodiment of the present application;
FIG. 6 is a schematic flow chart of a virtual asset configuration process provided by an embodiment of the present application;
fig. 7 is a schematic flowchart of another virtual article-based data processing method according to an embodiment of the present application;
8 a-8 b are schematic interface diagrams of a virtual article-based data processing process provided by an embodiment of the present application;
fig. 9 is a timing diagram of a data processing method based on a virtual article according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a virtual article-based data processing apparatus according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of another virtual article-based data processing apparatus according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of another virtual article-based data processing apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Please refer to fig. 1, which is a schematic diagram of a system architecture according to an embodiment of the present application. The system architecture may include a server and a plurality of terminal devices, as shown in fig. 1, specifically, the system architecture may include a server 100, a terminal device 200a, a terminal device 200b, a terminal device 200c, … …, and a terminal device 200n, where the server 100 may establish a connection with each terminal device through a switch 300 and a communication bus 400, and may further perform data transmission with each terminal device through a network, and each terminal device may install an application having an instant messaging function, for example, an instant messaging application, a live broadcast application, a short video application, a music application, a social application, a shopping application, a game application, a novel application, a payment application, a browser, and the like. Taking the instant messaging application as an example, the server 100 may include a plurality of servers such as a background server and a data processing server corresponding to the instant messaging application, so that each terminal device may perform data transmission with the server 100 through a client corresponding to the instant messaging application, for example, each terminal device may perform virtual object transceiving with other terminal devices through the server 100. Each terminal device can create a group in the instant messaging application or join the created group, and then can receive and send virtual articles in the group. A group may be understood as a platform that groups people having common hobbies or characteristics into a chat and communication together, for example, a group chat composed of a plurality of users in an instant messaging application, or referred to as a user group.
Taking the terminal device 200a and the terminal device 200b as an example, the terminal device 200a may create a group a through an instant messaging application, and pull a plurality of buddies to the group a, where all users in the group a form a user group, including a target user holding the terminal device 200 b. When the terminal device 200a sends a session message containing a virtual item in the group a, the terminal devices of other users in the group a may all receive the session message through the server 100, for example, when the terminal device 200b acquires the session message, the session message may be displayed in a session interface, and a target virtual unit item selected by a target user in the virtual item may be acquired in response to a trigger operation of the target user for the session message, and the session message containing the target virtual unit item is displayed in the session interface to indicate that the target user has acquired the target virtual unit item. In addition, during the process of receiving and sending the virtual article, the terminal device 200a and the terminal device 200b may monitor the data change for the virtual article returned by the server 100 in real time, so that corresponding update display may be performed on a corresponding interface (such as a session interface) according to the data change, so as to enable a plurality of users to share the virtual article, and display the details of obtaining the virtual article in real time. Herein, the "virtual article" in the present application may also be referred to as: the instant messaging application can give away resources through the virtual goods, and the resources can be digital currency, points, virtual currency, equipment in network games, virtual pets and the like.
It is understood that the method provided by the embodiment of the present application may be executed by a computer device, which includes but is not limited to a terminal device or a server. The server can be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, and can also be a cloud server for providing basic cloud computing services such as a cloud database, a cloud service, cloud computing, a cloud function, cloud storage, a network service, cloud communication, middleware service, domain name service, security service, CDN (content delivery network), a big data and artificial intelligence platform and the like. The terminal device may be a smart phone, a tablet computer, a notebook computer, a desktop computer, a palm computer, a Mobile Internet Device (MID), a wearable device (e.g., a smart watch, a smart bracelet, etc.), a smart vehicle, or another smart terminal capable of running an instant messaging application. The terminal device and the server may be directly or indirectly connected in a wired or wireless manner, and the embodiment of the present application is not limited herein.
The following description will specifically be made by taking an example in which the terminal device 200a and the terminal device 200b transmit and receive a virtual good via the server 100.
Please refer to fig. 2 a-2 d together, which are schematic views of a scene of data processing based on virtual objects according to an embodiment of the present application. The virtual article in the embodiment of the present application is described by taking a virtual gift as an example. The user having a binding relationship with the terminal device 200a is the user 4, the user having a binding relationship with the terminal device 200b is the user 3, and the user 4 needs to send a virtual article to a "value-added group chat" user group including the terminal device 200b (the user 3) through the terminal device 200a, wherein the "value-added group chat" may further include other members such as the user 1 and the user 2. As shown in the interface 500a in fig. 2a, after the instant messaging application is opened, the terminal device 200a may display a session interface 500a corresponding to the "value-added group chat" user group, may display a history session message in the "value-added group chat" in the session interface 500a, and may display a group function list 510a in response to a trigger operation of the user 4 on the function display control. A plurality of function buttons, such as a "voice call" button, a "video call" button, a "heatmap" button, a "dynamic" button, a "file" button, a "gift" button, etc., may be displayed in the group function list 510 a. In response to a user 4 actuation of the "gift" button 510b, a list of virtual gifts may be displayed, as shown in interface 500b in figure 2a, a plurality of virtual gifts, such as virtual "pizza", virtual "roast chicken", virtual "flowers", virtual "candy", virtual "cake", etc., may be displayed in the virtual gift list 510c, the virtual gift list 510c may include a virtual gift icon and a name corresponding to each virtual gift, and a number of virtual coins (or other virtual coins circulating in the gift mall, which is only exemplified by the virtual coins) required for purchasing the virtual gift, etc., and the terminal device 200a may determine the virtual gift for sharing in response to a selection operation of the virtual gift list 510c by the user 4, for example, "pizza" 510d may be selected to be gifted to other members in "value-added group chat". Further, the user 4 may further set the splitting number of the "pizza" 510d, and split the "pizza" 510d into the small pizza ", specifically, the terminal device 200a may set the number of the small pizza" contained in the "pizza" 510d in response to a trigger operation of the user 4 on the sharing people number control 510e, and if the number of the small pizza "contained in the" pizza "510 d is set to be" random 6 people ", that is, the" pizza "510 d is split into 6, and any user in the" value-added group chat "may obtain one small pizza", but the user that can be successfully obtained finally has only 6 people at most. After the setting is completed, the terminal device 200a may respond to the trigger operation for the presentation button, and purchase the virtual coins remaining in the user account of the user 4, or may purchase the virtual coins by paying cash, and the user 4 may set a custom amount for presentation, and determine the virtual coins or the amount paid by the final presentation of the "pizza" 510d as the total virtual asset corresponding to the "pizza" 510d, and then may allocate the total virtual asset to different small portions "pizza". The terminal device 200a may further transmit a request carrying gift data about the total virtual asset, the number of splits, the number of gifts, etc., associated with "pizza" 510d to the server 100. After the server 100 successfully receives the gift data, a first session message, i.e. a gift link of "pizza" 510d, may be generated according to the gift data, and the first session message is sent to all terminal devices in the "value-added group chat".
As shown in fig. 2b, the server 100 may send the first session message to the terminal device 200a and the terminal device 200b, where both the session message 510f in the interface 500c and the session message 510g in the interface 500d are the first session message, a presentation interface where the session message 510f is located is an interface corresponding to the user 4 (the terminal device 200a), and a presentation interface where the session message 510g is located is an interface corresponding to the user 3 (the terminal device 200 b). As shown in the interface 500c in fig. 2b, a first session message 510f is sent by the user 4 and may display text content in the form of a "send gift" in the first session message 510f to indicate that the user 4 is the sender of the virtual gift, and may include "pizza" 510d broken into 6 shares and the corresponding gift name and number of breaks in the first session message 510 f. Further, as shown in the interface 500d, the terminal device 200b may display an operation interface to obtain a certain sub-lot "pizza" in "pizza" 510d in response to the user 3 triggering the first session message 510g after receiving and displaying the first session message 510 g. As shown in an operation page 500e in fig. 2c, the user 3 may select one of the "pizzas" that have been split into 6, for example, may select a small pizza "510 h, and may operate according to operation prompt information 510i displayed in the operation page 500e, the terminal device 200b may respond to a trigger operation of the user 3 for the small pizza" 510h, send the generated operation data to the server 100 for detection, and when the server 100 detects that the operation data satisfies an acquisition condition corresponding to the "pizza" 510d, may determine that the acquisition result for the small pizza "510 h is successfully acquired, and may send related data such as the acquisition result and the acquisition prompt information to the terminal device 200b, as shown in an interface 500f in fig. 2c, the terminal device 200b may display the small pizza" 510h ", a" pizza "according to the related data, The avatar 510j corresponding to the user 3 and the acquisition prompt message 510k indicate that the user 3 has successfully acquired the small pizza 510 h. The specific process of determining whether the operation data satisfies the obtaining condition may refer to step S402 in the following embodiment corresponding to fig. 7.
As shown in fig. 2d, after the user 3 obtains the small pizza 510h, the server 100 may generate a second session message including the small pizza 510h, and send the second session message to the terminal device 200a and the terminal device 200b, where both the session message 510l in the interface 500g and the session message 510m in the interface 500h are the second session messages, a display interface where the session message 510l is located is an interface corresponding to the user 3 (the terminal device 200b), and a display interface where the session message 510m is located is an interface corresponding to the user 4 (the terminal device 200 a). As shown in the interface 500g in fig. 2d, a second conversation message 510l is sent by the user 3, and text content such as the word "rob gift" may be displayed in the second conversation message 510l to indicate that the user 3 is one of the recipients of the virtual gift. Further, the terminal apparatus 200b may update the display of the "pizza" 510d in the first session message 510g, i.e., the small "pizza" 510h is not displayed in the "pizza" 510d, and only other small "pizza" than the small "pizza" 510h is included. The changes in the interface 500h are similar to the interface 500g and are not described in detail herein. In addition, the virtual coins or dollar amount configured on the small "pizza" 510h may also be transferred to the user account of user 3. It should be noted that other users except the user 3 in the "incremental group chat" may also obtain the remaining small pizza shares by the operations as described in the above fig. 2b to fig. 2c until all the small pizza shares are obtained, that is, the whole transceiving process of the virtual gift "pizza" 510d is completed, and the user 4 gives a gift of the virtual gift to 6 users in the "incremental group chat" is realized. Therefore, in the process of receiving and sending the virtual item, the terminal device 200a and the terminal device 200b may update and display the virtual item in the first session message in real time according to the acquisition condition of the virtual item returned by the server 100, and generate the second session message to display the acquired virtual unit item, so that the acquisition details corresponding to the virtual item may be displayed in real time in the session interface, and the user does not need to manually operate to other interfaces to display the acquisition details, so that the browsing efficiency of the acquisition details corresponding to the virtual item may be improved, and the liveness of the user group and the interactivity between users in the user group may be improved by dispatching the virtual item.
Fig. 3 is a schematic flow chart of a data processing method based on a virtual article according to an embodiment of the present application. The method may comprise the steps of:
step S101, displaying a first session message in a session interface; the first session message comprises a virtual item for sharing to a group of users; the virtual item comprises one or more virtual unit items;
specifically, the sending user wishes to share the virtual article with the user group, the corresponding terminal device may initiate a virtual article sending request to the server in response to the sharing operation of the sending user for the virtual article, transmit the relevant data of the virtual article (such as the configured article split number, the total virtual asset, and the like) to the server for processing, and after receiving the relevant data of the virtual article, the successful receiving message can be fed back to all the terminal devices corresponding to the user group including the sending user, further, the terminal devices can render and draw the link entry of the virtual object in the session interface of the instant messaging application according to the related data, i.e. a first session message, issued by the sending user, which may include the virtual object in order to be able to visually reveal the transfer process of the virtual object in the following. The specific form of the user group may be a group chat composed of a plurality of users in the instant messaging application, or a virtual room including a plurality of users. In addition, in order to share the virtual item to one or more users in the user group, before the sending user confirms the sharing, the sending user may select an item splitting number through a held terminal device, and split the virtual item into one or more virtual unit items (if there is only one virtual unit item, it indicates that the virtual item is not split, and only one user in the user group may obtain a complete virtual item), and the one or more virtual unit items may be designated to some receiving users, or may be randomly shared to any user in the user group.
The virtual article is a virtual carrier for transferring virtual assets between at least two user accounts in a gifting mode, each virtual unit article in the virtual article can be in a similar style (such as "pizza" in the embodiment corresponding to fig. 2 a-2 d), and can also be in a personalized style with larger style difference, the virtual assets involved in the virtual article can be cash, points, shoe-shaped articles, gold beans, gold coins, gift certificates, exchange certificates, coupons, greeting cards, game equipment, game materials, game pets, game coins, icons, members, titles, value-added services and the like, and the type of the virtual assets is not limited in the embodiment of the application.
For example, please refer to fig. 4a to fig. 4d together, which are schematic interface diagrams of a data processing process based on a virtual object according to an embodiment of the present application. As shown in a session interface 600a in fig. 4a, a user 4 in the "value-added group chat" selects a virtual article "pizza" to share, after receiving related data of the "pizza", the server may send the related data to all terminal devices bound to the user group in the "value-added group chat", and then the terminal devices may render and draw in the session interface 600a according to the related data, and display a first session message 610a, where the first session message 610a may display text information associated with the "pizza" 610b, for example, the name of the text information is "pizza", and the corresponding article split number is 6, in addition to the "pizza" 610 b.
Step S102, responding to the trigger operation of the target user aiming at the first conversation message, acquiring a target virtual unit article from the one or more virtual unit articles, and displaying a second conversation message containing the target virtual unit article in the conversation interface; the target user belongs to the user group;
specifically, the terminal device may respond to a trigger operation (e.g., a click operation) of the target user for the first session message, and display a virtual item operation interface including one or more virtual unit items, where the target user belongs to the user group in step S101, and it may be understood that the target user may also serve as a sending user, that is, the sending user may share the virtual item with the user group, and may also serve as a receiving user to obtain the virtual unit item therein. The virtual article operation interface may be another interface to which the user jumps after leaving the session interface, may also be a floating layer on the session interface, and may also be an area in the session interface, which is not limited in this embodiment of the present disclosure. Further, the terminal device may respond to a trigger operation of a target user for one of the virtual unit articles in the virtual article operation interface, generate operation data for acquiring the virtual unit article according to the trigger operation, and then the terminal device may render an article operation trajectory animation associated with the operation data in the virtual article operation interface, where the article operation trajectory animation may show the entire process of the trigger operation. Wherein the virtual unit item selected by the target user may be referred to as a target virtual unit item. The terminal device may further send the operation data to the server for detection, and the server may generate an acquisition result corresponding to the target virtual unit article and acquire other related data according to the operation data, and return the acquisition result to the terminal device. The specific process of detecting the operation data may refer to step S402 in the following embodiment corresponding to fig. 7.
Optionally, when the server detects that the operation data corresponding to the target virtual unit article meets the article acquisition condition corresponding to the virtual article, the server may determine that the acquisition result corresponding to the target virtual unit article is successfully acquired, and send the acquisition result, the pre-configured acquisition prompt information, the target virtual asset corresponding to the target virtual unit article, and other data to the terminal device, and the terminal device may render a virtual article prompt interface according to the data, for example, may display the target virtual unit article, the first acquisition prompt information, and a target user avatar corresponding to the target user in the virtual article prompt interface, where the first acquisition prompt information may be used to prompt the target virtual unit article to be acquired by the target user. The virtual article prompting interface and the virtual article operating interface may be the same interface, or may be switched from the virtual article operating interface to the virtual article prompting interface after receiving the obtaining result. When exiting the virtual item prompting interface, the terminal device may display a second session message sent by the target user in the session interface, where the second session message may include the acquired target virtual unit item and text associated with the first acquisition prompting information. The action of exiting the virtual article prompt interface can be automatically executed by the terminal equipment, or can be manually operated by the target user.
Optionally, the total virtual assets paid by the sending user can be configured for the virtual articles, and part or all of the total virtual assets are given to the user who obtains a certain virtual unit article. Specifically, when the server detects that the operation data corresponding to the target virtual unit article meets the article acquisition condition corresponding to the virtual article, the terminal device may acquire a target virtual asset (if present) corresponding to the target virtual unit article, so that the target virtual asset may be allocated to the user account of the target user. Further, if the server detects that the target virtual asset belongs to the type of the winning asset, the terminal device may display the target virtual unit article, the first acquisition prompt information, the second acquisition prompt information, and a target user avatar corresponding to the target user in the virtual article prompt interface. Wherein the first acquisition prompt message is operable to prompt the target virtual unit item to be acquired by the target user, and the second acquisition prompt message is operable to prompt the acquired target virtual asset as belonging to a winning asset type. Therefore, when exiting the virtual article prompting interface, the terminal device may display the second session message sent by the target user in the session interface in a session context associated with the winning asset type, and may display a winning identifier for characterizing the winning asset type in an adjacent position where the second session message is located, that is, the target user may be indicated as a winning user by the session context and the winning identifier being different from other users. Wherein the second session message may include the target virtual unit item, the text content associated with the first acquisition prompt and the text content associated with the second acquisition prompt. Optionally, when the second conversation message is generated, the terminal device may further render a corresponding special effect animation (which may include transient background music) in the conversation interface, or may display the corresponding special effect animation in response to a trigger operation of the target user on the second conversation message, so as to enrich a transceiving form of the virtual article.
Optionally, when the server detects that the operation data corresponding to the target virtual unit article does not satisfy the article acquisition condition corresponding to the virtual article, for example, in the process of performing the trigger operation on the target virtual unit article by the target user, the remaining user also performs the trigger operation on the target virtual unit article, and the remaining user completes the corresponding operation earlier than the target user, then the server also correspondingly performs the detection on the operation triggered by the remaining user earlier, and further determines that the target virtual unit article is acquired by the remaining user, then the acquisition result of the target user for the target virtual unit article may be determined as the acquisition failure, and the acquisition result is fed back to the terminal device corresponding to the target user, and the terminal device may further render a virtual article prompt interface according to the acquisition result, for example, the target virtual unit article may be displayed in the virtual article prompt interface, The prompt information is not acquired, and the user head portraits corresponding to the remaining users of the target virtual unit object are acquired, so that it can be understood that the prompt interface of the virtual object at the time can be rendered into an interface different from that in the scene of successful acquisition, for example, the target virtual unit object can be set to have different gray scales or transparency, so that the user can more intuitively distinguish two different acquisition results. Further, when exiting the virtual item reminder interface, the terminal device will display a third conversation message sent by the remaining user in the conversation interface, which may include text content associated with the target virtual unit item and the non-acquired reminder information. The remaining users are users in the user group except for the target user, and it can be understood that if there is a rule that each user can only acquire one virtual unit article at most in the article acquisition conditions corresponding to the virtual article, the remaining users are other users in the user group except for the target user and the user who has acquired the virtual unit article. Wherein the non-acquired reminder information may be used to remind the target virtual unit item to be acquired by the remaining users.
It should be noted that each virtual unit article has its corresponding virtual asset allocation type and corresponding virtual asset, and the specific process of acquiring the target virtual asset corresponding to the target virtual unit article may be as follows: the server may obtain a virtual asset allocation type corresponding to the target virtual unit article, optionally, if it is detected that the virtual asset allocation type belongs to a winning asset type, the virtual asset corresponding to the winning asset type may be determined as the target virtual asset, and then the target virtual asset may be allocated to the user account of the target user, that is, the virtual asset in the user account of the target user is updated according to the target virtual asset, for example, the target virtual asset obtained by the target user is 20 virtual coins, and the initial virtual asset in the user account is 10 virtual coins, so that the virtual asset in the user account of the target user is increased to 30 virtual coins after the 20 virtual coins are accounted. Optionally, if it is detected that the virtual asset allocation type does not belong to the bonus asset type, a unit virtual asset to be allocated may be obtained from allocable virtual assets corresponding to the virtual article, and further, the allocable virtual asset may be updated according to the unit virtual asset to be allocated, the unit virtual asset to be allocated is determined as a target virtual asset, and the target virtual asset may be allocated to a user account of a target user. The assignable virtual assets are virtual assets in the total virtual assets corresponding to the virtual articles except the virtual assets corresponding to the winning asset type and the assigned unit virtual assets, the virtual assets corresponding to the winning asset type are larger than the unit virtual assets to be assigned, and the unit virtual assets to be assigned are smaller than or equal to the assignable virtual assets.
It should be noted that, each time a user acquires a virtual unit article, the above detection and acquisition process for the target virtual asset may be performed, that is, except that the virtual asset corresponding to the winning asset type is configured in advance, for a virtual unit article that does not belong to the winning asset type, the server may dynamically and randomly select a unit virtual asset to be allocated from allocable virtual assets to allocate to the virtual unit article, as long as the unit virtual asset to be allocated is greater than or equal to zero and smaller than the virtual asset corresponding to the winning asset type, so that the unit virtual asset to be allocated may be set by using a method of generating a random number. For example, if the virtual assets corresponding to the winning asset type are 20 virtual coins, the total virtual assets are 40 virtual coins, and the total of the allocated unit virtual assets is 8 virtual coins, the allocable virtual assets are 40-20-8 or 12 virtual coins, so that a part of the 12 virtual coins can be randomly selected as the unit virtual assets to be allocated. It can be understood that, because the drawing process is random, there may be a case where virtual assets corresponding to virtual unit articles that do not belong to the winning asset type are zero in addition to the winning asset type, and therefore, when all the virtual unit articles are acquired, if there are remaining virtual assets, flexible processing may be performed, for example, the remaining virtual assets may be returned to the user account of the sending user, or may be collected as a platform fee, or the like. Optionally, the server may further set the unit virtual assets to be allocated according to other logic formulas of the system configuration, for example, the assignable virtual assets may be allocated by taking an average number, which is not specifically limited in this embodiment of the present application.
Taking "pizza" (also referred to as a "snatch gift") as an example, as shown in fig. 4a, a terminal device (which may correspond to the terminal device 200b in the embodiment corresponding to fig. 2 a-2 d) may respond to a trigger operation of a user 3 (where a target user is the user 3) for a first session message 610a to display a virtual article operation interface 600b, in which a "pizza" 610b including 6 small pizza "is displayed in the virtual article operation interface 600b, and in addition, in order to improve a success rate of acquiring a virtual article, the terminal device may acquire and display operation prompt information 610c corresponding to the" pizza "610 b, the operation prompt information 610c is generated according to an operation rule of the" pizza "610 b, and may update the virtual article operation interface in real time with a change of an operation trajectory animation, for example, the virtual article operation interface 600b is an interface when the user 3 has not selected one of" pizza ", the terminal device may display the operation prompt information 610c in the interface: when the user 3 presses the pizza 610d for a long time, the terminal device may update the operation prompt information 610c in the virtual article operation interface 600c, and if the updated operation prompt information 610c may display the word "selected and torn hard" to prompt the user 3 to perform an operation after selecting a desired part. In addition, in the process that the user 3 drags the small pizza 610d, the terminal device may monitor a change of the acquired data for the "pizza" 610b returned by the server in real time, when there is a situation that other users except the user 3 acquire the small pizza ", the terminal device may display, at a corresponding position in the virtual article operation interface, that the user 'S head portrait of the other users points to the acquired small pizza", which indicates that the small pizza "has been robbed, as shown in the virtual article operation interface 600d in fig. 4a, both the user 1 and the user 2 acquire the small pizza", so that the user' S head portraits corresponding to the acquired small pizza may be displayed beside the acquired small pizza, and a specific implementation manner may be seen in step S403 in the embodiment corresponding to fig. 7 below.
It should be noted that different virtual objects may be designed with different operation rules according to their own characteristics, and in addition to the long pressing and dragging described above, operation rules such as single-click, double-click, dragging along a prescribed path, and rotation may also be designed.
Further, when the triggering operation of the user 3 satisfies the operation rule corresponding to the "pizza" 610b, as shown in fig. 4b, the terminal device may display a virtual article prompting interface 600e (the virtual article prompting interface 600e and the virtual article operating interfaces 600b, 600c, and 600d may be the same interface), may display a small pizza "610 d in the virtual article prompting interface 600e, and display an avatar 610g of the user 3 at a position adjacent to the small pizza" 610d, and a first obtaining prompt message 610f, which may be, for example, "you may like you to get to |)! "and then, when returning to the conversation interface 600f, a corresponding second conversation message 610h may be displayed in the conversation interface 600f, the second conversation message 610h being sent by the user 3 and may include a small pizza 610d, and the text content associated with the first acquisition prompt message 610f, which may be, for example, text in the word" snatch gift pizza ". Of course, if the user 3 not only obtains the small pizza 610d but also becomes a winning user (or called "lucky star" user), that is, the virtual asset corresponding to the small pizza 610d belongs to the winning asset type, as shown in fig. 4c, the terminal device may display the small pizza 610d and the avatar of the user 3, and the first acquisition prompt message 610i and the second acquisition prompt message 610j in the virtual article prompt interface 600g, where the first acquisition prompt message 610i is different from the first acquisition prompt message 610f in fig. 4b, for example, the first acquisition prompt message 610i may be "too good! Become a lucky star! "and the second acquisition prompt 610j may include a winning identifier and a corresponding amount of the virtual asset, for example, a text content of "lucky star +1 yuan" could be displayed, indicating that user 3 is a "lucky star" user, and a 1-dollar prize amount can be obtained, so that, when returning to the session interface 600h, a second session message 610k may be displayed in the session interface 600h, the session context of the second session message 610k at this time may be different from the session context of the second session message 610h in fig. 4b, for example, the conversation background of the second conversation message 610k may have a particular color, pattern, or special effect, etc., primarily to distinguish from non- "lucky star" users, while the winning identifier 610l may be displayed in the vicinity of where the second session message 610l is located so that other users can visually see who is the "lucky star" user.
If the small pizza 610d is obtained by other users, for example, the user 1, during the operation of the user 3, as shown in fig. 4d, the terminal device may display the small pizza 610d and the avatar 610p corresponding to the user 1 in the virtual article prompt interface 600i, and the non-obtained prompt message 610o, for example, the non-obtained prompt message 610o may be: unfortunately, it is preempted by a person! "and the virtual article prompting interface 600i can be grayed out, so there is a clear difference from the virtual article prompting interface 600e in fig. 4b or the virtual article prompting interface 600g in fig. 4 c. When returning from the virtual item reminder interface 600i to the conversation interface 600j, a third conversation message 610q may be displayed in the conversation interface 600j, the third conversation message 610q being sent by the user 1, and the third conversation message 610q also includes a small pizza "610 d and text content associated with the non-acquired reminder information 610o, such as" snatch to gift pizza ". Thus, by the acquisition process similar to that described above, the entire process of transceiving "pizza" 610b is not completely ended until the server detects that 6 "pizza" in "pizza" 610b are acquired.
Please refer to fig. 5, which is a flowchart illustrating a process of determining a virtual object obtaining result according to an embodiment of the present application. As shown in fig. 5, the embodiment of the present application is described by taking a single-direction drag as an example, the determination logics of other operation rules are similar, and the determination logics of the three acquisition results (acquisition success, acquisition success and becoming "lucky star", acquisition failure) described in relation to the above-mentioned gift-robbing process may include the following steps:
step S201, a user drags one of the gifts;
specifically, after the process of grabbing the gifts is started, a user (the user 3 as described above) in the user group may press for a long time to select a desired gift (i.e., a virtual unit object belonging to a part of the gift, such as a certain small pizza) and drag the selected gift according to the operation prompt information. Each gift can be configured in a corresponding direction, developers of the gifts can be pre-configured between 0 degrees and 360 degrees according to the specific form of the gifts, and a direction indication mark (such as an arrow) can be displayed to indicate the correct dragging direction of the gifts when a user drags the gifts.
Step S202, detecting whether the gift is robbed or not;
specifically, the server may detect a gift state corresponding to the gift, and if the gift state is a reserved state, it indicates that the gift has not been caught by other users, and may continue to step S203; if the gift state is the occupied state, the gift is indicated to be robbed by other users, the gift can not be robbed any more, and the process of the gift robbing is finished.
Step S203, detecting whether the dragged distance meets the requirement of triggering the gift grabbing interaction;
specifically, the terminal device may send operation data entered by the user to the server, the server may extract a distance by which the gift is dragged from the operation data, and then the server may extract a distance threshold from an operation rule corresponding to the gift, when the dragging distance is greater than or equal to the distance threshold, it may be determined that the operation satisfies triggering of the gift grabbing interaction, step S204 may be continued, and when the dragging distance is less than the distance threshold, the present gift grabbing process is ended.
Step S204, triggering the gift grabbing interaction;
specifically, the server may obtain all operation data for the gift, and obtain a trigger timestamp of each operation data, and further may determine which user may rob the gift according to the trigger timestamp.
Step S205, judging whether the user successfully robs the gift;
specifically, when the trigger timestamp corresponding to the user is earlier than the other trigger timestamps, it may be determined that the user successfully robs the gift, and then step S206 may be continued, and when the trigger timestamp corresponding to the other users is earlier than the trigger timestamp corresponding to the user, it is determined that the user fails to obtain the gift.
Step S206, judging whether the user is a "lucky star" user.
Specifically, the server may detect whether the virtual asset allocation type corresponding to the gift belongs to a winning asset type, and when the gift has a winning flag, it may be determined that the user successfully acquires the gift and becomes a "lucky star" user, that is, the user may acquire a certain proportion of virtual assets as rewards, otherwise, the user successfully acquires the gift but not the "lucky star" user, and may acquire less virtual assets than the "lucky star" user, or may not acquire virtual assets.
For example, when the user 4 shares "pizza", the server may divide "pizza" into 6 shares, and mark each share with a different id (Identity document) such as 1-6 shares, wherein a certain virtual asset (the amount of 1 yuan as described above) may be allocated to a certain number as a winning mark, and be distinguished from the shares of other numbers such as "pizza" 4 shares, and if "pizza" 4 shares is marked, the asset type corresponding to "pizza" 4 is the winning asset type, and when the user 3 wins "pizza" 4, the virtual asset corresponding to "pizza" 4 may be written into the account of the user 3.
Please refer to fig. 6, which is a flowchart illustrating a virtual asset configuration process according to an embodiment of the present disclosure. As shown in fig. 6, the process may include the steps of:
step S301, judging whether a user of 'lucky star' is generated at present;
specifically, each time a gift instance is initialized, the server may calculate the virtual asset corresponding to the gift with the winning flag according to a preset rule, for example, a certain proportion of money is extracted from the gift payment amount as a bonus, the proportion may be a default amount or an amount customized by the sending user, and the application is not limited specifically. When the user catches a gift, the server may first detect whether a "lucky star" user has been generated currently, and if the "lucky star" user has been generated, the server may jump to step S304 described below, and if the "lucky star" user has not been generated, the server may proceed to step S302.
Step S302, carrying out the lottery of the users of the "lucky star";
specifically, in the process of grabbing the gift, a plurality of users may be grabbing the gift, and the server may monitor the related data generated by all the users in the process of grabbing the gift in real time, so as to generate the corresponding obtaining result of each user according to the related data, where one or more users will become "lucky star" users, and the specific process may refer to steps S201 to S206 in the embodiment corresponding to fig. 5, where the number of "lucky star" users may be defined by the sending user, but is less than the total number of the gift copies.
Step S303, judging whether the user is a "lucky star" user;
specifically, when the user acquires the gift with the prize-winning mark, the server may determine the user as a "lucky star" user, and the user may acquire the virtual asset corresponding to the gift with the prize-winning mark. When the user is not a "lucky star" user, step S304 may be continued.
In step S304, random decimation is performed in the remaining share.
Specifically, the server may calculate the allocable virtual asset, which may also be called a residual share, and may be expressed as: the server may further randomly select a part of the allocable virtual assets as the virtual assets of the single gift obtained by the user, wherein the part of the virtual assets selected by the server is smaller than the virtual assets corresponding to the single gift with the winning mark, and the configuration process is ended. It can be seen that the configuration process described in this embodiment is a dynamic process, and virtual assets obtained by each user are not identical, so that interestingness in obtaining virtual articles can be improved, and it can be understood that other configuration modes can be used to achieve similar effects, which is not described herein again.
Step S103, updating and displaying the virtual article in the first session message; the updated displayed first session message includes virtual unit items other than the target virtual unit item among the one or more virtual unit items.
Specifically, the terminal device may update and display the virtual item in the first session message after receiving the acquisition result corresponding to the target virtual unit item returned by the server, and optionally, "update and display" may refer to updating the content included in the first session message, for example, updating the virtual item, and specifically, may perform display cancellation processing on the target virtual unit in the virtual item, so that the first session message after update and display only includes the virtual unit items except for the target virtual unit item in the one or more virtual unit items, and since the first session message after update and the initial first session message after update and display are actually different expression forms of the same session message, the display position of the first session message after update and the display position of the initial first session message are the same, and the display time of the two is the same, as shown in the conversation interface 600f in fig. 4b and the conversation interface 600h in fig. 4c, after the user 3 acquires the small pizza "610 d, the user will update the first session message 610a shown in fig. 4a to the first session message 610m shown in fig. 4b or to the first session message 610n shown in fig. 4c, and it can be seen that the" pizza "in the two first session messages only displays the remaining small pizza" except the acquired small pizza "610 d, and there is only one first session message in the conversation interface 600f or the conversation interface 600h all the time. Optionally, "updating the display" may also refer to rendering and drawing a session message X corresponding to the original first session message again by the terminal device, where the session message X is still sent by the sending user, and the virtual article in the session message X is different from the virtual article in the original first session message and only includes a virtual unit article other than the target virtual unit article in the one or more virtual unit articles, and since the session message X is actually a different session message from the original first session message, a displayed position of the session message X is different from a displayed position of the original first session message, and display times of the two are also different, and when multiple users all acquire the virtual unit article, multiple session messages sent by the sending user may be displayed in the session interface.
As can be seen from the above, in the session interface, the user group can see, through the terminal devices respectively held by the user group, that the target virtual unit item is transferred from the first session message to the second session message, that is, the terminal devices can visually show, in the session interface, which specific users have acquired the virtual unit item, which virtual unit item they have respectively acquired, and who the winning user (i.e., the user who has acquired the virtual asset corresponding to the winning asset type) has acquired details.
According to the embodiment of the application, a first session message containing a virtual article can be displayed in a session interface, the virtual article can include one or more virtual unit articles, and the virtual article can be shared with a user group, when a target user in the user group acquires the target virtual unit article from the one or more virtual unit articles through a trigger operation for the first session message, a second session message containing the target virtual unit article can be displayed in the session interface, and the virtual article in the first session message can be updated and displayed, so that the updated and displayed first session message only includes the virtual unit articles except the target virtual unit article in the one or more virtual unit articles. In the process of receiving and sending the virtual articles, the virtual articles in the first session message can be updated and displayed in real time according to the acquisition condition of the target virtual unit articles, and the acquired target virtual unit articles are displayed through the second session message, so that the acquisition details corresponding to the virtual articles can be displayed in real time in the session interface, all users in the user group can directly perceive the acquisition details without manually operating other interfaces by the users for displaying, the browsing efficiency of the acquisition details corresponding to the virtual articles can be improved, the virtual articles can be shared with the user group, effective interaction is formed between the receiving users and the receiving users in the user group and between the sending users and the receiving users, the users can select the desired virtual unit articles in one or more virtual unit articles by themselves, and each virtual unit article can be configured with virtual assets which are not completely the same, the user who robs the virtual unit article can obtain the corresponding virtual asset, the tension and the interest can be enhanced through the competition mode, and meanwhile, a more novel visual style can be formed through the personalized design of the virtual unit article, so that the receiving and sending modes of the virtual article can be greatly enriched.
Fig. 7 is a schematic flow chart of another virtual article-based data processing method according to an embodiment of the present application. As shown in fig. 7, the method may include the steps of:
step S401, responding to sharing operation aiming at virtual goods, and displaying a first session message in a session interface; the first session message includes the virtual item for sharing to a group of users; the virtual item comprises one or more virtual unit items;
specifically, the terminal device may determine, in response to a selection operation of a sending user for a virtual item list, a virtual item to be shared with a user group, and further, in response to a selection operation of the sending user for an item splitting number, split the virtual item to obtain one or more virtual unit items, where the number of the one or more virtual unit items is the item splitting number selected by the selection operation, and in addition, the total virtual asset may be configured for the virtual item for a configuration operation of the total virtual asset. It should be noted that, the order of the step of selecting the number of split items and the step of configuring the total virtual assets for the virtual items may be replaced, and the embodiment of the present application is not particularly limited.
Further, the terminal device may generate a first session message including the virtual item according to the virtual unit item and the total virtual asset, and display the first session message in the session interface, and may also display an item name and an item split number corresponding to the virtual item in the first session message.
The specific implementation manner of configuring the total virtual assets for the virtual article is as follows: the terminal device responds to the triggering operation of the sending user for the asset transfer control, displays an asset transfer page, further responds to the configuration operation of the sending user for the asset transfer page, and sends related data to the server, the server can obtain the total virtual assets corresponding to the virtual articles and the virtual assets corresponding to the prize winning asset types, further, the asset types are respectively set for one or more virtual unit articles in the virtual articles, in addition, in one or more virtual unit articles, the virtual assets corresponding to the prize winning asset types are configured for the virtual unit articles of which the asset types belong to the prize winning asset types, and the number of the virtual unit articles of which the asset types belong to the prize winning asset types can be one or more. Furthermore, the remaining virtual assets can be extracted, and the corresponding unit virtual assets are configured for the virtual unit articles of which the asset types do not belong to the prize-winning asset types, wherein the remaining virtual assets are the virtual assets in the total virtual assets except the virtual asset corresponding to the prize-winning asset type, and each unit virtual asset is smaller than the virtual asset corresponding to the prize-winning asset type. This configuration mode is a pre-configuration mode, which may be performed before the first session message is generated, and is different from the dynamic configuration mode performed in the user obtaining process in step S102 in the embodiment corresponding to fig. 3, but all of them may achieve similar effects, and specifically, which mode is used is not limited in the present application.
Please refer to fig. 8 a-8 b together, which are schematic diagrams of an interface of a data processing process based on a virtual object according to an embodiment of the present application. Taking sharing a virtual gift as an example, as shown in fig. 8a, the terminal device may display a gift list 610r in the session interface 600k in response to a trigger operation of the user 4 (i.e., the sending user) on a "gift" button, and may further determine "pizza" 610b as a gift to be sent in response to a trigger operation on an icon of "pizza" 610b in the gift list 610 r. Further, the user 4 may also set the item splitting number of the "pizza" 610b by the triggering operation of the splitting number button 610t, for example, may set to "random 6 persons", that is, the "pizza" 610b is split into 6 shares, or may directly use a default item splitting number. It should be noted that not all the gifts may be split, depending on whether the gift style of each small part is consistent, for example, the style of each small part "pizza" is similar, it may be split, but if the style of each small part "roast chicken" 610s in the gift list 610r is personalized, and if the style difference of "chicken head", "chicken breast", "chicken wing", "chicken leg", "chicken claw", etc. is large, it may configure a fixed split number of articles for it, without the need of setting by the user. Determining the good gift and the corresponding splitting amount of the item, wherein the user 4 may purchase the gift by recharging or obtain the gift in a free manner in a specific manner, for example, the user 4 may purchase the gift by himself, and the terminal device may respond to the trigger operation of the user 4 for the recharging control to display the payment interface 600l, where the payment interface 600l may be a floating layer displayed on the session interface 600k or a new interface created in addition. The style of the selected pizza 610b and the amount of money required to purchase the gift may be displayed in the payment interface 600l, for example, 60 first-class coins may be displayed for giving the pizza 610b, a corresponding 6-dollar amount may be displayed in the area 610v, and the user 4 may set a lucky amount for subsequent awards in the area 610u, for example, 1-dollar, the lucky amount being less than the price of the gift paid. Further, in response to completing the payment operation in response to the trigger operation for confirming the payment control, the terminal device may transmit all relevant data of the pizza 610b to the server for processing after receiving a successful callback, and the terminal device may render the first session message 610a in the session interface 600m after the server receives a successful callback. It should be noted that in the embodiment of the present application, only the gifts with the "lucky star" identification in the gift list 610r can be configured with the lucky amount, such as "pizza" 610b, "roast chicken" 610 s.
Step S402, generating operation data for acquiring a target virtual unit article, and detecting whether the operation data meets an article acquisition condition corresponding to the virtual article; the target virtual unit item belongs to the one or more virtual unit items;
specifically, the terminal device may display a virtual article operation interface in response to a trigger operation of the target user for the first session message, where a virtual article including one or more virtual unit articles may be displayed in the virtual article operation interface, and a specific form of the virtual article operation interface may refer to the interfaces 600b to 600d in fig. 4 a. The target user may also be called a receiving user, and belongs to a user group, and the sending user may also be called a receiving user. The terminal device can package the operation input by the target user in the virtual article operation interface into operation data and send the operation data to the server. After the server obtains the operation data, a user state corresponding to the target user may be obtained, when it is detected that the user state is an unacquired state (which may include a scenario in which the user has not performed a related operation to obtain a virtual unit article before, and a scenario in which the user has performed a related operation but has not obtained a virtual unit article), an operation rule in an article obtaining condition corresponding to the virtual article may be obtained, and operation prompt information is displayed in a virtual article operation interface according to the operation rule, such as the prompt information 610c in fig. 4a, where the target user may perform a corresponding operation according to the operation prompt information. Further, if the server detects that the operation data meets the operation rule and the unit article state corresponding to the target virtual unit article is a retention state, it may be determined that the operation data meets the article acquisition condition, where the retention state refers to that the target virtual unit article is not acquired. Optionally, if the server detects that the operation data does not satisfy the operation rule, or the unit article state corresponding to the target virtual unit article is an occupied state, it may be determined that the operation data does not satisfy the article acquisition condition, where the occupied state refers to that the target virtual unit article has been acquired by the remaining users, and the remaining users refer to users in the user group other than the target user. It should be noted that the initial state of each virtual unit article is a retention state, and after being acquired, the server will update the retention state to an occupied state. In addition, if the operation data corresponding to the target user does not meet the operation rule, if the dragging distance corresponding to the target virtual unit article reaches the distance threshold, the terminal device may report an error in the virtual article operation interface, and prompt the target user to perform an operation again.
Optionally, when the server detects that the user status of the target user is an acquired status, if each user only allows to acquire at most one virtual unit item, the terminal device may directly display a virtual item prompt interface, such as the interface 600e shown in fig. 4 b.
Step S403, updating the virtual article operation interface according to the acquisition condition of the remaining articles; the remaining item is a virtual unit item which is not acquired in the one or more virtual unit items, and the remaining item does not include the target virtual unit item;
specifically, in the process of operating the target virtual unit article, the remaining users other than the target user may also operate the virtual unit article that is not acquired, so that the terminal device may display an article operation trajectory animation associated with the operation data in the virtual article operation interface, specifically, referring to the virtual article operation interface 600d in fig. 4a, in the virtual article operation interface 600d, the article operation trajectory animation triggered by the target user may be rendered and drawn, and in the process of displaying the article operation trajectory animation, the terminal device may monitor, in real time, a change condition of a unit article state corresponding to each virtual unit article returned by the server, and update the virtual article operation interface in real time according to the change condition, for example, when the remaining article is acquired by the remaining user, the unit article state corresponding to the remaining article is updated from a retained state to an occupied state, then, the user head portrait corresponding to the remaining user who obtained the remaining article may be displayed at the position of the remaining article in the virtual article operation interface, and article status prompt information used for prompting the number of the currently obtained virtual unit articles may be displayed in the virtual article operation interface, for example, the interface 600d in fig. 4a, and in the process of operating the small pizza "610 d by the user 3, the user 1 and the user 2 each obtain the remaining small pizza", so that the head portrait of the user 1 and the head portrait of the user 2 may be displayed at the corresponding positions, and the article status prompt information 610e may be specifically "speed |! 2 blocks have been snatched! "is used.
Step S404, when the operation data meets the item acquisition condition corresponding to the virtual item, determining that a target user acquires the target virtual unit item, and displaying a second conversation message containing the target virtual unit item in the conversation interface;
specifically, when the operation data satisfies the item acquisition condition corresponding to the virtual item, the target user may acquire the target virtual unit item and the virtual asset corresponding to the target virtual unit item, and display a second session message including the target virtual unit item in the session interface, where the second session message is sent by the target user, and a specific implementation manner may be referred to in step S102 in the embodiment corresponding to fig. 3. Optionally, when the operation data does not satisfy the item acquisition condition corresponding to the virtual item, for example, when the target virtual unit item is acquired by another user, reference may also be made to step S102 in the embodiment corresponding to fig. 3, which is not described herein again.
Step S405, updating and displaying the virtual article in the first session message; updating the displayed first session message to include virtual unit items other than the target virtual unit item among the one or more virtual unit items;
for a specific implementation manner, refer to step S103 in the embodiment corresponding to fig. 3, which is not described herein again.
Step S406, when the one or more virtual unit articles are all cancelled to be displayed, displaying a completion identifier at the adjacent position where the first session message is located; the completion flag is used to prompt that the one or more virtual unit items have all been shared to the user group.
Specifically, the server may return an acquisition result of each virtual unit article to the terminal device in real time, and the terminal device may update the virtual article in the first session message in real time according to the acquisition result. Referring to fig. 8b, as shown in the conversation interface 600n in fig. 8b, the user 1 acquires one of the small pizza shares and becomes the "lucky star" user, so that a corresponding conversation message can be sent, at this time, the "pizza" 610w in the first conversation message cancels and displays the acquired part of the user 1, as shown in the conversation interface 600o, as the users 2, 3, 5, 6 and 7 acquire one of the "pizza shares one by one and display the corresponding conversation message in the conversation interface, the" pizza "in the first conversation message changes, gradually cancels and displays to 610x as shown in the interface 600o from the complete" pizza "shown in the interface 600m at the beginning, and displays the completion identifier 610y in the adjacent position where the first conversation message is located, which indicates that all the small pizza shares of the user 4 are acquired by the users in the group, the whole virtual gift transceiving process is ended up to this point.
Please refer to fig. 9, which is a timing chart of a data processing method based on a virtual object according to an embodiment of the present application. As shown in fig. 9, the method may correspond to the above-mentioned transceiving process for the virtual gift in the embodiments corresponding to fig. 4a to 4d, fig. 5, fig. 6, and fig. 8a to 8b, and specifically may include the following steps:
in step S501, the terminal device may invoke a native client of the instant messaging application to draw a rendering option floating layer, which may include a gift list, in response to a click operation of a sending user (i.e., a gift sender) on a gift button.
Step S502, further, the terminal device may respond to a click operation of the sending user on a corresponding gift in the gift list, invoke the client to pull up the payment path floating layer, the terminal device may always monitor an interaction behavior between the sending user and the client, and may further respond to an operation of the sending user inputting a payment password and confirming in the payment path floating layer, and after a successful callback is received, may encapsulate, as gift data, related data such as an amount (i.e., virtual asset) and a share (i.e., an article split number) that the sending user modifies and confirms.
In step S503, the terminal device transmits the gift data to the server, and the server may return a message of successful reception to the terminal device after receiving the gift data.
In step S504, after receiving the information fed back by the server, the terminal device may render, draw, and send a gift link shared by the user in a chat interface (i.e., a conversation interface), which may be specifically expressed as displaying a conversation message including the selected gift.
In step S505, the users in the user group as receiving users may display the gift link on their corresponding terminal devices, and in response to the click operation of the receiving users on the gift link, a full duplex communication protocol request may be constructed and initiated to the server to request real-time data of the gift. The full-duplex communication protocol may be a websocket protocol, and real-time data synchronization may be achieved through the websocket protocol, that is, the connection established between the server and the terminal device is real-time connection. The server can further respond to the request initiated by the terminal equipment and return the gift real-time data to the terminal equipment.
Step S506, after the terminal device obtains the real-time gift data returned by the server, it may render and draw a robbery gift interface (i.e. a virtual article operation interface) according to the real-time gift data, and update corresponding prompt information and picture information, for example, it may monitor the data change returned by the server in real time, and after the gift is obtained by other receiving users, it may draw the avatar of the user to the position of the obtained gift in real time.
In step S507, the terminal device may monitor, in real time, a triggering operation of the receiving user for the non-acquired gift, such as monitoring whether the receiving user performs a dragging action on a designated element, and transmit the gift-robbing data to the server according to the dragged gift.
In step S508, the server may generate data of the gift-robbing result according to the gift-robbing data, and may return the data of the gift-robbing result and other related data (such as a prompt, a virtual asset, etc.) to the terminal device, and the terminal device may further render a virtual article prompt interface and a session interface according to the data.
According to the embodiment of the application, a first session message containing a virtual article can be displayed in a session interface, the virtual article can include one or more virtual unit articles, and the virtual article can be shared with a user group, when a target user in the user group acquires the target virtual unit article from the one or more virtual unit articles through a trigger operation for the first session message, a second session message containing the target virtual unit article can be displayed in the session interface, and the virtual article in the first session message can be updated and displayed, so that the updated and displayed first session message only includes the virtual unit articles except the target virtual unit article in the one or more virtual unit articles. In the process of receiving and sending the virtual object, the virtual object in the first session message can be updated and displayed in real time according to the acquisition condition of the target virtual unit object, and the acquired target virtual unit object is displayed through the second session message, so that the acquisition details corresponding to the virtual object can be displayed in real time in the session interface, all users in the user group can directly perceive the acquisition details without manually operating other interfaces by the user for displaying, the browsing efficiency of the acquisition details corresponding to the virtual object can be improved, the virtual object can be shared with the user group, effective interaction can be formed between a receiving user and a receiving user in the user group as well as between a sending user and the receiving user, the user can select a desired virtual unit object in one or more virtual unit objects by himself, and each virtual unit object can be configured with incompletely identical virtual assets, the user who robs the virtual unit article can obtain the corresponding virtual asset, the tension and the interest can be enhanced through the competition mode, and meanwhile, a more novel visual style can be formed through the personalized design of the virtual unit article, so that the receiving and sending modes of the virtual article can be greatly enriched.
Fig. 10 is a schematic structural diagram of a data processing apparatus based on virtual articles according to an embodiment of the present application. As shown in fig. 10, the virtual article based data processing apparatus 1 may be applied to the terminal device 200a and the terminal device 200b in the embodiments corresponding to fig. 2a to fig. 2b, and the virtual article based data processing apparatus 1 may include a first display module 11, a first obtaining module 12, and a first updating module 13;
a first display module 11, configured to display a first session message in a session interface; the first session message comprises a virtual item for sharing to a group of users; the virtual item comprises one or more virtual unit items;
a first obtaining module 12, configured to, in response to a trigger operation of a target user for the first session message, obtain a target virtual unit item from the one or more virtual unit items, and display a second session message including the target virtual unit item in the session interface; the target user belongs to the user group;
a first updating module 13, configured to update and display the virtual item in the first session message; updating the displayed first session message to include virtual unit items other than the target virtual unit item among the one or more virtual unit items;
the first updating module 13 is specifically configured to cancel the display of the target virtual unit item in the first session message.
The specific implementation of the function of the first obtaining module 12 may refer to step S101 in the embodiment corresponding to fig. 3, the specific implementation of the function of the first obtaining module 12 may refer to step S102 in the embodiment corresponding to fig. 3, and the specific implementation of the function of the first updating module 13 may refer to step S103 in the embodiment corresponding to fig. 3, which is not described herein again.
Referring to fig. 10, the virtual article-based data processing apparatus 1 may further include: an operation interface display module 14, an article non-acquisition module 15, a condition judgment module 16 and a completion module 17;
an operation interface display module 14, configured to display an article operation trajectory animation associated with the operation data in the virtual article operation interface; if the residual articles are acquired by the residual users in the process of displaying the article operation track animation, displaying user head portraits corresponding to the residual users at the positions of the residual articles in the virtual article operation interface; the remaining item is a virtual unit item which is not acquired in the one or more virtual unit items, and the remaining item does not include the target virtual unit item; the rest users are users except the target user in the user group; displaying article state prompt information in the virtual article operation interface; the article state prompt information is used for prompting the number of the currently acquired virtual unit articles;
an article non-acquisition module 15, configured to display the target virtual unit article, non-acquisition prompt information, and user head portraits corresponding to remaining users who acquire the target virtual unit article in the virtual article prompt interface when the operation data does not satisfy the article acquisition condition corresponding to the virtual article; the rest users are users except the target user in the user group; the non-acquired prompt message is used for prompting that the target virtual unit object is acquired by the rest users; displaying a third session message sent by the remaining user in the session interface when exiting the virtual item tips interface; the third session message comprises text content associated with the target virtual unit item and the unacquired prompt message;
a condition judgment module 16, configured to obtain a user state corresponding to the target user; when the user state is an article non-acquisition state, acquiring an operation rule in the article acquisition condition, and displaying operation prompt information in the virtual article operation interface; the operation prompt information is used for prompting the operation rule corresponding to the virtual article; if the operation data meets the operation rule and the unit article state corresponding to the target virtual unit article is a retention state, determining that the operation data meets the article acquisition condition; the retention state refers to the target virtual unit item not being acquired; if the operation data does not meet the operation rule or the unit article state corresponding to the target virtual unit article is an occupied state, determining that the operation data does not meet the article acquisition condition; the occupancy state refers to the target virtual unit item being acquired by the remaining users; the rest users are users except the target user in the user group;
a completion module 17, configured to display a completion identifier at an adjacent position where the first session message is located when the one or more virtual unit articles are all undisplayed; the completion flag is used to prompt that the one or more virtual unit items have all been shared to the user group.
The specific functional implementation manner of the operation interface display module 14 may refer to step S403 in the embodiment corresponding to fig. 7, the specific functional implementation manner of the article non-acquisition module 15 may refer to step S102 in the embodiment corresponding to fig. 3, the specific functional implementation manner of the condition judgment module 16 may refer to step S402 in the embodiment corresponding to fig. 7, and the specific functional implementation manner of the completion module 17 may refer to step S406 in the embodiment corresponding to fig. 7, which is not described herein again.
Referring to fig. 10, the first obtaining module 12 may include: an operation unit 121, a first display unit 122;
an operation unit 121, configured to respond to a trigger operation of a target user for the first session message, and display a virtual item operation interface including the one or more virtual unit items; responding to trigger operation aiming at a target virtual unit article in the virtual article operation interface, and generating operation data for acquiring the target virtual unit article;
a first display unit 122, configured to display a second session message including the target virtual unit item in the session interface according to the operation data.
The specific functional implementation manners of the operation unit 121 and the first display unit 122 may refer to step S102 in the embodiment corresponding to fig. 3, which is not described herein again.
Referring to fig. 10, the first display unit 122 may include: an item acquisition subunit 1221, a first display subunit 1222, an asset acquisition subunit 1223, a prize winning subunit 1224, a second display subunit 1225;
an article obtaining subunit 1221, configured to display, in a virtual article prompt interface, the target virtual unit article, first obtaining prompt information, and a target user avatar corresponding to the target user when the operation data meets an article obtaining condition corresponding to the virtual article; the first acquisition prompt message is used for prompting the target virtual unit article to be acquired by the target user;
a first display subunit 1222, configured to display the second conversation message sent by the target user in the conversation interface when exiting the virtual item prompt interface; the second session message comprises text content associated with the target virtual unit item and the first acquisition prompt message;
an asset acquisition subunit 1223, configured to acquire, when the operation data meets an article acquisition condition corresponding to the virtual article, a target virtual asset corresponding to the target virtual unit article;
the asset acquisition subunit 1223 is specifically configured to, when the operation data meets the item acquisition condition corresponding to the virtual item, acquire a virtual asset allocation type corresponding to the target virtual unit item; if the virtual asset allocation type belongs to the prize-winning asset type, determining the virtual asset corresponding to the prize-winning asset type as the target virtual asset, allocating the target virtual asset to a user account of the target user, and specifically, if the virtual asset allocation type does not belong to the prize-winning asset type, obtaining a unit virtual asset to be allocated from allocable virtual assets corresponding to the virtual article; the assignable virtual assets are virtual assets in the total virtual assets corresponding to the virtual goods except the virtual assets corresponding to the winning asset type and the assigned unit virtual assets; the virtual asset corresponding to the winning asset type is larger than the unit virtual asset to be distributed, and the unit virtual asset to be distributed is smaller than or equal to the distributable virtual asset; updating the allocable virtual assets according to the unit virtual assets to be allocated, determining the unit virtual assets to be allocated as the target virtual assets, and allocating the target virtual assets to user accounts of the target users;
a winning sub-unit 1224, configured to display, in a virtual article prompting interface, the target virtual unit article, the first acquisition prompting information, the second acquisition prompting information, and a target user avatar corresponding to the target user if the target virtual asset belongs to a winning asset type; the first acquisition prompt message is used for prompting the target virtual unit article to be acquired by the target user; the second obtaining prompt information is used for prompting that the obtained target virtual asset belongs to the type of the winning asset;
a second display subunit 1225, configured to, when exiting the virtual article prompting interface, display the second session message sent by the target user in a session background associated with the winning asset type in the session interface, and display a winning identifier for characterizing the winning asset type in a position adjacent to the second session message; the second session message includes the target virtual unit item, text content associated with the first acquisition prompt and text content associated with the second acquisition prompt.
The specific functional implementation manners of the article obtaining subunit 1221, the first display subunit 1222, the asset obtaining subunit 1223, the prize obtaining subunit 1224, and the second display subunit 1225 may refer to step S102 in the embodiment corresponding to fig. 3, which is not described herein again.
According to the embodiment of the application, a first session message containing a virtual article can be displayed in a session interface, the virtual article can include one or more virtual unit articles, and the virtual article can be shared with a user group, when a target user in the user group acquires the target virtual unit article from the one or more virtual unit articles through a trigger operation for the first session message, a second session message containing the target virtual unit article can be displayed in the session interface, and the virtual article in the first session message can be updated and displayed, so that the updated and displayed first session message only includes the virtual unit articles except the target virtual unit article in the one or more virtual unit articles. In the process of receiving and sending the virtual object, the virtual object in the first session message can be updated and displayed in real time according to the acquisition condition of the target virtual unit object, and the acquired target virtual unit object is displayed through the second session message, so that the acquisition details corresponding to the virtual object can be displayed in real time in the session interface, and the acquisition details corresponding to the virtual object can be displayed without being manually operated by a user to other interfaces, so that the browsing efficiency of the acquisition details corresponding to the virtual object can be improved, the virtual object can be shared with a user group, effective interaction can be formed between a receiving user and a receiving user in the user group and between a sending user and the receiving user, and the user can select the desired virtual unit object from one or more virtual unit objects, so that the receiving and sending modes of the virtual object can be enriched.
Fig. 11 is a schematic structural diagram of another data processing apparatus based on virtual articles according to an embodiment of the present application. As shown in fig. 11, the virtual article-based data processing apparatus 2 may be applied to the terminal device 200a and the terminal device 200b in the embodiments corresponding to fig. 2a to fig. 2b, and the virtual article-based data processing apparatus 2 may include a second display module 21, a second obtaining module 22, and a second updating module 23;
the second display module 21 is configured to display a first session message in the session interface in response to the sharing operation for the virtual item; the first session message includes the virtual item for sharing to a group of users; the virtual item comprises one or more virtual unit items;
a second obtaining module 22, configured to, when a target user obtains a target virtual unit item from the one or more virtual unit items, display a second session message that includes the target virtual unit item in the session interface; the target user belongs to the user group;
a second updating module 23, configured to update and display the virtual item in the first session message; the updated displayed first session message includes virtual unit items other than the target virtual unit item among the one or more virtual unit items.
The specific functional implementation manner of the second display module 21 may refer to step S401 in the embodiment corresponding to fig. 7, the specific functional implementation manner of the second obtaining module 22 may refer to step S404 in the embodiment corresponding to fig. 7, and the specific functional implementation manner of the second updating module 23 may refer to step S405 in the embodiment corresponding to fig. 7, which is not described herein again.
Referring to fig. 11, the second display module 21 may include: a setting unit 211, a second display unit 212;
a setting unit 211, configured to determine a virtual item for sharing in response to a selection operation for the virtual item list; responding to the selection operation aiming at the splitting number of the goods, splitting the virtual goods to obtain one or more virtual unit goods; the number of the one or more virtual unit items is the item splitting number selected by the selecting operation; configuring a total virtual asset for the virtual item in response to a configuration operation for the total virtual asset;
a second display unit 212 for generating a first session message according to the one or more virtual unit items and the total virtual asset, and displaying the first session message in the session interface; the first session message comprises an item name corresponding to the virtual item and the item split number.
For specific functional implementation manners of the setting unit 211 and the second display unit 212, reference may be made to step S401 in the embodiment corresponding to fig. 7, which is not described herein again.
Referring to fig. 11 together, the setting unit 211 may include: a winning asset setting subunit 2111, a unit asset setting subunit 2112;
a winning asset setting subunit 2111 configured to display an asset transfer page in response to a trigger operation for the asset transfer control; responding to the configuration operation aiming at the asset transfer page, and determining total virtual assets corresponding to the virtual articles and virtual assets corresponding to the prize-winning asset types; respectively setting asset types for the one or more virtual unit articles in the virtual articles, and configuring virtual assets corresponding to the prize-winning asset types for the virtual unit articles of which the asset types belong to the prize-winning asset types in the one or more virtual unit articles;
a unit asset setting subunit 2112, configured to configure, according to the remaining virtual assets, corresponding unit virtual assets for the virtual unit articles whose asset types do not belong to the winning asset type; and the residual virtual assets are the virtual assets in the total virtual assets except the virtual assets corresponding to the winning asset type.
The specific functional implementation manner of the winning asset setting subunit 2111 and the unit asset setting subunit 2112 may refer to step S401 in the embodiment corresponding to fig. 7, which is not described herein again.
According to the embodiment of the application, a first session message containing a virtual article can be displayed in a session interface, the virtual article can include one or more virtual unit articles, and the virtual article can be shared with a user group, when a target user in the user group acquires the target virtual unit article from the one or more virtual unit articles through a trigger operation for the first session message, a second session message containing the target virtual unit article can be displayed in the session interface, and the virtual article in the first session message can be updated and displayed, so that the updated and displayed first session message only includes the virtual unit articles except the target virtual unit article in the one or more virtual unit articles. In the process of receiving and sending the virtual object, the virtual object in the first session message can be updated and displayed in real time according to the acquisition condition of the target virtual unit object, and the acquired target virtual unit object is displayed through the second session message, so that the acquisition details corresponding to the virtual object can be displayed in real time in the session interface, and the acquisition details corresponding to the virtual object can be displayed without being manually operated by a user to other interfaces, so that the browsing efficiency of the acquisition details corresponding to the virtual object can be improved, the virtual object can be shared with a user group, effective interaction can be formed between a receiving user and a receiving user in the user group and between a sending user and the receiving user, and the user can select the desired virtual unit object from one or more virtual unit objects, so that the receiving and sending modes of the virtual object can be enriched.
Fig. 12 is a schematic structural diagram of another data processing apparatus based on virtual articles according to an embodiment of the present application. As shown in fig. 12, the virtual article based data processing apparatus 1000 may correspond to the terminal device 200a and the terminal device 200b in the embodiments corresponding to fig. 2a to 2d, and the virtual article based data processing apparatus 1000 may include: the processor 1001, the network interface 1004, and the memory 1005, and the virtual article based data processing apparatus 1000 may further include: a user interface 1003, and at least one communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display) and a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a standard wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., a WI-FI interface). The memory 1004 may be a high-speed RAM memory or a non-volatile memory (e.g., at least one disk memory). The memory 1005 may optionally be at least one memory device located remotely from the processor 1001. As shown in fig. 12, a memory 1005, which is a kind of computer-readable storage medium, may include therein an operating system, a network communication module, a user interface module, and a device control application program.
In the virtual article-based data processing apparatus 1000 shown in fig. 12, the network interface 1004 may provide a network communication function; the user interface 1003 is an interface for providing input to a user; the processor 1001 may be configured to call a device control application stored in the memory 1005, so as to implement the description of the data processing method based on the virtual article in the embodiment corresponding to any one of fig. 3 and fig. 7, which is not described herein again. In addition, the beneficial effects of the same method are not described in detail.
It should be understood that the virtual article based data processing apparatus 1000 described in this embodiment of the present application may perform the description of the virtual article based data processing method in the embodiment corresponding to any one of fig. 3 and fig. 7, and may also perform the description of the virtual article based data processing apparatus 1 and the virtual article based data processing apparatus 2 in the embodiment corresponding to fig. 10 and fig. 11, which is not repeated herein. In addition, the beneficial effects of the same method are not described in detail.
Further, here, it is to be noted that: an embodiment of the present application further provides a computer-readable storage medium, where a computer program executed by the aforementioned virtual article-based data processing apparatus 1 or virtual article-based data processing apparatus 2 is stored in the computer-readable storage medium, and the computer program includes program instructions, and when the processor executes the program instructions, the description of the virtual article-based data processing method in the embodiment corresponding to any one of fig. 3 and fig. 7 can be executed, and therefore, details are not repeated here. In addition, the beneficial effects of the same method are not described in detail. For technical details not disclosed in embodiments of the computer-readable storage medium referred to in the present application, reference is made to the description of embodiments of the method of the present application.
In one aspect of the application, a computer program product or computer program is provided, the computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method provided by any one of the embodiments corresponding to fig. 3 and fig. 7 in the embodiments of the present application.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and should not be taken as limiting the scope of the present application, so that the present application will be covered by the appended claims.

Claims (15)

1. A data processing method based on virtual articles is characterized by comprising the following steps:
displaying the first session message in a session interface; the first session message comprises a virtual item for sharing to a group of users; the virtual item comprises one or more virtual unit items;
responding to the triggering operation of a target user for the first conversation message, acquiring a target virtual unit article from the one or more virtual unit articles, and displaying a second conversation message containing the target virtual unit article in the conversation interface; the target user belongs to the user group;
updating and displaying the virtual article in the first session message; the updated displayed first session message includes virtual unit items other than the target virtual unit item among the one or more virtual unit items.
2. The method of claim 1, wherein said retrieving a target virtual unit item from said one or more virtual unit items in response to a triggering action by a target user with respect to said first session message, and displaying a second session message containing said target virtual unit item in said session interface comprises:
responding to the trigger operation of the target user for the first session message, and displaying a virtual article operation interface containing the one or more virtual unit articles;
responding to trigger operation aiming at a target virtual unit article in the virtual article operation interface, and generating operation data for acquiring the target virtual unit article;
and displaying a second session message containing the target virtual unit item in the session interface according to the operation data.
3. The method of claim 2, wherein said displaying a second session message containing the target virtual unit item in a session interface according to the operational data comprises:
when the operation data meet the item acquisition conditions corresponding to the virtual items, displaying the target virtual unit item, first acquisition prompt information and a target user head portrait corresponding to the target user in a virtual item prompt interface; the first acquisition prompt message is used for prompting the target virtual unit article to be acquired by the target user;
displaying the second session message sent by the target user in the session interface when exiting the virtual item tips interface; the second session message includes textual content associated with the target virtual unit item and the first acquisition hint information.
4. The method of claim 2, further comprising:
displaying an item operation track animation associated with the operation data in the virtual item operation interface;
if the residual articles are acquired by the residual users in the process of displaying the article operation track animation, displaying user head portraits corresponding to the residual users at the positions of the residual articles in the virtual article operation interface; the remaining item is a virtual unit item which is not acquired in the one or more virtual unit items, and the remaining item does not include the target virtual unit item; the rest users are users except the target user in the user group;
displaying article state prompt information in the virtual article operation interface; the item state prompt information is used for prompting the number of the virtual unit items which are currently acquired.
5. The method according to claim 2, wherein said displaying a second session message containing said target virtual unit item in a session interface according to said operational data comprises:
when the operation data meet the article obtaining conditions corresponding to the virtual articles, obtaining target virtual assets corresponding to the target virtual unit articles;
if the target virtual asset belongs to the type of the prize winning asset, displaying the target virtual unit article, first acquisition prompt information, second acquisition prompt information and a target user head portrait corresponding to the target user in a virtual article prompt interface; the first acquisition prompt message is used for prompting the target virtual unit article to be acquired by the target user; the second obtaining prompt information is used for prompting that the obtained target virtual asset belongs to the type of the winning asset;
when the virtual article prompting interface is exited, displaying the second session message sent by the target user in the session interface with a session background associated with the winning asset type, and displaying a winning identifier for characterizing the winning asset type at a position adjacent to where the second session message is located; the second session message includes the target virtual unit item, textual content associated with the first acquisition prompt and textual content associated with the second acquisition prompt.
6. The method according to claim 5, wherein when the operation data satisfies the item acquisition condition corresponding to the virtual item, acquiring the target virtual asset corresponding to the target virtual unit item, comprises:
when the operation data meet the item acquisition conditions corresponding to the virtual items, acquiring the virtual asset allocation types corresponding to the target virtual unit items;
if the virtual asset allocation type belongs to the prize-winning asset type, determining the virtual asset corresponding to the prize-winning asset type as the target virtual asset, and allocating the target virtual asset to a user account of the target user;
if the virtual asset allocation type does not belong to the prize winning asset type, acquiring unit virtual assets to be allocated from allocable virtual assets corresponding to the virtual article; the assignable virtual assets are virtual assets in the total virtual assets corresponding to the virtual goods except the virtual assets corresponding to the winning asset type and the assigned unit virtual assets; the virtual assets corresponding to the winning asset type are larger than the unit virtual assets to be distributed, and the unit virtual assets to be distributed are smaller than or equal to the distributable virtual assets;
updating the allocable virtual assets according to the unit virtual assets to be allocated, determining the unit virtual assets to be allocated as the target virtual assets, and allocating the target virtual assets to the user accounts of the target users.
7. The method of claim 3 or 5, further comprising:
when the operation data does not meet the item acquisition conditions corresponding to the virtual items, displaying the target virtual unit items, the unacquired prompt information and user head portraits corresponding to the rest users of the target virtual unit items in the virtual item prompt interface; the rest users are users except the target user in the user group; the non-acquired prompt message is used for prompting that the target virtual unit object is acquired by the rest users;
displaying a third session message sent by the remaining user in the session interface when exiting the virtual item tips interface; the third session message includes textual content associated with the target virtual unit item and the unacquired prompt message.
8. The method of claim 3 or 5, further comprising:
acquiring a user state corresponding to the target user;
when the user state is an article non-acquisition state, acquiring an operation rule in the article acquisition condition, and displaying operation prompt information in the virtual article operation interface; the operation prompt information is used for prompting the operation rule corresponding to the virtual article;
if the operation data meets the operation rule and the unit article state corresponding to the target virtual unit article is a retention state, determining that the operation data meets the article acquisition condition; the retention state refers to the target virtual unit item not being acquired;
if the operation data does not meet the operation rule or the unit article state corresponding to the target virtual unit article is an occupied state, determining that the operation data does not meet the article acquisition condition; the occupancy state refers to the target virtual unit item being acquired by the remaining users; and the rest users are users except the target user in the user group.
9. The method of claim 1, wherein the updating the display of the virtual item in the first session message comprises:
canceling display of the target virtual unit item in the first session message;
the method further comprises the following steps:
when the one or more virtual unit articles are all cancelled to be displayed, displaying a completion identifier at the adjacent position where the first session message is located; the completion flag is used to prompt that the one or more virtual unit items have all been shared to the user group.
10. A data processing method based on virtual articles is characterized by comprising the following steps:
responding to the sharing operation aiming at the virtual article, and displaying a first session message in a session interface; the first session message includes the virtual item for sharing to a group of users; the virtual item comprises one or more virtual unit items;
when a target user acquires a target virtual unit item from the one or more virtual unit items, displaying a second session message containing the target virtual unit item in the session interface; the target user belongs to the user group;
updating and displaying the virtual article in the first session message; the updated displayed first session message includes virtual unit items other than the target virtual unit item among the one or more virtual unit items.
11. The method of claim 10, wherein displaying the first session message in the session interface in response to the sharing operation for the virtual item comprises:
responding to the selection operation aiming at the virtual article list, and determining a virtual article for sharing;
responding to the selection operation aiming at the splitting number of the goods, splitting the virtual goods to obtain one or more virtual unit goods; the number of the one or more virtual unit items is the item splitting number selected by the selecting operation;
configuring a total virtual asset for the virtual item in response to a configuration operation for the total virtual asset;
generating a first session message according to the one or more virtual unit articles and the total virtual asset, and displaying the first session message in the session interface; the first session message comprises an item name corresponding to the virtual item and the item split number.
12. The method of claim 11, wherein configuring the total virtual asset for the virtual item in response to the configuring operation for the total virtual asset comprises:
responding to the triggering operation aiming at the asset transfer control, and displaying an asset transfer page;
responding to the configuration operation aiming at the asset transfer page, and determining total virtual assets corresponding to the virtual articles and virtual assets corresponding to the prize winning asset types;
respectively setting asset types for the one or more virtual unit articles in the virtual articles, and configuring virtual assets corresponding to the prize-winning asset types for the virtual unit articles of which the asset types belong to the prize-winning asset types in the one or more virtual unit articles;
according to the remaining virtual assets, configuring corresponding unit virtual assets for virtual unit articles of which the asset types do not belong to the prize-winning asset types; and the residual virtual assets are the virtual assets in the total virtual assets except the virtual assets corresponding to the winning asset type.
13. A virtual article based data processing apparatus, comprising:
the first display module is used for displaying the first session message in the session interface; the first session message comprises a virtual item for sharing to a group of users; the virtual item comprises one or more virtual unit items;
a first obtaining module, configured to respond to a trigger operation of a target user for the first session message, obtain a target virtual unit item from the one or more virtual unit items, and display a second session message including the target virtual unit item in the session interface; the target user belongs to the user group;
the first updating module is used for updating and displaying the virtual article in the first session message; the updated displayed first session message includes virtual unit items other than the target virtual unit item among the one or more virtual unit items.
14. A virtual article based data processing apparatus, comprising: a processor and a memory;
the processor is connected to a memory, wherein the memory is used for storing a computer program, and the processor is used for calling the computer program to execute the method according to any one of claims 1-12.
15. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions which, when executed by a processor, perform the method according to any one of claims 1-12.
CN202011322948.0A 2020-11-23 2020-11-23 Virtual article-based data processing method and device and readable storage medium Active CN114531407B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011322948.0A CN114531407B (en) 2020-11-23 2020-11-23 Virtual article-based data processing method and device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011322948.0A CN114531407B (en) 2020-11-23 2020-11-23 Virtual article-based data processing method and device and readable storage medium

Publications (2)

Publication Number Publication Date
CN114531407A true CN114531407A (en) 2022-05-24
CN114531407B CN114531407B (en) 2024-04-09

Family

ID=81619369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011322948.0A Active CN114531407B (en) 2020-11-23 2020-11-23 Virtual article-based data processing method and device and readable storage medium

Country Status (1)

Country Link
CN (1) CN114531407B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002123641A (en) * 2000-10-13 2002-04-26 Sanyo Product Co Ltd Game gift exchange device
CN103973769A (en) * 2014-01-29 2014-08-06 腾讯科技(深圳)有限公司 Virtual item transmitting method, receiving method, device and system
US20150026269A1 (en) * 2013-07-19 2015-01-22 Blackberry Limited System and Method for Incorporating Chat Elements Into a Communication Interface
CN104636460A (en) * 2015-02-04 2015-05-20 腾讯科技(深圳)有限公司 Article information pushing method and device
CN104966214A (en) * 2015-06-29 2015-10-07 百度在线网络技术(北京)有限公司 Electronic ticket interaction method and device
CN105096015A (en) * 2014-04-23 2015-11-25 阿里巴巴集团控股有限公司 Information processing method and system of commodity object
CN106027361A (en) * 2016-04-27 2016-10-12 北京小米移动软件有限公司 Information display method and device
CN106156228A (en) * 2015-04-24 2016-11-23 腾讯科技(深圳)有限公司 Resource delivery system, resource payment method and resource get method
US20170279747A1 (en) * 2014-09-22 2017-09-28 Roy S. Melzer Interactive user interface based on analysis of chat messages content
CN111672131A (en) * 2020-06-05 2020-09-18 腾讯科技(深圳)有限公司 Virtual article acquisition method, device, terminal and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002123641A (en) * 2000-10-13 2002-04-26 Sanyo Product Co Ltd Game gift exchange device
US20150026269A1 (en) * 2013-07-19 2015-01-22 Blackberry Limited System and Method for Incorporating Chat Elements Into a Communication Interface
CN103973769A (en) * 2014-01-29 2014-08-06 腾讯科技(深圳)有限公司 Virtual item transmitting method, receiving method, device and system
CN105096015A (en) * 2014-04-23 2015-11-25 阿里巴巴集团控股有限公司 Information processing method and system of commodity object
US20170279747A1 (en) * 2014-09-22 2017-09-28 Roy S. Melzer Interactive user interface based on analysis of chat messages content
CN104636460A (en) * 2015-02-04 2015-05-20 腾讯科技(深圳)有限公司 Article information pushing method and device
CN106156228A (en) * 2015-04-24 2016-11-23 腾讯科技(深圳)有限公司 Resource delivery system, resource payment method and resource get method
CN104966214A (en) * 2015-06-29 2015-10-07 百度在线网络技术(北京)有限公司 Electronic ticket interaction method and device
CN106027361A (en) * 2016-04-27 2016-10-12 北京小米移动软件有限公司 Information display method and device
CN111672131A (en) * 2020-06-05 2020-09-18 腾讯科技(深圳)有限公司 Virtual article acquisition method, device, terminal and storage medium

Also Published As

Publication number Publication date
CN114531407B (en) 2024-04-09

Similar Documents

Publication Publication Date Title
US10740807B2 (en) Systems and methods for transmission of representational image-based offers based on a tactile input
JP6821232B2 (en) Resource sharing method, resource acquisition method, terminal, and server
CN105100162B (en) Virtual objects sending method and device, method of reseptance and device, system
CN110060052B (en) Interaction method and device based on electronic certificate and electronic equipment
US6476830B1 (en) Virtual objects for building a community in a virtual world
US6229533B1 (en) Ghost object for a virtual world
EP3657416A1 (en) Augmented reality-based virtual object allocation method and apparatus
JP2020502711A (en) Method and apparatus for distributing augmented reality based virtual objects
US20120110477A1 (en) Systems and methods for enabling virtual social interactions
US10880398B2 (en) Information updating/exchange method, apparatus, and server
WO2015165018A1 (en) Method and device for providing online gifting
CN109598571A (en) Spell folk prescription method and relevant apparatus
US11045730B1 (en) Systems and methods for IoT enabled arcade games
CN108635828A (en) A kind of doll machine operating method, equipment, system
CN107403342A (en) A kind of method, terminal device, server and storage medium for providing resource
CN109847339A (en) Control method, terminal installation, information processing system and storage medium
CN112700289A (en) Reward resource interaction control method, device and equipment
CN108335088B (en) Virtual resource transfer method, device and storage medium
CN114531407A (en) Data processing method and device based on virtual article and readable storage medium
KR101280540B1 (en) Method and apparatus for controlling probability of winning item in online game
JP2020054584A (en) Computer program and computer device
CN106559306B (en) Information processing method and device based on group video
JP6724194B2 (en) Computer program and computer device
JP7432789B1 (en) Goods provision system, program and goods provision device
CN112487371A (en) Chat session display method, device, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40068132

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant