CN106487781B - Resource data processing method, device and system based on live broadcast - Google Patents
Resource data processing method, device and system based on live broadcast Download PDFInfo
- Publication number
- CN106487781B CN106487781B CN201610821185.1A CN201610821185A CN106487781B CN 106487781 B CN106487781 B CN 106487781B CN 201610821185 A CN201610821185 A CN 201610821185A CN 106487781 B CN106487781 B CN 106487781B
- Authority
- CN
- China
- Prior art keywords
- interactive
- interactive resource
- information
- live broadcast
- resource
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/75—Media network packet handling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/61—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
- H04L65/611—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for multicast or broadcast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/75—Media network packet handling
- H04L65/764—Media network packet handling at the destination
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to a resource data processing method, a device and a system based on live broadcast, comprising the following steps: acquiring live broadcast attribute information corresponding to a live broadcast room, wherein the live broadcast attribute information comprises at least one of anchor user information and live broadcast room information; sending an interactive resource acquisition request to a server, wherein the interactive resource acquisition request comprises the live broadcast attribute information, so that the server acquires a matched interactive resource type according to the live broadcast attribute information and prestored interactive resource configuration information, acquires a corresponding interactive resource according to the interactive resource type, and returns the interactive resource; and displaying the identification data corresponding to the interactive resources, and matching different interactive resources for different clients according to the live broadcast attribute.
Description
Technical Field
The invention relates to the technical field of computers, in particular to a resource data processing method, device and system based on live broadcast.
Background
With the development of computer technology, live broadcast becomes a popular interactive communication mode, live broadcast refers to real-time data sharing by using internet and streaming media technology, a main broadcast user side can establish an online live broadcast room, live broadcast data stream sharing is performed to audience user sides in the online live broadcast room, the audience users can see live broadcast contents in the current online live broadcast room, such as video contents, and the like, in the live broadcast process, live broadcast liveness can be improved by sending interactive resources, and the interactive resources comprise virtual gifts, virtual expressions, electronic red packets and the like.
In the traditional live broadcast process, the anchor terminal and the audience terminal can only see fixed interactive resources, and the presentation and sharing forms of the interactive resources are single.
Disclosure of Invention
Therefore, it is necessary to provide a method, an apparatus, and a system for processing resource data based on live broadcast, which can match different interactive resources for different clients according to the live broadcast attribute.
A method for processing resource data based on live broadcast, the method comprising:
acquiring live broadcast attribute information corresponding to a live broadcast room, wherein the live broadcast attribute information comprises at least one of anchor user information and live broadcast room information;
sending an interactive resource acquisition request to a server, wherein the interactive resource acquisition request comprises the live broadcast attribute information, so that the server acquires a matched interactive resource type according to the live broadcast attribute information and prestored interactive resource configuration information, acquires a corresponding interactive resource according to the interactive resource type, and returns the interactive resource;
and displaying the identification data corresponding to the interactive resources.
A live-based resource data processing apparatus, the apparatus comprising:
the live broadcast attribute information acquisition module is used for acquiring live broadcast attribute information corresponding to a live broadcast room, wherein the live broadcast attribute information comprises at least one of anchor user information and live broadcast room information;
the interactive resource acquisition module is used for sending an interactive resource acquisition request to a server, wherein the interactive resource acquisition request comprises the live broadcast attribute information, so that the server acquires a matched interactive resource type according to the live broadcast attribute information and prestored interactive resource configuration information, acquires a corresponding interactive resource according to the interactive resource type, and returns the interactive resource;
and the resource identifier display module is used for displaying the identifier data corresponding to the interactive resources.
The resource data processing method based on live broadcast obtains the corresponding live broadcast attribute information of the live broadcast room, the live broadcast attribute information comprises at least one of anchor user information and live broadcast room information, an interactive resource acquisition request is sent to the server, the interactive resource acquisition request comprises the live broadcast attribute information, so that the server can obtain the matched interactive resource type according to the live broadcast attribute information and the pre-stored interactive resource configuration information, acquiring corresponding interactive resources according to the interactive resource category, returning the interactive resources, displaying identification data corresponding to the interactive resources, establishing the matching relation between the live broadcast attribute information and the interactive resource category through the pre-stored interactive resource configuration information, the users of the live broadcast rooms with different live broadcast attribute information can obtain different interactive resource types, so that the flexible configuration of the interactive resources is achieved, and different interactive resources are matched for different clients.
A method for processing resource data based on live broadcast, the method comprising:
receiving an interactive resource acquisition request sent by a user terminal in a live broadcast room, wherein the interactive resource acquisition request comprises live broadcast attribute information, and the live broadcast attribute information comprises at least one of anchor user information and live broadcast room information;
acquiring prestored interactive resource configuration information, and acquiring a matched interactive resource category according to the live broadcast attribute information and the interactive resource configuration information;
and acquiring corresponding interactive resources according to the interactive resource category, and issuing the interactive resources to the user terminal so that the user terminal displays identification data corresponding to the interactive resources.
A live-based resource data processing apparatus, the apparatus comprising:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving an interactive resource acquisition request sent by a user terminal in a live broadcast room, the interactive resource acquisition request comprises live broadcast attribute information, and the live broadcast attribute information comprises at least one of anchor user information and live broadcast room information;
the interactive resource type determining module is used for acquiring prestored interactive resource configuration information and acquiring a matched interactive resource type according to the live broadcast attribute information and the interactive resource configuration information;
and the interactive resource issuing module is used for acquiring corresponding interactive resources according to the interactive resource types and issuing the interactive resources to the user terminal so that the user terminal can display the identification data corresponding to the interactive resources.
The method and the device for processing the resource data based on the live broadcast receive an interactive resource acquisition request sent by a user terminal in a live broadcast room, the interactive resource acquisition request comprises live broadcast attribute information, the live broadcast attribute information comprises at least one of anchor user information and live broadcast room information, prestored interactive resource configuration information is obtained, a matched interactive resource type is obtained according to the live broadcast attribute information and the interactive resource configuration information, a corresponding interactive resource is obtained according to the interactive resource type, the interactive resource is issued to the user terminal, so that the user terminal displays identification data corresponding to the interactive resource, the matching relation between the live broadcast attribute information and the interactive resource type is established in the prestored interactive resource configuration information, users in the live broadcast rooms with different live broadcast attribute information can obtain different interactive resource types, and the flexible configurability of the interactive resource is achieved, different interactive resources are matched for different clients.
A live-based resource data processing system, the system comprising:
the system comprises a user terminal, a server and a server, wherein the user terminal is used for acquiring live broadcast attribute information corresponding to a live broadcast room, the live broadcast attribute information comprises at least one of anchor user information and live broadcast room information, and sending an interactive resource acquisition request to the server, and the interactive resource acquisition request comprises the live broadcast attribute information;
the server is used for acquiring prestored interactive resource configuration information, acquiring a matched interactive resource type according to the live broadcast attribute information and the interactive resource configuration information, acquiring a corresponding interactive resource according to the interactive resource type, and issuing the interactive resource to the user terminal;
the user terminal is further used for displaying the identification data corresponding to the interactive resources.
According to the resource data processing system based on live broadcast, through the cooperation of the user terminal and the server, the matching relation between the live broadcast attribute information and the interactive resource categories is established through the pre-stored interactive resource configuration information, so that users in live broadcast rooms with different live broadcast attribute information can obtain different interactive resource categories, the flexible configuration of interactive resources is achieved, and different interactive resources are matched for different clients.
Drawings
FIG. 1 is a diagram of an application environment of a live-based resource data processing method in an embodiment;
fig. 2 is an internal structure diagram of the first terminal or the second terminal in fig. 1 according to an embodiment;
FIG. 3 is a flow diagram of a method for live based resource data processing in one embodiment;
FIG. 4 is a diagram of a first gift resource identification list in one embodiment;
FIG. 5 is a diagram of a second gift resource identification list in one embodiment;
FIG. 6 is a diagram illustrating downloading of interactive resources based on a list of interactive resources, in accordance with one embodiment;
FIG. 7 is a flowchart illustrating obtaining interactive resources based on verification information according to an embodiment;
FIG. 8 is a flow diagram that illustrates interactive resources, in one embodiment;
FIG. 9 is a timing diagram between messages and queues when interacting with a resource in one embodiment;
FIG. 10 is a flow diagram of another method for live based resource data processing in one embodiment;
FIG. 11 is a flow diagram of obtaining interactive resource categories, under an embodiment;
FIG. 12 is a flow diagram of updating interactive resources based on verification information, under an embodiment;
FIG. 13 is a block diagram of a live feed-based resource data processing apparatus according to an embodiment;
fig. 14 is a block diagram showing a configuration of a live broadcast-based resource data processing apparatus according to another embodiment;
FIG. 15 is a block diagram of an interactive resource acquisition module in an embodiment;
fig. 16 is a block diagram showing the construction of a live broadcast-based resource data processing apparatus according to still another embodiment;
fig. 17 is a block diagram showing a configuration of a live broadcast-based resource data processing apparatus according to still another embodiment;
FIG. 18 is a block diagram of an alternative apparatus for processing live feed-based asset data in one embodiment;
FIG. 19 is a block diagram that illustrates the structure of an interactive resource category determination module in one embodiment;
fig. 20 is a block diagram showing another example of a live broadcast-based resource data processing apparatus according to another embodiment;
FIG. 21 is a block diagram of a live based asset data processing system in one embodiment;
fig. 22 is a block diagram showing a configuration of a live broadcast-based resource data processing system in another embodiment.
Detailed Description
Fig. 1 is a diagram of an application environment in which a live-based resource data processing method operates in one embodiment. As shown in fig. 1, the application environment includes a first terminal 110, a server 120, a second terminal 130, and a third terminal 140, where the first terminal 110, the server 120, the second terminal 130, and the third terminal 140 communicate via a network, where the terminal 110 is a viewer terminal, the second terminal 130 is a main broadcasting terminal, and the third terminal 140 is an operation terminal, and is configured to configure pre-stored interactive resource configuration information, and the server 120 may include a service server 121 and a resource server 122, and devices in the application environment may be increased or decreased according to needs.
The first terminal 110 and the second terminal 130 may be, but are not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, and the like. The first terminal 110 and the second terminal 130 may send interactive resource obtaining requests to the server 120 through the network, and the server 120 may return corresponding interactive resources in response to the requests sent by the first terminal 110 and the second terminal 130.
In one embodiment, the internal structure of the first terminal 110 or the second terminal 130 in fig. 1 is as shown in fig. 2, and the first terminal 110 includes a processor, a graphic processing unit, a storage medium, a memory, a network interface, a display screen, and an input device, which are connected through a system bus. The storage medium of the first terminal 110 or the second terminal 130 stores an operating system, and further includes a live broadcast-based resource data processing apparatus, which is used to implement a live broadcast-based resource data processing method suitable for a terminal. The processor is used to provide computing and control capabilities to support the operation of the entire first terminal 110 or second terminal 130. The graphic processing unit in the first terminal 110 or the second terminal 130 is configured to at least provide a drawing capability of a display interface, such as an icon corresponding to an interactive resource, a memory provides an environment for the operation of a live broadcast-based resource data processing apparatus in a storage medium, and a network interface is configured to perform network communication with the server 120, such as sending an interactive resource acquisition request to the server 120. The display screen is used for displaying an application interface and the like, and the input device is used for receiving commands or data and the like input by a user, such as receiving interactive resource display operation. For the first terminal 110 or the second terminal 130 with a touch screen, the display screen and the input device may be a touch screen.
In one embodiment, as shown in fig. 3, a live broadcast-based resource data processing method is provided, which is exemplified by being applied to a first terminal or a second terminal in the application environment, and includes the following steps:
step S210, acquiring the live broadcast attribute information corresponding to the live broadcast room, wherein the live broadcast attribute information comprises at least one of anchor user information and live broadcast room information.
Specifically, the live broadcast attribute information is information related to a live broadcast scene, and includes at least one of anchor user information and live broadcast room information, where the anchor user information refers to information related to an anchor user, and includes an anchor user identifier and anchor user profile information, such as an anchor user account category, an anchor user account authority, an anchor user category, an interest, an occupation, a field, and the like. The live broadcast room information is used for describing relevant information of the live broadcast room, such as live broadcast theme, live broadcast duration, user statistical characteristics of the live broadcast room and the like. And the matched interactive resource category can be obtained from the pre-stored interactive resource configuration information through the live broadcast attribute information. Users of live broadcast rooms with different live broadcast attribute information can obtain different interactive resource types, so that the flexible configuration of interactive resources is achieved.
In one embodiment, the live attribute information further includes viewer user information if the current user is a viewer user.
Specifically, for the audience user side, the live broadcast attribute information may further include audience user information, where the audience user information refers to relevant information of the audience user, including audience user identification and audience user profile information, such as audience user account category, audience user account authority, audience user category, interest, occupation, field, and the like. The audience user information, the anchor user information, the live room information and the like can be combined to obtain the interactive resource category, the preset interactive resource category can be set for the user with the preset identity, and the diversification and customization of the interactive resource category are improved.
Step S220, sending an interactive resource acquisition request to the server, wherein the interactive resource acquisition request comprises live broadcast attribute information, so that the server acquires a matched interactive resource type according to the live broadcast attribute information and pre-stored interactive resource configuration information, acquires a corresponding interactive resource according to the interactive resource type, and returns the interactive resource.
Specifically, the interactive resources can be classified according to different live broadcast scenes, each interactive resource category has matched live broadcast attribute information, and the interactive resource configuration information stores the matching relationship between the live broadcast attribute information and the interactive resource category, so that the corresponding interactive resource category can be determined according to the live broadcast attribute information. If the interactive resource category corresponding to Liyuchun is stored in the interactive resource configuration information and is corn, determining that the anchor user is Liyuchun through the anchor user identifier if the interactive resource acquisition request carries the anchor user identifier, and obtaining that the interactive resource category is corn according to the interactive resource configuration information, thereby acquiring corn interactive resources. If the fact that the live broadcast content is the release meeting of the millet is determined through the live broadcast attribute information, the interactive resource type is obtained according to the interactive resource configuration information and is a millet mobile phone type, and gifts, animations and the like of the millet mobile phone can be obtained. The live broadcast attribute information can comprise one or more types of information, and the interactive resource category can be determined according to the various types of information, so that the flexibility and diversity of interactive resource acquisition are ensured. When the interactive resources are returned, the interactive resources corresponding to the interactive resource categories can be directly obtained for returning, or an interactive resource information set can be obtained first, the interactive resource information set is returned to the terminal, and then the terminal downloads the corresponding interactive resources from the server according to the interactive resource information set. The interactive resources refer to resources used for interaction, such as gift pictures, animation materials and other resources. The interactive resources corresponding to each interactive resource category can be configured, different interactive resources can be configured for each interactive resource category through resource parameters, and the resource parameters comprise resource pictures, resource animations, display duration, resource prices and the like.
In one embodiment, the interactive resource category is associated with at least one of an anchor user account category, an anchor user account permissions, an anchor user category, a viewer user account permissions, a live room scenario.
Specifically, different interactive resource categories can be determined according to the categories of the anchor user accounts, such as a test account and a release account, different interactive resource categories can be determined according to the authority of the anchor user accounts, such as whether the anchor user accounts are in a white list, different interactive resource categories can be determined according to the categories of the anchor users, such as the UGC type anchor user and the PGC type anchor user have different interactive resource categories, the UGC type anchor user refers to a non-professional anchor of user production content, and the PGC type anchor user refers to a professional anchor of professional production content. Different interactive resource categories can be determined according to the audience user categories, such as the audience user categories including general audiences, live hosted audiences, live dating group audiences, and the like. The audience user account authority can be divided according to the friend relationship with the anchor, or the amount of the virtual fund is divided into users with different levels of authority, so that the users correspond to different amounts and types of interactive resources. The live broadcast room scenes can be divided according to the description information of the live broadcast room, such as the content theme of the live broadcast room, the area where the live broadcast room is located, and the like. The interactive resource category is associated with one or more kinds of information, and the determined rule can be defined by a user, so that the matching relation between different attribute information and the interactive resource category is established in the background, different interactive resource categories are determined according to different attribute information, and the method is flexible, convenient and configurable.
Step S230, displaying the identification data corresponding to the interactive resource.
Specifically, the identification data is used for uniquely identifying one interactive resource, and the interactive resource can be identified in the forms of static, dynamic icons, animations and characters. The identification data can display information such as the number of bytes stored, the price, the authority level, the popularity and the ranking corresponding to the interactive resources, so that a user can conveniently determine the interactive resources to be displayed according to the identification data, and the interactive resources can be given away and shared by receiving the operation on the identification data, such as clicking. In a specific embodiment, as shown in fig. 4, a first gift resource identifier list is displayed for the viewer user terminal in the first live broadcast room after obtaining the gift resource, and selectable gift resources and corresponding gift prices are displayed in the gift resource identifier list. As shown in fig. 5, a schematic diagram of a second gift resource identifier list displayed after the audience user terminal in the second live broadcast room acquires the gift resource is shown, because the live broadcast rooms are different, the anchor broadcasts are different, the live broadcast attributes are different, and the gift resource identifier lists are also different, which embodies the flexibility of acquiring the gift resource. It will be appreciated that the list of gift resource identifiers displayed by different viewer terminals, anchor terminals, in the same live room may also be different.
In this embodiment, by acquiring live broadcast attribute information corresponding to a live broadcast room, the live broadcast attribute information including at least one of anchor user information and live broadcast room information, an interactive resource acquisition request is sent to a server, the interactive resource acquisition request including the live broadcast attribute information, so that the server can obtain the matched interactive resource type according to the live broadcast attribute information and the pre-stored interactive resource configuration information, acquiring corresponding interactive resources according to the interactive resource category, returning the interactive resources, displaying identification data corresponding to the interactive resources, establishing the matching relation between the live broadcast attribute information and the interactive resource category through the pre-stored interactive resource configuration information, the users of the live broadcast rooms with different live broadcast attribute information can obtain different interactive resource types, so that the flexible configuration of the interactive resources is achieved, and different interactive resources are matched for different clients.
In one embodiment, the anchor user information is an anchor user identifier, the audience user information is an audience user identifier, and the interactive resource category is determined by the server according to the anchor user identifier and the audience user identifier after respectively acquiring corresponding anchor user association information and audience user association information.
Specifically, the anchor user identifier is used for uniquely identifying an anchor user, the audience user identifier is used for uniquely identifying an audience user, registration can be performed on the server to obtain the anchor user identifier and the audience user identifier, and the server stores anchor user association information and audience user association information corresponding to the anchor user identifier and the audience user identifier respectively. The anchor user association information refers to information associated with the anchor user, and includes friend relationships, chat records, photo album pictures, videos and the like. If the live broadcast room is based on real-time communication application, the associated information of the anchor user or the associated information of the audience user can be historical chat records of the anchor user or the audience user, keywords related to live broadcast, such as interest keywords of the user, multi-frequency use vocabularies and the like, are extracted from the historical chat records, and then matched interactive resource categories are obtained through the keywords according to pre-stored interactive resource configuration information, wherein the interactive resource configuration information stores matching relations between keywords possibly appearing in the associated information of different anchor users and the associated information of the audience user and the interactive resource categories. The matching relation is a corresponding relation between the content and the category, and can more accurately match the interactive resources which are interested by the anchor user or the audience user, so that the accuracy of the interactive resource matching is improved. And only the user identification needs to be sent, the server acquires the associated information, and a large amount of user information does not need to be carried, so that the network bandwidth is saved, and the complexity of acquiring the user information by the terminal is reduced.
In one embodiment, the method further comprises: and sending a target interactive resource category matching request to the server, wherein the target interactive resource category matching request comprises live broadcast attribute information, so that the server stores the matching relation between the live broadcast attribute information and the target interactive resource category in the interactive resource configuration information.
Specifically, the audience user and the live broadcast user can send a target interactive resource category matching request to the server, apply for establishing a matching relationship between the corresponding attribute information and the target interactive resource category, and accordingly can automatically obtain the corresponding target interactive resource during live broadcast. If the host stores the matching relationship between the live broadcast attribute information corresponding to the activity content and the target interactive resource category in the interactive resource configuration information according to the activity content, if the matching relationship between the active host user identifier and the target interactive resource category is established, the target interactive resource corresponding to the target interactive resource category can be obtained by entering a live broadcast room during the live broadcast of the host. Matching relations in the interactive resource configuration information can be enriched according to different matching requests, diversified matching relations are obtained, and the method is suitable for different live broadcast anchor users, audience users, different live broadcast scenes and the like.
In one embodiment, after the step of sending the interactive resource obtaining request to the server in step S220, the method further includes: and receiving an interactive resource list returned by the server according to the interactive resource category, storing the interactive resource list, and pulling the corresponding interactive resource from the server according to the interactive resource list.
Specifically, the interactive resource list is a list of interactive resource information, and includes important attributes of the interactive resources, such as: interactive resource identification, interactive resource name, interactive resource unit price, interactive resource picture url address, interactive resource animation resource url, continuous-click animation resource, interactive resource check information, such as md5 value, and the like. Identification data of corresponding interactive resources can be formed through the interactive resource list, for example, a first frame image of the interactive resource animation is extracted to be used as an identification icon of the interactive resources. And finding the corresponding target interactive resource in the interactive resource set through the interactive resource list. As shown in fig. 6, the service logic and the resource storage may be respectively deployed on different servers, and the service server 121 is only responsible for the logic task, obtains a corresponding interactive resource category according to the interactive resource acquisition request, and returns an interactive resource list corresponding to the interactive resource category. The interactive resources are stored in the resource server 122, and the terminal can download the corresponding interactive resources from the resource server through the interactive resource list, so that the service and the logic are processed separately, the resources are better managed and allocated, and the resource acquisition efficiency is improved. And through the reconfiguration to the interactive resource list, only need to modify the information part and just can obtain new interactive resources according to the interactive resource list that updates, it is simple and convenient.
In an embodiment, the interactive resource list stores check information corresponding to the interactive resource, as shown in fig. 7, the method further includes:
step S310, the interaction resource list stored locally is obtained, and first verification information in the interaction resource list is obtained.
Specifically, the first verification information is verification information obtained by calculating the interactive resources corresponding to the interactive resource list according to a verification algorithm when the server returns the interactive resource list to the terminal, and is history verification information. When the user enters the live broadcast room next time, the interactive resources in the server may have been updated, and at this time, the local interactive resource list needs to be updated to obtain new updated interactive resources. The checking algorithm can be customized according to needs, such as the MD5 checking algorithm and the like.
Step S320, obtaining a current interactive resource list corresponding to the interactive resource list in the server, obtaining current verification information in the current interactive resource list, and determining whether the first verification information is consistent with the current verification information, if so, going to step S330, otherwise, going to step S340.
Specifically, in the server, due to the update of the interactive resource, the current interactive resource list is also updated, but the identifier of the interactive resource list stored locally at the terminal is the same as the identifier of the current interactive resource list updated in the server, and the current interactive resource list can be obtained according to the identifier, so that the corresponding current interactive resource is obtained according to the current interactive resource information stored in the current interactive resource list, the current interactive resource is calculated according to the verification algorithm to obtain the current verification information, if the first verification information is consistent with the current verification information, the step S330 is performed, otherwise, the step S340 is performed.
Step S330, obtaining the local interactive resource corresponding to the interactive resource list, and displaying the identification data corresponding to the local interactive resource.
Specifically, the first verification information is consistent with the current verification information, which indicates that the locally stored interactive resources are the same as the current interactive resources, and the locally stored interactive resources do not need to be updated, and only the local interactive resources corresponding to the interactive resource list need to be obtained and the identification data corresponding to the local interactive resources are displayed.
Step S340, sending an interactive resource obtaining request to a server to obtain the current interactive resource.
Specifically, if the first verification information is inconsistent with the current verification information, the locally stored interactive resource needs to be updated, and an interactive resource acquisition request is sent to the server to download the latest interactive resource.
In this embodiment, when entering the live broadcast room next time, the corresponding interactive resource can be directly obtained through the locally stored interactive resource list without repeatedly downloading the interactive resource, and when obtaining the locally stored interactive resource, whether the interactive resource is updated is verified through the verification information, so that it is ensured that the identification data corresponding to the displayed interactive resource is updated synchronously with the server.
In one embodiment, as shown in conjunction with fig. 8 and 9, the method further comprises:
step S410, receiving an interactive resource display message, wherein the interactive resource display message carries an interactive resource identifier, and putting the interactive resource display message into an interactive resource queue.
Specifically, when the audience user and the anchor user need to give away and share the interactive resources, the interactive resource display message is sent to the server, and meanwhile, other terminal users in the live broadcast room do not poll the server to receive the interactive resource display message in the server. And once the interactive resource display message is received, storing the interactive resource display message into a local interactive resource queue, wherein the interactive resource display message carries an interactive resource identifier which is used for uniquely identifying one interactive resource, so that the corresponding interactive resource is obtained according to the interactive resource identifier.
Step S420, sequentially obtaining the current interactive resource display message in the interactive resource queue according to the display policy, and obtaining the corresponding current interactive resource from the interactive resource according to the current interactive resource display message.
Specifically, at the same time, users in the live broadcast room are likely to present and share interactive resources, so that a large amount of interactive resource display messages are generated, each interactive resource display message is sequentially stored through the interactive resource queue, and then the current interactive resource display messages in the interactive resource queue are sequentially acquired according to a display strategy, wherein the display strategy can be customized according to needs, for example, the current interactive resources in the interactive resource queue are periodically read within a preset time, and for example, every 0.25s, the interactive resource display messages at the head of the queue are taken out from the interactive resource queue and sent to the interactive resource animation queue. The interactive resource queue may be a first-in first-out queue, which is used for buffering the interactive resource display messages, controlling the frequency of displaying the interactive resources, and if the interactive resources to be displayed exceed a preset upper limit, discarding a part of the interactive resources, for example, the interactive resource queue sorts the interactive resource messages according to the receiving time and sets a maximum length, and when the maximum length is exceeded, the queue automatically discards the interactive resource messages received earlier.
Step S430, displaying the current interactive resources.
Specifically, the interactive resources corresponding to the interactive resource display messages in the interactive resource animation queue are automatically played, and when one interactive resource animation is played, the next interactive resource message can be automatically taken out from the queue head to play the corresponding interactive resource animation. And when the interactive resource animation is played, the client side takes out the corresponding interactive resource data packet from the local interactive resource downloaded before according to the interactive resource identifier. Each frame of picture of the interactive resource animation is contained in the interactive resource data packet, and the client reads and displays the pictures frame by frame, so that the effect of the interactive resource animation is achieved. And if the interactive resource data packet corresponding to the interactive resource identifier does not exist in the local interactive resource, requesting the interactive resource data packet corresponding to the interactive resource identifier from the server.
In one embodiment, the interactive resource is a virtual gift.
Specifically, the virtual gift can possess price and user's permission, strengthens the live broadcast people's of live broadcast room through the virtual gift, increases user's degree of interest and user's viscosity to live broadcast software, the popularization of being convenient for to use.
In one embodiment, as shown in fig. 10, a method for processing resource data based on live broadcast is provided, including:
step S510, receiving an interactive resource acquisition request sent by a user terminal in a live broadcast room, where the interactive resource acquisition request includes live broadcast attribute information, and the live broadcast attribute information includes at least one of anchor user information and live broadcast room information.
Specifically, the live broadcast attribute information is information related to a live broadcast scene, and includes at least one of anchor user information and live broadcast room information, where the anchor user information refers to information related to an anchor user, and includes an anchor user identifier and anchor user profile information, such as an anchor user account category, an anchor user account authority, an anchor user category, an interest, an occupation, a field, and the like. The live broadcast room information is used for describing relevant information of the live broadcast room, such as live broadcast theme, live broadcast duration, user statistical characteristics of the live broadcast room and the like. And the matched interactive resource category can be obtained from the pre-stored interactive resource configuration information through the live broadcast attribute information. Users of live broadcast rooms with different live broadcast attribute information can obtain different interactive resource types, so that the flexible configuration of interactive resources is achieved.
Step S520, pre-stored interactive resource configuration information is obtained, and matched interactive resource types are obtained according to the live broadcast attribute information and the interactive resource configuration information.
Specifically, the interactive resources can be classified according to different live broadcast scenes, each interactive resource category has matched live broadcast attribute information, and the matching relationship between the live broadcast attribute information and the interactive resource category is stored in the pre-stored interactive resource configuration information, so that the corresponding interactive resource category can be determined according to the live broadcast attribute information. If the interactive resource category corresponding to Liyuchun is stored in the interactive resource configuration information and is corn, determining that the anchor user is Liyuchun through the anchor user identifier if the interactive resource acquisition request carries the anchor user identifier, and obtaining that the interactive resource category is corn according to the interactive resource configuration information, thereby acquiring corn interactive resources. If the fact that the live broadcast content is the release meeting of the millet is determined through the live broadcast attribute information, the interactive resource type is obtained according to the interactive resource configuration information and is a millet mobile phone type, and gifts, animations and the like of the millet mobile phone can be obtained. The live broadcast attribute information can comprise one or more types of information, and the interactive resource category can be determined according to the various types of information, so that the flexibility and diversity of interactive resource acquisition are ensured.
Step S530, acquiring corresponding interactive resources according to the interactive resource types, and issuing the interactive resources to the user terminal so that the user terminal can display identification data corresponding to the interactive resources.
Specifically, when the interactive resource is returned, the interactive resource corresponding to the interactive resource category can be directly obtained for returning, or the interactive resource information set can be obtained first, the interactive resource information set is returned to the terminal, and then the terminal downloads the corresponding interactive resource from the server according to the interactive resource information set. The interactive resources refer to resources used for interaction, such as gift pictures, animation materials and other resources. The interactive resources corresponding to each interactive resource category can be configured, different interactive resources can be configured for each interactive resource category through resource parameters, and the resource parameters comprise resource pictures, resource animations, display duration, resource prices and the like.
In this embodiment, by receiving an interactive resource acquisition request sent by a user terminal in a live broadcast room, where the interactive resource acquisition request includes live broadcast attribute information, the live broadcast attribute information includes at least one of anchor user information and live broadcast room information, pre-stored interactive resource configuration information is acquired, acquiring a matched interactive resource type according to the live broadcast attribute information and the interactive resource configuration information, acquiring a corresponding interactive resource according to the interactive resource type, issuing the interactive resource to the user terminal so that the user terminal displays identification data corresponding to the interactive resource, establishing the matching relation between the live broadcast attribute information and the interactive resource category through the pre-stored interactive resource configuration information, the users of the live broadcast rooms with different live broadcast attribute information can obtain different interactive resource types, so that the flexible configuration of the interactive resources is achieved, and different interactive resources are matched for different clients.
In one embodiment, the anchor user information is an anchor user identifier, and the step of obtaining the matched interactive resource category according to the live broadcast attribute information and the interactive resource configuration information in step S520 includes: and acquiring anchor user association information corresponding to the anchor user identification, and searching for the interactive resource category matched with the anchor user association information in the interactive resource configuration information.
Specifically, the anchor user identifier is used for uniquely identifying an anchor user, and can be registered in the server to obtain the anchor user identifier, and the server stores anchor user association information corresponding to the anchor user identifier. The anchor user association information refers to information associated with the anchor user, and includes friend relationships, chat records, photo album pictures, videos and the like. If the live broadcast room is based on real-time communication application, the anchor user association information can be historical chat records of the anchor user, keywords related to live broadcast, such as interest keywords of the user, multi-frequency use vocabularies and the like, are extracted from the historical chat records, and then matched interactive resource categories are obtained through the keywords according to pre-stored interactive resource configuration information, wherein matching relations between the keywords possibly appearing in different anchor user association information and the interactive resource categories are stored in the interactive resource configuration information. The matching relation is a corresponding relation between the content and the category, interactive resources which are interested by the anchor user can be matched more accurately, and the accuracy of interactive resource matching is improved. And only the user identification needs to be sent, the server acquires the associated information, and a large amount of user information does not need to be carried, so that the network bandwidth is saved, and the complexity of acquiring the user information by the terminal is reduced.
In an embodiment, the live broadcast attribute information in step S520 further includes an identifier of a viewer user, and as shown in fig. 11, the step of obtaining the matched interactive resource category according to the live broadcast attribute information and the interactive resource configuration information further includes:
step S521, obtaining audience user association information corresponding to the audience user identifier, and determining whether the audience user is a user with a preset identity according to the audience user association information, if so, entering step S522, and if not, entering step S523.
Specifically, the preset identity user can be a user with a special identity, such as a live broadcast room host, a user who holds the atmosphere, and the like, and can be customized according to needs. The audience user identification is used for uniquely identifying one audience user, registration can be carried out on the server to obtain the audience user identification, and the server stores audience user association information corresponding to the audience user identification. The audience user association information refers to information associated with the audience user, and includes friend relationships, chat records, photo album pictures, videos and the like. If the live broadcast room is based on real-time communication application, the audience user association information can be historical chat records of audience users, keywords related to live broadcast, such as interest keywords of the users, multi-frequency use vocabularies and the like, are extracted from the historical chat records, and then matched interactive resource categories are obtained through the keywords according to pre-stored interactive resource configuration information, wherein matching relations between the keywords possibly appearing in different audience user association information and the interactive resource categories are stored in the interactive resource configuration information.
In step S522, the preset identity interactive resource category is obtained according to the interactive resource configuration information.
Specifically, a user with a predetermined identity may configure a predetermined identity-based interactive resource category different from other users.
Step S523, a second interactive resource category matched with the anchor user association information and the audience user association information is obtained according to the interactive resource configuration information.
Specifically, if the user is not the user with the preset identity, a second interactive resource category matched with the association information of the anchor user and the association information of the audience user is obtained.
In this embodiment, the special interactive resource category is distinguished from the general interactive resource category by the user with the preset identity, so that the flexibility of interactive resource allocation is further increased.
In one embodiment, the interactive resource category is associated with at least one of an anchor user account category, an anchor user account permissions, an anchor user category, a viewer user account permissions, a live room scenario.
Specifically, different interactive resource categories can be determined according to the categories of the anchor user accounts, such as a test account and a release account, different interactive resource categories can be determined according to the authority of the anchor user accounts, such as whether the anchor user accounts are in a white list, different interactive resource categories can be determined according to the categories of the anchor users, such as the UGC type anchor user and the PGC type anchor user have different interactive resource categories, the UGC type anchor user refers to a non-professional anchor of user production content, and the PGC type anchor user refers to a professional anchor of professional production content. Different interactive resource categories can be determined according to the audience user categories, such as the audience user categories including general audiences, live hosted audiences, live dating group audiences, and the like. The audience user account authority can be divided according to the friend relationship with the anchor, or the amount of the virtual fund is divided into users with different levels of authority, so that the users correspond to different amounts and types of interactive resources. The live broadcast room scenes can be divided according to the description information of the live broadcast room, such as the content theme of the live broadcast room, the area where the live broadcast room is located, and the like. The interactive resource category is associated with one or more kinds of information, and the determined rule can be defined by a user, so that the matching relation between different attribute information and the interactive resource category is established in the background, different interactive resource categories are determined according to different attribute information, and the method is flexible, convenient and configurable.
In an embodiment, the step S530 of obtaining the corresponding interactive resource according to the interactive resource type, and the step of issuing the interactive resource to the user terminal includes: and acquiring a corresponding interactive resource list according to the interactive resource category, and issuing the interactive resource list to the user terminal so that the user terminal pulls the corresponding interactive resource from the server according to the interactive resource list.
Specifically, the interactive resource list is a list of interactive resource information, and includes important attributes of the interactive resources, such as: interactive resource identification, interactive resource name, interactive resource unit price, interactive resource picture url address, interactive resource animation resource url, continuous-click animation resource, interactive resource check information, such as md5 value, and the like. Identification data of corresponding interactive resources can be formed through the interactive resource list, for example, a first frame image of the interactive resource animation is extracted to be used as an identification icon of the interactive resources. And finding the corresponding target interactive resource in the interactive resource set through the interactive resource list. The service logic and the resource storage can be respectively deployed on different servers, the service server is only responsible for logic tasks, corresponding interactive resource categories are obtained according to the interactive resource acquisition request in a matching mode, and then interactive resource lists corresponding to the interactive resource categories are returned. The interactive resources are stored on the resource server, and the terminal can download the corresponding interactive resources from the resource server through the interactive resource list, so that services and logics are processed separately, the resources are better managed and distributed, and the resource acquisition efficiency is improved. And through the reconfiguration to the interactive resource list, only need to modify the information part and just can obtain new interactive resources according to the interactive resource list that updates, it is simple and convenient.
In an embodiment, after the step of obtaining the corresponding interactive resource according to the interactive resource category in step S530, as shown in fig. 12, the method further includes:
step S610, calculating according to a verification algorithm to obtain first verification information of the interactive resources, and storing the first verification information in an interactive resource list.
Specifically, the interactive resources corresponding to the interactive resource list are calculated according to a verification algorithm to obtain first verification information. After the interactive resource list is sent to the terminal, the first verification information stored locally is history verification information. Wherein the checking algorithm can be customized according to the requirement, such as the MD5 checking algorithm and the like.
Step S620, receiving a current verification information obtaining request sent by the user terminal, where the current verification information obtaining request carries an interactive resource list identifier locally stored by the user terminal, obtaining a corresponding current interactive resource list according to the interactive resource list identifier, obtaining current verification information in the current interactive resource list, and returning the current verification information, so that the user terminal updates the interactive resource according to the current verification information and the first verification information.
Specifically, since the interactive resources in the server may have been updated next time the user enters the live broadcast room, the local interactive resource list needs to be updated at this time to obtain new updated interactive resources. And the current verification information acquisition request carries an interactive resource list identifier locally stored by the user terminal, and a corresponding current interactive resource list is acquired according to the interactive resource list identifier. And then obtaining the corresponding current interactive resource according to the current interactive resource information stored in the current interactive resource list, and calculating the current interactive resource according to a verification algorithm to obtain current verification information. The first verification information is consistent with the current verification information, which indicates that the locally stored interactive resources are the same as the current interactive resources, and the terminal only needs to acquire the local interactive resources corresponding to the interactive resource list and display the identification data corresponding to the local interactive resources without updating. If the first verification information is inconsistent with the current verification information, the user terminal needs to update the locally stored interactive resources, receive an interactive resource acquisition request sent by the user terminal, and send the latest interactive resources.
In one embodiment, as shown in fig. 13, there is provided a live broadcast-based resource data processing apparatus including:
the live broadcast attribute information obtaining module 710 is configured to obtain live broadcast attribute information corresponding to a live broadcast room, where the live broadcast attribute information includes at least one of anchor user information and live broadcast room information.
And the interactive resource acquisition module 720 is configured to send an interactive resource acquisition request to the server, where the interactive resource acquisition request includes live broadcast attribute information, so that the server acquires a matched interactive resource category according to the live broadcast attribute information and pre-stored interactive resource configuration information, acquires a corresponding interactive resource according to the interactive resource category, and returns the interactive resource.
And a resource identifier display module 730, configured to display identifier data corresponding to the interactive resource.
In one embodiment, the live attribute information further includes viewer user information if the current user is a viewer user.
In one embodiment, the anchor user information is an anchor user identifier, the audience user information is an audience user identifier, and the interactive resource category is determined by the server according to the anchor user identifier and the audience user identifier after respectively acquiring corresponding anchor user association information and audience user association information.
In one embodiment, the interactive resource category is associated with at least one of an anchor user account category, an anchor user account permissions, an anchor user category, a viewer user account permissions, a live room scenario.
In one embodiment, as shown in fig. 14, the apparatus further comprises:
the matching module 740 is configured to send a target interactive resource category matching request to the server, where the target interactive resource category matching request includes live broadcast attribute information, so that the server stores a matching relationship between the live broadcast attribute information and the target interactive resource category in the interactive resource configuration information.
In one embodiment, as shown in fig. 15, the interactive resource acquiring module 720 includes:
the receiving unit 721 receives the interactive resource list returned by the server according to the interactive resource category.
The pulling unit 722 stores the interactive resource list and pulls the corresponding interactive resource from the server according to the interactive resource list.
In an embodiment, the interactive resource list stores verification information corresponding to the interactive resource, as shown in fig. 16, the apparatus further includes:
the checking module 750 is configured to obtain an interactive resource list stored locally, obtain first checking information in the interactive resource list, obtain a current interactive resource list corresponding to the interactive resource list in the server, obtain current checking information in the current interactive resource list, determine whether the first checking information is consistent with the current checking information, if so, obtain a local interactive resource corresponding to the interactive resource list, display identification data corresponding to the local interactive resource, and if not, send an interactive resource obtaining request to the server to obtain the current interactive resource.
In one embodiment, as shown in fig. 17, the apparatus further comprises:
the interactive resource display module 760 is configured to receive an interactive resource display message, where the interactive resource display message carries an interactive resource identifier, place the interactive resource display message in an interactive resource queue, sequentially obtain current interactive resource display messages in the interactive resource queue according to a display policy, obtain corresponding current interactive resources from the interactive resources according to the current interactive resource display messages, and display the current interactive resources.
In one embodiment, the interactive resource is a virtual gift.
In one embodiment, as shown in fig. 18, there is provided a live broadcast-based resource data processing apparatus including:
the receiving module 810 is configured to receive an interactive resource acquisition request sent by a user terminal in a live broadcast room, where the interactive resource acquisition request includes live broadcast attribute information, and the live broadcast attribute information includes at least one of anchor user information and live broadcast room information.
And an interactive resource category determining module 820, configured to obtain pre-stored interactive resource configuration information, and obtain a matched interactive resource category according to the live broadcast attribute information and the interactive resource configuration information.
The interactive resource issuing module 830 is configured to obtain corresponding interactive resources according to the type of the interactive resources, and issue the interactive resources to the user terminal, so that the user terminal displays identification data corresponding to the interactive resources.
In an embodiment, the anchor user information is an anchor user identifier, and the interactive resource category determining module 820 is further configured to obtain anchor user association information corresponding to the anchor user identifier, and find an interactive resource category matching the anchor user association information in the interactive resource configuration information.
In one embodiment, the live attribute information further includes viewer user identification, and as shown in fig. 19, the interactive resource category determining module 820 further includes:
the determining module 821 is configured to obtain audience user association information corresponding to the audience user identifier, determine whether the audience user is a preset identity user according to the audience user association information, if so, enter the first interactive resource category obtaining module 822, and otherwise, enter the second interactive resource category obtaining module 823.
A first interactive resource category obtaining module 822, configured to obtain a preset identity interactive resource category according to the interactive resource configuration information.
The second interactive resource category obtaining module 823 is configured to obtain, according to the interactive resource configuration information, a second interactive resource category matched with the anchor user association information and the audience user association information.
In one embodiment, the interactive resource category is associated with at least one of an anchor user account category, an anchor user account permissions, an anchor user category, a viewer user account permissions, a live room scenario.
In an embodiment, the interactive resource issuing module 830 is further configured to obtain a corresponding interactive resource list according to the interactive resource category, and issue the interactive resource list to the user terminal, so that the user terminal pulls the corresponding interactive resource from the server according to the interactive resource list.
In one embodiment, as shown in fig. 20, the apparatus further comprises:
the verification information storage module 840 is configured to calculate first verification information of the interactive resource according to a verification algorithm, and store the first verification information in the interactive resource list.
The verification response module 850 is configured to receive a current verification information acquisition request sent by the user terminal, where the current verification information acquisition request carries an interactive resource list identifier locally stored in the user terminal, acquire a corresponding current interactive resource list according to the interactive resource list identifier, acquire current verification information in the current interactive resource list, and return the current verification information, so that the user terminal updates the interactive resource according to the current verification information and the first verification information.
In one embodiment, as shown in fig. 21, there is provided a live-based resource data processing system, including:
the user terminal 910 is configured to obtain live broadcast attribute information corresponding to a live broadcast room, where the live broadcast attribute information includes at least one of anchor user information and live broadcast room information, and send an interactive resource obtaining request to a server, where the interactive resource obtaining request includes the live broadcast attribute information.
And the server 920 is configured to obtain pre-stored interactive resource configuration information, obtain a matched interactive resource category according to the live broadcast attribute information and the interactive resource configuration information, obtain a corresponding interactive resource according to the interactive resource category, and issue the interactive resource to the user terminal.
The user terminal 910 is further configured to display identification data corresponding to the interactive resource.
In one embodiment, as shown in fig. 22, server 920 includes a service server 921 and a resource server 922,
and the service server 921 is configured to obtain pre-stored interactive resource configuration information, obtain a matched interactive resource category according to the live broadcast attribute information and the interactive resource configuration information, obtain a corresponding interactive resource list according to the interactive resource category, and issue the interactive resource list to the user terminal.
The resource server 922 is configured to receive an interactive resource downloading request sent by the user terminal, where the interactive resource downloading request carries an interactive resource list, obtain a corresponding interactive resource from the server according to the interactive resource list, and issue the interactive resource to the user terminal.
It will be understood by those skilled in the art that all or part of the processes in the methods of the embodiments described above may be implemented by hardware related to instructions of a computer program, which may be stored in a computer readable storage medium, for example, in the storage medium of a computer system, and executed by at least one processor in the computer system, so as to implement the processes of the embodiments including the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (19)
1. A method for processing resource data based on live broadcast, the method comprising:
acquiring live broadcast attribute information corresponding to a live broadcast room, wherein the live broadcast attribute information comprises anchor user information and live broadcast room information, a current user comprises an audience user, the live broadcast room information comprises the statistical characteristics of users in the live broadcast room, the anchor user information comprises at least one of information of an anchor user account type, an anchor user account authority, an anchor user type, interests, occupation and fields, and the anchor user account type comprises a test account and a release account;
sending an interactive resource acquisition request to a server, wherein the interactive resource acquisition request comprises the live broadcast attribute information, so that the server acquires a matched interactive resource type according to the live broadcast attribute information and prestored interactive resource configuration information, acquires a corresponding interactive resource according to the interactive resource type, and returns the interactive resource, and the interactive resource type is determined by classifying the interactive resource according to a live broadcast scene;
and displaying the identification data corresponding to the interactive resources.
2. The method of claim 1, wherein the live attribute information further comprises viewer user information if the current user is a viewer user.
3. The method of claim 2, wherein the anchor user information is an anchor user identifier, the viewer user information is a viewer user identifier, and the interactive resource category is determined by the server according to the anchor user identifier and the viewer user identifier after obtaining corresponding anchor user association information and viewer user association information, respectively.
4. The method of claim 1, wherein the interactive resource category is associated with at least one of an anchor user account category, an anchor user account permissions, an anchor user category, a viewer user account permissions, a live room scenario.
5. The method of claim 1, further comprising:
and sending a target interactive resource category matching request to a server, wherein the target interactive resource category matching request comprises live broadcast attribute information, so that the server stores the matching relation between the live broadcast attribute information and the target interactive resource category in the interactive resource configuration information.
6. The method of claim 1, wherein after the step of sending the interactive resource acquisition request to the server, the method further comprises:
receiving an interactive resource list returned by the server according to the interactive resource category;
and storing the interactive resource list, and pulling the corresponding interactive resources from the server according to the interactive resource list.
7. The method according to claim 6, wherein the interactive resource list stores verification information corresponding to the interactive resource, and the method further comprises:
acquiring the interactive resource list stored locally, and acquiring first verification information in the interactive resource list;
acquiring a current interactive resource list corresponding to the interactive resource list in the server, and acquiring current verification information in the current interactive resource list;
judging whether the first check information is consistent with the current check information, if so, acquiring a local interactive resource corresponding to the interactive resource list, and displaying identification data corresponding to the local interactive resource;
and if the current interactive resources are inconsistent with the current interactive resources, sending an interactive resource acquisition request to a server to acquire the current interactive resources.
8. The method of claim 1, further comprising:
receiving an interactive resource display message, wherein the interactive resource display message carries an interactive resource identifier;
putting the interactive resource display message into an interactive resource queue;
sequentially acquiring current interactive resource display messages in the interactive resource queue according to a display strategy, and acquiring corresponding current interactive resources from the interactive resources according to the current interactive resource display messages;
and displaying the current interactive resources.
9. The method of claim 1, wherein the interactive resource is a virtual gift.
10. A method for processing resource data based on live broadcast, the method comprising:
receiving an interactive resource acquisition request sent by a user terminal in a live broadcast room, wherein the interactive resource acquisition request comprises live broadcast attribute information, the live broadcast attribute information comprises anchor user information and live broadcast room information, a current user comprises audience users, the live broadcast room information comprises user statistical characteristics of the live broadcast room, the anchor user information comprises at least one of information of an anchor user account type, an anchor user account authority, an anchor user type, interests, profession and fields, and the anchor user account type comprises a test account and a release account;
acquiring prestored interactive resource configuration information, and acquiring a matched interactive resource type according to the live broadcast attribute information and the interactive resource configuration information, wherein the interactive resource type is determined by classifying interactive resources according to a live broadcast scene;
and acquiring corresponding interactive resources according to the interactive resource category, and issuing the interactive resources to the user terminal so that the user terminal displays identification data corresponding to the interactive resources.
11. The method of claim 10, wherein the anchor user information is an anchor user identifier, and the step of obtaining the matched interactive resource category according to the live broadcast attribute information and the interactive resource configuration information comprises:
acquiring anchor user associated information corresponding to the anchor user identification;
and searching for the interactive resource category matched with the association information of the anchor user in the interactive resource configuration information.
12. The method of claim 11, wherein the live attribute information further comprises viewer user identification, and wherein the step of obtaining a matching interactive resource category according to the live attribute information and the interactive resource configuration information further comprises:
acquiring audience user correlation information corresponding to the audience user identification;
judging whether the audience user is a preset identity user or not according to the audience user association information, and if so, acquiring a preset identity interactive resource type according to the interactive resource configuration information;
and if not, acquiring a second interactive resource category matched with the association information of the anchor user and the association information of the audience user according to the interactive resource configuration information.
13. The method of claim 10, wherein the interactive resource category is associated with at least one of an anchor user account category, an anchor user account permissions, an anchor user category, a viewer user account permissions, a live room scenario.
14. The method according to claim 10, wherein the step of obtaining corresponding interactive resources according to the interactive resource category and sending the interactive resources to the ue comprises:
acquiring a corresponding interactive resource list according to the interactive resource category;
and issuing the interactive resource list to the user terminal so that the user terminal pulls the corresponding interactive resource from the server according to the interactive resource list.
15. The method of claim 14, wherein after the step of obtaining the corresponding interactive resource according to the interactive resource category, the method further comprises:
calculating first verification information of the interactive resources according to a verification algorithm, and storing the first verification information in the interactive resource list;
receiving a current verification information acquisition request sent by a user terminal, wherein the current verification information acquisition request carries an interactive resource list identifier locally stored by the user terminal, acquiring a corresponding current interactive resource list according to the interactive resource list identifier, acquiring current verification information in the current interactive resource list, and returning the current verification information, so that the user terminal updates interactive resources according to the current verification information and the first verification information.
16. A live broadcast-based resource data processing apparatus, the apparatus comprising:
the live broadcast attribute information acquisition module is used for acquiring live broadcast attribute information corresponding to a live broadcast room, wherein the live broadcast attribute information comprises anchor user information and live broadcast room information, a current user comprises an audience user, the live broadcast room information comprises the statistical characteristics of users in the live broadcast room, the anchor user information comprises at least one of information of an anchor user account type, an anchor user account authority, an anchor user type, interests, profession and fields, and the anchor user account type comprises a test account and a release account;
the interactive resource acquisition module is used for sending an interactive resource acquisition request to a server, wherein the interactive resource acquisition request comprises the live broadcast attribute information, so that the server acquires a matched interactive resource type according to the live broadcast attribute information and prestored interactive resource configuration information, acquires a corresponding interactive resource according to the interactive resource type, and returns the interactive resource, and the interactive resource type is determined by classifying the interactive resource according to a live broadcast scene;
and the resource identifier display module is used for displaying the identifier data corresponding to the interactive resources.
17. A live broadcast-based resource data processing apparatus, the apparatus comprising:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving an interactive resource acquisition request sent by a user terminal in a live broadcast room, the interactive resource acquisition request comprises live broadcast attribute information, the live broadcast attribute information comprises anchor user information and live broadcast room information, a current user comprises audience users, the live broadcast room information comprises statistical characteristics of users in the live broadcast room, the anchor user information comprises at least one of information of an anchor user account type, an anchor user account authority, an anchor user type, interests, profession and fields, and the anchor user account type comprises a test account and a release account;
the interactive resource type determining module is used for acquiring prestored interactive resource configuration information and acquiring a matched interactive resource type according to the live broadcast attribute information and the interactive resource configuration information, wherein the interactive resource type is determined by classifying interactive resources according to a live broadcast scene;
and the interactive resource issuing module is used for acquiring corresponding interactive resources according to the interactive resource types and issuing the interactive resources to the user terminal so that the user terminal can display the identification data corresponding to the interactive resources.
18. A live-based resource data processing system, the system comprising:
the system comprises a user terminal, a server and a client side, wherein the user terminal is used for acquiring live broadcast attribute information corresponding to a live broadcast room, the live broadcast attribute information comprises anchor user information and live broadcast room information, and sending an interactive resource acquisition request to the server, the interactive resource acquisition request comprises the live broadcast attribute information, a current user comprises audience users, the live broadcast room information comprises statistical characteristics of the users in the live broadcast room, the anchor user information comprises at least one of information of an anchor user account type, an anchor user account authority, an anchor user type, interests, occupation and fields, and the anchor user account type comprises a test account and a release account;
the server is used for acquiring prestored interactive resource configuration information, acquiring a matched interactive resource type according to the live broadcast attribute information and the interactive resource configuration information, acquiring a corresponding interactive resource according to the interactive resource type, and issuing the interactive resource to the user terminal, wherein the interactive resource type is determined by classifying the interactive resource according to a live broadcast scene;
the user terminal is further used for displaying the identification data corresponding to the interactive resources.
19. The system of claim 18, wherein the servers comprise a traffic server and a resource server;
the service server is used for acquiring prestored interactive resource configuration information, acquiring a matched interactive resource type according to the live broadcast attribute information and the interactive resource configuration information, acquiring a corresponding interactive resource list according to the interactive resource type, and issuing the interactive resource list to the user terminal;
the resource server is used for receiving an interactive resource downloading request sent by a user terminal, wherein the interactive resource downloading request carries the interactive resource list, acquiring corresponding interactive resources from the server according to the interactive resource list, and issuing the interactive resources to the user terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610821185.1A CN106487781B (en) | 2016-09-13 | 2016-09-13 | Resource data processing method, device and system based on live broadcast |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610821185.1A CN106487781B (en) | 2016-09-13 | 2016-09-13 | Resource data processing method, device and system based on live broadcast |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106487781A CN106487781A (en) | 2017-03-08 |
CN106487781B true CN106487781B (en) | 2020-12-22 |
Family
ID=58273808
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610821185.1A Active CN106487781B (en) | 2016-09-13 | 2016-09-13 | Resource data processing method, device and system based on live broadcast |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106487781B (en) |
Families Citing this family (45)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106453559B (en) * | 2016-10-13 | 2019-08-02 | 北京奇虎科技有限公司 | A kind of processing method of business object, server, terminal and system |
CN107040822A (en) * | 2017-03-22 | 2017-08-11 | 北京潘达互娱科技有限公司 | Virtual gift display method and system |
CN107172446B (en) * | 2017-04-28 | 2019-08-02 | 广州华多网络科技有限公司 | A kind of sending method and sending device of direct broadcasting room virtual resource |
CN107222753A (en) * | 2017-05-25 | 2017-09-29 | 北京潘达互娱科技有限公司 | Virtual present loading method and device |
CN107222774A (en) * | 2017-05-26 | 2017-09-29 | 武汉斗鱼网络科技有限公司 | Information displaying method and device, computer-readable recording medium |
CN107249139A (en) * | 2017-06-06 | 2017-10-13 | 上海极链网络科技有限公司 | The system interactive applied to the real-time dispensing of live scene |
CN109039993B (en) * | 2017-06-08 | 2021-05-14 | 腾讯科技(深圳)有限公司 | Live broadcast application configuration method and device and storage medium |
CN107592304B (en) * | 2017-08-29 | 2019-12-10 | 武汉斗鱼网络科技有限公司 | Live broadcast resource calculation and distribution method, storage medium, electronic device and system |
CN107613309B (en) * | 2017-08-29 | 2020-02-07 | 武汉斗鱼网络科技有限公司 | Live broadcast resource custom distribution method, storage medium, electronic device and system |
CN107566910B (en) * | 2017-08-29 | 2019-11-15 | 武汉斗鱼网络科技有限公司 | The customized distribution monitoring method of resource, storage medium, electronic equipment and system is broadcast live |
CN108574850B (en) * | 2017-09-01 | 2020-08-28 | 北京金山云网络技术有限公司 | Live broadcast resource allocation method and device, electronic equipment and storage medium |
CN107610036B (en) * | 2017-09-26 | 2021-09-07 | 武汉斗鱼网络科技有限公司 | Method and device for outputting live broadcast identification picture and computer equipment |
CN109558884A (en) * | 2017-09-26 | 2019-04-02 | 武汉斗鱼网络科技有限公司 | A kind of method, apparatus, server and medium that room classes are broadcast live |
CN109587194A (en) * | 2017-09-29 | 2019-04-05 | 武汉斗鱼网络科技有限公司 | A kind of action message methods of exhibiting, client and server |
CN107749996A (en) * | 2017-09-29 | 2018-03-02 | 上海掌门科技有限公司 | A kind of method and apparatus for being used to push main broadcaster's information to user |
CN109660853B (en) * | 2017-10-10 | 2022-12-30 | 腾讯科技(北京)有限公司 | Interaction method, device and system in live video |
CN109660831B (en) * | 2017-10-10 | 2021-06-15 | 武汉斗鱼网络科技有限公司 | Barrage sending period setting method, storage medium, electronic device and system |
CN108156503B (en) * | 2017-12-14 | 2020-05-01 | 北京奇艺世纪科技有限公司 | Method and device for generating gift |
CN108111881B (en) * | 2017-12-15 | 2020-07-07 | 广州虎牙信息科技有限公司 | Live broadcast room virtual property configuration method and device and corresponding server |
CN108063981B (en) * | 2017-12-26 | 2020-06-30 | 广州酷狗计算机科技有限公司 | Method and device for setting attributes of live broadcast room |
CN108184144B (en) * | 2017-12-27 | 2021-04-27 | 广州虎牙信息科技有限公司 | Live broadcast method and device, storage medium and electronic equipment |
CN109391851B (en) * | 2018-01-09 | 2020-04-07 | 深圳市珍爱网信息技术有限公司 | Video live broadcast method and device, computer equipment and storage medium |
CN110225375B (en) * | 2018-03-01 | 2022-02-22 | 武汉斗鱼网络科技有限公司 | Live broadcast room microphone connection permission detection method, storage medium, equipment and system |
CN108462894B (en) * | 2018-03-30 | 2020-07-31 | 武汉斗鱼网络科技有限公司 | Live broadcast room broadcast processing method and device and readable storage medium |
CN109451327B (en) * | 2018-11-15 | 2020-12-29 | 深圳市福尔科技有限公司 | Resource control method and system for online no-main-broadcast live broadcast of physical shop |
CN111383305A (en) * | 2018-12-27 | 2020-07-07 | 北京奇虎科技有限公司 | Target object identification method and device in intelligent terminal and electronic equipment |
CN110113256B (en) * | 2019-05-14 | 2022-11-11 | 北京达佳互联信息技术有限公司 | Information interaction method and device, server, user terminal and readable storage medium |
CN110351577B (en) * | 2019-08-16 | 2021-09-03 | 网易(杭州)网络有限公司 | Live broadcast information processing method and device, storage medium and electronic equipment |
CN110659121B (en) * | 2019-09-24 | 2022-05-24 | 北京达佳互联信息技术有限公司 | Task data acquisition method and device, task configuration method and device and server |
CN110944219B (en) * | 2019-11-20 | 2023-03-14 | 北京达佳互联信息技术有限公司 | Resource allocation method, device, server and storage medium |
CN111866527B (en) * | 2019-12-26 | 2022-02-08 | 无锡利水管业有限公司 | Resource distribution system based on attitude detection |
CN111163329B (en) * | 2020-01-02 | 2021-09-17 | 北京字节跳动网络技术有限公司 | Live broadcast room gift list configuration method, device, medium and electronic equipment |
CN111212296B (en) * | 2020-01-02 | 2021-06-25 | 北京字节跳动网络技术有限公司 | Live broadcast room gift list configuration method, device, medium and electronic equipment |
CN111711830B (en) * | 2020-06-19 | 2022-08-05 | 广州市百果园信息技术有限公司 | Live broadcast bit supplementing method and device, server and storage medium |
CN112003893B (en) * | 2020-07-17 | 2023-07-25 | 北京达佳互联信息技术有限公司 | Resource downloading method and device |
CN111954013B (en) * | 2020-08-12 | 2022-11-18 | 深圳市富途网络科技有限公司 | Live broadcast interaction method and device, terminal equipment, server and storage medium |
CN112188230A (en) * | 2020-10-12 | 2021-01-05 | 北京达佳互联信息技术有限公司 | Virtual resource processing method and device, terminal equipment and server |
CN113259704B (en) * | 2021-05-19 | 2023-06-09 | 杭州米络星科技(集团)有限公司 | Live broadcast room initialization method, device, equipment and storage medium |
CN113521751B (en) * | 2021-07-27 | 2023-11-14 | 腾讯科技(深圳)有限公司 | Operation test method and device, storage medium and electronic equipment |
CN113709550A (en) * | 2021-08-25 | 2021-11-26 | 上海哔哩哔哩科技有限公司 | Live broadcast room animation processing method and system |
CN116088739A (en) * | 2021-11-04 | 2023-05-09 | 北京字跳网络技术有限公司 | Live broadcast interface display method, device, equipment, storage medium and program product |
CN114117217A (en) * | 2021-11-24 | 2022-03-01 | 有半岛(北京)信息科技有限公司 | Interactive event delivery method, device, server and storage medium |
CN114845125B (en) * | 2022-03-28 | 2024-06-18 | 广州博冠信息科技有限公司 | Data processing method for live broadcasting room, electronic equipment and storage medium |
CN114938459A (en) * | 2022-05-16 | 2022-08-23 | 完美世界征奇(上海)多媒体科技有限公司 | Virtual live broadcast interaction method and device based on barrage, storage medium and equipment |
CN114925234B (en) * | 2022-05-30 | 2024-09-20 | 北京达佳互联信息技术有限公司 | Data processing method, device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002083075A (en) * | 2000-09-06 | 2002-03-22 | Kiminori Ishimaru | Invention regarding, mediation in collection of money accompanying ceremonial occasions, article sale and delivery mediation system for 'return gift' of ceremonial occasions |
CN103186635A (en) * | 2011-12-31 | 2013-07-03 | 腾讯科技(深圳)有限公司 | Method, device and system for pushing virtual gifts recommendation list |
CN103634681A (en) * | 2013-11-29 | 2014-03-12 | 腾讯科技(成都)有限公司 | Method, device, client end, server and system for live broadcasting interaction |
CN104469423A (en) * | 2014-11-05 | 2015-03-25 | 广州华多网络科技有限公司 | Virtual item issuing method and related equipment and system |
CN105577397A (en) * | 2015-12-15 | 2016-05-11 | 武汉斗鱼网络科技有限公司 | Method for giving virtual gift and triggering virtual gift treasure box in chat room and system thereof |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150230005A1 (en) * | 2012-08-06 | 2015-08-13 | Korea Advanced Institute Of Science And Technology | System and method for providing hint information of interactive broadcast program |
CN104333775B (en) * | 2014-11-25 | 2017-11-07 | 广州华多网络科技有限公司 | Virtual objects interactive approach, device and system in a kind of direct broadcast band |
CN104519124B (en) * | 2014-11-27 | 2018-11-23 | 广州华多网络科技有限公司 | A kind of distribution method and device of virtual resource |
-
2016
- 2016-09-13 CN CN201610821185.1A patent/CN106487781B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002083075A (en) * | 2000-09-06 | 2002-03-22 | Kiminori Ishimaru | Invention regarding, mediation in collection of money accompanying ceremonial occasions, article sale and delivery mediation system for 'return gift' of ceremonial occasions |
CN103186635A (en) * | 2011-12-31 | 2013-07-03 | 腾讯科技(深圳)有限公司 | Method, device and system for pushing virtual gifts recommendation list |
CN103634681A (en) * | 2013-11-29 | 2014-03-12 | 腾讯科技(成都)有限公司 | Method, device, client end, server and system for live broadcasting interaction |
CN104469423A (en) * | 2014-11-05 | 2015-03-25 | 广州华多网络科技有限公司 | Virtual item issuing method and related equipment and system |
CN105577397A (en) * | 2015-12-15 | 2016-05-11 | 武汉斗鱼网络科技有限公司 | Method for giving virtual gift and triggering virtual gift treasure box in chat room and system thereof |
Also Published As
Publication number | Publication date |
---|---|
CN106487781A (en) | 2017-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106487781B (en) | Resource data processing method, device and system based on live broadcast | |
US9686329B2 (en) | Method and apparatus for displaying webcast rooms | |
WO2018113140A1 (en) | Method and system for displaying virtual gift during live video broadcast | |
WO2018010682A1 (en) | Live broadcast method, live broadcast data stream display method and terminal | |
WO2014183427A1 (en) | Method and apparatus for displaying webcast rooms | |
CN107370780B (en) | Media pushing method, device and system based on Internet | |
CN113727130B (en) | Message prompting method, system and device for live broadcasting room and computer equipment | |
CN111726456B (en) | Data processing method and related device | |
CN111744174A (en) | Account management method and device of cloud game, account login method and device and electronic equipment | |
CN112218108B (en) | Live broadcast rendering method and device, electronic equipment and storage medium | |
CN107786631B (en) | Content publishing method and device and electronic equipment | |
CN112766945A (en) | Virtual resource allocation processing method, device, equipment and storage medium | |
CN111090533A (en) | Notice information sending method and device, electronic equipment and storage medium | |
CN113613027A (en) | Live broadcast room recommendation method and device and computer equipment | |
WO2017101309A1 (en) | Reservation message push method and device | |
CN108415908B (en) | Multimedia data processing method and server | |
CN114816308B (en) | Information partition display method and related equipment | |
CN106250536A (en) | A kind of space page background method to set up, Apparatus and system | |
CN115525834A (en) | Method for screening and displaying messages, computer device and recording medium | |
CN107124660B (en) | Method and device for triggering broadcast information of live broadcast room | |
EP2490467B1 (en) | Method and arrangement for registering a user | |
CN110912863B (en) | Identity clue information acquisition method and device, computer equipment and storage medium | |
CN110300321B (en) | Banner display method and device | |
CN114205320A (en) | Message display method and device, electronic equipment and storage medium | |
CN115037905A (en) | Screen recording file processing method, electronic equipment and related products |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |