Data processing, data display method, device, electronic device and storage medium
By updating the interaction index data based on the audience's resource consumption information in the anchor interactive live broadcast, the problems of unbalanced interaction and waste of performance resources are solved, and more balanced user interaction and higher system performance are achieved.
Patent Information
- Application Number
- CN202210613137.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-31
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2042-05-31
AI Technical Summary
The interaction between anchors during live broadcasting is uneven, and the overall interaction between users is poor, resulting in wasting performance resources of the live broadcast platform and degradation of system performance.
During the target interactive live broadcast process, the interaction index data of the first user account is updated based on the resource consumption information of the second user account to ensure balanced consumption of virtual resources.
It improves the balance of interaction between anchors and viewers, improves the interaction between the overall users of the live broadcast platform, reduces ineffective push-pull stream processing, and reduces system performance resource consumption.
Smart Images

Figure CN115037955B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of Internet technology, and in particular to a data processing, data display method, device, electronic device and storage medium. Background Art
[0002] With the development of network technology and the widespread popularity of live broadcast functions, there are more and more interactive methods in the live broadcast process. For example, the interactive live broadcast method in which at least two anchor users are connected to each other is novel and unique, enriching the live broadcast content.
[0003] Related technologies: During the interactive live broadcast of the anchor, each anchor's corresponding audience in the live broadcast room can consume various virtual resources in the live broadcast room to improve the interactive index data of the corresponding anchor, help the anchor win the interactive victory, and correspondingly, get the attention of the anchor and improve the interactivity between the anchor and the audience. However, the resource consumption capabilities of the audience in the live broadcast room are often different. The way in which various virtual resources can be consumed at will in the related technologies is prone to the situation that only some audiences with strong resource consumption capabilities are paid attention to by the anchor, while audiences with small resource consumption capabilities cannot be paid attention to by the anchor, resulting in unbalanced interaction during the interactive live broadcast of the anchor, and the overall interactivity between users is also poor, which will also bring a large amount of invalid push-pull stream processing, resulting in waste of performance resources of the live broadcast platform, degradation of system performance and other problems. Summary of the invention
[0004] The present disclosure provides a data processing and data display method, device, electronic device and storage medium to at least solve the problems of unbalanced interaction, poor overall user interaction, waste of live broadcast platform performance resources and system performance degradation caused by a large amount of ineffective push-pull stream processing in the related technology. The technical solution of the present disclosure is as follows:
[0005] According to a first aspect of an embodiment of the present disclosure, there is provided a data processing method, including:
[0006] In the process of at least two first-category user accounts performing a target interactive live broadcast, receiving a resource consumption request sent by a first terminal, the first terminal being a terminal of any second-category user account corresponding to any target user account among the at least two first-category user accounts, the resource consumption request including a resource type and a preset resource amount of a virtual resource requested to be consumed, the first-category user account being a user account performing the live broadcast during the target interactive live broadcast, and the second-category user account being a user account watching the live broadcast during the target interactive live broadcast;
[0007] When the resource type is a target resource type and the resource consumption information of the second type of user account during the target interactive live broadcast meets a preset condition, updating the interaction indicator data of the target user account according to the preset resource amount;
[0008] The interaction indicator data is sent to a target terminal, wherein the target terminal includes terminals of the at least two first-type user accounts and terminals of the second-type user accounts in the target interactive live broadcast; the interaction indicator data is used to display an interactive live broadcast page corresponding to the target terminal.
[0009] In an optional embodiment, the method further includes:
[0010] receiving an interactive live broadcast request sent by a second terminal, where the second terminal is a terminal of an inviting user account among the at least two first-category user accounts, the interactive live broadcast request carries a first-category user account identifier corresponding to a third terminal, the target resource type, and a preset interaction identifier, and the third terminal is a terminal of an invited user account among the at least two first-category user accounts;
[0011] Sending interaction invitation information to the third terminal based on the first type of user account identifier, where the interaction invitation information carries the target resource type;
[0012] receiving an interactive response instruction triggered by the third terminal based on the interactive invitation information;
[0013] Based on the preset interaction identifier and the target resource type, creating a virtual interaction space corresponding to the at least two first-type user accounts;
[0014] Sending interaction start information to the second terminal and the third terminal.
[0015] In an optional embodiment, after receiving the interactive live broadcast request sent by the second terminal, the method further includes:
[0016] Based on at least one preset resource type, performing resource verification on the target resource type to obtain a first resource verification result;
[0017] When the first resource verification result indicates that the verification is passed, the step of sending the interaction invitation information carrying the target resource type to the third terminal based on the first type of user account identifier is performed.
[0018] In an optional embodiment, the method further includes:
[0019] Acquire historical consumption information corresponding to multiple resource types, where the historical consumption information represents consumption amounts corresponding to virtual resources of the multiple resource types;
[0020] Based on the historical consumption information, the at least one preset resource type is determined from the multiple resource types.
[0021] In an optional embodiment, after receiving the interactive live broadcast request sent by the second terminal, the method further includes:
[0022] Based on the preset interaction identifier, the target resource type and the preset response time information are stored in a preset cache.
[0023] In an optional embodiment, after receiving the interaction response instruction triggered by the third terminal based on the interaction invitation information, the method further includes:
[0024] Based on the preset interaction identifier, obtaining the preset response time information from the preset cache;
[0025] Perform response time verification based on the preset response time information to obtain a response time verification result;
[0026] When the response time validity check result indicates that the response has not timed out, the step of creating the virtual interaction space corresponding to the at least two first-category user accounts based on the preset interaction identifier and the target resource type is performed.
[0027] In an optional embodiment, the interaction response instruction carries an interaction resource type corresponding to the third terminal, and the method further includes:
[0028] Based on the preset interaction identifier, acquiring the target resource type from the preset cache;
[0029] Performing resource verification on the interactive resource type based on the target resource type to obtain a second resource verification result;
[0030] When the second resource verification result indicates that the verification is passed, the step of creating the virtual interaction space corresponding to the at least two first-type user accounts based on the preset interaction identifier and the target resource type is performed.
[0031] In an optional embodiment, the resource consumption information includes the historical consumption times of the virtual resource of the target resource type for the target user account, and the preset condition includes the preset consumption times; when the resource type is the target resource type and the resource consumption information of the second type of user account during the target interactive live broadcast meets the preset condition, updating the interaction indicator data of the target user account according to the preset resource amount includes:
[0032] When the resource type is a target resource type and the historical consumption times are less than or equal to the preset consumption times, the interaction indicator data of the target user account is updated according to the preset resource amount.
[0033] In an optional embodiment, the resource consumption information includes a request time corresponding to the resource consumption request, and the preset condition includes a preset consumption time; when the resource type is a target resource type and the resource consumption information of the second type of user account during the target interactive live broadcast meets the preset condition, updating the interaction indicator data of the target user account according to the preset resource amount includes:
[0034] When the resource type is a target resource type and the request time matches the preset consumption time, the interaction indicator data of the target user account is updated according to the preset resource amount.
[0035] In an optional embodiment, the resource consumption request also includes a preset interaction identifier corresponding to the target interactive live broadcast; when the resource type is a target resource type and the resource consumption information of the second type of user account during the target interactive live broadcast meets a preset condition, updating the interaction indicator data of the target user account according to the preset resource amount includes:
[0036] When the preset interaction identifier is the target interaction identifier corresponding to the target interactive live broadcast, the resource type is the target resource type, and the resource consumption information meets the preset conditions, the interaction indicator data is updated according to the preset resource amount.
[0037] According to a second aspect of an embodiment of the present disclosure, a data presentation method is provided, including:
[0038] During the process of at least two first-category user accounts performing target interactive live broadcast, displaying the interaction indicator data of the at least two first-category user accounts on the target interactive live broadcast page;
[0039] Among them, the interaction indicator data of any target user account among the at least two first-category user accounts is obtained based on the preset resource quantity update when the resource type of the virtual resources consumed by the target user account requested by the second-category user account corresponding to the target user account is the target resource type, and the resource consumption information of the second-category user account during the target interactive live broadcast meets the preset conditions, and the preset resource quantity is the unit resource quantity of the virtual resources of the target resource type; the first-category user account is the user account that conducts the live broadcast during the target interactive live broadcast, and the second-category user account is the user account that watches the live broadcast during the target interactive live broadcast.
[0040] In an optional embodiment, the method further includes:
[0041] Display resource assistance information on the target interactive live broadcast page;
[0042] The resource assistance information is used to prompt the second type of user accounts corresponding to the at least two first type of user accounts to consume virtual resources of the target resource type for the at least two first type of user accounts.
[0043] In an optional embodiment, the target interactive live broadcast page further displays list display control information corresponding to the resource consumption list; the method further includes:
[0044] In response to a list display instruction triggered based on the list display control information, displaying the resource consumption list on the target interactive live broadcast page;
[0045] Among them, the resource consumption list is a list generated based on the second type of user account corresponding to the target user account, which is a list of consumption time of the virtual resources of the target resource type consumed by the target user account during the target interactive live broadcast process.
[0046] In an optional embodiment, when the target interactive live broadcast page is an interactive live broadcast page of a target second-type user account corresponding to the at least two first-type user accounts, the target interactive live broadcast page further displays a resource consumption control corresponding to the target resource type, and the method further includes:
[0047] In the case of detecting a resource consumption operation on the resource consumption control, a resource consumption request is sent to the server, wherein the resource consumption request is used to instruct the server to update the interaction indicator data of the target second-category user account corresponding to the first-category user account.
[0048] In an optional embodiment, the resource consumption information includes the historical consumption times of the virtual resources of the target resource type for the target user account, and the preset condition includes the preset consumption times; the resource consumption information satisfies the preset condition including that the historical consumption times is less than or equal to the preset consumption times.
[0049] In an optional embodiment, the resource consumption information includes a request time corresponding to the resource consumption request, and the preset condition includes a preset consumption time; the resource consumption information satisfies the preset condition including that the request time matches the preset consumption time.
[0050] In an optional embodiment, when the target interactive live broadcast page is an interactive live broadcast page corresponding to the inviting user account among the at least two first-category user accounts, the method further includes:
[0051] When a preset operation for preset interactive manipulation information is detected, displaying a resource view corresponding to at least one preset resource type on the first live broadcast page;
[0052] In response to an interactive invitation instruction triggered by a resource view corresponding to a target resource type in the at least one preset resource type, an interactive live broadcast request is sent to a server, wherein the interactive live broadcast request carries a first-category user account identifier corresponding to a third terminal, the target resource type, and a preset interactive identifier, and the third terminal is a terminal of an invited user account among the at least two first-category user accounts;
[0053] receiving interaction start information sent by the server, wherein the interaction start information is sent by the server when receiving an interaction consent instruction triggered by the third terminal based on the interaction invitation information carrying the preset interaction identifier and the target resource type, and creating a virtual interaction space corresponding to the at least two first-category user accounts based on the preset interaction identifier and the target resource type;
[0054] Update the first live broadcast page to the target interactive live broadcast page.
[0055] In an optional embodiment, when the target interactive live broadcast page is an interactive live broadcast page corresponding to the invited user account among the at least two first-category user accounts, the method further includes:
[0056] receiving an interactive invitation message sent by a server, wherein the interactive invitation message carries the target resource type;
[0057] Displaying a resource view corresponding to the target resource type on the second live broadcast page;
[0058] In the case of detecting an interactive confirmation operation for the resource view, sending an interactive response instruction to the server, wherein the interactive response instruction is used to trigger the server to create a virtual interactive space corresponding to the at least two first-type user accounts based on a preset interactive identifier and the target resource type;
[0059] Receiving interaction start information sent by the server;
[0060] Update the second live broadcast page to the target interactive live broadcast page.
[0061] According to a third aspect of an embodiment of the present disclosure, there is provided a data processing device, including:
[0062] A resource consumption request receiving module is configured to receive a resource consumption request sent by a first terminal during a process of target interactive live broadcasting by at least two first-category user accounts, wherein the first terminal is a terminal of any second-category user account corresponding to any target user account among the at least two first-category user accounts, the resource consumption request includes a resource type and a preset resource amount of a virtual resource requested to be consumed, the first-category user account is a user account performing live broadcasting during the target interactive live broadcasting, and the second-category user account is a user account watching live broadcasting during the target interactive live broadcasting;
[0063] an interaction indicator data updating module, configured to execute, when the resource type is a target resource type and the resource consumption information of the second type of user account during the target interactive live broadcast meets a preset condition, updating the interaction indicator data of the target user account according to the preset resource amount;
[0064] An interaction indicator data sending module is configured to send the interaction indicator data to a target terminal, wherein the target terminal includes terminals of at least two first-type user accounts and terminals of second-type user accounts in the target interactive live broadcast; the interaction indicator data is used to be displayed on an interactive live broadcast page corresponding to the target terminal.
[0065] In an optional embodiment, the device further comprises:
[0066] an interactive live broadcast request receiving module, configured to execute receiving an interactive live broadcast request sent by a second terminal, the second terminal being a terminal of an inviting user account among the at least two first-category user accounts, the interactive live broadcast request carrying a first-category user account identifier corresponding to a third terminal, the target resource type, and a preset interaction identifier, the third terminal being a terminal of an invited user account among the at least two first-category user accounts;
[0067] an interaction invitation information sending module, configured to send interaction invitation information to the third terminal based on the first type of user account identifier, wherein the interaction invitation information carries the target resource type;
[0068] An interactive response instruction receiving module, configured to execute and receive an interactive response instruction triggered by the third terminal based on the interactive invitation information;
[0069] A virtual interaction space creation module, configured to create a virtual interaction space corresponding to the at least two first-category user accounts based on the preset interaction identifier and the target resource type;
[0070] The interaction start information sending module is configured to send the interaction start information to the second terminal and the third terminal.
[0071] In an optional embodiment, the device further comprises:
[0072] A first resource verification module is configured to perform resource verification on the target resource type based on at least one preset resource type to obtain a first resource verification result;
[0073] The interaction invitation information sending module is further configured to send the interaction invitation information carrying the target resource type to the third terminal based on the first type of user account identifier when the first resource verification result indicates that the verification is passed.
[0074] In an optional embodiment, the device further comprises:
[0075] A historical consumption information acquisition module is configured to acquire historical consumption information corresponding to a plurality of resource types, wherein the historical consumption information represents consumption amounts corresponding to the virtual resources of the plurality of resource types;
[0076] The preset resource type determination module is configured to determine the at least one preset resource type from the multiple resource types based on the historical consumption information.
[0077] In an optional embodiment, the device further comprises:
[0078] The information storage module is configured to store the target resource type and preset response time information into a preset cache based on the preset interaction identifier.
[0079] In an optional embodiment, the device further comprises:
[0080] A preset response time information acquisition module, configured to acquire the preset response time information from the preset cache based on the preset interaction identifier;
[0081] A response time verification module is configured to perform a response time verification based on the preset response time information to obtain a response time verification result;
[0082] The virtual interaction space creation module is further configured to create a virtual interaction space corresponding to the at least two first-category user accounts based on the preset interaction identifier and the target resource type when the response time verification result indicates that the response has not timed out.
[0083] In an optional embodiment, the interaction response instruction carries an interaction resource type corresponding to the third terminal, and the device further includes:
[0084] A target resource type acquisition module is configured to acquire the target resource type from the preset cache based on the preset interaction identifier;
[0085] A second resource verification module is configured to perform resource verification on the interactive resource type based on the target resource type to obtain a second resource verification result;
[0086] The virtual interaction space creation module is further configured to create virtual interaction spaces corresponding to the at least two first-category user accounts based on the preset interaction identifier and the target resource type when the second resource verification result indicates that the verification is passed.
[0087] In an optional embodiment, the resource consumption information includes the historical consumption times of the virtual resources of the target resource type for the target user account, and the preset condition includes the preset consumption times; the interaction indicator data update module is specifically configured to execute, when the resource type is the target resource type and the historical consumption times is less than or equal to the preset consumption times, updating the interaction indicator data of the target user account according to the preset resource amount.
[0088] In an optional embodiment, the resource consumption information includes the request time corresponding to the resource consumption request, and the preset condition includes the preset consumption time; the interaction indicator data update module is specifically configured to execute when the resource type is the target resource type and the request time matches the preset consumption time, and updates the interaction indicator data of the target user account according to the preset resource amount.
[0089] In an optional embodiment, the resource consumption request also includes a preset interaction identifier corresponding to the target interactive live broadcast; the interaction indicator data update module is specifically configured to execute the update of the interaction indicator data according to the preset resource amount when the preset interaction identifier is the target interaction identifier corresponding to the target interactive live broadcast, and the resource type is the target resource type, and the resource consumption information satisfies the preset conditions.
[0090] According to a fourth aspect of an embodiment of the present disclosure, there is provided a data display device, including:
[0091] An interaction indicator data display module is configured to display the interaction indicator data of the at least two first-category user accounts on a target interactive live broadcast page during the target interactive live broadcast of the at least two first-category user accounts;
[0092] Among them, the interaction indicator data of any target user account among the at least two first-category user accounts is obtained based on the preset resource quantity update when the resource type of the virtual resources consumed by the target user account requested by the second-category user account corresponding to the target user account is the target resource type, and the resource consumption information of the second-category user account during the target interactive live broadcast meets the preset conditions, and the preset resource quantity is the unit resource quantity of the virtual resources of the target resource type; the first-category user account is the user account that conducts the live broadcast during the target interactive live broadcast, and the second-category user account is the user account that watches the live broadcast during the target interactive live broadcast.
[0093] In an optional embodiment, the device further comprises:
[0094] A resource assistance information display module, configured to display resource assistance information on the target interactive live broadcast page;
[0095] The resource assistance information is used to prompt the second type of user accounts corresponding to the at least two first type of user accounts to consume virtual resources of the target resource type for the at least two first type of user accounts.
[0096] In an optional embodiment, the target interactive live broadcast page further displays list display control information corresponding to the resource consumption list; the device further includes:
[0097] A resource consumption list display module, configured to execute a list display instruction in response to being triggered based on the list display control information, and display the resource consumption list on the target interactive live broadcast page;
[0098] Among them, the resource consumption list is a list generated based on the second type of user account corresponding to the target user account, which is a list of consumption time of the virtual resources of the target resource type consumed by the target user account during the target interactive live broadcast process.
[0099] In an optional embodiment, when the target interactive live broadcast page is an interactive live broadcast page of a target second-type user account corresponding to the at least two first-type user accounts, the target interactive live broadcast page further displays a resource consumption control corresponding to the target resource type, and the device further includes:
[0100] The resource consumption request sending module is configured to send a resource consumption request to the server when a resource consumption operation on the resource consumption control is detected, and the resource consumption request is used to instruct the server to update the interaction indicator data of the target second-category user account corresponding to the first-category user account.
[0101] In an optional embodiment, the resource consumption information includes the historical consumption times of the virtual resources of the target resource type for the target user account, and the preset condition includes the preset consumption times; the resource consumption information satisfies the preset condition including that the historical consumption times is less than or equal to the preset consumption times.
[0102] In an optional embodiment, the resource consumption information includes a request time corresponding to the resource consumption request, and the preset condition includes a preset consumption time; the resource consumption information satisfies the preset condition including that the request time matches the preset consumption time.
[0103] In an optional embodiment, when the target interactive live broadcast page is an interactive live broadcast page corresponding to the inviting user account among the at least two first-category user accounts, the device further includes:
[0104] A first resource view display module is configured to display a resource view corresponding to at least one preset resource type on a first live broadcast page when a preset operation for preset interactive manipulation information is detected;
[0105] an interactive live broadcast request sending module, configured to execute, in response to an interactive invitation instruction triggered by a resource view corresponding to a target resource type in the at least one preset resource type, send an interactive live broadcast request to a server, wherein the interactive live broadcast request carries a first-category user account identifier corresponding to a third terminal, the target resource type, and a preset interaction identifier, and the third terminal is a terminal of an invited user account among the at least two first-category user accounts;
[0106] an interaction start information receiving module, configured to execute receiving interaction start information sent by the server, wherein the interaction start information is sent by the server when receiving an interaction consent instruction triggered by the third terminal based on interaction invitation information carrying the preset interaction identifier and the target resource type, and creating a virtual interaction space corresponding to the at least two first-category user accounts based on the preset interaction identifier and the target resource type;
[0107] The first page update module is configured to update the first live broadcast page to the target interactive live broadcast page.
[0108] In an optional embodiment, when the target interactive live broadcast page is an interactive live broadcast page corresponding to the invited user account among the at least two first-category user accounts, the device further includes:
[0109] An interactive invitation information receiving module, configured to receive interactive invitation information sent by a server, wherein the interactive invitation information carries the target resource type;
[0110] A second resource view display module is configured to display a resource view corresponding to the target resource type on a second live broadcast page;
[0111] an interaction response instruction sending module, configured to execute, in the case of detecting an interaction confirmation operation for the resource view, sending an interaction response instruction to the server, wherein the interaction response instruction is used to trigger the server to create a virtual interaction space corresponding to the at least two first-category user accounts based on a preset interaction identifier and the target resource type;
[0112] An interaction start information receiving module, configured to receive interaction start information sent by the server;
[0113] The second page update module is configured to update the second live broadcast page to the target interactive live broadcast page.
[0114] According to a fifth aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement a method as described in any one of the first or second aspects above.
[0115] According to the sixth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute any method described in the first aspect or the second aspect of the embodiment of the present disclosure.
[0116] According to a seventh aspect of an embodiment of the present disclosure, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute the method described in any one of the first aspect or the second aspect of the embodiment of the present disclosure.
[0117] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:
[0118] During the target interactive live broadcast process, for a resource consumption request sent by a terminal corresponding to a second type of user account of any first type of user account participating in the target interactive live broadcast, when the resource type of the virtual resource requested to be consumed is the target resource type and the resource consumption information of the second type of user account during the target interactive live broadcast process meets the preset conditions, the interaction indicator data of the corresponding first type of user account is updated in combination with the preset resource amount requested to be consumed. This can ensure the balance of virtual resources consumed by the second type of user account during the target interactive live broadcast process, and further, on the basis of improving the balance of interaction between the anchor and the audience in the live broadcast room, improve the overall interactivity between users in the live broadcast platform, avoid a large amount of invalid push-pull stream processing, reduce the system performance resource consumption of the live broadcast platform, and improve system performance.
[0119] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0120] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0121] Figure 1 is a schematic diagram of an application environment according to an exemplary embodiment;
[0122] Figure 2 is a flow chart of a data processing method according to an exemplary embodiment;
[0123] Figure 3 is a flow chart of a process of establishing interactive live broadcasting according to an exemplary embodiment;
[0124] Figure 4 is a schematic diagram of a first live broadcast page displaying preset interactive control information according to an exemplary embodiment;
[0125] Figure 5 is a schematic diagram of a first live broadcast page showing a resource view corresponding to at least one preset resource type provided according to an exemplary embodiment;
[0126] Figure 6 is a schematic diagram of a second live broadcast page showing a resource view corresponding to a target resource type according to an exemplary embodiment;
[0127] Figure 7 is a schematic diagram of an interactive live broadcast page displayed on a first terminal side according to an exemplary embodiment;
[0128] Figure 8 is a schematic diagram of a target interactive live broadcast page provided according to an exemplary embodiment;
[0129] Fig. 9 According to an exemplary embodiment, a target interactive live broadcast page showing a resource consumption list is provided;
[0130] Fig.10 is a flow chart of another data processing method according to an exemplary embodiment;
[0131] Fig.11 is a block diagram of a data processing device according to an exemplary embodiment;
[0132] Fig.12is a block diagram of a data display device according to an exemplary embodiment;
[0133] Fig.13 is a block diagram of an electronic device for data processing or data display according to an exemplary embodiment;
[0134] Fig.14 It is a block diagram of an electronic device for data processing or data display according to an exemplary embodiment. DETAILED DESCRIPTION
[0135] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0136] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0137] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties.
[0138] See also Figure 1 , Figure 1 is a schematic diagram showing an application environment according to an exemplary embodiment, where the application environment may include a first terminal 100 , a second terminal 200 , a third terminal 300 and a server 400 .
[0139] In an optional embodiment, the second terminal 200 may be a terminal of an inviting user account among at least two first-class user accounts corresponding to the target interactive live broadcast, the third terminal 300 may be a terminal of an invited user account among at least two first-class user accounts corresponding to the target interactive live broadcast, and the first terminal 100 may be a terminal of any second-class user account during the target interactive live broadcast. Specifically, the terminal may include but is not limited to electronic devices such as smart phones, desktop computers, tablet computers, laptop computers, smart speakers, digital assistants, augmented reality (AR) / virtual reality (VR) devices, smart wearable devices, etc., and may also be software running on the above electronic devices, such as applications, etc. Optionally, the operating system running on the electronic device may include but is not limited to Android system, IOS system, Linux, Windows, etc.
[0140] In an optional embodiment, the server 400 may provide background services for the first terminal 100, the second terminal 200, and the third terminal 300. Specifically, the server 400 may be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.
[0141] In addition, it should be noted that Figure 1 What is shown is only one application environment provided by the present disclosure. In actual application, other application environments may also be included, for example, more terminals may be included.
[0142] In the embodiments of the present specification, the first terminal 100, the second terminal 200, the third terminal 300 and the server 400 may be directly or indirectly connected via wired or wireless communication, which is not limited in the present disclosure.
[0143] Figure 2 is a flow chart of a data processing method according to an exemplary embodiment. Figure 2 As shown, the data processing method of this implementation is introduced from the perspective of the interactive operation between the server and the terminal. Specifically, it can include the following steps.
[0144] In step S201, during the process of at least two first-category user accounts performing target interactive live broadcast, the first terminal sends a resource consumption request to the server.
[0145] In a specific embodiment, the first terminal may be a terminal of any second-type user account corresponding to any target user account (any first-type user account) among at least two first-type user accounts. The first-type user account is a user account that broadcasts live during the target interactive live broadcast, and the second-type user account is a user account that watches live during the target interactive live broadcast. Optionally, the resource consumption request may include a resource type and a preset resource amount of the virtual resource requested to be consumed.
[0146] In actual applications, any live broadcaster can initiate an interactive live broadcast through the corresponding live broadcast page, thereby establishing an interactive live broadcast corresponding to at least two broadcasters. Optionally, the above method may also include the step of pre-establishing an interactive live broadcast, such as Figure 3 As shown, Figure 3 The flowchart of a process of establishing an interactive live broadcast is provided according to an exemplary embodiment. Specifically, the following steps may be included:
[0147] In step S301, when the second terminal detects a preset operation for preset interactive manipulation information, the second terminal displays a resource view corresponding to at least one preset resource type on the first live broadcast page;
[0148] In step S303, the second terminal sends an interactive live broadcast request to the server in response to the interactive invitation instruction triggered by the resource view corresponding to the target resource type in at least one preset resource type.
[0149] In step S305, the server sends interaction invitation information to the third terminal based on the first type of user account identifier.
[0150] In step S307, the third terminal displays a resource view corresponding to the target resource type on the second live broadcast page.
[0151] In step S309, when an interactive confirmation operation for the resource view is detected, the third terminal sends an interactive response instruction to the server;
[0152] In step S311, the server creates virtual interaction spaces corresponding to at least two first-category user accounts based on the preset interaction identifier and the target resource type;
[0153] In step S313, the server sends interaction start information to the second terminal and the third terminal.
[0154] In a specific embodiment, the second terminal is a terminal of the inviting user account among the at least two first-category user accounts. The inviting user account may be a first-category user account that initiates the target interactive live broadcast. Specifically, the first live broadcast page may be a live broadcast page corresponding to the inviting user account. Optionally, the live broadcast page may include a separate live broadcast screen of the inviting user account, and may also include live broadcast screens of other first-category user accounts that are in an interactive state such as a microphone connection with the inviting user account.
[0155] In a specific embodiment, the preset interactive control information may be an operation control for initiating a target interactive live broadcast. Optionally, two display styles of preset interactive control information may be set in combination with actual applications. Optionally, the two display styles of preset interactive control information may include preset interactive control information of a first display style and preset interactive control information of a second display style, wherein the preset interactive control information of the first display style may be displayed in a scenario where the invited user account has not performed a target interactive live broadcast, and the preset interactive control information of the second display style may be displayed in a scenario where the invited user account has performed a target interactive live broadcast; the color richness corresponding to the first display style may be greater than the color richness corresponding to the second display style.
[0156] In a specific embodiment, Figure 4 As shown, Figure 4 is a schematic diagram of a first live broadcast page showing preset interactive control information according to an exemplary embodiment. Figure 4 The information corresponding to 401 in a may be preset interactive control information of the first display style. Figure 4 The information corresponding to 402 may be preset interactive control information of the second display style.
[0157] In a specific embodiment, the target interactive live broadcast can be an anchor interactive live broadcast in which the second type of user account assists the first type of user account based on the virtual resources of the target resource type, and updates the interactive indicator data when the resource consumption information of the second type of user account meets the preset conditions. The preset operation can be set in combination with the actual application, such as single-click, double-click, etc. Optionally, at least one preset resource type can be a resource type of virtual resources that can be used in the target interactive live broadcast process pre-configured by the live broadcast platform. Specifically, virtual resources can be set in combination with actual applications, such as virtual items, etc., and accordingly, different virtual items can correspond to different resource types. Optionally, in order to better enhance the interactivity during the target live broadcast interaction process, at least one preset resource type can be screened from multiple resource types based on historical consumption information corresponding to multiple resource types. Accordingly, the above method may also include:
[0158] The server obtains historical consumption information corresponding to various resource types;
[0159] The server determines at least one preset resource type from a plurality of resource types based on the historical consumption information.
[0160] In a specific embodiment, the multiple resource types may be resource types of virtual resources that can be consumed in the live broadcast platform. The above-mentioned historical consumption information represents the consumption corresponding to the virtual resources of the multiple resource types. Optionally, the previously preset number of resource types with larger consumption represented can be used as at least one preset resource type in combination with the historical consumption information. The resource types with consumption greater than or equal to a preset threshold can also be used as at least one preset resource type in combination with the historical consumption information. Optionally, the resource amounts corresponding to different types of virtual resources are often different. Optionally, in the case where at least one preset resource type includes multiple preset resource types, the multiple resource types can be clustered first in combination with the resource amounts, and the resource types that are the same or in the same preset resource amount interval can be clustered into the same group. Then, for each group of resource types, the preset resource types corresponding to the group of resource types can be screened out in combination with the historical consumption information.
[0161] In the above embodiment, historical consumption information corresponding to multiple resource types is combined to screen out resource types that can use virtual resources in the target interactive live broadcast, which can effectively ensure the consumption of virtual resources during the subsequent target interactive live broadcast, and thus better improve the interactivity between the host and the audience during the interactive live broadcast.
[0162] In a specific embodiment, the resource view may be an image of a virtual resource. Optionally, the resource view corresponding to at least one preset resource type may be displayed on the first live broadcast page in a pop-up window or other manner. Optionally, while displaying the resource view corresponding to at least one preset resource type, introduction information of the target interactive live broadcast and a confirmation control for initiating the target interactive live broadcast may also be displayed. In an optional embodiment, Figure 5 As shown, Figure 5 1 is a schematic diagram of a first live broadcast page showing a resource view corresponding to at least one preset resource type according to an exemplary embodiment. The resource view corresponding to at least one preset resource type may include views of three virtual items (beer, balloon, and yacht) corresponding to 501, and kk may be a preset resource unit. The control corresponding to 502 may be a confirmation control for initiating a target interactive live broadcast.
[0163] In an optional embodiment, the host can select the resource video corresponding to the target resource type by clicking on the resource view, and then can trigger the interactive live broadcast request in conjunction with the confirmation control for initiating the target interactive live broadcast. Specifically, the target resource type can be the resource type of the virtual resource used in the target interactive live broadcast process initiated by the inviting user account and set by the inviting user account.
[0164] In a specific embodiment, the interactive live broadcast request may carry the first-category user account identifier, target resource type, and preset interaction identifier corresponding to the third terminal. The third terminal may be the terminal of the invited user account among at least two first-category user accounts; the preset interaction identifier may be used to identify the target interactive live broadcast initiated by the inviting user account. Optionally, the invited user account may be the first-category user account that is currently interacting with the inviting user account by connecting to a microphone, or may be the first-category user account selected by the inviting user account.
[0165] In an optional embodiment, after the second terminal sends an interactive live broadcast request to the server, the method may further include:
[0166] Based on at least one preset resource type, performing resource verification on the target resource type to obtain a first resource verification result;
[0167] Accordingly, the above step S305 may include: when the first resource verification result indicates that the verification is passed, the server sends the interaction invitation information carrying the target resource type to the third terminal based on the first type of user account identifier.
[0168] In a specific embodiment, the target resource type can be searched from at least one preset resource type. Optionally, if the target resource type is found, verification passing can be used as the first resource verification result. Conversely, if the target resource type is not found, verification failure can be used as the first resource verification result. Accordingly, information that the resource verification failed can be fed back to the second terminal.
[0169] In the above embodiment, when an interactive live broadcast request is received, the target resource type set by the inviting user account is first verified in combination with at least one preset resource type, which can effectively control the type of virtual resources participating in the target interactive live broadcast, thereby better improving the interactivity between the host and the audience during the target interactive live broadcast.
[0170] In actual applications, before the server sends the interactive invitation information carrying the target resource type to the third terminal based on the first type of user account identifier, the live broadcast status of the inviting user account (indicating whether the inviting user account is in the live broadcast status) and the target interactive live broadcast status (indicating whether the inviting user account is performing the target interactive live broadcast) can be verified, thereby ensuring the effective start of the target interactive live broadcast.
[0171] In a specific embodiment, when the server receives the interactive live broadcast request, it can send interactive invitation information to the third terminal in combination with the first type of user account identifier of the third terminal. Specifically, the interactive invitation information can carry the target resource type; optionally, the interactive invitation information (i.e., a signaling) can be pushed to the third terminal via a long link.
[0172] Optionally, the third terminal may display a resource view corresponding to the target resource type on the second live broadcast page. Specifically, the second live broadcast page may be a live broadcast page corresponding to the invited user account, and optionally, the live broadcast page may include a separate live broadcast screen of the invited user account, and may also include live broadcast screens of other first-category user accounts that are in an interactive state such as a microphone connection with the invited user account.
[0173] In an optional embodiment, the resource view corresponding to the target resource type can be displayed on the second live page by means of a pop-up window or the like. Optionally, while displaying the resource view corresponding to the target resource type, relevant invitation introduction information and controls for accepting and rejecting invitations can also be displayed. Figure 5 In the corresponding embodiment, it is assumed that the inviting user account selects balloon as the target resource type; Figure 6 As shown, Figure 6 It is a schematic diagram of a second live broadcast page showing a resource view corresponding to a target resource type according to an exemplary embodiment. Among them, the balloon view corresponding to 601 can be a resource view corresponding to the target resource type.
[0174] In actual applications, after receiving the interactive response instruction sent by the third terminal, the server can verify the live broadcast status of the invited user account (indicating whether the inviting user account is in the live broadcast status) and the target interactive live broadcast status (indicating whether the inviting user account is performing the target interactive live broadcast), thereby ensuring the effective start of the target interactive live broadcast.
[0175] In an optional embodiment, after the second terminal sends an interactive live broadcast request to the server, the method may further include:
[0176] The server stores the target resource type and the preset response time information in a preset cache based on the preset interaction identifier.
[0177] In a specific embodiment, the preset response time information may be a preset upper limit of the response time of the invited user account. The server may store the target resource type and the preset response time information in a preset cache with the preset interaction identifier as the key and the target resource type and the preset response time information as the value. Optionally, in the process of storing the target resource type and the preset response time information, a setNx (set if not exists, set only when it does not exist) instruction may be combined.
[0178] In the above embodiment, the target resource type and preset response time information are stored in combination with a preset interaction identifier that can identify the target interactive live broadcast initiated by the inviting user account. This can avoid the concurrency of both hosts inviting each other at the same time, and the problem that the cached information cannot be deleted due to the invited user account timing out and not operating. This effectively ensures the timeliness of the target interactive live broadcast operation while improving the stability of the system.
[0179] In an optional embodiment, in combination Figure 6 In the corresponding embodiment, if the invited anchor performs an interactive confirmation operation by clicking the "Confirm" control, the third terminal can send an interactive response instruction to the server. Correspondingly, the service can create at least two virtual interactive spaces corresponding to the first type of user accounts based on the preset interactive identifier and the target resource type, and send interactive start information to the second terminal and the third terminal. Optionally, the interactive start information (i.e., a signaling) can be pushed to the second terminal and the third terminal via a long link. Optionally, when the target interactive live broadcast is turned on, the preset start animation corresponding to the target interactive live broadcast can be displayed to better render the atmosphere of the target interactive live broadcast.
[0180] Correspondingly, the second terminal may update the first live broadcast page to the interactive live broadcast page corresponding to the above virtual interactive space; the third terminal may also update the second live broadcast page to the interactive live broadcast page corresponding to the above virtual interactive space.
[0181] In an optional embodiment, if the invited host rejects the invitation, the server can delete the cache of the invitation restart information (based on the preset interaction identifier, the stored target resource type and the preset response time information), thereby ensuring that the hosts of both parties can continue to initiate the next target interactive live broadcast. Optionally, if the invited host rejects the invitation, the server can feedback the other party's rejection information to the second terminal, and optionally, it can push the other party's rejection information to the second terminal in combination with the long link.
[0182] In the above embodiment, in combination with the preset operation for the preset interactive control information, the display of the resource view corresponding to at least one preset resource type is triggered, so that the inviter of the target live interaction can initiate an interactive live request based on the resource view corresponding to the target resource type in at least one preset resource type, and when the invited party performs an interactive confirmation operation on the resource view of the target resource type corresponding to the target live interaction, the target interactive live broadcast of the specified resource type is started, which effectively ensures the interactive balance in the subsequent live broadcast process, avoids a large amount of invalid push-pull stream processing, reduces the system performance resource consumption of the live broadcast platform, and improves system performance.
[0183] In an optional embodiment, after the third terminal sends the interactive response instruction to the server, the method may further include:
[0184] The server obtains preset response time information from a preset cache based on the preset interaction identifier;
[0185] The server performs a response time verification based on the preset response time information and obtains a response time verification result;
[0186] Accordingly, the above step S311 may include, when the response time validity check result indicates that the response has not timed out, creating virtual interaction spaces corresponding to at least two first-category user accounts based on a preset interaction identifier and a target resource type.
[0187] In an optional embodiment, since delays may occur during the interactive invitation process, a preset supplementary time may be combined with the response time verification process based on the preset response time information (the preset supplementary time may be set in combination with the system delay in actual applications); optionally, the server may obtain the time difference between sending the interactive invitation information and receiving the interactive response instruction, and subtract the preset supplementary time from the time difference; as the invitation interaction time information, then, the invitation interaction time information and the preset response time information may be compared; if the invitation interaction time information is less than or equal to the preset response time information, a response time verification result of a non-timed-out response may be obtained; conversely, if the invitation interaction time information is greater than the preset response time information, a response time verification result of a timed-out response may be obtained.
[0188] In an optional embodiment, if the response time verification result indicates a timeout response, the server can delete the cache of the invitation restart information (based on the preset interaction identifier, the stored target resource type and the preset response time information), thereby ensuring that the hosts of both parties can continue to initiate the next target interactive live broadcast. Optionally, if the invited host fails to respond within the timeout period, the server can feedback the other party's timeout and non-response information to the second terminal. Optionally, the timeout and non-response information can be pushed to the second terminal in combination with the long link.
[0189] In the above embodiment, when the server receives an interactive response instruction, it performs a response time verification based on the preset response time information corresponding to the target interactive live broadcast stored in the preset cache. This can avoid the problem of cache information being unable to be deleted due to inaction due to the invited user account timing out, effectively ensuring the timeliness of the target interactive live broadcast operation while improving the stability of the system.
[0190] In an optional embodiment, in order to prevent the target resource type set by the inviting user account from being tampered with during the interactive invitation process, the interactive response instruction carries the interactive resource type corresponding to the third terminal (the interactive resource type corresponding to the third terminal may be the resource type confirmed by the third terminal), and the method may further include:
[0191] The server obtains the target resource type from the preset cache based on the preset interaction identifier;
[0192] The server performs resource verification on the interactive resource type based on the target resource type to obtain a second resource verification result;
[0193] Accordingly, the above step S311 may include, when the second resource verification result indicates that the verification is passed, creating virtual interaction spaces corresponding to at least two first-category user accounts based on the preset interaction identifier and the target resource type.
[0194] In a specific embodiment, the target resource type and the interaction resource type can be compared. If the interaction resource type is consistent with the target resource type, a second resource verification result of passing the verification can be obtained; if the interaction resource type is inconsistent with the target resource type, a second resource verification result of failing the verification can be obtained.
[0195] In the above embodiment, when the server receives the interactive response instruction, it verifies the resource type during the target interactive live broadcast again in combination with the target resource type set by the inviting user account stored in the preset cache, which can effectively prevent the virtual resource type participating in the target interactive live broadcast from being tampered with, thereby better improving the interactivity between the host and the audience during the target interactive live broadcast.
[0196] In a specific embodiment, during the target interactive live broadcast process between at least two first-type user accounts, the first terminal may display an interactive live broadcast page, which may display a general resource consumption control. Optionally, resource views of multiple resource types may be viewed through the general resource consumption control, and the resource view corresponding to the target resource type in the resource views of the multiple resource types may be combined to trigger the above resource consumption request. Optionally, the interactive live broadcast page may also display a resource consumption control corresponding to the target resource type. Optionally, the user may directly trigger the above resource consumption request in combination with the resource consumption control. Accordingly, the above method may also include:
[0197] When a resource consumption operation on a resource consumption control is detected, a resource consumption request is sent to a server.
[0198] In an optional embodiment, the resource consumption control may be a control for triggering a resource consumption request. Optionally, the resource consumption operation may be pre-set in combination with actual applications. Optionally, the resource consumption operation may include click, double-click, and other operations. Figure 7 As shown, Figure 7 It is a schematic diagram of an interactive live broadcast page displayed on a first terminal side according to an exemplary embodiment. Among them, the information corresponding to 701 can be a resource consumption control corresponding to the target resource type.
[0199] In the above embodiment, by directly displaying the resource consumption controls corresponding to the virtual resources of the target resource type required to be used during the target interactive live broadcast process on the interactive live broadcast page, the convenience and efficiency of the resource consumption operation can be greatly improved.
[0200] In step S203, when the resource type is the target resource type and the resource consumption information of the second type of user account during the target interactive live broadcast meets the preset conditions, the server updates the interaction indicator data of the target user account according to the preset resource amount.
[0201] In a specific embodiment, the resource consumption information may represent the consumption of virtual resources consumed by the second type of user account for the target user account. The preset condition may be a pre-set condition for limiting the second type of user account from consuming virtual resources for the target user account.
[0202] In an optional embodiment, the resource consumption information may include the historical consumption times of the virtual resources of the target resource type for the target user account, and the preset condition includes the preset consumption times; accordingly, when the resource type is the target resource type and the resource consumption information of the second type of user account during the target interactive live broadcast meets the preset condition, updating the interaction indicator data of the target user account according to the preset resource amount may include:
[0203] When the resource type is the target resource type and the historical consumption times are less than or equal to the preset consumption times, the interaction indicator data of the target user account is updated according to the preset resource amount.
[0204] In a specific embodiment, when the historical consumption times are less than or equal to the preset consumption times, it can be determined that the resource consumption information meets the preset conditions. Conversely, when the historical consumption times are greater than the preset consumption times, it can be determined that the resource consumption information does not meet the preset conditions.
[0205] In the above embodiment, by limiting the number of times that the second type of user account consumes virtual resources of the target resource type for the target user account during the target interactive live broadcast, the balance of virtual resources consumed by the second type of user account during the live broadcast can be effectively guaranteed, thereby improving the overall interactivity between users in the live broadcast platform on the basis of improving the balance of interaction between the anchor and the audience in the live broadcast room.
[0206] In an optional embodiment, the resource consumption information may include a request time corresponding to the resource consumption request, and the preset condition may include a preset consumption time; accordingly, when the resource type is a target resource type and the resource consumption information of the second type of user account during the target interactive live broadcast meets the preset condition, updating the interaction indicator data of the target user account according to the preset resource amount may include:
[0207] When the resource type is the target resource type and the request time matches the preset consumption time, the interaction indicator data of the target user account is updated according to the preset resource amount.
[0208] In a specific embodiment, the preset consumption time may be a preset time point, and correspondingly, the request time matches the preset consumption time may be that the request time is consistent with the preset consumption time, and correspondingly, when the request time is consistent with the preset consumption time, it can be determined that the resource consumption information meets the preset condition. Optionally, the preset consumption time may be a preset time period, and correspondingly, the request time matches the preset consumption time may be that the request time is within the preset consumption time, and correspondingly, when the request time is within the preset consumption time, it can be determined that the resource consumption information meets the preset condition.
[0209] In the above embodiment, by limiting the time during which the second type of user account consumes virtual resources of the target resource type for the target user account during the target interactive live broadcast, the balance of virtual resources consumed by the second type of user account during the live broadcast can be effectively guaranteed, thereby improving the overall interactivity between users in the live broadcast platform on the basis of improving the balance of interaction between the anchor and the audience in the live broadcast room.
[0210] In a specific embodiment, the resource consumption request further includes a preset interaction identifier corresponding to the target interactive live broadcast; when the resource type is the target resource type and the resource consumption information of the second type of user account during the target interactive live broadcast meets the preset conditions, updating the interaction indicator data of the target user account according to the preset resource amount may include:
[0211] When the preset interaction identifier is the target interaction identifier corresponding to the target interactive live broadcast, the resource type is the target resource type, and the resource consumption information meets the preset conditions, the server updates the interaction indicator data according to the preset resource amount.
[0212] In a specific embodiment, the preset resource amount may be the unit resource amount of the virtual resources of the target resource type, and the interaction indicator data may be the number of viewers who consume the virtual resources of the target resource type for the first type of user account during the target interactive live broadcast. Optionally, each preset resource amount may correspond to a count, and accordingly, the interaction indicator data may be increased by one to update the interaction indicator data.
[0213] In an optional embodiment, when the audience calls the resource interface on the server side and requests to consume virtual resources for the anchor, the resource consumption request can be stored in the message queue. Correspondingly, the preset indicator processing component on the server side can combine the resource consumption request from the message queue to perform interactive indicator data update processing. Optionally, in a scenario where the live broadcast platform has multiple interactive live broadcasts, for example, the live broadcast platform includes preset interactive live broadcasts (during the preset interactive live broadcast process, an unlimited number of interactive indicator data updates can be performed for resource consumption requests corresponding to any resource type) and target interactive live broadcasts, optionally, the preset indicator processing component can call the service component corresponding to the target interactive live broadcast to determine whether the interactive live broadcast is the target interactive live broadcast. Optionally, if so, the preset indicator processing component will hand over the resource consumption request to the target indicator processing component corresponding to the target interactive live broadcast for interactive indicator data update processing. If not, it can be directly updated according to the interactive indicator data update rules corresponding to the preset interactive live broadcast.
[0214] In an optional embodiment, if the resource type is not the target resource type, or the resource consumption information of the second type of user account during the target interactive live broadcast does not meet the preset conditions, the interactive indicator data is not updated.
[0215] In the above embodiment, when the preset interaction identifier is the target interaction identifier corresponding to the target interactive live broadcast, the interaction indicator data is performed in combination with the interactive live broadcast update rule corresponding to the target interactive live broadcast, so that the target interactive live broadcast can be effectively identified among multiple interactive live broadcasts, and then the effectiveness of the interaction indicator data of the target interactive live broadcast can be improved on the basis of improving the diversity and richness of the interactive live broadcasts within the platform.
[0216] In step S205, the server sends the interaction indicator data to the target terminal.
[0217] In a specific embodiment, the target terminal may include at least two terminals of the first type of user accounts and a terminal of the second type of user account in the target interactive live broadcast.
[0218] In step S207, the target terminal updates the interaction indicator data of at least two first-category user accounts displayed on the target interactive live broadcast page based on the interaction indicator data of the target user account.
[0219] In a specific embodiment, Figure 8 As shown, Figure 8 is a schematic diagram of a target interactive live broadcast page provided according to an exemplary embodiment. Figure 8 a is a schematic diagram of a target interactive live broadcast page on the first terminal side, and the information corresponding to 801 may be interaction indicator data of two first-category user accounts; Figure 8 b is a schematic diagram of a target interactive live broadcast page on the second terminal side, Figure 8 c is a schematic diagram of the target interactive live broadcast page on the third terminal side.
[0220] In an optional embodiment, the above method may further include:
[0221] The target terminal displays resource support information on the target interactive live broadcast page;
[0222] In a specific embodiment, the resource assistance information is used to prompt the second type of user accounts corresponding to at least two first type of user accounts to consume virtual resources of the target resource type for the at least two first type of user accounts. Optionally, the resource assistance information can be displayed for a preset time starting from a preset time, for example, starting to display the preset time when the preset start animation display ends (preset time). Optionally, the preset time and preset duration can be set in combination with the actual application. Optionally, in combination with Figure 8 As shown, the information corresponding to 802 may be resource assistance information.
[0223] In the above embodiment, by displaying the resource support information, the audience can be helped to understand the resource consumption mode for supporting the interactive live broadcast of the anchor, thereby improving the interactivity during the interactive live broadcast.
[0224] In an optional embodiment, the target interactive live broadcast page further displays list display control information corresponding to the resource consumption list; accordingly, the method may further include:
[0225] The target terminal displays the resource consumption list on the target interactive live broadcast page in response to the list display instruction triggered based on the list display control information;
[0226] In a specific embodiment, the resource consumption list may be a list generated based on the second type of user account corresponding to the target user account, and the consumption time of the virtual resources of the target resource type consumed by the target user account during the target interactive live broadcast. Figure 7 As shown, the information corresponding to 702 may be list display control information. Optionally, the list display instruction may be triggered by clicking on the list display control information. Fig. 9 As shown, Fig. 9 A target interactive live broadcast page showing a resource consumption list is provided according to an exemplary embodiment.
[0227] In the above embodiment, the resource consumption list generated by combining the consumption time of the second type of user account for the target user account consuming the virtual resources of the target resource type during the target interactive live broadcast can effectively avoid the imbalance of the host's attention to the audience in the live broadcast room, and thus can improve the overall interactivity between users in the live broadcast platform on the basis of improving the balance of interaction between the host and the audience.
[0228] It can be seen from the technical solutions provided in the above embodiments of this specification that, during the target interactive live broadcast process, this specification, for a resource consumption request sent by a terminal corresponding to a second type of user account for any first type of user account participating in the target interactive live broadcast, when the resource type of the virtual resource requested to be consumed is the target resource type and the resource consumption information of the second type of user account during the target interactive live broadcast process meets the preset conditions, the interaction indicator data of the corresponding first type of user account is updated in combination with the preset resource amount requested to be consumed. This can ensure the balance of virtual resources consumed by the second type of user account during the target interactive live broadcast process, and further, on the basis of improving the balance of interaction between the anchor and the audience in the live broadcast room, improve the overall interactivity between users in the live broadcast platform, avoid a large amount of invalid push-pull stream processing, reduce the system performance resource consumption of the live broadcast platform, and improve system performance.
[0229] The following describes an embodiment of a data processing method of the present application with a server as the execution subject. Fig.10 As shown, the following steps may be included:
[0230] In step S1010, during the process of at least two first-category user accounts performing target interactive live broadcasting, a resource consumption request sent by a first terminal is received, the first terminal is a terminal of any second-category user account corresponding to any target user account of the at least two first-category user accounts, the resource consumption request includes a resource type and a preset resource amount of a virtual resource requested to be consumed, the first-category user account is a user account performing live broadcasting during the target interactive live broadcasting, and the second-category user account is a user account watching live broadcasting during the target interactive live broadcasting;
[0231] In step S1020, when the resource type is the target resource type and the resource consumption information of the second type of user account during the target interactive live broadcast meets the preset conditions, the interactive indicator data of the target user account is updated according to the preset resource amount;
[0232] In step S1030, the interaction indicator data is sent to the target terminal, which includes at least two terminals of the first type of user accounts and a terminal of the second type of user account in the target interactive live broadcast; the interaction indicator data is used to display the interactive live broadcast page corresponding to the target terminal.
[0233] In an optional embodiment, the above method further includes:
[0234] receiving an interactive live broadcast request sent by a second terminal, where the second terminal is a terminal of an inviting user account among at least two first-category user accounts, and the interactive live broadcast request carries a first-category user account identifier, a target resource type, and a preset interaction identifier corresponding to a third terminal, and the third terminal is a terminal of an invited user account among at least two first-category user accounts;
[0235] Sending an interaction invitation message to a third terminal based on the first type of user account identifier, where the interaction invitation message carries a target resource type;
[0236] receiving an interactive response instruction triggered by the third terminal based on the interactive invitation information;
[0237] Based on the preset interaction identifier and the target resource type, create a virtual interaction space corresponding to at least two first-category user accounts;
[0238] Send interaction start information to the second terminal and the third terminal.
[0239] In an optional embodiment, after receiving the interactive live broadcast request sent by the second terminal, the method further includes:
[0240] Based on at least one preset resource type, performing resource verification on the target resource type to obtain a first resource verification result;
[0241] When the first resource verification result indicates that the verification is passed, a step of sending an interactive invitation message carrying the target resource type to the third terminal based on the first type of user account identifier is performed.
[0242] In an optional embodiment, the above method further includes:
[0243] Obtaining historical consumption information corresponding to multiple resource types, where the historical consumption information represents consumption amounts corresponding to virtual resources of the multiple resource types;
[0244] Based on the historical consumption information, at least one preset resource type is determined from a plurality of resource types.
[0245] In an optional embodiment, after receiving the interactive live broadcast request sent by the second terminal, the method further includes:
[0246] Based on the preset interaction identifier, the target resource type and the preset response time information are stored in the preset cache.
[0247] In an optional embodiment, after receiving the interaction response instruction triggered by the third terminal based on the interaction invitation information, the method further includes:
[0248] Based on the preset interaction identifier, obtaining preset response time information from the preset cache;
[0249] Perform response time verification based on preset response time information to obtain a response time verification result;
[0250] When the response time validity check result indicates that the response has not timed out, a step of creating virtual interaction spaces corresponding to at least two first-category user accounts based on a preset interaction identifier and a target resource type is performed.
[0251] In an optional embodiment, the interaction response instruction carries an interaction resource type corresponding to the third terminal, and the method further includes:
[0252] Based on the preset interaction identifier, obtain the target resource type from the preset cache;
[0253] Perform resource verification on the interactive resource type based on the target resource type to obtain a second resource verification result;
[0254] When the second resource verification result indicates that the verification is passed, a step of creating virtual interaction spaces corresponding to at least two first-category user accounts based on the preset interaction identifier and the target resource type is performed.
[0255] In an optional embodiment, the resource consumption information includes the historical consumption times of the virtual resources of the target resource type for the target user account, and the preset condition includes the preset consumption times; when the resource type is the target resource type and the resource consumption information of the second type of user account during the target interactive live broadcast meets the preset condition, updating the interactive indicator data of the target user account according to the preset resource amount includes:
[0256] When the resource type is the target resource type and the historical consumption times are less than or equal to the preset consumption times, the interaction indicator data of the target user account is updated according to the preset resource amount.
[0257] In an optional embodiment, the resource consumption information includes a request time corresponding to the resource consumption request, and the preset condition includes a preset consumption time; when the resource type is a target resource type, and the resource consumption information of the second type of user account during the target interactive live broadcast meets the preset condition, updating the interactive indicator data of the target user account according to the preset resource amount includes:
[0258] When the resource type is the target resource type and the request time matches the preset consumption time, the interaction indicator data of the target user account is updated according to the preset resource amount.
[0259] In an optional embodiment, the resource consumption request further includes a preset interaction identifier corresponding to the target interactive live broadcast; when the resource type is the target resource type and the resource consumption information of the second type of user account during the target interactive live broadcast meets the preset conditions, updating the interaction indicator data of the target user account according to the preset resource amount includes:
[0260] When the preset interaction identifier is the target interaction identifier corresponding to the target interactive live broadcast, the resource type is the target resource type, and the resource consumption information meets the preset conditions, the interaction indicator data is updated according to the preset resource amount.
[0261] Regarding the method in the above embodiment, the specific manner of each execution step has been described in detail in the interactive side embodiment of the method, and will not be elaborated here.
[0262] The following describes an embodiment of a data display method of the present application using a terminal as an execution subject, which may include the following steps:
[0263] During the process of at least two first-category user accounts performing a target interactive live broadcast, displaying the interaction indicator data of at least two first-category user accounts on the target interactive live broadcast page;
[0264] Among them, the interaction indicator data of any target user account among at least two first-category user accounts is updated based on the preset resource quantity, when the resource type of the virtual resources consumed by the target user account requested by the second-category user account corresponding to the target user account is the target resource type, and the resource consumption information of the second-category user account during the target interactive live broadcast meets the preset conditions, and the preset resource quantity is the unit resource quantity of the virtual resources of the target resource type; the first-category user account is the user account that conducts the live broadcast during the target interactive live broadcast, and the second-category user account is the user account that watches the live broadcast during the target interactive live broadcast.
[0265] In an optional embodiment, the above method further includes:
[0266] Display resource support information on the target interactive live broadcast page;
[0267] The resource assistance information is used to prompt the second-type user accounts corresponding to at least two first-type user accounts to consume virtual resources of the target resource type for the at least two first-type user accounts.
[0268] In an optional embodiment, the target interactive live broadcast page also displays list display control information corresponding to the resource consumption list; the above method also includes:
[0269] In response to a list display instruction triggered based on the list display control information, display a resource consumption list on a target interactive live broadcast page;
[0270] Among them, the resource consumption list is a list generated based on the second type of user account corresponding to the target user account, which is a list of consumption time of virtual resources of the target resource type consumed by the target user account during the target interactive live broadcast process.
[0271] In an optional embodiment, when the target interactive live broadcast page is an interactive live broadcast page of a target second-type user account corresponding to at least two first-type user accounts (any second-type user account corresponding to at least two first-type user accounts), the target interactive live broadcast page also displays a resource consumption control corresponding to the target resource type, and the above method further includes:
[0272] When a resource consumption operation on a resource consumption control is detected, a resource consumption request is sent to the server, where the resource consumption request is used to instruct the server to update the interaction indicator data of the target second-category user account corresponding to the first-category user account.
[0273] In an optional embodiment, the resource consumption information includes the historical consumption times of the virtual resources of the target resource type for the target user account, and the preset condition includes the preset consumption times; the resource consumption information satisfies the preset condition including the historical consumption times being less than or equal to the preset consumption times.
[0274] In an optional embodiment, the resource consumption information includes a request time corresponding to the resource consumption request, and the preset condition includes a preset consumption time; the resource consumption information satisfies the preset condition including that the request time matches the preset consumption time.
[0275] In an optional embodiment, when the target interactive live broadcast page is an interactive live broadcast page corresponding to the inviting user account among at least two first-category user accounts, the method further includes:
[0276] When a preset operation for preset interactive manipulation information is detected, displaying a resource view corresponding to at least one preset resource type on the first live broadcast page;
[0277] In response to an interactive invitation instruction triggered by a resource view corresponding to a target resource type in at least one preset resource type, an interactive live broadcast request is sent to a server, where the interactive live broadcast request carries a first-category user account identifier corresponding to a third terminal, a target resource type, and a preset interactive identifier, and the third terminal is a terminal of an invited user account among at least two first-category user accounts;
[0278] Receiving interaction start information sent by the server, where the interaction start information is sent by the server after receiving an interaction consent instruction triggered by the third terminal based on interaction invitation information carrying a preset interaction identifier and a target resource type, and creating at least two virtual interaction spaces corresponding to the first type of user accounts based on the preset interaction identifier and the target resource type;
[0279] Update the first live broadcast page to the target interactive live broadcast page.
[0280] In an optional embodiment, when the target interactive live broadcast page is an interactive live broadcast page corresponding to the invited user account among at least two first-category user accounts, the method further includes:
[0281] Receiving the interactive invitation information sent by the server, where the interactive invitation information carries the target resource type;
[0282] Display the resource view corresponding to the target resource type on the second live page;
[0283] When an interactive confirmation operation for a resource view is detected, an interactive response instruction is sent to the server, where the interactive response instruction is used to trigger the server to create at least two virtual interactive spaces corresponding to the first type of user accounts based on a preset interactive identifier and a target resource type;
[0284] Receive the interaction start information sent by the server;
[0285] Update the second live broadcast page to the target interactive live broadcast page.
[0286] Regarding the method in the above embodiment, the specific manner of each execution step has been described in detail in the interactive side embodiment of the method, and will not be elaborated here.
[0287] Fig.11 is a block diagram of another data processing device according to an exemplary embodiment. Fig.11 , the device comprises:
[0288] The resource consumption request receiving module 1110 is configured to receive a resource consumption request sent by a first terminal during a target interactive live broadcast between at least two first-type user accounts, where the first terminal is a terminal of any second-type user account corresponding to any target user account among the at least two first-type user accounts, and the resource consumption request includes a resource type and a preset resource amount of a virtual resource requested to be consumed;
[0289] The interaction indicator data updating module 1120 is configured to execute, when the resource type is the target resource type and the second type of user account has not consumed the virtual resources of the target resource type for the target user account during the target interactive live broadcast, updating the interaction indicator data of the target user account according to a preset resource amount;
[0290] The interaction indicator data sending module 1130 is configured to execute sending of the interaction indicator data to the target terminal, which includes at least two terminals of the first type of user accounts and the terminal of the second type of user accounts in the target interactive live broadcast; the interaction indicator data is used to be displayed on the interactive live broadcast page corresponding to the target terminal.
[0291] In an optional embodiment, the above device further includes:
[0292] an interactive live broadcast request receiving module, configured to execute receiving an interactive live broadcast request sent by a second terminal, the second terminal being a terminal of an inviting user account among at least two first-category user accounts, the interactive live broadcast request carrying a first-category user account identifier, a target resource type, and a preset interactive identifier corresponding to a third terminal, and the third terminal being a terminal of an invited user account among at least two first-category user accounts;
[0293] An interactive invitation information sending module is configured to send interactive invitation information to a third terminal based on the first type of user account identifier, where the interactive invitation information carries a target resource type;
[0294] An interactive response instruction receiving module, configured to execute and receive an interactive response instruction triggered by a third terminal based on the interactive invitation information;
[0295] A virtual interaction space creation module is configured to create virtual interaction spaces corresponding to at least two first-category user accounts based on a preset interaction identifier and a target resource type;
[0296] The interaction start information sending module is configured to send the interaction start information to the second terminal and the third terminal.
[0297] In an optional embodiment, the above device further includes:
[0298] A first resource verification module is configured to perform resource verification on a target resource type based on at least one preset resource type to obtain a first resource verification result;
[0299] The interaction invitation information sending module is further configured to send the interaction invitation information carrying the target resource type to the third terminal based on the first type of user account identifier when the first resource verification result indicates that the verification is passed.
[0300] In an optional embodiment, the above device further includes:
[0301] A historical consumption information acquisition module is configured to acquire historical consumption information corresponding to multiple resource types, where the historical consumption information represents consumption amounts corresponding to virtual resources of the multiple resource types;
[0302] The preset resource type determination module is configured to determine at least one preset resource type from a plurality of resource types based on historical consumption information.
[0303] In an optional embodiment, the above device further includes:
[0304] The information storage module is configured to store the target resource type and preset response time information into a preset cache based on a preset interaction identifier.
[0305] In an optional embodiment, the above device further includes:
[0306] A preset response time information acquisition module is configured to acquire preset response time information from a preset cache based on a preset interaction identifier;
[0307] A response time validation module is configured to perform a response time validation based on preset response time information to obtain a response time validation result;
[0308] The virtual interaction space creation module is further configured to create virtual interaction spaces corresponding to at least two first-category user accounts based on a preset interaction identifier and a target resource type when the response time validity check result indicates that the response has not timed out.
[0309] In an optional embodiment, the interaction response instruction carries the interaction resource type corresponding to the third terminal, and the above-mentioned device further includes:
[0310] A target resource type acquisition module is configured to acquire the target resource type from a preset cache based on a preset interaction identifier;
[0311] A second resource verification module is configured to perform resource verification on the interactive resource type based on the target resource type to obtain a second resource verification result;
[0312] The virtual interaction space creation module is further configured to create virtual interaction spaces corresponding to at least two first-category user accounts based on a preset interaction identifier and a target resource type when the second resource verification result indicates that the verification is passed.
[0313] In an optional embodiment, the resource consumption information includes the historical consumption times of virtual resources of the target resource type for the target user account, and the preset conditions include the preset consumption times; the interaction indicator data update module 1120 is specifically configured to execute, when the resource type is the target resource type and the historical consumption times are less than or equal to the preset consumption times, to update the interaction indicator data of the target user account according to the preset resource amount.
[0314] In an optional embodiment, the resource consumption information includes the request time corresponding to the resource consumption request, and the preset condition includes the preset consumption time; the interaction indicator data update module 1120 is specifically configured to execute, when the resource type is the target resource type and the request time matches the preset consumption time, to update the interaction indicator data of the target user account according to the preset resource amount.
[0315] In an optional embodiment, the resource consumption request also includes a preset interaction identifier corresponding to the target interactive live broadcast; the interaction indicator data update module 1120 is specifically configured to execute the update of the interaction indicator data according to the preset resource amount when the preset interaction identifier is the target interaction identifier corresponding to the target interactive live broadcast, and the resource type is the target resource type, and the resource consumption information meets the preset conditions.
[0316] Fig.12 is a block diagram of a data display device according to an exemplary embodiment. Fig.12 , the device comprises:
[0317] The interaction indicator data display module 1210 is configured to display the interaction indicator data of at least two first-category user accounts on the target interactive live broadcast page during the process of at least two first-category user accounts performing the target interactive live broadcast;
[0318] Among them, the interaction indicator data of any target user account among at least two first-category user accounts is updated based on the preset resource quantity, when the resource type of the virtual resources consumed by the target user account requested by the second-category user account corresponding to the target user account is the target resource type, and the resource consumption information of the second-category user account during the target interactive live broadcast meets the preset conditions, and the preset resource quantity is the unit resource quantity of the virtual resources of the target resource type; the first-category user account is the user account that conducts the live broadcast during the target interactive live broadcast, and the second-category user account is the user account that watches the live broadcast during the target interactive live broadcast.
[0319] In an optional embodiment, the above device further includes:
[0320] A resource assistance information display module is configured to display resource assistance information on a target interactive live broadcast page;
[0321] The resource assistance information is used to prompt the second-type user accounts corresponding to at least two first-type user accounts to consume virtual resources of the target resource type for the at least two first-type user accounts.
[0322] In an optional embodiment, the target interactive live broadcast page also displays list display control information corresponding to the resource consumption list; the above-mentioned device also includes:
[0323] A resource consumption list display module is configured to execute a list display instruction in response to being triggered based on the list display control information, and display the resource consumption list on the target interactive live broadcast page;
[0324] Among them, the resource consumption list is a list generated based on the second type of user account corresponding to the target user account, which is a list of consumption time of virtual resources of the target resource type consumed by the target user account during the target interactive live broadcast process.
[0325] In an optional embodiment, when the target interactive live broadcast page is an interactive live broadcast page of a target second type of user account corresponding to at least two first type of user accounts, the target interactive live broadcast page also displays a resource consumption control corresponding to the target resource type, and the above-mentioned device further includes:
[0326] The resource consumption request sending module is configured to send a resource consumption request to the server when a resource consumption operation on a resource consumption control is detected. The resource consumption request is used to instruct the server to update the interaction indicator data of the target second-category user account corresponding to the first-category user account.
[0327] In an optional embodiment, the resource consumption information includes the historical consumption times of the virtual resources of the target resource type for the target user account, and the preset condition includes the preset consumption times; the resource consumption information satisfies the preset condition including the historical consumption times being less than or equal to the preset consumption times.
[0328] In an optional embodiment, the resource consumption information includes a request time corresponding to the resource consumption request, and the preset condition includes a preset consumption time; the resource consumption information satisfies the preset condition including that the request time matches the preset consumption time.
[0329] In an optional embodiment, when the target interactive live broadcast page is an interactive live broadcast page corresponding to the inviting user account among the at least two first-category user accounts, the apparatus further includes:
[0330] A first resource view display module is configured to display a resource view corresponding to at least one preset resource type on a first live broadcast page when a preset operation for preset interactive manipulation information is detected;
[0331] an interactive live broadcast request sending module, configured to execute an interactive invitation instruction triggered by a resource view corresponding to a target resource type in at least one preset resource type, and send an interactive live broadcast request to a server, wherein the interactive live broadcast request carries a first-category user account identifier corresponding to a third terminal, a target resource type, and a preset interactive identifier, and the third terminal is a terminal of an invited user account among at least two first-category user accounts;
[0332] an interaction start information receiving module, configured to execute receiving interaction start information sent by the server, wherein the interaction start information is sent by the server when receiving an interaction consent instruction triggered by the third terminal based on interaction invitation information carrying a preset interaction identifier and a target resource type, and creating at least two virtual interaction spaces corresponding to the first type of user accounts based on the preset interaction identifier and the target resource type;
[0333] The first page update module is configured to update the first live broadcast page to a target interactive live broadcast page.
[0334] In an optional embodiment, when the target interactive live broadcast page is an interactive live broadcast page corresponding to the invited user account among at least two first-category user accounts, the above-mentioned apparatus further includes:
[0335] An interactive invitation information receiving module is configured to receive interactive invitation information sent by a server, where the interactive invitation information carries a target resource type;
[0336] A second resource view display module is configured to display a resource view corresponding to the target resource type on the second live broadcast page;
[0337] An interactive response instruction sending module is configured to send an interactive response instruction to the server when an interactive confirmation operation on the resource view is detected, wherein the interactive response instruction is used to trigger the server to create virtual interactive spaces corresponding to at least two first-category user accounts based on a preset interactive identifier and a target resource type;
[0338] An interaction start information receiving module is configured to receive interaction start information sent by a server;
[0339] The second page update module is configured to update the second live broadcast page to a target interactive live broadcast page.
[0340] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0341] Fig.13 is a block diagram of an electronic device for data processing or data display according to an exemplary embodiment. The electronic device may be a terminal, and its internal structure diagram may be as shown in FIG. Fig.13 As shown. The electronic device includes a processor, a memory, a network interface, a display screen and an input device connected via a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a data processing or data display method is implemented. The display screen of the electronic device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the housing of the electronic device, or an external keyboard, touchpad or mouse, etc.
[0342] Fig.14 is a block diagram of an electronic device for data processing or data display according to an exemplary embodiment. The electronic device may be a server, and its internal structure diagram may be as shown in FIG. Fig.14 As shown. The electronic device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a data processing or data display method is implemented.
[0343] Those skilled in the art will understand that Fig.13 or Fig.14 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present disclosure, and does not constitute a limitation on the electronic device to which the scheme of the present disclosure is applied. The specific electronic device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0344] In an exemplary embodiment, an electronic device is also provided, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the data processing or data display method in the embodiment of the present disclosure.
[0345] In an exemplary embodiment, a computer-readable storage medium is also provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can perform the data processing or data display method in the embodiment of the present disclosure.
[0346] In an exemplary embodiment, a computer program product including instructions is also provided. When the computer program product is run on a computer, the computer is caused to execute the data processing or data display method in the embodiment of the present disclosure.
[0347] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0348] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0349] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A data processing method, characterized in that: include: In the process of at least two first-category user accounts performing a target interactive live broadcast, receiving a resource consumption request sent by a first terminal, the first terminal being a terminal of any second-category user account corresponding to any target user account among the at least two first-category user accounts, the resource consumption request including a resource type and a preset resource amount of a virtual resource requested to be consumed, the first-category user account being a user account performing the live broadcast during the target interactive live broadcast, and the second-category user account being a user account watching the live broadcast during the target interactive live broadcast; When the resource type is a target resource type and the resource consumption information of the second type of user account during the target interactive live broadcast meets a preset condition, the interactive indicator data of the target user account is updated according to the preset resource amount; during the target interactive live broadcast, the resource types of the virtual resources used to update the interactive indicator data of the at least two first type of user accounts are all the target resource types; Sending the interaction indicator data to a target terminal, wherein the target terminal includes terminals of the at least two first-category user accounts and a terminal of a second-category user account in the target interactive live broadcast; The interaction indicator data is used to display the interactive live broadcast page corresponding to the target terminal.
2. The data processing method according to claim 1, characterized in that: The method further comprises: receiving an interactive live broadcast request sent by a second terminal, where the second terminal is a terminal of an inviting user account among the at least two first-category user accounts, the interactive live broadcast request carries a first-category user account identifier corresponding to a third terminal, the target resource type, and a preset interaction identifier, and the third terminal is a terminal of an invited user account among the at least two first-category user accounts; Sending interaction invitation information to the third terminal based on the first type of user account identifier, where the interaction invitation information carries the target resource type; receiving an interactive response instruction triggered by the third terminal based on the interactive invitation information; Based on the preset interaction identifier and the target resource type, creating a virtual interaction space corresponding to the at least two first-type user accounts; Sending interaction start information to the second terminal and the third terminal.
3. The data processing method according to claim 2, characterized in that: After receiving the interactive live broadcast request sent by the second terminal, the method further includes: Based on at least one preset resource type, performing resource verification on the target resource type to obtain a first resource verification result; When the first resource verification result indicates that the verification is passed, the step of sending the interaction invitation information carrying the target resource type to the third terminal based on the first type of user account identifier is performed.
4. The data processing method according to claim 3, characterized in that: The method further comprises: Acquire historical consumption information corresponding to multiple resource types, where the historical consumption information represents consumption amounts corresponding to virtual resources of the multiple resource types; Based on the historical consumption information, the at least one preset resource type is determined from the multiple resource types.
5. The data processing method according to claim 2, characterized in that: After receiving the interactive live broadcast request sent by the second terminal, the method further includes: Based on the preset interaction identifier, the target resource type and the preset response time information are stored in a preset cache.
6. The data processing method according to claim 5, characterized in that: After receiving the interaction response instruction triggered by the third terminal based on the interaction invitation information, the method further includes: Based on the preset interaction identifier, obtaining the preset response time information from the preset cache; Perform response time verification based on the preset response time information to obtain a response time verification result; When the response time validity check result indicates that the response has not timed out, the step of creating the virtual interaction space corresponding to the at least two first-category user accounts based on the preset interaction identifier and the target resource type is performed.
7. The data processing method according to claim 5, characterized in that: The interaction response instruction carries the interaction resource type corresponding to the third terminal, and the method further includes: Based on the preset interaction identifier, acquiring the target resource type from the preset cache; Performing resource verification on the interactive resource type based on the target resource type to obtain a second resource verification result; When the second resource verification result indicates that the verification is passed, the step of creating the virtual interaction space corresponding to the at least two first-type user accounts based on the preset interaction identifier and the target resource type is performed.
8. The data processing method according to any one of claims 1 to 5, characterized in that: The resource consumption information includes the historical consumption times of the virtual resource of the target resource type for the target user account, and the preset condition includes the preset consumption times; when the resource type is the target resource type and the resource consumption information of the second type of user account during the target interactive live broadcast meets the preset condition, updating the interaction indicator data of the target user account according to the preset resource amount includes: When the resource type is a target resource type and the historical consumption times are less than or equal to the preset consumption times, the interaction indicator data of the target user account is updated according to the preset resource amount.
9. The data processing method according to any one of claims 1 to 5, characterized in that: The resource consumption information includes the request time corresponding to the resource consumption request, and the preset condition includes the preset consumption time; when the resource type is the target resource type and the resource consumption information of the second type of user account during the target interactive live broadcast meets the preset condition, updating the interaction indicator data of the target user account according to the preset resource amount includes: When the resource type is a target resource type and the request time matches the preset consumption time, the interaction indicator data of the target user account is updated according to the preset resource amount.
10. The data processing method according to any one of claims 1 to 5, characterized in that: The resource consumption request also includes a preset interaction identifier corresponding to the target interactive live broadcast; when the resource type is a target resource type and the resource consumption information of the second type of user account during the target interactive live broadcast meets a preset condition, updating the interaction indicator data of the target user account according to the preset resource amount includes: When the preset interaction identifier is the target interaction identifier corresponding to the target interactive live broadcast, the resource type is the target resource type, and the resource consumption information meets the preset conditions, the interaction indicator data is updated according to the preset resource amount.
11. A data display method, characterized in that: include: During the process of at least two first-category user accounts performing target interactive live broadcast, displaying the interaction indicator data of the at least two first-category user accounts on the target interactive live broadcast page; Among them, the interaction indicator data of any target user account among the at least two first-category user accounts is obtained based on the preset resource quantity update when the resource type of the virtual resources consumed by the target user account requested by the second-category user account corresponding to the target user account is the target resource type, and the resource consumption information of the second-category user account during the target interactive live broadcast meets the preset conditions, and the preset resource quantity is the unit resource quantity of the virtual resources of the target resource type; the first-category user account is the user account that conducts the live broadcast during the target interactive live broadcast, and the second-category user account is the user account that watches the live broadcast during the target interactive live broadcast; during the target interactive live broadcast, the resource types of the virtual resources used to update the interaction indicator data of the at least two first-category user accounts are all the target resource type.
12. The data display method according to claim 11, characterized in that: The method further comprises: Display resource assistance information on the target interactive live broadcast page; The resource assistance information is used to prompt the second type of user accounts corresponding to the at least two first type of user accounts to consume virtual resources of the target resource type for the at least two first type of user accounts.
13. The data display method according to claim 11, characterized in that: The target interactive live broadcast page also displays list display control information corresponding to the resource consumption list; the method also includes In response to a list display instruction triggered based on the list display control information, displaying the resource consumption list on the target interactive live broadcast page; Among them, the resource consumption list is a list generated based on the second type of user account corresponding to the target user account, which is a list of consumption time of the virtual resources of the target resource type consumed by the target user account during the target interactive live broadcast process.
14. The data display method according to any one of claims 11 to 13, characterized in that: The resource consumption information includes the historical consumption times of the virtual resources of the target resource type for the target user account, and the preset condition includes the preset consumption times; the resource consumption information satisfies the preset condition including that the historical consumption times is less than or equal to the preset consumption times.
15. The data display method according to any one of claims 11 to 13, characterized in that: The resource consumption information includes the request time corresponding to the resource consumption request, and the preset condition includes the preset consumption time; the resource consumption information meeting the preset condition includes that the request time matches the preset consumption time.
16. The data display method according to any one of claims 11 to 13, characterized in that: In a case where the target interactive live broadcast page is an interactive live broadcast page of a target second-type user account corresponding to the at least two first-type user accounts, the target interactive live broadcast page further displays a resource consumption control corresponding to the target resource type, and the method further includes: In the case of detecting a resource consumption operation on the resource consumption control, a resource consumption request is sent to the server, wherein the resource consumption request is used to instruct the server to update the interaction indicator data of the target second-category user account corresponding to the first-category user account.
17. The data display method according to any one of claims 11 to 13, characterized in that: When the target interactive live broadcast page is an interactive live broadcast page corresponding to the inviting user account among the at least two first-category user accounts, the method further includes: When a preset operation for preset interactive manipulation information is detected, displaying a resource view corresponding to at least one preset resource type on the first live broadcast page; In response to an interactive invitation instruction triggered by a resource view corresponding to a target resource type in the at least one preset resource type, an interactive live broadcast request is sent to a server, wherein the interactive live broadcast request carries a first-category user account identifier corresponding to a third terminal, the target resource type, and a preset interactive identifier, and the third terminal is a terminal of an invited user account among the at least two first-category user accounts; receiving interaction start information sent by the server, wherein the interaction start information is sent by the server when receiving an interaction consent instruction triggered by the third terminal based on the interaction invitation information carrying the preset interaction identifier and the target resource type, and creating a virtual interaction space corresponding to the at least two first-category user accounts based on the preset interaction identifier and the target resource type; Update the first live broadcast page to the target interactive live broadcast page.
18. The data display method according to any one of claims 11 to 13, characterized in that: When the target interactive live broadcast page is an interactive live broadcast page corresponding to the invited user account among the at least two first-category user accounts, the method further includes: receiving an interactive invitation message sent by a server, wherein the interactive invitation message carries the target resource type; Displaying a resource view corresponding to the target resource type on the second live broadcast page; In the case of detecting an interactive confirmation operation for the resource view, sending an interactive response instruction to the server, wherein the interactive response instruction is used to trigger the server to create a virtual interactive space corresponding to the at least two first-type user accounts based on a preset interactive identifier and the target resource type; Receiving interaction start information sent by the server; Update the second live broadcast page to the target interactive live broadcast page.
19. A data processing device, characterized in that: include: A resource consumption request receiving module is configured to receive a resource consumption request sent by a first terminal during a process of target interactive live broadcasting by at least two first-category user accounts, wherein the first terminal is a terminal of any second-category user account corresponding to any target user account among the at least two first-category user accounts, the resource consumption request includes a resource type and a preset resource amount of a virtual resource requested to be consumed, the first-category user account is a user account performing live broadcasting during the target interactive live broadcasting, and the second-category user account is a user account watching live broadcasting during the target interactive live broadcasting; The interaction indicator data updating module is configured to execute, when the resource type is a target resource type and the resource consumption information of the second type of user account during the target interactive live broadcast meets a preset condition, updating the interaction indicator data of the target user account according to the preset resource amount; during the target interactive live broadcast, the resource types of the virtual resources used to update the interaction indicator data of the at least two first type of user accounts are all the target resource type; An interaction indicator data sending module, configured to execute sending the interaction indicator data to a target terminal, wherein the target terminal includes a terminal of the at least two first-category user accounts and a terminal of a second-category user account in the target interactive live broadcast; The interaction indicator data is used to display the interactive live broadcast page corresponding to the target terminal.
20. A data display device, characterized in that: include: An interaction indicator data display module is configured to display the interaction indicator data of the at least two first-category user accounts on a target interactive live broadcast page during the target interactive live broadcast of the at least two first-category user accounts; Among them, the interaction indicator data of any target user account among the at least two first-category user accounts is obtained based on the preset resource quantity update when the resource type of the virtual resources consumed by the target user account requested by the second-category user account corresponding to the target user account is the target resource type, and the resource consumption information of the second-category user account during the target interactive live broadcast meets the preset conditions, and the preset resource quantity is the unit resource quantity of the virtual resources of the target resource type; the first-category user account is the user account that conducts the live broadcast during the target interactive live broadcast, and the second-category user account is the user account that watches the live broadcast during the target interactive live broadcast; during the target interactive live broadcast, the resource types of the virtual resources used to update the interaction indicator data of the at least two first-category user accounts are all the target resource type.
21. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the data processing method as described in any one of claims 1 to 10 or the data display method as described in any one of claims 11 to 18.
22. A computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the data processing method as described in any one of claims 1 to 10 or the data display method as described in any one of claims 11 to 18.
23. A computer program product comprising computer instructions, characterized in that When the computer instructions are executed by a processor, the data processing method described in any one of claims 1 to 10 or the data display method described in any one of claims 11 to 18 is implemented.
Citation Information
Patent Citations
Live broadcast display method, device and system
CN106937158A
Method for distributing resources, server and storage medium
CN107424285A
Communication method based on a live broadcast platform and a related device
CN109756504A
Interactive game live broadcast method and device, storage medium and equipment
CN113082704A
Live broadcast interaction method and system based on virtual resource consumption and computer equipment
CN113949892A