CN115037955A - Data processing method, data display method, data processing device, data display device, electronic equipment and storage medium - Google Patents
Data processing method, data display method, data processing device, data display device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN115037955A CN115037955A CN202210613137.9A CN202210613137A CN115037955A CN 115037955 A CN115037955 A CN 115037955A CN 202210613137 A CN202210613137 A CN 202210613137A CN 115037955 A CN115037955 A CN 115037955A
- Authority
- CN
- China
- Prior art keywords
- target
- resource
- preset
- live broadcast
- interactive
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 186
- 238000012545 processing Methods 0.000 title claims description 28
- 238000003672 processing method Methods 0.000 title claims description 21
- 230000002452 interceptive effect Effects 0.000 claims abstract description 417
- 230000003993 interaction Effects 0.000 claims abstract description 301
- 230000008569 process Effects 0.000 claims abstract description 106
- 230000004044 response Effects 0.000 claims description 103
- 238000012795 verification Methods 0.000 claims description 44
- 230000001960 triggered effect Effects 0.000 claims description 28
- 230000032683 aging Effects 0.000 claims description 17
- 238000012790 confirmation Methods 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 10
- 230000001976 improved effect Effects 0.000 abstract description 14
- 238000010586 diagram Methods 0.000 description 28
- 230000000977 initiatory effect Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 230000000295 complement effect Effects 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000003190 augmentative effect Effects 0.000 description 1
- 235000013405 beer Nutrition 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015556 catabolic process Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000006731 degradation reaction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001502 supplementing effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The method comprises the steps of receiving a resource consumption request sent by a first terminal in the process of target interactive live broadcast of at least two first-class user accounts, wherein the resource consumption request comprises a resource type and a preset resource amount; updating interaction index data of the target user account according to a preset resource amount under the condition that the resource type is a target resource type and the resource consumption information of the second type of user account in the target interaction live broadcast process meets a preset condition; sending the interaction index data to a target terminal, wherein the target terminal comprises at least two terminals of a first type of user account and a terminal of a second type of user account in target interaction live broadcast; and the interactive index data is used for displaying the interactive live broadcast page corresponding to the target terminal. By using the embodiment of the disclosure, the interactivity between the whole users in the live broadcast platform can be improved on the basis of improving the balance of the interaction between the audience in the anchor broadcast and the live broadcast.
Description
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a data processing method, a data displaying method, a data processing apparatus, a data displaying apparatus, an electronic device, and a storage medium.
Background
With the development of network technology and the wide popularization of live broadcast functions, the number of interaction modes in the live broadcast process is increasing, for example, a live broadcast interaction mode that at least two live broadcast users connect with the microphone is novel and unique, and live broadcast content is enriched.
In the related technology, in the anchor interactive live broadcast process, each anchor corresponds to audiences in a live broadcast room, various virtual resources can be consumed in the live broadcast room to improve the interactive index data of the corresponding anchor, help the anchor win the interaction win, correspondingly, the anchor can also obtain the attention of the anchor, and the interactivity between the anchor and the audiences is improved.
Disclosure of Invention
The present disclosure provides a data processing method, a data display method, a data processing apparatus, a data display apparatus, an electronic device, and a storage medium, so as to at least solve the problems of unbalanced interaction, poor interactivity among overall users, and performance resource waste of a live broadcast platform and system performance degradation caused by a large amount of invalid push-pull stream processing in the related art. The technical scheme of the disclosure is as follows:
according to a first aspect of an embodiment of the present disclosure, there is provided a data processing method, including:
receiving a resource consumption request sent by a first terminal in the process of performing target interactive live broadcast on at least two first-class user accounts, wherein the first terminal is a terminal of any second-class user account corresponding to any target user account in the at least two first-class user accounts, the resource consumption request comprises a resource type and a preset resource amount of virtual resources required to be consumed, the first-class user accounts are user accounts performing live broadcast in the target interactive live broadcast process, and the second-class user accounts are user accounts watching live broadcast in the target interactive live broadcast process;
under the condition that the resource type is a target resource type and the resource consumption information of the second type user account in the target interactive live broadcast process meets a preset condition, updating interactive index data of the target user account according to the preset resource amount;
sending the interaction index data to a target terminal, wherein the target terminal comprises terminals of the at least two first-class user accounts and terminals of a second-class user account in the target interaction live broadcast; and the interactive index data is used for displaying an interactive live broadcast page corresponding to the target terminal.
In an optional embodiment, the method further comprises:
receiving an interactive live broadcast request sent by a second terminal, wherein the second terminal is a terminal inviting a user account in the at least two first-class user accounts, the interactive live broadcast request carries a first-class user account identifier, the target resource type and a preset interactive identifier corresponding to a third terminal, and the third terminal is a terminal of an invited user account in the at least two first-class user accounts;
sending interaction invitation information to the third terminal based on the first type user account identification, wherein 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;
creating virtual interaction spaces corresponding to the at least two first-class user accounts based on the preset interaction identifier and the target resource type;
and sending interactive opening information to the second terminal and the third terminal.
In an optional embodiment, after receiving the interactive live broadcast request sent by the second terminal, the method further includes:
performing resource check on the target resource type based on at least one preset resource type to obtain a first resource check result;
and under the condition that the first resource verification result indicates that the verification is passed, executing 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 identification.
In an optional embodiment, the method further comprises:
acquiring historical consumption information corresponding to multiple resource types, wherein the historical consumption information represents consumption corresponding to virtual resources of the multiple resource types;
determining the at least one preset resource type from the plurality of resource types based on the historical consumption information.
In an optional embodiment, after receiving the interactive live broadcast request sent by the second terminal, the method further includes:
and storing the target resource type and the preset response time information to a preset cache based on the preset interactive identification.
In an optional embodiment, after the receiving of the interaction response instruction triggered by the third terminal based on the interaction invitation information, the method further includes:
acquiring the preset response time information from the preset cache based on the preset interaction identifier;
performing response aging verification based on the preset response time information to obtain a response aging verification result;
and under the condition that the response aging verification result indicates that no overtime response exists, executing the step of creating the virtual interaction space corresponding to the at least two first-class user accounts based on the preset interaction identifier and the target resource type.
In an optional embodiment, the interactive response instruction carries an interactive resource type corresponding to the third terminal, and the method further includes:
acquiring the target resource type from the preset cache based on the preset interaction identifier;
performing resource check on the interactive resource type based on the target resource type to obtain a second resource check result;
and under the condition that the second resource verification result indicates that the verification is passed, executing the step of creating the virtual interaction space corresponding to the at least two first-class user accounts based on the preset interaction identifier and the target resource type.
In an optional embodiment, the resource consumption information includes historical consumption times of consuming, for the target user account, the virtual resource of the target resource type, and the preset condition includes preset consumption times; under the condition that the resource type is a target resource type and the resource consumption information of the second type of user account in the target interactive live broadcast process meets a preset condition, updating the interactive index data of the target user account according to the preset resource amount comprises the following steps:
and updating the interaction index data of the target user account according to the preset resource amount under the condition that the resource type is the target resource type and the historical consumption times are less than or equal to the preset consumption times.
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; under the condition that the resource type is a target resource type and the resource consumption information of the second type of user account in the target interactive live broadcast process meets a preset condition, updating the interactive index data of the target user account according to the preset resource amount comprises the following steps:
and updating the interaction index data of the target user account according to the preset resource amount under the condition that the resource type is the target resource type and the request time is matched with the preset consumption time.
In an optional embodiment, the resource consumption request further includes a preset interaction identifier corresponding to the target interaction live broadcast; under the condition that the resource type is a target resource type and the resource consumption information of the second type of user account in the target interactive live broadcast process meets a preset condition, updating the interactive index data of the target user account according to the preset resource amount comprises the following steps:
and updating the interaction index data according to the preset resource amount under the condition that the preset interaction identifier is a target interaction identifier corresponding to the target interaction live broadcast, the resource type is the target resource type, and the resource consumption information meets the preset condition.
According to a second aspect of the embodiments of the present disclosure, there is provided a data presentation method, including:
in the process of target interactive live broadcast of at least two first-class user accounts, displaying interactive index data of the at least two first-class user accounts on a target interactive live broadcast page;
the interactive index data of any one target user account of the at least two first-class user accounts is obtained by updating based on a preset resource amount under the condition that a second-class user account corresponding to the target user account requests that a resource type of virtual resources consumed by the target user account is a target resource type and resource consumption information of the second-class user account in the target interactive live broadcast process meets a preset condition, wherein the preset resource amount is a unit resource amount of the virtual resources of the target resource type; the first type of user account is a user account for live broadcast in the target interactive live broadcast process, and the second type of user account is a user account for live broadcast watching in the target interactive live broadcast process.
In an optional embodiment, the method further comprises:
displaying resource assistance information on the target interactive live broadcast page;
the resource assisting information is used for prompting a second type user account corresponding to the at least two first type user accounts and consuming the virtual resources of the target resource type for the at least two first type user accounts.
In an optional embodiment, the target interaction live broadcast page further shows list exhibition control information corresponding to the resource consumption list; the method further comprises the following steps:
responding to a list display instruction triggered based on the list display control information, and displaying the resource consumption list on the target interaction live broadcast page;
the resource consumption list is generated based on a second type user account corresponding to the target user account and consumption time of virtual resources of the target resource type consumed by the target user account in the target interactive live broadcasting process.
In an optional embodiment, in a case that 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 shows a resource consumption control corresponding to the target resource type, and the method further includes:
and sending a resource consumption request to a server under the condition that the resource consumption operation aiming at the resource consumption control is detected, wherein the resource consumption request is used for indicating the server to update the interaction index data of the first type user account corresponding to the target second type user account.
In an optional embodiment, the resource consumption information includes historical consumption times of consuming the virtual resource of the target resource type for the target user account, and the preset condition includes a preset consumption time; the resource consumption information meeting the preset condition comprises that the historical consumption times are less than or equal to the preset consumption times.
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 meeting a preset condition comprises that the request time is matched with the preset consumption time.
In an optional embodiment, in the case that the target interactive live broadcast page is an interactive live broadcast page corresponding to an invited user account of the at least two first-type user accounts, the method further includes:
under the condition that preset operation aiming at preset interactive control information is detected, displaying a resource view corresponding to at least one preset resource type on a first direct-playing page;
responding to an interactive invitation instruction triggered by a resource view corresponding to a target resource type in the at least one preset resource type, and sending an interactive live broadcast request to a server, wherein the interactive live broadcast request carries a first-class user account identification, the target resource type and a preset interactive identification corresponding to a third terminal, and the third terminal is a terminal of an invited user account in the at least two first-class user accounts;
receiving interaction opening information sent by the server, wherein the interaction opening information is sent by the server when the server receives an interaction agreement instruction triggered by the third terminal based on the interaction invitation information carrying the preset interaction identifier and the target resource type, and creates virtual interaction spaces corresponding to the at least two first-class user accounts based on the preset interaction identifier and the target resource type;
and updating the first live broadcast page to the target interactive live broadcast page.
In an optional embodiment, in the case that the target interactive live broadcast page is an interactive live broadcast page corresponding to an invited user account of the at least two first-type user accounts, the method further includes:
receiving interaction invitation information sent by a server, wherein the interaction invitation information carries the target resource type;
displaying a resource view corresponding to the target resource type on a second live broadcast page;
under the condition that an interactive confirmation operation aiming at the resource view is detected, an interactive response instruction is sent to a server, and the interactive response instruction is used for triggering the server to create virtual interactive spaces corresponding to the at least two first-class user accounts based on a preset interactive identifier and the target resource type;
receiving interactive opening information sent by the server;
and updating the second live broadcast page into the target interaction live broadcast page.
According to a third aspect of the embodiments of the present disclosure, there is provided a data processing apparatus including:
the resource consumption request receiving module is configured to execute a target interactive live broadcast process of at least two first-class user accounts, and receive a resource consumption request sent by a first terminal, wherein the first terminal is a terminal of any second-class user account corresponding to any one of the at least two first-class user accounts, the resource consumption request comprises a resource type and a preset resource amount of virtual resources required to be consumed, the first-class user accounts are user accounts for live broadcast in the target interactive live broadcast process, and the second-class user accounts are user accounts for live broadcast watching in the target interactive live broadcast process;
the interaction index data updating module is configured to update the interaction index data of the target user account according to the preset resource amount when the resource type is a target resource type and the resource consumption information of the second type of user account in the target interaction live broadcast process meets the preset condition;
the interactive index data sending module is configured to send the interactive index data to a target terminal, and the target terminal comprises terminals of the at least two first-class user accounts and terminals of a second-class user account in the target interactive live broadcast; and the interactive index data is used for displaying an interactive live broadcast page corresponding to the target terminal.
In an optional embodiment, the apparatus further comprises:
the interactive live broadcast request receiving module is configured to execute receiving of an interactive live broadcast request sent by a second terminal, the second terminal is a terminal inviting a user account in the at least two first-class user accounts, the interactive live broadcast request carries a first-class user account identifier, the target resource type and a preset interactive identifier corresponding to a third terminal, and the third terminal is a terminal of an invited user account in the at least two first-class user accounts;
the interaction invitation information sending module is configured to execute sending of interaction invitation information to the third terminal based on the first type user account identification, wherein the interaction invitation information carries the target resource type;
the interactive response instruction receiving module is configured to execute receiving of an interactive response instruction triggered by the third terminal based on the interactive invitation information;
the virtual interaction space creating module is configured to execute creating virtual interaction spaces corresponding to the at least two first-class user accounts based on the preset interaction identifier and the target resource type;
and the interaction opening information sending module is configured to execute sending of the interaction opening information to the second terminal and the third terminal.
In an optional embodiment, the apparatus further comprises:
the first resource checking module is configured to perform resource checking on the target resource type based on at least one preset resource type to obtain a first resource checking result;
the interaction invitation information sending module is further configured to send interaction invitation information carrying the target resource type to the third terminal based on the first type of user account identifier under the condition that the first resource verification result indicates that the verification is passed.
In an optional embodiment, the apparatus further comprises:
the historical consumption information acquisition module is configured to acquire historical consumption information corresponding to multiple resource types, and the historical consumption information represents consumption corresponding to virtual resources of the multiple resource types;
a preset resource type determination module configured to perform determining the at least one preset resource type from the plurality of resource types based on the historical consumption information.
In an optional embodiment, the apparatus further comprises:
and the information storage module is configured to store the target resource type and the preset response time information into a preset cache based on the preset interaction identifier.
In an optional embodiment, the apparatus further comprises:
a preset response time information obtaining module configured to obtain the preset response time information from the preset cache based on the preset interaction identifier;
the response aging checking module is configured to execute response aging checking based on the preset response time information to obtain a response aging checking result;
the virtual interactive space creating module is further configured to create virtual interactive spaces corresponding to the at least two first-class user accounts based on the preset interactive identifier and the target resource type under the condition that the response aging check result indicates that no response is overtime.
In an optional embodiment, the interactive response instruction carries an interactive resource type corresponding to the third terminal, and the apparatus further includes:
a target resource type obtaining module configured to obtain the target resource type from the preset cache based on the preset interaction identifier;
the second resource checking module is configured to perform resource checking on the interactive resource type based on the target resource type to obtain a second resource checking result;
the virtual interaction space creating module is further configured to create virtual interaction spaces corresponding to the at least two first-class user accounts based on the preset interaction identifier and the target resource type under the condition that the second resource verification result indicates that verification passes.
In an optional embodiment, the resource consumption information includes historical consumption times of consuming the virtual resource of the target resource type for the target user account, and the preset condition includes a preset consumption time; the interaction index data updating module is specifically configured to update the interaction index data of the target user account according to the preset resource amount when the resource type is a target resource type and the historical consumption times are less than or equal to the preset consumption times.
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 interaction index data updating module is specifically configured to update the interaction index data of the target user account according to the preset resource amount under the condition that the resource type is a target resource type and the request time is matched with the preset consumption time.
In an optional embodiment, the resource consumption request further includes a preset interaction identifier corresponding to the target interaction live broadcast; the interaction index data updating module is specifically configured to update the interaction index data according to the preset resource amount when the preset interaction identifier is a target interaction identifier corresponding to the target interaction live broadcast, the resource type is the target resource type, and the resource consumption information meets the preset condition.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a data presentation apparatus, including:
the interactive index data display module is configured to display interactive index data of at least two first-class user accounts on a target interactive live broadcast page in the process of performing target interactive live broadcast on the at least two first-class user accounts;
the interactive index data of any one target user account of the at least two first-class user accounts is obtained by updating based on a preset resource amount under the condition that a second-class user account corresponding to the target user account requests that a resource type of virtual resources consumed by the target user account is a target resource type and resource consumption information of the second-class user account in the target interactive live broadcast process meets a preset condition, wherein the preset resource amount is a unit resource amount of the virtual resources of the target resource type; the first type of user account is a user account for live broadcast in the target interactive live broadcast process, and the second type of user account is a user account for live broadcast watching in the target interactive live broadcast process.
In an optional embodiment, the apparatus further comprises:
the resource assistance information display module is configured to display the resource assistance information on the target interactive live broadcast page;
the resource assisting information is used for prompting second type user accounts corresponding to the at least two first type user accounts and consuming virtual resources of the target resource type for the at least two first type user accounts.
In an optional embodiment, the target interaction live broadcast page further displays list exhibition control information corresponding to the resource consumption list; the device further comprises:
a resource consumption list display module configured to execute a list display instruction triggered based on the list display control information to display the resource consumption list on the target interaction live broadcast page;
the resource consumption list is generated based on a second type user account corresponding to the target user account and consumption time of virtual resources of the target resource type consumed by the target user account in the target interactive live broadcast process.
In an optional embodiment, in a case that 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 apparatus further includes:
and the resource consumption request sending module is configured to send a resource consumption request to a server under the condition that the resource consumption operation aiming at the resource consumption control is detected, wherein the resource consumption request is used for indicating the server to update the interaction index data of the first-class user account corresponding to the target second-class user account.
In an optional embodiment, the resource consumption information includes historical consumption times of consuming the virtual resource of the target resource type for the target user account, and the preset condition includes a preset consumption time; the resource consumption information meeting the preset condition comprises that the historical consumption times are less than or equal to the preset consumption times.
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 meeting a preset condition includes that the request time matches the preset consumption time.
In an optional embodiment, in a case that the target interactive live broadcast page is an interactive live broadcast page corresponding to an invited user account of the at least two first-type user accounts, the apparatus further includes:
the first resource view display module is configured to display a resource view corresponding to at least one preset resource type on a first direct-playing page under the condition that a preset operation aiming at preset interactive control information is detected;
the interactive live broadcast request sending module is configured to execute an interactive invitation instruction triggered by a resource view corresponding to a target resource type in the at least one preset resource type, and send an interactive live broadcast request to the server, wherein the interactive live broadcast request carries a first-class user account identifier, the target resource type and a preset interactive identifier corresponding to a third terminal, and the third terminal is a terminal of an invited user account in the at least two first-class user accounts;
an interaction opening information receiving module configured to execute receiving of interaction opening information sent by the server, where the interaction opening information is sent by the server when receiving an interaction agreement instruction triggered by the third terminal based on interaction invitation information carrying the preset interaction identifier and the target resource type, and on the basis of the preset interaction identifier and the target resource type, creating a virtual interaction space corresponding to the at least two first-class user accounts;
a first page update module configured to perform updating the first live broadcast page to the target interactive live broadcast page.
In an optional embodiment, in a case that the target interactive live page is an interactive live page corresponding to an invited user account of the at least two first-type user accounts, the apparatus further includes:
the interactive invitation information receiving module is configured to execute interactive invitation information sent by a receiving server, and the interactive invitation information carries the target resource type;
the second resource view display module is configured to display the resource view corresponding to the target resource type on a second live broadcast page;
the interactive response instruction sending module is configured to execute sending an interactive response instruction to a server under the condition that an interactive confirmation operation for the resource view is detected, wherein the interactive response instruction is used for triggering the server to create virtual interactive spaces corresponding to the at least two first-class user accounts based on a preset interactive identifier and the target resource type;
the interactive opening information receiving module is configured to execute receiving of the interactive opening information sent by the server;
a second page update module configured to perform an update of the second live page to the target interactive live page.
According to a fifth aspect of embodiments of the present disclosure, there is provided an electronic apparatus including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the method of any one of the first or second aspects described above.
According to a sixth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions, when executed by a processor of an electronic device, enable the electronic device to perform the method of any one of the first or second aspects of the embodiments of the present disclosure.
According to a seventh aspect of embodiments of the present disclosure, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any one of the first or second aspects of embodiments of the present disclosure.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
in the target interactive live broadcast process, aiming at a resource consumption request sent by a terminal of any first-class user account which participates in the target interactive live broadcast and corresponds to a second-class user account, under the condition that 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 user account in the target interactive live broadcast process meets the preset condition, updating the interaction index data of the corresponding first-class user account according to the preset resource amount consumed by the request, the balance of virtual resources consumed by the second type of user accounts in the target interactive live broadcast process can be ensured, and then can promote the interactive nature among the whole users in the live broadcast platform on the basis of promoting the interactive equilibrium among the audience in anchor and live broadcast room, avoid a large amount of invalid push-and-pull stream to handle, reduce live broadcast platform system performance resource consumption, promote system performance.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a schematic diagram illustrating an application environment in accordance with an illustrative embodiment;
FIG. 2 is a flow diagram illustrating a method of data processing in accordance with an exemplary embodiment;
FIG. 3 is a flow diagram of a process for establishing an interactive live broadcast provided in accordance with an exemplary embodiment;
fig. 4 is a schematic diagram illustrating a first live page with preset interaction control information according to an exemplary embodiment;
FIG. 5 is a diagram of a first live page showing a resource view corresponding to at least one preset resource type, according to an example embodiment;
FIG. 6 is a diagram of a second live page showing resource views corresponding to target resource types, according to an example embodiment;
FIG. 7 is a schematic diagram of an interactive live page presented at a first terminal side according to an exemplary embodiment;
FIG. 8 is a schematic diagram of a target interactive live page provided in accordance with an exemplary embodiment;
FIG. 9 is a target interaction live page that presents a resource consumption chart in accordance with an exemplary implementation;
FIG. 10 is a flow chart illustrating another method of data processing in accordance with an exemplary embodiment;
FIG. 11 is a block diagram illustrating a data processing apparatus in accordance with an exemplary embodiment;
FIG. 12 is a block diagram of a data presentation device, according to an exemplary embodiment;
FIG. 13 is a block diagram illustrating an electronic device for data processing or data presentation in accordance with an exemplary embodiment;
FIG. 14 is a block diagram illustrating an electronic device for data processing or data presentation, according to an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
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 presentation, analyzed data, etc.) referred to in the present disclosure are information and data authorized by the user or sufficiently authorized by each party.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating an application environment according to an exemplary embodiment, which may include a first terminal 100, a second terminal 200, a third terminal 300 and a server 400.
In an optional embodiment, the second terminal 200 may be a terminal that invites a user account from at least two first-class user accounts corresponding to the target interactive live broadcast, the third terminal 300 is a terminal that invites a user account from 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 in the target interactive live broadcast process. Specifically, the terminal may include, but is not limited to, a smart phone, a desktop computer, a tablet computer, a notebook computer, a smart speaker, a digital assistant, an Augmented Reality (AR)/Virtual Reality (VR) device, a smart wearable device, and other types of electronic devices, and may also be software running on the electronic devices, such as an application program. Optionally, the operating system running on the electronic device may include, but is not limited to, an android system, an IOS system, linux, windows, and the like.
In an alternative 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 formed by a plurality of physical servers, or a cloud server providing a cloud computing service.
In addition, it should be noted that fig. 1 shows only one application environment provided by the present disclosure, and in practical applications, other application environments may also be included, for example, more terminals may be included.
In this embodiment of the present disclosure, the first terminal 100, the second terminal 200, the third terminal 300, and the server 400 may be directly or indirectly connected through wired or wireless communication, and the disclosure is not limited herein.
Fig. 2 is a flowchart illustrating a data processing method according to an exemplary embodiment, and as shown in fig. 2, the data processing method implemented in the present embodiment is described below from the perspective of server and terminal interoperation, and specifically, may include the following steps.
In step S201, in the process of performing target interactive live broadcast on at least two first-class user accounts, a first terminal sends a resource consumption request to a server.
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) in at least two first type user accounts. The first type of user account is a user account for live broadcast in a target interactive live broadcast process, and the second type of user account is a user account for watching live broadcast in a target interactive live broadcast process. Optionally, the resource consumption request may include a resource type and a preset resource amount of the virtual resource requested to be consumed.
In practical applications, any one of the on-air anchor may initiate an interactive live broadcast through a corresponding live broadcast page, and then establish an interactive live broadcast corresponding to at least two anchor. Specifically, the method can comprise the following steps:
in step S301, the second terminal displays a resource view corresponding to at least one preset resource type on the first direct-view page when detecting a preset operation for preset interactive control information;
in step S303, the second terminal sends an interactive live broadcast request to the server in response to an interactive invitation instruction triggered based on a resource view corresponding to a target resource type in the at least one preset resource type.
In step S305, the server sends the interaction invitation information to the third terminal based on the first class user account id.
In step S307, the third terminal displays a resource view corresponding to the target resource type on the second live broadcast page.
In step S309, in the case that an interactive confirmation operation for the resource view is detected, the third terminal sends an interactive response instruction to the server;
in step S311, the server creates at least two virtual interaction spaces corresponding to the first type of user account based on the preset interaction identifier and the target resource type;
in step S313, the server transmits interaction start information to the second terminal and the third terminal.
In a specific embodiment, the second terminal is a terminal that invites a user account from at least two first-type user accounts. The inviting user account may be a first type of user account initiating the target interactive live broadcast. Specifically, the first live page may be a live page corresponding to the account of the inviting user, and optionally, the live page may include a live frame of the account of the inviting user alone, and may further include live frames of other first-type user accounts in an interactive state such as microphone connection with the account of the inviting user.
In a specific embodiment, the preset interaction control information may be an operation control for initiating the target interaction live broadcast. Optionally, the preset interactive control information of the two display styles may be set in combination with the actual application, and optionally, the preset interactive control information of the two display styles may include preset interactive control information of a first display style and preset interactive control information of a second display style, where the preset interactive control information of the first display style may be displayed in a scene where the account of the inviting user is not subjected to the target interactive live broadcast, and the preset interactive control information of the second display style may be displayed in a scene where the account of the inviting user is subjected to the 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.
In a specific embodiment, as shown in fig. 4, fig. 4 is a schematic diagram of a first live page showing preset interaction control information according to an exemplary embodiment. The information 401 in fig. 4a may be preset interaction control information of the first display style, and the information 402 in fig. 4a may be preset interaction control information of the second display style.
In a specific embodiment, the target interactive live broadcast may be anchor interactive live broadcast in which the second type of user account is assisted by the first type of user account based on virtual resources of the target resource type, and the interaction index data is updated when resource consumption information of the second type of user account meets a preset condition. The preset operation may be set in combination with the actual application, for example, a single click, a double click, and the like, and optionally, at least one preset resource type may be a resource type of a virtual resource that can be used in a target interactive live broadcast process and is pre-configured by the live broadcast platform. Specifically, the virtual resource may be set in combination with an actual application, for example, a virtual article, and correspondingly, different virtual articles may correspond to different resource types. Optionally, in order to better improve interactivity in a target live broadcast interactive process, at least one preset resource type may be obtained by screening from multiple resource types based on historical consumption information corresponding to the multiple resource types, and correspondingly, the method may further include:
the server acquires historical consumption information corresponding to multiple resource types;
the server determines at least one preset resource type from the plurality of resource types based on the historical consumption information.
In a particular embodiment, the plurality of resource types may be resource types of virtual resources that are consumable within the live platform. The historical consumption information represents consumption corresponding to virtual resources of multiple resource types, optionally, the historical consumption information may be combined to use a previous preset number of resource types with relatively large represented consumption as at least one preset resource type, and the historical consumption information may also be combined to use a resource type with the represented consumption being greater than or equal to a preset threshold as at least one preset resource type. Optionally, the resource amounts corresponding to different types of virtual resources are often different, optionally, under the condition that at least one preset resource type includes multiple preset resource types, the multiple resource types can be clustered by combining the resource amounts, the resource types which are the same or located in the same preset resource amount interval are clustered into the same group, and then, for each group of resource types, the preset resource types corresponding to the group of resource types can be screened out by combining historical consumption information.
In the embodiment, the resource types of the virtual resources which can be used in the target interactive live broadcast are screened out by combining the historical consumption information corresponding to various resource types, so that the consumption of the virtual resources in the subsequent target interactive live broadcast process can be effectively ensured, and the interactivity between the anchor broadcast and audiences in the interactive live broadcast process can be better improved.
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 page in a manner of a pop-up window or the like. Optionally, while displaying the resource view corresponding to at least one preset resource type, the introduction information of the target interactive live broadcast and the confirmation control initiating the target interactive live broadcast may also be displayed. In an alternative embodiment, as shown in fig. 5, fig. 5 is a schematic diagram of a first through 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 articles (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 the target interactive live broadcast.
In an optional embodiment, the anchor may select a resource video corresponding to the target resource type by clicking a resource view or the like, and may further trigger the interactive live broadcast request in combination with a confirmation control for initiating the target interactive live broadcast. Specifically, the target resource type may be a resource type of a virtual resource set by the account of the inviting user and used in a target interactive live broadcast process initiated by the account of the inviting user.
In a specific embodiment, the interactive live broadcast request may carry a first-class user account identifier, a target resource type, and a preset interactive identifier corresponding to a third terminal, where the third terminal may be a terminal of an invited user account of at least two first-class user accounts; the preset interaction identifier may be used to identify a target interaction live broadcast initiated by the invitation user account. Optionally, the invited user account may be a first type of user account currently performing interaction, such as connecting to a microphone, with the inviting user account, or may be a first type of user account selected from the inviting user account.
In an optional embodiment, after the second terminal sends the interactive live broadcast request to the server, the method may further include:
performing resource check on a target resource type based on at least one preset resource type to obtain a first resource check result;
accordingly, the step S305 may include: and under the condition that the first resource verification result indicates that the verification is passed, the server sends interaction invitation information carrying the target resource type to the third terminal based on the first type of user account identification.
In a specific embodiment, the target resource type may be searched from at least one preset resource type, optionally, if the target resource type is found, the check passing may be used as the first resource check result, otherwise, if the target resource type is not found, the check failing may be used as the first resource check result, and correspondingly, information that the resource check fails may be fed back to the second terminal.
In the embodiment, under the condition that the interactive live broadcast request is received, the target resource type set by the account of the inviting user is checked by combining with at least one preset resource type, so that the virtual resource type participating in the target interactive live broadcast can be effectively controlled, and the interactivity between the anchor and audiences in the target interactive live broadcast process can be better improved.
In practical application, before the server sends the interaction invitation information carrying the target resource type to the third terminal based on the first type of user account identification, the live broadcast state (representing whether the invitation user account is in the live broadcast state) and the target interaction live broadcast state (representing whether the invitation user account is performing the target interaction live broadcast) of the invitation user account can be checked, and then effective starting of the target interaction live broadcast can be ensured.
In a specific embodiment, the server may send the interaction invitation information to the third terminal in combination with the first type user account id of the third terminal, when receiving the interaction live broadcast request. Specifically, the interaction invitation information may carry a target resource type; optionally, the interaction invitation information (i.e. a signaling) may be pushed to the third terminal through the long-chain connection.
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 live broadcast screen of the invited user account, and may also include live broadcast screens of other first-type user accounts in an interactive state with the invited user account, such as a microphone connection state.
In an optional embodiment, the resource view corresponding to the target resource type may be displayed on the second live broadcast page in a manner of pop-up window, and optionally, while the resource view corresponding to the target resource type is displayed, related invitation introduction information and controls for accepting the invitation and rejecting the invitation may also be displayed. In a specific embodiment, in conjunction with the embodiment corresponding to fig. 5, assume that the inviting user account selects a balloon as the target resource type; as shown in fig. 6, fig. 6 is a schematic diagram of a second live page showing a resource view corresponding to a target resource type according to an exemplary embodiment. The balloon view corresponding to 601 may be a resource view corresponding to the target resource type.
In practical application, after receiving an interactive response instruction sent by the third terminal, the server can check a live broadcast state (representing whether the account of the inviting user is in a live broadcast state) and a target interactive live broadcast state (representing whether the account of the inviting user is performing target interactive live broadcast), so as to ensure effective start of the target interactive live broadcast.
In an optional embodiment, after the second terminal sends the interactive live broadcast request to the server, the method may further include:
and the server stores the target resource type and the preset response time information to a preset cache based on the preset interactive identification.
In a specific embodiment, the preset response time information may be a preset upper limit of response time of the invited user account. The server may store the target resource type and the preset response time information to a preset cache with the preset interaction identifier as a key and the target resource type and the preset response time information as a value, and optionally, may combine a setNx (set if not set exists) instruction in the process of storing the target resource type and the preset response time information.
In the above embodiment, the target resource type and the preset response time information are stored in combination with the preset interactive identifier capable of identifying the target interactive live broadcast initiated by the inviting user account, so that the concurrence condition that the anchor broadcasts of the two parties invite the other party simultaneously can be avoided, and the problem that cached information cannot be deleted due to the fact that the invited user account is not operated when the invited user account is overtime can be avoided, and the stability of the system is improved while the timeliness of the target interactive live broadcast operation is effectively guaranteed.
In an optional embodiment, in combination with the embodiment corresponding to fig. 6, if the invited anchor performs the interactive confirmation operation by clicking the "confirmation" control, the third terminal may send an interactive response instruction to the server. Correspondingly, the service may create at least two virtual interaction spaces corresponding to the first type of user account based on the preset interaction identifier and the target resource type, and send interaction start information to the second terminal and the third terminal. Optionally, the interaction start information (i.e., a piece of signaling) may be pushed to the second terminal and the third terminal through the long-chain connection. Optionally, under the condition that the target interactive live broadcast is started, a preset starting animation corresponding to the target interactive live broadcast can be displayed so as to better render the atmosphere of the target interactive live broadcast.
Correspondingly, the second terminal can update the first live broadcast page to the interactive live broadcast page corresponding to the virtual interaction space; and the third terminal can also update the second live broadcast page to the interactive live broadcast page corresponding to the virtual interaction space.
In an optional embodiment, if the invited anchor rejects the invitation, the server may delete the cache of the restart information of the invitation (based on the preset interaction identifier, the stored target resource type and the preset response time information), so as to ensure that the subsequent anchor of both parties may continue to initiate the next target interactive live broadcast.
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 broadcast interaction can initiate the interactive live broadcast request based on the resource view corresponding to the target resource type in the at least one preset resource type, and the target interactive live broadcast of the specified resource type is started under the condition that the inviter performs the interactive confirmation operation for the resource view of the target resource type corresponding to the target live broadcast interaction, thereby effectively ensuring the interactive balance in the subsequent live broadcast process, avoiding a large amount of invalid push-pull stream processing, reducing the resource consumption of the live broadcast platform system, and improving the system performance.
In an optional embodiment, after the third terminal sends the interactive response instruction to the server, the method may further include:
the server acquires preset response time information from a preset cache based on a preset interaction identifier;
the server carries out response aging verification based on the preset response time information to obtain a response aging verification result;
correspondingly, in step S311, when the response aging verification result indicates that the response is not overtime, creating at least two virtual interaction spaces corresponding to the first class of user accounts based on the preset interaction identifier and the target resource type.
In an optional embodiment, since a delay condition occurs in the interactive invitation process, in the response aging verification process based on the preset response time information, the preset complementary time may be combined (the preset complementary time may be set in combination with the system delay condition in the actual application); optionally, the server may obtain a time difference between sending the interactive invitation information and receiving the interactive response instruction, and subtract the preset supplementing time from the time difference; as the invitation interaction time information, the invitation interaction time information and the preset response time information can be compared, and if the invitation interaction time information is less than or equal to the preset response time information, a response timeliness verification result of the response which is not overtime can be obtained; on the contrary, if the invitation interaction time information is greater than the preset response time information, a response timeliness check result of the overtime response can be obtained.
In an optional embodiment, if the response aging verification result indicates an overtime response, the server may delete the cache of the current invitation restart information (based on the preset interaction identifier, the stored target resource type and the preset response time information), so as to ensure that the subsequent anchor broadcasts of both parties may continue to initiate the next target interactive live broadcast.
In the above embodiment, the server performs response timeliness verification by combining the preset response time information corresponding to the target interactive live broadcast stored in the preset cache under the condition that the interactive response instruction is received, so that the problem that the cache information cannot be deleted due to the fact that the invited user account is not operated when the account is overtime can be avoided, timeliness of target interactive live broadcast operation is effectively guaranteed, and system stability is improved.
In an optional embodiment, to avoid a situation that a target resource type set by an invitation user account is tampered in an interaction invitation process, the interaction response instruction carries an interaction resource type corresponding to a third terminal (the interaction resource type corresponding to the third terminal may be a resource type confirmed by the third terminal), and the method may further include:
the server acquires a target resource type from a preset cache based on a preset interactive identifier;
the server performs resource verification on the interactive resource type based on the target resource type to obtain a second resource verification result;
correspondingly, in step S311, when the second resource verification result indicates that the verification is passed, creating at least two virtual interaction spaces corresponding to the first-class user accounts based on the preset interaction identifier and the target resource type.
In a specific embodiment, the target resource type and the interactive resource type may be compared, and if the interactive resource type is consistent with the target resource type, a second resource verification result that passes the verification may be obtained; if the interactive resource type is inconsistent with the target resource type, a second resource verification result which fails to be verified can be obtained.
In the above embodiment, the server checks the resource type in the target interactive live broadcast process again in combination with the target resource type set by the account of the inviting user stored in the preset cache under the condition that the interactive response instruction is received, so that the virtual resource type participating in the target interactive live broadcast can be effectively prevented from being tampered, and the interactivity between the anchor and the audience in the target interactive live broadcast process can be better improved.
In a specific embodiment, in the process of performing target interactive live broadcast on at least two first-class user accounts, the first terminal may display an interactive live broadcast page, where the interactive live broadcast page may display a universal resource consumption control, optionally, the universal resource consumption control may be used to view resource views of multiple resource types, and the resource consumption request may be triggered in combination with a resource view corresponding to a target resource type in the resource views of multiple resource types. Optionally, the interactive live broadcast page may further display a resource consumption control corresponding to the target resource type, and optionally, the user may directly trigger the resource consumption request in combination with the resource consumption control. Correspondingly, the method may further include:
in the event that a resource consumption operation is detected for the resource consumption control, a resource consumption request is sent to the server.
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 preset in combination with the actual application, and optionally, the resource consumption operation may include a click operation, a double click operation, and the like. As shown in fig. 7, fig. 7 is a schematic diagram of an interactive live page presented on the first terminal side according to an exemplary embodiment. The information corresponding to 701 may be a resource consumption control corresponding to the target resource type.
In the embodiment, the resource consumption control corresponding to the virtual resource of the target resource type required to be used in the target interactive live broadcasting process is directly displayed on the interactive live broadcasting page, so that the convenience and the operation efficiency of resource consumption operation can be greatly improved.
In step S203, the server updates the interaction index data of the target user account according to the preset resource amount when the resource type is the target resource type and the resource consumption information of the second type of user account in the target interactive live broadcast process meets the preset condition.
In a specific embodiment, the resource consumption information may represent a consumption condition of virtual resources consumed by the second type of user account as the target user account. The preset condition may be a preset condition for limiting the second type of user account to consume virtual resources for the target user account.
In an optional embodiment, the resource consumption information may include historical consumption times for the target user account to consume the virtual resource of the target resource type, and the preset condition includes a preset consumption time; correspondingly, when the resource type is the target resource type and the resource consumption information of the second type of user account in the target interactive live broadcast process meets the preset condition, updating the interaction index data of the target user account according to the preset resource amount may include:
and updating the interaction index data of the target user account according to the preset resource amount under the condition that the resource type is the target resource type and the historical consumption times are less than or equal to the preset consumption times.
In a specific embodiment, when the historical consumption times is less than or equal to the preset consumption times, it may be determined that the resource consumption information satisfies the preset condition, and conversely, when the historical consumption times is greater than the preset consumption times, it may be determined that the resource consumption information does not satisfy the preset condition.
In the above embodiment, by limiting the number of times that the second type of user account consumes the virtual resource of the target resource type for the target user account in the target interactive live broadcasting process, the balance of the virtual resource consumed by the second type of user account in the live broadcasting process can be effectively ensured, and then the interactivity between the whole users in the live broadcasting platform can be improved on the basis of improving the balance of the viewer-viewer interaction in the main broadcasting and live broadcasting rooms.
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; correspondingly, when the resource type is the target resource type and the resource consumption information of the second type of user account in the target interactive live broadcast process meets the preset condition, updating the interaction index data of the target user account according to the preset resource amount may include:
and updating the interaction index data of the target user account according to the preset resource amount under the condition that the resource type is the target resource type and the request time is matched with the preset consumption time.
In a specific embodiment, the preset consuming time may be a preset time point, and correspondingly, the matching between the request time and the preset consuming time may be that the request time is consistent with the preset consuming time, and correspondingly, the request time is consistent with the preset consuming time, and under the condition that the resource consuming information meets the preset condition, the resource consuming information may be determined. Optionally, the preset consumption time may be a preset time period, and correspondingly, the matching between the request time and the preset consumption time may be that the request time is within the preset consumption time, and correspondingly, the resource consumption information may be determined to meet the preset condition under the condition that the request time is within the preset consumption time.
In the above embodiment, by limiting the time for the second type of user account to consume the virtual resource of the target resource type for the target user account in the target interactive live broadcast process, the balance of the virtual resource consumed by the second type of user account in the live broadcast process can be effectively ensured, and then the interactivity between the whole users in the live broadcast platform can be improved on the basis of improving the balance of the viewer-viewer interaction in the main broadcast and the live broadcast.
In a specific embodiment, the resource consumption request further includes a preset interaction identifier corresponding to the target interactive live broadcast; the updating of the interaction index data of the target user account according to the preset resource amount may include, when the resource type is the target resource type and the resource consumption information of the second type of user account in the target interactive live broadcast process meets the preset condition:
and under the condition that the preset interaction identifier is a target interaction identifier corresponding to the target interaction live broadcast, the resource type is a target resource type, and the resource consumption information meets the preset condition, the server updates the interaction index data according to the preset resource amount.
In a specific embodiment, the preset resource amount may be a unit resource amount of a virtual resource of a target resource type, and the interaction index data may be a number of viewers that can represent that the virtual resource of the target resource type is consumed for the first type of user account in the target interactive live broadcast process, optionally, each preset resource amount may correspond to one count, and correspondingly, the interaction index data may be incremented by one to update the interaction index data.
In an optional embodiment, when the viewer calls a resource interface on the server side and requests for the anchor virtual resource consumption, the resource consumption request may be stored in a message queue, and accordingly, a preset index processing component on the server side may combine the resource consumption request from the message queue to perform update processing on interactive index data, optionally, in a scenario where the live broadcast platform has multiple interactive live broadcasts, for example, the live broadcast platform includes a preset interactive live broadcast (in a preset interactive live broadcast process, the resource consumption request corresponding to any resource type may be updated by interactive index data for an unlimited number of times) and a target interactive live broadcast, optionally, the preset index processing component may call a service component corresponding to the target interactive live broadcast to determine whether the live broadcast is the target interactive live broadcast, and optionally, if so, the preset index processing component may hand the resource consumption request to a target index processing component corresponding to the target interactive live broadcast for target index processing to perform target interactive live broadcast And (5) updating the interaction index data. If not, updating can be directly carried out according to the interaction index data updating rule corresponding to the preset interaction live broadcast.
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 in the target interactive live broadcasting process does not meet the preset condition, the interactive index data is not updated.
In the above embodiment, only when the preset interaction identifier is the target interaction identifier corresponding to the target interaction live broadcast, the interaction index data is performed in combination with the interaction live broadcast update rule corresponding to the target interaction live broadcast, so that the target interaction live broadcast can be effectively identified in various interaction live broadcasts, and further, the effectiveness of the interaction index data of the target interaction live broadcast can be improved on the basis of the diversity and the richness of the interaction live broadcasts in the platform.
In step S205, the server transmits the interaction index data to the target terminal.
In a specific embodiment, the target terminal may include at least two terminals of a first type of user account and a terminal of a second type of user account in the target interactive live broadcast.
In step S207, the target terminal updates the interaction index data of the at least two first-class user accounts displayed on the target interaction live page based on the interaction index data of the target user account.
In a specific embodiment, as shown in fig. 8, fig. 8 is a schematic diagram of a target interactive live page provided according to an exemplary embodiment. Fig. 8a is a schematic diagram of a target interactive live broadcast page at a first terminal, where information corresponding to 801 may be interactive index data of two first-class user accounts; fig. 8b is a schematic diagram of a target interactive live page at the second terminal side, and fig. 8c is a schematic diagram of a target interactive live page at the third terminal side.
In an optional embodiment, the method may further include:
the target terminal displays resource assistance information on a target interactive live broadcast page;
in a specific embodiment, the resource assisting information is used to prompt the second type user accounts corresponding to the at least two first type user accounts, so as to consume the virtual resources of the target resource type for the at least two first type user accounts. Optionally, the resource assistance information may be displayed for a preset duration from a preset time, for example, the preset duration starts to be displayed when the preset animation display is started (at the preset time), and optionally, the preset duration and the preset time may be set in combination with practical application. Optionally, as shown in fig. 8, the information corresponding to 802 may be resource boosting information.
In the above embodiment, by displaying the resource assistance information, the audience can be helped to know the resource consumption mode of the anchor interactive live broadcast assistance, and the interactivity in the interactive live broadcast process can be further improved.
In an optional embodiment, the target interaction live broadcast page further shows list exhibition control information corresponding to the resource consumption list; correspondingly, the method may further include:
the target terminal responds to a list display instruction triggered based on the list display control information and displays the resource consumption list on the target interaction live broadcast page;
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 consumption time of virtual resources of the target resource type consumed by the target user account in the target interactive live broadcasting process. Optionally, as shown in fig. 7, the information corresponding to 702 may be the list exhibition control information. Optionally, the list display instruction may be triggered by clicking the list display control information and the like. Optionally, in conjunction with fig. 9, fig. 9 is a target interaction live page showing a resource consumption list according to an exemplary embodiment.
In the above embodiment, the resource consumption list generated by combining the consumption time of the second type of user account for consuming the virtual resource of the target resource type by the target user account in the target interactive live broadcast process can effectively avoid imbalance of the anchor on the attention of the audience in the live broadcast room, and further can improve interactivity between the whole users in the live broadcast platform on the basis of improving the balance of interaction between the anchor and the audience.
As can be seen from the above technical solutions provided by the embodiments of the present specification, in a target interactive live broadcast process, for a resource consumption request sent by a terminal, where any one of first-class user accounts participating in the target interactive live broadcast corresponds to a second-class user account, when a resource type of a virtual resource requested to be consumed is a target resource type and resource consumption information of the second-class user account in the target interactive live broadcast process meets a preset condition, interaction index data of the corresponding first-class user account is updated in combination with a preset resource amount requested to be consumed, so that balance of the virtual resource consumed by the second-class user account in the target interactive live broadcast process can be ensured, and further, on the basis of improving balance of interaction between viewers in a main broadcast and a live broadcast, interactivity between overall users in a platform can be improved, and a large amount of invalid push-pull stream processing can be avoided, the system performance resource consumption of the live broadcast platform is reduced, and the system performance is improved.
The following describes an embodiment of a data processing method according to the present application with a server as an execution subject, and as shown in fig. 10, the method may include the following steps:
in step S1010, in a process of performing target interactive live broadcast on at least two first-type user accounts, receiving a resource consumption request sent by a first terminal, where the first terminal is a terminal of any second-type user account corresponding to any one of the at least two first-type user accounts, the resource consumption request includes a resource type and a preset resource amount of virtual resources required to be consumed, the first-type user accounts are user accounts performing live broadcast in a target interactive live broadcast process, and the second-type user accounts are user accounts watching live broadcast in a target interactive live broadcast process;
in step S1020, when the resource type is the target resource type and the resource consumption information of the second type of user account in the target interactive live broadcast process meets a preset condition, updating the interaction index data of the target user account according to a preset resource amount;
in step S1030, the interaction index data is sent to a target terminal, where the target terminal includes at least two terminals of a first type of user account and a terminal of a second type of user account in target interaction live broadcast; and the interactive index data is used for displaying the interactive live broadcast page corresponding to the target terminal.
In an optional embodiment, the method further includes:
receiving an interactive live broadcast request sent by a second terminal, wherein the second terminal is a terminal inviting a user account in at least two first-class user accounts, the interactive live broadcast request carries a first-class user account identifier, a target resource type and a preset interactive identifier corresponding to a third terminal, and the third terminal is a terminal of an invited user account in the at least two first-class user accounts;
sending interaction invitation information to a third terminal based on the first type of user account identification, wherein the interaction invitation information carries a target resource type;
receiving an interactive response instruction triggered by the third terminal based on the interactive invitation information;
creating at least two virtual interaction spaces corresponding to the first type of user accounts based on a preset interaction identifier and a target resource type;
and sending the interactive opening information to the second terminal and the third terminal.
In an optional embodiment, after receiving the interactive live broadcast request sent by the second terminal, the method further includes:
performing resource check on a target resource type based on at least one preset resource type to obtain a first resource check result;
and under the condition that the first resource verification result indicates that the verification is passed, executing a step of sending interaction invitation information carrying the target resource type to the third terminal based on the first type of user account identification.
In an optional embodiment, the method further includes:
acquiring historical consumption information corresponding to multiple resource types, wherein the historical consumption information represents consumption corresponding to virtual resources of the multiple resource types;
at least one preset resource type is determined from the plurality of resource types based on the historical consumption information.
In an optional embodiment, after receiving the interactive live broadcast request sent by the second terminal, the method further includes:
and storing the target resource type and the preset response time information to a preset cache based on the preset interactive identification.
In an optional embodiment, after receiving an interaction response instruction triggered by the third terminal based on the interaction invitation information, the method further includes:
acquiring preset response time information from a preset cache based on a preset interactive identifier;
performing response aging verification based on the preset response time information to obtain a response aging verification result;
and under the condition that the response time efficiency check result indicates that the response is not overtime, executing a step of creating virtual interaction spaces corresponding to at least two first-class user accounts based on a preset interaction identifier and a target resource type.
In an optional embodiment, the interactive response instruction carries an interactive resource type corresponding to the third terminal, and the method further includes:
acquiring a target resource type from a preset cache based on a preset interactive identifier;
performing resource check on the interactive resource type based on the target resource type to obtain a second resource check result;
and under the condition that the second resource verification result indicates that the verification is passed, executing a step of creating virtual interaction spaces corresponding to at least two first-class user accounts based on the preset interaction identifier and the target resource type.
In an optional embodiment, the resource consumption information includes historical consumption times of virtual resources of a target resource type consumed for the target user account, and the preset condition includes a preset consumption time; under the condition that the resource type is a target resource type and the resource consumption information of the second type of user account in the target interactive live broadcast process meets a preset condition, updating the interactive index data of the target user account according to a preset resource amount comprises the following steps:
and under the condition that the resource type is the target resource type and the historical consumption times are less than or equal to the preset consumption times, updating the interaction index data of the target user account according to the preset resource amount.
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; under the condition that the resource type is a target resource type and the resource consumption information of the second type of user account in the target interactive live broadcast process meets a preset condition, updating the interactive index data of the target user account according to a preset resource amount comprises the following steps:
and updating the interaction index data of the target user account according to the preset resource amount under the condition that the resource type is the target resource type and the request time is matched with the preset consumption time.
In an optional embodiment, the resource consumption request further includes a preset interaction identifier corresponding to the target interaction live broadcast; under the condition that the resource type is a target resource type and the resource consumption information of the second type of user account in the target interactive live broadcast process meets a preset condition, updating the interactive index data of the target user account according to a preset resource amount comprises the following steps:
and updating the interaction index data according to the preset resource amount under the condition that the preset interaction identifier is a target interaction identifier corresponding to the target interaction live broadcast, the resource type is a target resource type, and the resource consumption information meets the preset condition.
With regard to the method in the above embodiment, the specific manner in which each step is executed has been described in detail in the interactive side embodiment related to the method, and will not be elaborated herein.
The following embodiments of the data presentation method according to the present application are described with a terminal as an execution subject, and may include the following steps:
in the process of target interactive live broadcast of at least two first-class user accounts, displaying interactive index data of the at least two first-class user accounts on a target interactive live broadcast page;
the method comprises the steps that interaction index data of any one target user account in at least two first-class user accounts are obtained based on updating of a preset resource amount under the condition that a second-class user account corresponding to the target user account requests that a resource type of virtual resources consumed by the target user account is a target resource type, and resource consumption information of the second-class user account in a target interaction live broadcast process meets a preset condition, wherein the preset resource amount is a unit resource amount of the virtual resources of the target resource type; the first type of user account is a user account for live broadcast in the target interactive live broadcast process, and the second type of user account is a user account for watching live broadcast in the target interactive live broadcast process.
In an optional embodiment, the method further includes:
displaying resource assistance information on a target interactive live broadcast page;
the resource assisting information is used for prompting a second type of user account corresponding to the at least two first type of user accounts and consuming virtual resources of the target resource type for the at least two first type of user accounts.
In an optional embodiment, the target interaction live broadcast page further shows list exhibition control information corresponding to the resource consumption list; the method further comprises the following steps:
responding to a list display instruction triggered based on the list display control information, and displaying a resource consumption list on a target interactive live broadcast page;
the resource consumption list is generated based on the second type of user account corresponding to the target user account and consumption time of virtual resources of the target resource type consumed by the target user account in the target interactive live broadcast process.
In an optional embodiment, when the target interactive live broadcast page is an interactive live broadcast page of target second-type user accounts 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 further displays a resource consumption control corresponding to a target resource type, and the method further includes:
and under the condition that the resource consumption operation aiming at the resource consumption control is detected, sending a resource consumption request to the server, wherein the resource consumption request is used for indicating the server to update the interaction index data of the target second type user account corresponding to the first type user account.
In an optional embodiment, the resource consumption information includes historical consumption times of virtual resources of a target resource type consumed for the target user account, and the preset condition includes a preset consumption time; the resource consumption information meeting the preset condition comprises that the historical consumption times are less than or equal to the preset consumption times.
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 satisfying the preset condition includes that the request time matches with a preset consumption time.
In an optional embodiment, in the case that the target interactive live broadcast page is an interactive live broadcast page corresponding to an invitation user account in at least two first-class user accounts, the method further includes:
under the condition that preset operation aiming at preset interactive control information is detected, displaying a resource view corresponding to at least one preset resource type on a first direct-playing page;
responding to an interactive invitation instruction triggered by a resource view corresponding to a target resource type in at least one preset resource type, and sending an interactive live broadcast request to a server, wherein the interactive live broadcast request carries a first-type user account identification, the target resource type and a preset interactive identification corresponding to a third terminal, and the third terminal is a terminal of an invited user account in at least two first-type user accounts;
receiving interaction opening information sent by a server, wherein the interaction opening information is sent by the server under the condition that the server receives an interaction agreement instruction triggered by a third terminal based on interaction invitation information carrying a preset interaction identifier and a target resource type, and creates at least two virtual interaction spaces corresponding to first-class user accounts based on the preset interaction identifier and the target resource type;
and updating the first live broadcast page into a target interactive live broadcast page.
In an optional embodiment, in the case that the target interactive live broadcast page is an interactive live broadcast page corresponding to an invited user account of at least two first-type user accounts, the method further includes:
receiving interaction invitation information sent by a server, wherein the interaction invitation information carries a target resource type;
displaying a resource view corresponding to the target resource type on a second live broadcast page;
under the condition that an interactive confirmation operation aiming at the resource view is detected, an interactive response instruction is sent to the server, and the interactive response instruction is used for triggering the server to create virtual interactive spaces corresponding to at least two first-class user accounts based on a preset interactive identifier and a target resource type;
receiving interactive opening information sent by a server;
and updating the second live broadcast page into a target interactive live broadcast page.
With regard to the method in the above embodiment, the specific manner in which each step is executed has been described in detail in the interactive side embodiment related to the method, and will not be elaborated herein.
FIG. 11 is a block diagram illustrating another data processing apparatus according to an example embodiment. Referring to fig. 11, the apparatus includes:
a resource consumption request receiving module 1110, configured to receive a resource consumption request sent by a first terminal in a process of performing target interactive live broadcast on at least two first-class user accounts, where the first terminal is a terminal of any one second-class user account corresponding to any one of the at least two first-class user accounts, and the resource consumption request includes a resource type and a preset resource amount of virtual resources requested to be consumed;
the interaction index data updating module 1120 is configured to update the interaction index data of the target user account according to the preset resource amount under the condition that the resource type is the target resource type and the second type of user account does not consume the virtual resource of the target resource type for the target user account in the target interactive live broadcast process;
an interaction index data sending module 1130 configured to execute sending of interaction index data to a target terminal, where the target terminal includes at least two terminals of a first type of user account and a terminal of a second type of user account in target interaction live broadcast; and the interactive index data is used for displaying the interactive live broadcast page corresponding to the target terminal.
In an optional embodiment, the apparatus further comprises:
the interactive live broadcast request receiving module is configured to execute receiving of an interactive live broadcast request sent by a second terminal, the second terminal is a terminal inviting a user account in at least two first-class user accounts, the interactive live broadcast request carries a first-class user account identifier, a target resource type and a preset interactive identifier corresponding to a third terminal, and the third terminal is a terminal of an invited user account in the at least two first-class user accounts;
the interaction invitation information sending module is configured to execute sending of interaction invitation information to the third terminal based on the first type of user account identification, and the interaction invitation information carries a target resource type;
the interactive response instruction receiving module is configured to execute and receive an interactive response instruction triggered by the third terminal based on the interactive invitation information;
the virtual interaction space creating module is configured to execute creating virtual interaction spaces corresponding to at least two first-class user accounts based on a preset interaction identifier and a target resource type;
and the interaction opening information sending module is configured to execute sending of the interaction opening information to the second terminal and the third terminal.
In an optional embodiment, the apparatus further comprises:
the first resource checking module is configured to perform resource checking on a target resource type based on at least one preset resource type to obtain a first resource checking result;
the interaction invitation information sending module is further configured to send interaction invitation information carrying the target resource type to the third terminal based on the first type of user account identification under the condition that the first resource verification result indicates that the verification is passed.
In an optional embodiment, the apparatus further comprises:
the historical consumption information acquisition module is configured to acquire historical consumption information corresponding to multiple resource types, and the historical consumption information represents consumption corresponding to virtual resources of the multiple resource types;
a preset resource type determination module configured to perform determining at least one preset resource type from among a plurality of resource types based on the historical consumption information.
In an optional embodiment, the apparatus further comprises:
and the information storage module is configured to store the target resource type and the preset response time information to a preset cache based on the preset interaction identifier.
In an optional embodiment, the apparatus further comprises:
the preset response time information acquisition module is configured to acquire preset response time information from a preset cache based on a preset interaction identifier;
the response time validity checking module is configured to execute response time validity checking based on preset response time information to obtain a response time validity checking result;
the virtual interactive space creating module is further configured to create at least two virtual interactive spaces corresponding to the first type of user account based on the preset interactive identifier and the target resource type under the condition that the response time validity check result indicates that no response is overtime.
In an optional embodiment, the interactive response instruction carries an interactive resource type corresponding to the third terminal, and the apparatus further includes:
the target resource type obtaining module is configured to obtain the target resource type from a preset cache based on the preset interaction identifier;
the second resource checking module is configured to perform resource checking on the interactive resource type based on the target resource type to obtain a second resource checking result;
the virtual interaction space creating module is further configured to create at least two virtual interaction spaces corresponding to the first type of user account based on the preset interaction identifier and the target resource type under the condition that the second resource verification result indicates that the verification is passed.
In an optional embodiment, the resource consumption information includes historical consumption times of virtual resources of a target resource type consumed for the target user account, and the preset condition includes a preset consumption time; the interaction index data updating module 1120 is specifically configured to update the interaction index data of the target user account according to the preset resource amount when the resource type is the target resource type and the historical consumption times are less than or equal to the preset consumption times.
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 interaction index data updating module 1120 is specifically configured to update the interaction index data of the target user account according to the preset resource amount when the resource type is the target resource type and the request time matches with the preset consumption time.
In an optional embodiment, the resource consumption request further includes a preset interaction identifier corresponding to the target interaction live broadcast; the interaction index data updating module 1120 is specifically configured to update the interaction index data according to the preset resource amount when the preset interaction identifier is a target interaction identifier corresponding to the target interaction live broadcast, the resource type is a target resource type, and the resource consumption information meets the preset condition.
FIG. 12 is a block diagram illustrating a data presentation device according to an exemplary embodiment. Referring to fig. 12, the apparatus includes:
the interaction index data display module 1210 is configured to display interaction index data of at least two first-class user accounts on a target interaction live broadcast page in a process of performing target interaction live broadcast on the at least two first-class user accounts;
the method comprises the steps that interaction index data of any one target user account in at least two first-class user accounts are obtained based on updating of a preset resource amount under the condition that a second-class user account corresponding to the target user account requests that a resource type of virtual resources consumed by the target user account is a target resource type, and resource consumption information of the second-class user account in a target interaction live broadcast process meets a preset condition, wherein the preset resource amount is a unit resource amount of the virtual resources of the target resource type; the first type of user account is a user account for live broadcast in the target interactive live broadcast process, and the second type of user account is a user account for watching live broadcast in the target interactive live broadcast process.
In an optional embodiment, the apparatus further comprises:
the resource assistance information display module is configured to display the resource assistance information on a target interactive live broadcast page;
the resource assisting information is used for prompting second type user accounts corresponding to the at least two first type user accounts and consuming virtual resources of the target resource type for the at least two first type user accounts.
In an optional embodiment, the target interaction live broadcast page further displays list exhibition control information corresponding to the resource consumption list; the above-mentioned device still includes:
the resource consumption list display module is configured to execute a list display instruction triggered based on the list display control information, and display the resource consumption list on the target interactive live broadcast page;
the resource consumption list is generated based on the second type of user account corresponding to the target user account and consumption time of virtual resources of the target resource type consumed by the target user account in the target interactive live broadcast process.
In an optional embodiment, in a case that 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, the target interactive live broadcast page further displays a resource consumption control corresponding to a target resource type, and the apparatus further includes:
and the resource consumption request sending module is configured to send a resource consumption request to the server under the condition that the resource consumption operation aiming at the resource consumption control is detected, wherein the resource consumption request is used for indicating the server to update the interaction index data of the target second-type user account corresponding to the first-type user account.
In an optional embodiment, the resource consumption information includes historical consumption times of virtual resources of a target resource type consumed for the target user account, and the preset condition includes a preset consumption time; the resource consumption information meeting the preset condition comprises that the historical consumption times are less than or equal to the preset consumption times.
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 satisfying the preset condition includes that the request time matches with a preset consumption time.
In an optional embodiment, in a case that the target interactive live broadcast page is an interactive live broadcast page corresponding to an invited user account in at least two first-type user accounts, the apparatus further includes:
the first resource view display module is configured to display a resource view corresponding to at least one preset resource type on a first direct-broadcasting page under the condition that a preset operation aiming at preset interactive control information is detected;
the interactive live broadcast request sending module is 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 the server, wherein the interactive live broadcast request carries a first-class user account identification, the target resource type and a preset interactive identification corresponding to a third terminal, and the third terminal is a terminal of an invited user account in at least two first-class user accounts;
the interaction starting information receiving module is configured to execute interaction starting information sent by the receiving server, and the interaction starting information is sent when the server receives an interaction agreement instruction triggered by the third terminal based on the interaction invitation information carrying the preset interaction identifier and the target resource type and creates at least two virtual interaction spaces corresponding to the first type of user account based on the preset interaction identifier and the target resource type;
a first page update module configured to perform an update of the first live page to a target interactive live page.
In an optional embodiment, in a case that the target interactive live broadcast page is an interactive live broadcast page corresponding to an invited user account of the at least two first-type user accounts, the apparatus further includes:
the interactive invitation information receiving module is configured to execute interactive invitation information sent by the receiving server, and the interactive invitation information carries the target resource type;
the second resource view display module is configured to display the resource view corresponding to the target resource type on a second live broadcast page;
the interactive response instruction sending module is configured to send an interactive response instruction to the server under the condition that the interactive confirmation operation aiming at the resource view is detected, wherein the interactive response instruction is used for triggering the server to create virtual interactive spaces corresponding to at least two first-class user accounts based on a preset interactive identifier and a target resource type;
the interactive opening information receiving module is configured to execute receiving of the interactive opening information sent by the server;
and the second page updating module is configured to update the second live broadcast page into a target interactive live broadcast page.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 13 is a block diagram illustrating an electronic device for data processing or data presentation, which may be a terminal, according to an example embodiment, and its internal structure diagram may be as shown in fig. 13. The electronic device comprises a processor, a memory, a network interface, a display screen and an input device which are connected through a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic equipment comprises a nonvolatile 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 an operating system and computer programs in the non-volatile storage medium. The network interface of the electronic device is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to implement a data processing or data presentation method. The display screen of the electronic equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the electronic equipment, an external keyboard, a touch pad or a mouse and the like.
Fig. 14 is a block diagram illustrating an electronic device for data processing or data presentation, which may be a server, according to an example embodiment, and its internal structure diagram may be as shown in fig. 14. The electronic device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic equipment comprises a nonvolatile 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 an operating system and computer programs in the non-volatile storage medium. The network interface of the electronic device is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to implement a data processing or data presentation method.
It will be understood by those skilled in the art that the configurations shown in fig. 13 or fig. 14 are block diagrams of only some of the configurations associated with the present disclosure, and do not constitute a limitation on the electronic devices to which the present disclosure may be applied, and a particular electronic device may include more or fewer components than shown in the figures, or may combine certain components, or have a different arrangement of components.
In an exemplary embodiment, there is also provided an electronic device including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement a data processing or data presentation method as in the embodiments of the present disclosure.
In an exemplary embodiment, there is also provided a computer-readable storage medium, in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform a data processing or data presentation method in the embodiments of the present disclosure.
In an exemplary embodiment, a computer program product containing instructions is also provided, which when run on a computer, causes the computer to perform the data processing or data presentation methods in the embodiments of the present disclosure.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements 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 (23)
1. A data processing method, comprising:
receiving a resource consumption request sent by a first terminal in the process of target interactive live broadcast of at least two first-class user accounts, wherein the first terminal is a terminal of any second-class user account corresponding to any target user account in the at least two first-class user accounts, the resource consumption request comprises a resource type and a preset resource amount of virtual resources required to be consumed, the first-class user accounts are user accounts for live broadcast in the target interactive live broadcast process, and the second-class user accounts are user accounts for live broadcast watching in the target interactive live broadcast process;
updating interaction index data of the target user account according to the preset resource amount under the condition that the resource type is a target resource type and the resource consumption information of the second type of user account in the target interaction live broadcast process meets the preset condition;
sending the interaction index data to a target terminal, wherein the target terminal comprises terminals of the at least two first-class user accounts and terminals of a second-class user account in the target interaction live broadcast; and the interactive index data is used for displaying an interactive live broadcast page corresponding to the target terminal.
2. The data processing method of claim 1, wherein the method further comprises:
receiving an interactive live broadcast request sent by a second terminal, wherein the second terminal is a terminal inviting a user account in the at least two first-class user accounts, the interactive live broadcast request carries a first-class user account identifier, the target resource type and a preset interactive identifier corresponding to a third terminal, and the third terminal is a terminal of an invited user account in the at least two first-class user accounts;
sending interaction invitation information to the third terminal based on the first type user account identification, wherein 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;
creating virtual interaction spaces corresponding to the at least two first-class user accounts based on the preset interaction identifier and the target resource type;
and sending interactive opening information to the second terminal and the third terminal.
3. The data processing method according to claim 2, wherein after the receiving of the interactive live broadcast request sent by the second terminal, the method further comprises:
performing resource check on the target resource type based on at least one preset resource type to obtain a first resource check result;
and under the condition that the first resource verification result indicates that the verification is passed, executing the step of sending the interaction invitation information carrying the target resource type to the third terminal based on the first type user account identification.
4. The data processing method of claim 3, wherein the method further comprises:
acquiring historical consumption information corresponding to multiple resource types, wherein the historical consumption information represents consumption corresponding to virtual resources of the multiple resource types;
determining the at least one preset resource type from the plurality of resource types based on the historical consumption information.
5. The data processing method according to claim 2, wherein after the receiving of the interactive live broadcast request sent by the second terminal, the method further comprises:
and storing the target resource type and the preset response time information to a preset cache based on the preset interactive identification.
6. The data processing method according to claim 5, wherein after said receiving an interaction response instruction triggered by the third terminal based on the interaction invitation information, the method further comprises:
acquiring the preset response time information from the preset cache based on the preset interaction identifier;
performing response aging verification based on the preset response time information to obtain a response aging verification result;
and under the condition that the response aging verification result indicates that no overtime response exists, executing the step of creating the virtual interaction space corresponding to the at least two first-class user accounts based on the preset interaction identifier and the target resource type.
7. The data processing method according to claim 5, wherein the interactive response instruction carries an interactive resource type corresponding to the third terminal, and the method further comprises:
acquiring the target resource type from the preset cache based on the preset interactive identification;
performing resource check on the interactive resource type based on the target resource type to obtain a second resource check result;
and under the condition that the second resource verification result indicates that the verification is passed, executing the step of creating the virtual interaction space corresponding to the at least two first-class user accounts based on the preset interaction identifier and the target resource type.
8. The data processing method according to any one of claims 1 to 5, wherein the resource consumption information includes historical consumption times for the target user account to consume the virtual resource of the target resource type, and the preset condition includes a preset consumption time; under the condition that the resource type is a target resource type and the resource consumption information of the second type of user account in the target interactive live broadcast process meets a preset condition, updating the interactive index data of the target user account according to the preset resource amount comprises the following steps:
and updating the interaction index data of the target user account according to the preset resource amount under the condition that the resource type is the target resource type and the historical consumption times are less than or equal to the preset consumption times.
9. The data processing method according to any one of claims 1 to 5, wherein the resource consumption information includes a request time corresponding to the resource consumption request, and the preset condition includes a preset consumption time; under the condition that the resource type is a target resource type and the resource consumption information of the second type of user account in the target interactive live broadcast process meets a preset condition, updating the interactive index data of the target user account according to the preset resource amount comprises the following steps:
and updating the interaction index data of the target user account according to the preset resource amount under the condition that the resource type is the target resource type and the request time is matched with the preset consumption time.
10. The data processing method of any one of claims 1 to 5, wherein the resource consumption request further includes a preset interaction identifier corresponding to the target interaction live broadcast; under the condition that the resource type is a target resource type and the resource consumption information of the second type of user account in the target interactive live broadcast process meets a preset condition, updating the interactive index data of the target user account according to the preset resource amount comprises the following steps:
and updating the interaction index data according to the preset resource amount under the condition that the preset interaction identifier is a target interaction identifier corresponding to the target interaction live broadcast, the resource type is the target resource type, and the resource consumption information meets the preset condition.
11. A method for displaying data, comprising:
in the process of target interactive live broadcast of at least two first-class user accounts, displaying interactive index data of the at least two first-class user accounts on a target interactive live broadcast page;
the interactive index data of any one target user account of the at least two first-class user accounts is obtained by updating based on a preset resource amount under the condition that a second-class user account corresponding to the target user account requests that a resource type of virtual resources consumed by the target user account is a target resource type and resource consumption information of the second-class user account in the target interactive live broadcast process meets a preset condition, wherein the preset resource amount is a unit resource amount of the virtual resources of the target resource type; the first type of user account is a user account for live broadcast in the target interactive live broadcast process, and the second type of user account is a user account for live broadcast watching in the target interactive live broadcast process.
12. The method of claim 11, further comprising:
displaying resource assistance information on the target interactive live broadcast page;
the resource assisting information is used for prompting a second type user account corresponding to the at least two first type user accounts and consuming the virtual resources of the target resource type for the at least two first type user accounts.
13. The data display method of claim 11, wherein the target interaction live broadcast page further displays list display control information corresponding to the resource consumption list; the method also comprises
Responding to a list display instruction triggered based on the list display control information, and displaying the resource consumption list on the target interaction live broadcast page;
the resource consumption list is generated based on a second type user account corresponding to the target user account and consumption time of virtual resources of the target resource type consumed by the target user account in the target interactive live broadcast process.
14. The data presentation method according to any one of claims 11 to 13, wherein the resource consumption information includes historical consumption times for the target user account to consume the virtual resource of the target resource type, and the preset condition includes a preset consumption time; the resource consumption information meeting the preset condition comprises that the historical consumption times are less than or equal to the preset consumption times.
15. The data presentation method according to any one of claims 11 to 13, wherein 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 meeting a preset condition includes that the request time matches the preset consumption time.
16. The data presentation method according to any one of claims 11 to 13, wherein 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 presents a resource consumption control corresponding to the target resource type, and the method further includes:
and sending a resource consumption request to a server under the condition that the resource consumption operation aiming at the resource consumption control is detected, wherein the resource consumption request is used for indicating the server to update the interaction index data of the first type user account corresponding to the target second type user account.
17. The data presentation method according to any one of claims 11 to 13, wherein when the target interactive live broadcast page is an interactive live broadcast page corresponding to an invited user account of the at least two first-type user accounts, the method further includes:
under the condition that preset operation aiming at preset interactive control information is detected, displaying a resource view corresponding to at least one preset resource type on a first direct-playing page;
responding to an interactive invitation instruction triggered by a resource view corresponding to a target resource type in the at least one preset resource type, and sending an interactive live broadcast request to a server, wherein the interactive live broadcast request carries a first-class user account identification, the target resource type and a preset interactive identification corresponding to a third terminal, and the third terminal is a terminal of an invited user account in the at least two first-class user accounts;
receiving interaction opening information sent by the server, wherein the interaction opening information is sent when the server receives an interaction agreement instruction triggered by the third terminal based on interaction invitation information carrying the preset interaction identifier and the target resource type, and creates virtual interaction spaces corresponding to the at least two first-class user accounts based on the preset interaction identifier and the target resource type;
and updating the first live broadcast page into the target interactive live broadcast page.
18. The data presentation method according to any one of claims 11 to 13, wherein when the target interactive live page is an interactive live page corresponding to an invited user account of the at least two first-class user accounts, the method further comprises:
receiving interaction invitation information sent by a server, wherein the interaction invitation information carries the target resource type;
displaying a resource view corresponding to the target resource type on a second live broadcast page;
under the condition that an interactive confirmation operation aiming at the resource view is detected, an interactive response instruction is sent to a server, and the interactive response instruction is used for triggering the server to create virtual interactive spaces corresponding to the at least two first-class user accounts based on a preset interactive identifier and the target resource type;
receiving interactive opening information sent by the server;
and updating the second live broadcast page into the target interaction live broadcast page.
19. A data processing apparatus, comprising:
the resource consumption request receiving module is configured to execute a target interactive live broadcast process of at least two first-class user accounts, and receive a resource consumption request sent by a first terminal, wherein the first terminal is a terminal of any second-class user account corresponding to any one of the at least two first-class user accounts, the resource consumption request comprises a resource type and a preset resource amount of virtual resources required to be consumed, the first-class user accounts are user accounts for live broadcast in the target interactive live broadcast process, and the second-class user accounts are user accounts for live broadcast watching in the target interactive live broadcast process;
the interaction index data updating module is configured to update the interaction index data of the target user account according to the preset resource amount when the resource type is a target resource type and the resource consumption information of the second type of user account in the target interaction live broadcast process meets the preset condition;
the interaction index data sending module is configured to execute sending of the interaction index data to a target terminal, and the target terminal comprises terminals of the at least two first-class user accounts and terminals of a second-class user account in the target interaction live broadcast; and the interactive index data is used for displaying an interactive live broadcast page corresponding to the target terminal.
20. A data presentation device, comprising:
the interactive index data display module is configured to display interactive index data of at least two first-class user accounts on a target interactive live broadcast page in the process of performing target interactive live broadcast on the at least two first-class user accounts;
the interactive index data of any one target user account of the at least two first-class user accounts is obtained by updating based on a preset resource amount under the condition that a second-class user account corresponding to the target user account requests that a resource type of virtual resources consumed by the target user account is a target resource type and resource consumption information of the second-class user account in the target interactive live broadcast process meets a preset condition, wherein the preset resource amount is a unit resource amount of the virtual resources of the target resource type; the first type of user account is a user account for live broadcast in the target interactive live broadcast process, and the second type of user account is a user account for watching live broadcast in the target interactive live broadcast process.
21. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the data processing method of any one of claims 1 to 10 or the data presentation method of any one of claims 11 to 18.
22. A computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the data processing method of any one of claims 1 to 10 or the data presentation method of any one of claims 11 to 18.
23. A computer program product comprising computer instructions, characterized in that the computer instructions, when executed by a processor, implement the data processing method of any one of claims 1 to 10 or the data presentation method of any one of claims 11 to 18.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210613137.9A CN115037955A (en) | 2022-05-31 | 2022-05-31 | Data processing method, data display method, data processing device, data display device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210613137.9A CN115037955A (en) | 2022-05-31 | 2022-05-31 | Data processing method, data display method, data processing device, data display device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115037955A true CN115037955A (en) | 2022-09-09 |
Family
ID=83123716
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210613137.9A Pending CN115037955A (en) | 2022-05-31 | 2022-05-31 | Data processing method, data display method, data processing device, data display device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115037955A (en) |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109756504A (en) * | 2019-01-16 | 2019-05-14 | 武汉斗鱼鱼乐网络科技有限公司 | A kind of communication means and relevant apparatus based on live streaming platform |
CN111654716A (en) * | 2020-06-12 | 2020-09-11 | 广州繁星互娱信息科技有限公司 | Live broadcast room recommendation method and device, electronic equipment and computer readable storage medium |
CN111787345A (en) * | 2020-07-07 | 2020-10-16 | 北京达佳互联信息技术有限公司 | Interactive resource processing method and device based on network live broadcast room, server and storage medium |
CN111818359A (en) * | 2020-09-14 | 2020-10-23 | 北京达佳互联信息技术有限公司 | Processing method and device for live interactive video, electronic equipment and server |
CN112511851A (en) * | 2020-11-20 | 2021-03-16 | 腾讯科技(深圳)有限公司 | Interaction method, device and equipment based on live broadcast room and readable storage medium |
CN112672176A (en) * | 2020-12-15 | 2021-04-16 | 北京达佳互联信息技术有限公司 | Interaction method, device, terminal, server and medium based on virtual resources |
CN112714330A (en) * | 2020-12-25 | 2021-04-27 | 广州方硅信息技术有限公司 | Gift presenting method and device based on live broadcast with wheat and electronic equipment |
CN113041625A (en) * | 2021-04-25 | 2021-06-29 | 腾讯科技(深圳)有限公司 | Display method, device and equipment of live interface and readable storage medium |
CN113082704A (en) * | 2021-05-07 | 2021-07-09 | 腾讯科技(深圳)有限公司 | Interactive game live broadcast method, device, storage medium and equipment |
CN113949892A (en) * | 2021-10-14 | 2022-01-18 | 广州方硅信息技术有限公司 | Live broadcast interaction method and system based on virtual resource consumption and computer equipment |
CN114268842A (en) * | 2021-12-20 | 2022-04-01 | 上海哔哩哔哩科技有限公司 | Live broadcast interaction method, device and system |
CN114390362A (en) * | 2022-01-05 | 2022-04-22 | 武汉斗鱼鱼乐网络科技有限公司 | Interactive information processing method of live broadcast room, live broadcast client and live broadcast server |
CN114461896A (en) * | 2021-12-20 | 2022-05-10 | 北京达佳互联信息技术有限公司 | Information processing method, information display method, information processing device and information display device, and storage medium |
CN114501047A (en) * | 2022-01-13 | 2022-05-13 | 广州繁星互娱信息科技有限公司 | Virtual resource interaction method and device, storage medium and electronic device |
-
2022
- 2022-05-31 CN CN202210613137.9A patent/CN115037955A/en active Pending
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109756504A (en) * | 2019-01-16 | 2019-05-14 | 武汉斗鱼鱼乐网络科技有限公司 | A kind of communication means and relevant apparatus based on live streaming platform |
CN111654716A (en) * | 2020-06-12 | 2020-09-11 | 广州繁星互娱信息科技有限公司 | Live broadcast room recommendation method and device, electronic equipment and computer readable storage medium |
CN111787345A (en) * | 2020-07-07 | 2020-10-16 | 北京达佳互联信息技术有限公司 | Interactive resource processing method and device based on network live broadcast room, server and storage medium |
CN111818359A (en) * | 2020-09-14 | 2020-10-23 | 北京达佳互联信息技术有限公司 | Processing method and device for live interactive video, electronic equipment and server |
CN112511851A (en) * | 2020-11-20 | 2021-03-16 | 腾讯科技(深圳)有限公司 | Interaction method, device and equipment based on live broadcast room and readable storage medium |
CN112672176A (en) * | 2020-12-15 | 2021-04-16 | 北京达佳互联信息技术有限公司 | Interaction method, device, terminal, server and medium based on virtual resources |
CN112714330A (en) * | 2020-12-25 | 2021-04-27 | 广州方硅信息技术有限公司 | Gift presenting method and device based on live broadcast with wheat and electronic equipment |
CN113041625A (en) * | 2021-04-25 | 2021-06-29 | 腾讯科技(深圳)有限公司 | Display method, device and equipment of live interface and readable storage medium |
CN113082704A (en) * | 2021-05-07 | 2021-07-09 | 腾讯科技(深圳)有限公司 | Interactive game live broadcast method, device, storage medium and equipment |
CN113949892A (en) * | 2021-10-14 | 2022-01-18 | 广州方硅信息技术有限公司 | Live broadcast interaction method and system based on virtual resource consumption and computer equipment |
CN114268842A (en) * | 2021-12-20 | 2022-04-01 | 上海哔哩哔哩科技有限公司 | Live broadcast interaction method, device and system |
CN114461896A (en) * | 2021-12-20 | 2022-05-10 | 北京达佳互联信息技术有限公司 | Information processing method, information display method, information processing device and information display device, and storage medium |
CN114390362A (en) * | 2022-01-05 | 2022-04-22 | 武汉斗鱼鱼乐网络科技有限公司 | Interactive information processing method of live broadcast room, live broadcast client and live broadcast server |
CN114501047A (en) * | 2022-01-13 | 2022-05-13 | 广州繁星互娱信息科技有限公司 | Virtual resource interaction method and device, storage medium and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11962861B2 (en) | Live streaming room red packet processing method and apparatus, and medium and electronic device | |
US10065119B2 (en) | Game accessing method and processing method, server, terminal, and system | |
CN110515573B (en) | Screen projection method, device and system and computer equipment | |
US20190149852A1 (en) | Live broadcasting method, method for presenting live broadcasting data stream, and terminal | |
US20220072436A1 (en) | Method and apparatus for game live-streaming | |
WO2017202243A1 (en) | Multimedia playback method and related device | |
WO2014183427A1 (en) | Method and apparatus for displaying webcast rooms | |
CN113727130B (en) | Message prompting method, system and device for live broadcasting room and computer equipment | |
CN113467674B (en) | Virtual space operation method and device, electronic equipment and storage medium | |
CN109275042B (en) | Bullet screen message distribution method, bullet screen message distribution device, terminal and storage medium | |
CN113613027B (en) | Live broadcast room recommendation method and device and computer equipment | |
CN113467676A (en) | Virtual space operation method and device, electronic equipment and storage medium | |
CN112818420B (en) | Social session method, device, terminal and medium | |
CN112486620A (en) | Cross-process off-screen rendering method and device, electronic equipment and storage medium | |
CN111246238A (en) | Live broadcast method, device, storage medium and live broadcast system | |
CN114666671A (en) | Live broadcast praise interaction method, system, device, equipment and storage medium | |
CN115412774A (en) | Interactive processing method, device, electronic equipment, storage medium and program product | |
US20170171266A1 (en) | Method and electronic device based on android platform for multimedia resource play | |
CN113467675A (en) | Virtual space operation method and device, electronic equipment and storage medium | |
CN113034208A (en) | Virtual resource processing method and device, electronic equipment and storage medium | |
CN110109597B (en) | Singing list switching method, device, system, terminal and storage medium | |
CN115037955A (en) | Data processing method, data display method, data processing device, data display device, electronic equipment and storage medium | |
CN114885191A (en) | Interaction method, system, device and equipment based on exclusive nickname of live broadcast room | |
CN112738608B (en) | Live video interaction method, client, device and medium | |
CN111913761A (en) | Plug-in processing method, device, equipment and storage medium for live channel |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |