CN114302165B - Live broadcast room virtual gift giving method, device, computer equipment and storage medium - Google Patents

Live broadcast room virtual gift giving method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN114302165B
CN114302165B CN202111676347.4A CN202111676347A CN114302165B CN 114302165 B CN114302165 B CN 114302165B CN 202111676347 A CN202111676347 A CN 202111676347A CN 114302165 B CN114302165 B CN 114302165B
Authority
CN
China
Prior art keywords
gift
hand
data
letter
client
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
Application number
CN202111676347.4A
Other languages
Chinese (zh)
Other versions
CN114302165A (en
Inventor
张保磊
袁小明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Cubesili Information Technology Co Ltd
Original Assignee
Guangzhou Cubesili Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Cubesili Information Technology Co Ltd filed Critical Guangzhou Cubesili Information Technology Co Ltd
Priority to CN202111676347.4A priority Critical patent/CN114302165B/en
Publication of CN114302165A publication Critical patent/CN114302165A/en
Application granted granted Critical
Publication of CN114302165B publication Critical patent/CN114302165B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application relates to the technical field of network living broadcast, and provides a virtual gift presentation method in a living broadcast room, a control device, computer equipment and a storage medium. After the user selects the gifts of the gifts, the server side sends corresponding gifts of the gifts to all the clients in the living broadcast room, so that the clients joining the living broadcast room display unique gifts in the living broadcast room interface. The gifting effect of the letter gift cannot be obtained by clients in other geographic positions. Therefore, as long as the user goes to different places, different virtual gift data can be obtained, the participation enthusiasm of the user on the interaction of the live broadcasting room is improved, the user retention rate of the live broadcasting room is improved, and the update cost of the server side is not increased due to the increase of the update frequency.

Description

Live broadcast room virtual gift giving method, device, computer equipment and storage medium
Technical Field
The embodiment of the application relates to the technical field of network live broadcast, in particular to a live broadcast room virtual gift giving method, a live broadcast room virtual gift giving device, computer equipment and a storage medium.
Background
With the rapid development of internet technology and streaming media technology, network live broadcast is becoming an entertainment means that is becoming popular. More and more users begin to participate in the live process, experiencing multiple types of online interactions within the live room, such as: viewing live, gift interactions, game interactions, and the like.
In the conventional living room virtual gift presentation method, when a viewer wants to present a virtual gift to a host, the viewer can click a gift selection control in the living room interface, then select a virtual gift in an opened gift bar, and present the virtual gift to the host after clicking confirmation.
However, in the conventional method, the virtual gift in the gift bar opened by each user is consistent, and each user can only obtain the virtual gift data uniformly configured by the server. After audience and anchor habit of the uniformly configured virtual gift data, the enthusiasm of participating in gift interaction is reduced, and only the server data can be waited for uniform updating and issuing, so that new virtual gift data can be obtained. However, the service end is limited by various factors such as cost and the like, and cannot be updated too quickly, so that the participation enthusiasm of users on interaction between live rooms is reduced, and the user retention rate of the live rooms is affected.
Disclosure of Invention
The embodiment of the application provides a live broadcast room virtual gift giving method, a device, computer equipment and a storage medium, which can solve the technical problems of low participation of users in live broadcast room interaction and low retention rate of live broadcast users, and the technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a method for presenting a virtual gift in a living room, including the steps of:
the method comprises the steps that a server side responds to a gift configuration data acquisition request sent by a first client side, and gift configuration data are sent to the first client side, wherein the gift configuration data at least comprise a plurality of first hand-held gift configuration data, the first hand-held gift configuration data comprise hand-held gift identifiers, and the hand-held gift identifiers correspond to geographic position information;
the first client receives the gift configuration data, acquires current matched geographic position information, and acquires second gift configuration data corresponding to the matched geographic position information from the first gift configuration data;
the method comprises the steps that a first client loads a gift giving component, virtual gift data is loaded in the gift giving component according to the gift configuration data, and the loaded virtual gift data at least comprises second letter gift data corresponding to the second letter gift configuration data;
The first client side obtains gift selection information through the gift presentation component, generates a hand-letter gift presentation request and sends the hand-letter gift presentation request to the server side; the hand-held gift giving request at least comprises hand-held gift identifications corresponding to the selected plurality of second hand-held gift data;
the server generates hand-letter gift presentation data according to the hand-letter gift presentation request sent by the first client, and sends the hand-letter gift presentation data to the client joining the living broadcast room, wherein the hand-letter gift presentation data at least comprises hand-letter gift identifications corresponding to the selected plurality of second hand-letter gift data, user identifications corresponding to the first client, and user identifications corresponding to the second client receiving virtual resources;
and the client side joining the living broadcast room receives the gifts and displays the corresponding gifts in the living broadcast room interface.
In a second aspect, an embodiment of the present application provides a method for presenting a virtual gift in a living room, which is applicable to a client, and includes the steps of:
acquiring gift configuration data, wherein the gift configuration data at least comprises a plurality of first hand-held gift configuration data, the first hand-held gift configuration data comprises hand-held gift identifiers, and the hand-held gift identifiers correspond to geographic position information;
Acquiring current matchable geographic position information, and acquiring second mobile phone gift configuration data corresponding to the matchable geographic position information from the first mobile phone gift configuration data;
loading a gift presentation component, and loading virtual gift data in the gift presentation component according to the gift configuration data, wherein the loaded virtual gift data at least comprises second letter gift data corresponding to the second letter gift configuration data;
acquiring gift selection information through the gift presentation component, generating a hand-letter gift presentation request, and sending the hand-letter gift presentation request to the server; the hand-held gift giving request at least comprises hand-held gift identifications corresponding to the selected plurality of second hand-held gift data;
and the receiving server displays corresponding gifts presentation effects in a living broadcast room interface according to the gifts presentation data generated by the gifts presentation request, wherein the gifts presentation data at least comprises the gifts identifications corresponding to the selected second gifts data, the user identifications corresponding to the first client and the user identifications corresponding to the second clients receiving the virtual resources.
In a third aspect, an embodiment of the present application provides a virtual gift-gifting device in a living room, including:
the gift data acquisition module is used for acquiring gift configuration data, wherein the gift configuration data at least comprises a plurality of first manual gift configuration data, the first manual gift configuration data comprises a manual gift identifier, and the manual gift identifier corresponds to geographic position information;
the geographic position matching module is used for acquiring current matched geographic position information and acquiring second mobile phone gift configuration data corresponding to the matched geographic position information from the first mobile phone gift configuration data;
the loading module is used for loading a gift presentation component and loading virtual gift data in the gift presentation component according to the gift configuration data, wherein the loaded virtual gift data at least comprises second letter gift data corresponding to the second letter gift configuration data;
the gift module is used for acquiring gift selection information through the gift assembly, generating a hand-letter gift request and sending the hand-letter gift request to the server; the hand-held gift giving request at least comprises hand-held gift identifications corresponding to the selected plurality of second hand-held gift data;
The display effect module is used for receiving the hand-letter gift presentation data generated by the server according to the hand-letter gift presentation request and displaying the corresponding hand-letter gift presentation effect in the direct broadcasting room interface, wherein the hand-letter gift presentation data at least comprises hand-letter gift identifications corresponding to the selected plurality of second hand-letter gift data, user identifications corresponding to the first client and user identifications corresponding to the second client for receiving virtual resources.
In a fourth aspect, embodiments of the present application provide a computer device, a processor, a memory and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method as in the first or second aspect when the computer program is executed.
In a fifth aspect, embodiments of the present application provide a computer readable storage medium storing a computer program which, when executed by a processor, implements steps of a method as in the first or second aspect.
According to the embodiment of the application, after the client loads the gift configuration data, if the current matchable geographic position information corresponds to the corresponding geographic position information, unique gift configuration data matched with the geographic position information can be obtained, so that the gift data matched with the geographic position information is added in the gift giving component for a user to select, and the gift data can be an virtual image of unique resources of the geographic position corresponding to the geographic position information. For example, the letter gift data corresponding to Sichuan is the virtual image of panda or bamboo, the letter gift data corresponding to Beijing is the virtual image of the home womb and great wall, and the letter gift data corresponding to Shaanxi is the virtual image of Chinese hamburger, etc. After the user selects the gifts of the gifts, the server side sends corresponding gifts of the gifts to all the clients in the living broadcast room, so that the clients joining the living broadcast room display unique gifts in the living broadcast room interface. The gifting effect of the letter gift cannot be obtained by clients in other geographic positions. Therefore, the server is not required to be updated frequently, and different virtual gift data can be obtained as long as the user goes to different places, so that the participation enthusiasm of the user on the interaction of the live broadcasting room is improved, the user retention rate of the live broadcasting room is improved, and the updating cost of the server is not increased due to the increase of the updating frequency.
For a better understanding and implementation, the technical solutions of the present application are described in detail below with reference to the accompanying drawings.
Drawings
Fig. 1 is an application scenario schematic diagram of a live room virtual gift giving method provided in an embodiment of the present application;
fig. 2 is a schematic diagram of a live room interface in a virtual gift-gifting interaction scenario provided in an embodiment of the present application;
fig. 3 is a flowchart of a method for presenting virtual gifts in a living room according to a first embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a gift-gifting component provided in an embodiment of the present application in a live room interface;
fig. 5 is a flowchart of a method for presenting virtual gifts in a living room according to a second embodiment of the present disclosure;
FIG. 6 is a schematic illustration of a gift-gifting assembly provided in a second embodiment of the present application in a live room interface;
fig. 7 is a flowchart of a method for presenting virtual gifts in a living room according to a third embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a virtual gift-gifting device in a living room according to a fourth embodiment of the present application;
fig. 9 is a schematic structural diagram of a computer device according to a seventh embodiment of the present application.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the accompanying claims.
The terminology used in the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first message may also be referred to as a second message, and similarly, a second message may also be referred to as a first message, without departing from the scope of the present application. The word "if"/"if" as used herein may be interpreted as "at … …" or "at … …" or "in response to a determination", depending on the context.
As will be appreciated by those skilled in the art, the terms "client," "terminal device," and "terminal device" as used herein include both devices that include only wireless signal receiver devices without transmitting capabilities and devices that include receiving and transmitting hardware that include devices capable of two-way communication over a two-way communication link. Such a device may include: a cellular or other communication device such as a personal computer, tablet, or the like, having a single-line display or a multi-line display or a cellular or other communication device without a multi-line display; a PCS (PersonalCommunications Service, personal communication system) that may combine voice, data processing, facsimile and/or data communication capabilities; a PDA (Personal Digital Assistant ) that can include a radio frequency receiver, pager, internet/intranet access, web browser, notepad, calendar and/or GPS (Global PositioningSystem ) receiver; a conventional laptop and/or palmtop computer or other appliance that has and/or includes a radio frequency receiver. As used herein, "client," "terminal device" may be portable, transportable, installed in a vehicle (aeronautical, maritime, and/or land-based), or adapted and/or configured to operate locally and/or in a distributed fashion, at any other location(s) on earth and/or in space. As used herein, a "client," "terminal device," or "terminal device" may also be a communication terminal, an internet terminal, or a music/video playing terminal, for example, a PDA, a MID (Mobile Internet Device ), and/or a mobile phone with music/video playing function, or may also be a device such as a smart tv, a set top box, or the like.
The hardware referred to by the names "server," "client," "service node," and the like in the present application is essentially a computer device with the performance of a personal computer, and is a hardware device with necessary components disclosed by von neumann principles such as a central processing unit (including an arithmetic unit and a controller), a memory, an input device, and an output device, where a computer program is stored in the memory, and the central processing unit invokes a program stored in the external memory to run in the memory, executes instructions in the program, and interacts with the input and output devices, thereby completing a specific function.
It should be noted that the concept of "server side" in this application is also extended to the case of server clusters. The servers should be logically partitioned, physically separate from each other but interface-callable, or integrated into a physical computer or group of computers, according to network deployment principles understood by those skilled in the art. Those skilled in the art will appreciate this variation and should not be construed as limiting the implementation of the network deployment approach of the present application.
Referring to fig. 1, fig. 1 is a schematic application scenario of a live-room virtual gift-gifting method provided in an embodiment of the present application, where the application scenario includes a hosting client 101, a server 102 and a viewer client 103 provided in an embodiment of the present application, and the hosting client 101 and the viewer client 103 interact through the server 102.
The anchor client 101 refers to an end that transmits a live video, and is generally a client used by an anchor (i.e., a live anchor user) in a live video.
The viewer client 103 refers to a client employed by a viewer (i.e., a live viewer user) receiving and viewing a live video, typically in a live video.
The hardware pointed to by the anchor client 101 and the audience client 103 essentially refers to computer devices, which may be, as shown in fig. 1, in particular, smart phones, smart interactive tablets, personal computers, and the like. Both the anchor client 101 and the audience client 103 may access the internet through a well-known network access manner, and establish a data communication link with the server 102.
The server 102 serves as a service server and may be responsible for further connecting to related audio data servers, video streaming servers, other servers providing related support, etc., to form a logically related service cluster for providing services to related terminal devices, such as the anchor client 101 and the viewer client 103 shown in fig. 1.
In this embodiment of the present application, the anchor client 101 and the viewer client 103 may join the same live broadcast room (i.e., live broadcast channel), where the live broadcast room is a chat room implemented by means of the internet technology, and generally has an audio/video playing control function. The anchor user can live in the live broadcast room through the anchor client 101, and the audience of the audience client 103 can log in the server 102 to watch live broadcast in the live broadcast room.
In the live broadcasting room, the interaction between the host and the audience can be realized through a well-known online interaction mode such as voice, video, characters and the like, the host user is commonly used for performing programs for the audience in the form of audio and video streams, and resource interaction behaviors can be generated in the interaction process, for example, the audience client 103 gives a virtual gift to the host client 101 in the same live broadcasting room. Of course, the application form of the live broadcast room is not limited to online entertainment, and can be popularized to other related scenes, for example: user pairing interaction scenes, video conference scenes, online teaching scenes, product recommendation sales scenes and any other scenes needing similar interaction.
Specifically, the process of viewing a live broadcast by a viewer is as follows: the audience can click to access a live broadcast application program installed on the audience client 103, and select to enter any live broadcast room, the audience client 103 is triggered to load a live broadcast room interface for the audience, the live broadcast room interface comprises a plurality of interaction components, and the audience can watch live broadcast in the live broadcast room and perform various online interactions by loading the interaction components.
In the virtual gift presentation scene of the living broadcast room, the living broadcast audience can trigger a gift presentation component at the audience client 103, open a gift column, and trigger presentation after selecting a corresponding virtual gift, then the audience client 103 sends a virtual gift presentation request to the server 102 according to the virtual gift selected by the user, and the server 102 generates corresponding virtual gift presentation data according to the virtual gift presentation request and sends the corresponding virtual gift presentation data to all clients joining the living broadcast room to display the presentation effect of the virtual gift.
Referring to fig. 2, fig. 2 is a schematic diagram of a live room interface in a live room virtual gift gifting scene according to an embodiment of the present application.
The living room interface shown in fig. 2 includes a living broadcast screen and a gift-gifting component 21, wherein the gift-gifting component 21 includes various gift types, such as classical, interactive, collection, etc. When a user clicks one of the gift types, a gift bar 22 corresponding to the gift type is opened, and a plurality of virtual gift of the gift type are correspondingly displayed in the gift bar 22. When a user selects one of the virtual gifts, the number of the gifts is adjusted through the number selection control and the gift giving button is clicked, receiving the user identification of the user giving the gift according to the gift identification of the selected virtual gift and the user identification of the user giving the gift, sending a virtual gift giving request, generating corresponding virtual gift giving data according to the virtual gift giving request by a server side, sending the corresponding virtual gift giving data to all clients joining a living broadcast room, and displaying the giving effect of the virtual gift by each client side.
The virtual gift data in the gift-giving component 21 is configured by a server, and each user can only obtain the same gift type and the same virtual gift, and when the audience and the host are used to the uniformly configured virtual gift data, the enthusiasm of participating in gift interaction can be reduced, and only the server-side data can be waited for uniform update and delivery, and new virtual gift data can be obtained. However, the service end is limited by various factors such as cost and the like, and cannot be updated too quickly, so that the participation enthusiasm of users on interaction between live rooms is reduced, and the user retention rate of the live rooms is affected.
Example 1
Based on the above, the embodiment of the application provides a virtual gift giving method in a living broadcast room. Referring to fig. 3, fig. 3 is a flow chart of a method for presenting virtual gifts in a living room according to a first embodiment of the present application, the method includes the following steps:
s101: the method comprises the steps that a first client sends out a gift configuration data acquisition request;
s102: the server responds to a gift configuration data acquisition request sent by the first client and sends the gift configuration data to the first client;
s103: the first client receives the gift configuration data, acquires current matched geographic position information, and acquires second gift configuration data corresponding to the matched geographic position information from the first gift configuration data;
S104: the first client displays a gift presentation component in a live broadcasting room interface, and loads virtual gift data in the gift presentation component according to the gift configuration data;
s105: the first client side obtains gift selection information through the gift presentation component, generates a hand-letter gift presentation request and sends the hand-letter gift presentation request to the server side;
s106: the server generates the gifts gifting data according to the gifts gifting request sent by the first client, the gifted data of the hand-letter gift is sent to a client side joining the living broadcast room;
s107: and the client side added into the living broadcast room receives the gifts and displays the corresponding gifts in the living broadcast room interface.
In this embodiment, the description is made of a virtual gift-gifting method in a living room from two execution subjects of a client and a server. Steps S101 to S107 will be described in detail below.
In step S101, the first client is a client that needs to load gift configuration data, and the first client may be the audience client or the anchor client. Typically, the first client is the client employed by a user entering the current live room.
The first client may be configured to send the gift configuration data obtaining request when the user logs in the corresponding live program account, load the virtual gift data, or send the gift configuration data obtaining request when the first client joins the current live broadcast room, or send the gift configuration data obtaining request when the client performs live broadcast software program initialization, or installs the live broadcast software program, or obtains the live broadcast software program, in this case, the operation of the first client obtaining the live broadcast software program from the server, or connecting the server to initialize the live broadcast software program is equivalent to sending the gift configuration data obtaining request. Of course, other arrangements are also possible, and will not be described in detail.
In an alternative embodiment, as shown in FIG. 4, a gift-gifting component 31 is loaded in the living room interface, the gift-gifting component 31 including a gift-type selection control 37. Included in the gift-type selection control 37 are various gift types, such as classical, interactive, favorite, letter, etc. Triggering and sending the gift configuration data acquisition request when the user clicks and selects the type of the manual gift.
The gift configuration data acquisition request at least comprises a user identifier corresponding to the first client. The user identifier corresponding to the first client is an identifier for identifying the identity of the first client. Specifically, the device ID may be a user ID (Identity document, identity number) of the first client, or may be a device ID of the live client, or a corresponding communication identifier thereof, etc.
The gift configuration data acquisition request may further include a live room identifier of a live room that the first client joins, where the live room identifier is used to notify the server to complete interaction between the first client and other clients joining the live room, such as giving a virtual gift, sending chat data, and so on. The live broadcast room identification may be information capable of identifying the live broadcast room, such as a room number or a channel number of the live broadcast room.
With respect to step S102, after receiving the gift configuration data acquisition request sent by the first client, the server responds to the gift configuration data acquisition request sent by the first client, and sends the gift configuration data to the first client.
The gift configuration data at least comprises a plurality of first hand-held gift configuration data, wherein the first hand-held gift configuration data comprises a hand-held gift identifier, and the hand-held gift identifier corresponds to geographic position information;
The first hand-held gift configuration data is preset and stored by the server, and when the server sets and stores the first hand-held gift configuration data, a hand-held gift identifier is set for the first hand-held gift configuration data, wherein the hand-held gift identifier can be an independent identifier for identifying a hand-held gift, for example, a user-defined hand-held gift number and the like, or can be a newly added identifier field in a gift attribute field of the first hand-held gift.
And identifying the hand-letter gift data and the non-hand-letter gift data through the hand-letter gift identification. Wherein, the hand-letter gift identifier of the hand-letter gift data is correspondingly bound with a geographic position information. The geographical location information is preset by the server,
the gifts data corresponding to the gifts identifier bound to the geographical location information is preferably an avatar of a unique resource of the geographical location corresponding to the geographical location information, for example, the gifts data corresponding to Sichuan is an avatar of panda or bamboo, the gifts data corresponding to Beijing is an avatar of the palace and great wall, the gifts data corresponding to Shaanxi is an avatar of the hamburger, and the like. In the gift configuration data stored in the server, one piece of geographic position information can be correspondingly bound with more than two pieces of hand-letter gift identification, so that the first client can acquire one or more pieces of hand-letter gift data with the geographic position information according to different pieces of geographic position information.
The geographical location information may be any level of geographical location information, including countries, regions, provinces, cities, towns, streets, scenic spots, and the like.
The gift configuration data may further include a plurality of non-chiral gift configuration data, where the non-chiral gift configuration data does not have the chiral gift identifier, and the client obtains common virtual gift data according to the non-chiral gift configuration data. Generally, the non-chiral gift configuration data is uniformly set by the server, the non-chiral gift configuration data sent to each first client is the same, and the non-chiral gift data loaded by each first client according to the non-chiral gift configuration data is also the same.
Further, the gift configuration data may further include general gift configuration data including general gift identification. The first client acquires the universal gift identifier, and identifies the corresponding universal gift data as the hand-letter gift data and also as the common virtual gift data, so that the universal gift data can be used in both a hand-letter gift presentation scene and a common gift presentation scene. Similarly, the universal gift identifier may be an independent identifier for identifying a giftor gift, for example, a customized giftor number, or may be a newly added identifier field in a gift attribute field of the universal gift data.
With regard to step S103, the first client receives the gift configuration data, obtains current matchable geographic location information, and obtains second gift configuration data corresponding to the matchable geographic location information from the first gift configuration data.
The geographic position information that the first client can be matched with currently can be the current real-time geographic position information of the first client, for example, the current position of the first client is A province B city, and the matched geographic position information is A province B city; the geographic location information that can be matched may also be a plurality of geographic location information that the first client passes through and saves in a period of time, for example, the first client passes through city B, city C, and city F in the past week, and then the geographic location information that can be matched includes city B, city C, and city F in the past week. Further, the preservation condition of the matable geographical location information may be set, for example, the first client must pass through in the past period of time, and/or the residence time at the corresponding geographical location must reach a preset threshold value, etc. And further, setting the maximum number of the geographic position information which can be matched with the first client, and screening the geographic position information stored by the first client according to the maximum number to obtain the best geographic position information which can be matched with the maximum number. The specific screening time can be set according to specific service requirements, such as the longest residence time, the latest elapsed time, etc.
In an optional embodiment, when the first client acquires the current matching geographical location information, it is first determined whether the location information acquisition authority is opened for the live software program.
The first client judges whether the position acquisition permission is opened or not, and acquires the current matchable geographic position information if the position acquisition permission is opened;
if the position acquisition authority is not opened, the first client displays the position acquisition authorization component; if the position acquisition authorization component obtains the opening confirmation information of the position acquisition authority, the current matchable geographic position information is acquired; and if the position acquisition authorization component can not obtain the opening confirmation information of the position acquisition authority, displaying the prompt information of the failed acquisition of the letter gift.
If the position acquisition authority is not opened, the first client may call a system position acquisition authority interface, display a position acquisition authority component, for example, display a position acquisition authority prompt window, through which a user may select to open the authority or not open the authority. If the user opens the authorization, the opening confirmation information is obtained, and if the user does not open the authorization, the opening confirmation information cannot be obtained. And displaying prompt information of failed acquisition of the hand gift, such as message bubbles with the display content of 'failed acquisition of the hand gift'.
The second mobile gift configuration data is the first mobile gift configuration data corresponding to the geographic location information that the first client can match.
In an optional embodiment, after the first client receives the gift configuration data, it may first determine whether each gift configuration data includes a manual gift identifier, and if so, store the first manual gift configuration data corresponding to the manual gift identifier and the geographic location information correspondingly; after the current matchable geographic position information is obtained, searching first letter gift configuration data corresponding to the matchable geographic position information according to the matchable geographic position information, and obtaining second letter gift configuration data.
For example, if the geographic location information that can be matched is a provincial city code, the first client obtains the geographic location information that is currently located, obtains the provincial city code in the geographic location information, and searches the first letter gift configuration data corresponding to the provincial city code according to the provincial city code, thereby obtaining the second letter gift configuration data.
Regarding step S104, the first client loads a gift gifting component, and loads virtual gift data in the gift gifting component according to the gift configuration data, wherein the loaded virtual gift data at least includes second letter gift data corresponding to the second letter gift configuration data;
The first client-loaded gift presentation component is for providing various gift data for selection by a user, and in an alternative embodiment, the gift presentation component 31 is shown in fig. 4, and includes a gift bar 32, a quantity selection control 33, a gift button 34, a letter gift selection control 35, and a gift type selection control 37.
The gift bar 32 is configured to display corresponding non-letter gift data for selection by a user; the hand-letter gift selection control 35 is configured to display corresponding hand-letter gift data for selection by a user; the quantity selection control 33 is used for adjusting the quantity of the virtual gift data selected by the user; the gift button 34 is used to trigger a gift-gift request; included in the gift-type selection control 37 are various gift types, such as classical, interactive, favorite, etc. When a user clicks one of the gift types, a gift bar 32 corresponding to the gift type is opened, and a plurality of virtual gift data conforming to the gift type are correspondingly displayed in the gift bar 32.
In an alternative embodiment, the gift configuration data obtained by the first client includes the hand-held gift configuration data, the non-hand-held gift configuration data, and the general-purpose gift configuration data;
Step S104 includes: and the first client loads second hand-message gift data corresponding to the second hand-message gift configuration data, non-hand-message gift data corresponding to the non-hand-message gift configuration data and general gift data corresponding to the general gift configuration data in the gift giving component according to the gift configuration data.
Wherein the second hand-held gift data is loaded in a hand-held gift selection control 35 and the non-hand-held gift data and the universal gift data are loaded in a gift bar 32. And the non-manual gift data loaded in the gift bar may be further set to a non-activated state, and the general gift data may be set to an activated state, wherein the gift data set to the non-activated state in the gift bar may not be selected, and the gift data set to the activated state in the gift bar may be selected. As shown in fig. 4, the non-manual gift data display area set to the inactive state is darkened, and the non-manual gift data is not selectable; the general gift data display area set to the activated state is highlighted and the general gift data is selectable.
Further, the gift gifting component 31 further includes a gift box character 36, wherein the gift box character 36 is configured to indicate that the gift data and/or the universal gift data loaded in the gift selection control 35 are packaged together for selection. The specific display image of the gift box image 36 is not limited and may be a gift box, a box, an envelope, etc.
Regarding step S105, the first client obtains gift selection information through the gift-gifting component, generates a hand-letter gift-gifting request, and sends the hand-letter gift-gifting request to the server; the hand-held gift giving request at least comprises hand-held gift identifications corresponding to the selected plurality of second hand-held gift data;
as shown in fig. 4, when the user selects one of the virtual gift data (possibly the letter gift data), the number of gifts can be selected through the number selection control 35, and the user clicks the gift button, the user identification of the user who gifts is received according to the gift identification of the selected virtual gift and the user identification of the user who gifts, and a virtual gift gifting request is transmitted.
The hand-held gift giving request at least comprises hand-held gift identifications corresponding to the selected plurality of second hand-held gift data. Or further, the hand-letter gift giving request can also comprise a plurality of gift identifications corresponding to the general gift data. That is, general gift data may be packaged for presentation with the hand gift data, whereas general non-hand gift data may not be packaged for presentation with the hand gift data.
The first client loads the second hand-message gift data in the hand-message gift selection control 35 by default and loads the non-hand-message gift data and the universal gift data in the gift bar 32. The manual gift selection control 35 corresponds to a manual gift selection list.
When the first client receives an instruction that the general gift data is dragged to the hand-held gift selection control, displaying the general gift data in the hand-held gift selection control, and adding a general gift identifier corresponding to the general gift data to the hand-held gift selection list;
when the first client receives that second hand-held gift data or general gift data in the hand-held gift selection control is dragged out of the hand-held gift selection control, the second hand-held gift data or general gift data is removed from the hand-held gift selection control, and a corresponding second hand-held gift identifier or general gift identifier is deleted from the hand-held gift selection list;
when the first client receives a gift presentation instruction, acquiring the second hand-held gift identifier or the universal gift identifier in the hand-held gift selection list, and generating a hand-held gift presentation request; wherein the giftwork presentation request includes the second giftwork identifier or the universal gift identifier in the giftwork selection list.
Through the above manner, the user can conveniently edit the manual gift selection list corresponding to the manual gift selection control 35, and conveniently and intuitively select the manual gift to be presented or the universal gift.
Further, the first client may display the total interaction value of the selected mobile phone gift on the live broadcast room interface according to the total interaction value corresponding to the second mobile phone gift identifier and/or the universal gift identifier in the mobile phone gift selection list;
when a gift giving instruction is received, acquiring a total value of the interaction value held by the user corresponding to the first client;
if the total value of the interaction value held by the user is not less than the total interaction value corresponding to the second hand-held gift identification and/or the general gift identification in the hand-held gift selection list, generating a hand-held gift presentation request;
and if the total value of the interaction values held by the user is less than the total interaction value of the second hand-message gift identification and/or the general gift identification in the hand-message gift selection list, sending out presentation failure prompt information.
The total value of the interaction value held by the user can be obtained according to the user identification query corresponding to the first client.
Each piece of virtual gift data corresponds to an interaction value, and the total interaction value corresponding to the manual gift selection list is the sum of all pieces of virtual gift data in the manual gift selection list.
The total value of the user holding interaction value is not less than the total interaction value corresponding to the hand-letter gift selection list, and the user holding interaction value is enough to satisfy the requirement of presenting all virtual gift data in the hand-letter gift selection list, namely a hand-letter gift presentation request is generated; otherwise, the interactive value held by the user is insufficient to satisfy the requirement of giving all the virtual gift data in the manual gift selection list, namely giving out the presentation failure prompt information.
The user can acquire more interactive values through the related interactive value acquisition components, and the presentation failure prompt information can comprise an opening interface of the interactive value acquisition components, so that the user can conveniently open the interface.
In order to facilitate the user to select gift data in the manual gift selection list, further, step S105 may include the steps of:
responding to a hand-letter gift resetting instruction, recovering the gift identification in the hand-letter gift selection list into a default hand-letter gift identification, and displaying gift data corresponding to the default hand-letter gift identification in the hand-letter gift selection control, wherein the default hand-letter gift identification is a second hand-letter gift identification corresponding to the matched geographic position information.
The gift reset instruction may be triggered and acquired in a variety of ways, such as setting a reset button in the gift selection control, and acquiring the gift reset instruction when the reset button is triggered.
Through the hand-letter gift resetting instruction, the gift data corresponding to the default hand-letter gift identification can be quickly restored, and further convenience is provided for the user to select the hand-letter gift.
In an alternative embodiment, step S105 may further include the steps of:
responding to a gift display hiding instruction, and storing a selected gift identifier in the manual gift selection list;
when the gift display instruction is received again, displaying corresponding gift data in the hand-held gift selection control according to the gift identification stored in the hand-held gift selection list.
The gift display hidden command may be triggered to be obtained in a variety of ways, such as when a closing of a gift bar or closing of the manual gift selection control, or closing of the gift gifting component is received, the gift display hidden command is obtained.
By the method, the virtual gift data selected by the user can be temporarily stored when other matters leave the gift-giving component temporarily when the user gives the gift, and the virtual gift data does not need to be selected again when the user opens the gift-giving component again.
In an alternative embodiment, step S105 may further include the steps of:
and in response to an instruction of exiting the living broadcast room, clearing the gift identification in the hand-held gift selection list.
But the user pushes out the living broadcast room, the gift identification in the corresponding manual gift selection list is emptied. When the user enters another live broadcast room or the local live broadcast room again, the virtual gift data presented needs to be reselected.
In an alternative embodiment, step S105 may further include the steps of:
generating a special effect of the package of the mobile phone gift according to the selected plurality of second mobile phone gift data and/or the general gift data or the corresponding gift identification;
and displaying the special effect of the package of the hand-letter gift on a live broadcasting room interface of the first client.
The gift wrapping effects may be set according to business requirements, such as effects of placing selected ones of the second, and/or common gift data one by one into the gift box image 36.
Regarding step S106, the server generates gifts data according to the gifts request sent by the first client, and sends the gifts data to the client joining the living broadcasting room, wherein, the gifts presentation data at least comprises gifts identifications corresponding to the selected second gifts data, user identifications corresponding to the first clients, and user identifications corresponding to the second clients receiving the virtual resources.
The gifts presentation data may further include gift identifications of the selected number of general gift data.
The second client receiving the virtual resource is preferably a client joining the same living room as the first client, such as a hosting client joining the same living room as the first client (viewer client).
The user identifier corresponding to the second client is similar to the user identifier of the first client, and can be the user identifier logged in through the second client.
The user identifier corresponding to the second client may be selected and obtained by the first client according to a default manner, for example, the user identifier of the anchor client in the same live broadcasting room is obtained by default as the user identifier corresponding to the second client. The virtual gift receiving device can also be specified by a user through a selection control of the live room interface, for example, when a plurality of anchor programs exist in the live room, the user can specify the user identification of the virtual gift receiving device through the selection control of the live room interface.
The clients joining the live broadcast room include all clients joining the live broadcast room, including a first client or viewer client, and a second client or anchor client.
Regarding step S107, the client terminal joining the living broadcast room receives the gifts data, and displays corresponding gifts effects on the living broadcast room interface.
The client-side joining the live broadcasting room receives the hand-letter gift-giving data, obtains gift identifications corresponding to the selected plurality of second hand-letter gift-giving data and/or general gift-giving data, user identifications corresponding to the first client-side and user identifications corresponding to the second client-side receiving virtual resources in the hand-letter gift-giving data, and displays the display effect of the first user corresponding to the first client-side on the second user gift-giving hand-letter gift corresponding to the second client-side in the live broadcasting room interface.
The corresponding gifting effect of the hand-held gift is the superposition of the gifting effect of the second hand-held gift data and/or the general gift data. Specifically, it may be displayed in a manner of gift running water, gift rain, etc.
Further, the gifting effect of the letter gift may be set according to the total interactive value of the selected virtual gift. For example, if the total interaction value of the selected second gift data exceeds a preset threshold, displaying the first gift giving effect, such as: gift light and gift water; if the total interaction value of the selected second gift data does not exceed the preset threshold, displaying a second gift giving effect, such as: the letter gift box is big smooth and gift rain.
Example 2
Fig. 5 is a partial flow chart of a virtual gift-gifting method in a living room according to a second embodiment of the present application.
The main difference of the virtual gift-gifting method in the living broadcasting room of the second embodiment of the present application is that: the step S103, of obtaining current matchable geographic location information, and obtaining second gift configuration data corresponding to the matchable geographic location information from the first gift configuration data, includes:
s301, a first client acquires two or more than two pieces of mateable geographic position information, and displays the two or more than two pieces of mateable geographic position information in a live broadcast room interface;
s302, responding to a position selection instruction of the matchable geographic position information, acquiring geographic position information corresponding to the position selection instruction, and acquiring second geographic gift configuration data corresponding to the geographic position information from the first geographic gift configuration data.
And when the first client side can be matched with more than one geographic position information, further displaying the two or more than two pieces of matched geographic position information in a live broadcasting room interface for selection by a user. As shown in fig. 6, the gift gifting component may further include a location information selection control 38, where a plurality of geographic location information that the first client can currently match are displayed in the location information selection control 38, and when a selection instruction for one of the geographic location information that can match is received, geographic location information corresponding to the selection instruction is acquired, and second gift configuration data corresponding to the selected geographic location information is acquired from the first gift configuration data. For example, the geographical location information that the first client can currently match includes si, beijing and shanxi displayed in the location information selection control 38, and when si is selected by the user, the letter gift data corresponding to si is panda or bamboo; when a user selects Beijing, acquiring that the corresponding hand-communication gift data of the Beijing is the cartoon image of the home palace and great wall; when the user selects Shaanxi, the corresponding letter gift data of Shaanxi is meat hamburger, noodle and the like. The second mobile gift configuration data corresponding to the geographic location information is loaded into the gift-gifting component for display in a subsequent step for selection by a user.
In an alternative embodiment, the step S103 may further include the steps of:
acquiring the number of position switching authorities of the user identifier corresponding to the first client, and further displaying the number of position switching authorities in a live broadcasting room interface;
if the geographic position information corresponding to the position selection instruction is not the current geographic position information of the first client, after the first client generates the gifted gift giving request, the method further comprises the steps of:
and subtracting 1 from the number of the position switching authorities.
In this embodiment, the number of times of selecting and switching the matable geographic location information by the first client may be limited by the number of location switching permissions, so as to prevent the switching of the geographic location information from being excessively applied, and influence the interactive experience of other users, such as users receiving the virtual gift.
Each user identifier can correspond to an initial position switching authority number, and if the position switching authority number is reduced by 1 until the position switching authority number is 0, the user cannot perform switching selection of the matchable geographic position information.
Alternatively, the user may trade the number of location switching rights for the held interactive value.
Example 3
Referring to fig. 7, fig. 7 is a flow chart of a virtual gift-gifting method in a living room according to a third embodiment of the present application, including the following steps:
s801: acquiring gift configuration data, wherein the gift configuration data at least comprises a plurality of first hand-held gift configuration data, the first hand-held gift configuration data comprises hand-held gift identifiers, and the hand-held gift identifiers correspond to geographic position information;
s802: acquiring current matchable geographic position information, and acquiring second mobile phone gift configuration data corresponding to the matchable geographic position information from the first mobile phone gift configuration data;
s803: loading a gift presentation component, and loading virtual gift data in the gift presentation component according to the gift configuration data, wherein the loaded virtual gift data at least comprises second letter gift data corresponding to the second letter gift configuration data;
s804: acquiring gift selection information through the gift presentation component, generating a hand-letter gift presentation request, and sending the hand-letter gift presentation request to the server; the hand-held gift giving request at least comprises hand-held gift identifications corresponding to the selected plurality of second hand-held gift data;
S805: and the receiving server displays corresponding gifts presentation effects in a living broadcast room interface according to the gifts presentation data generated by the gifts presentation request, wherein the gifts presentation data at least comprises the gifts identifications corresponding to the selected second gifts data, the user identifications corresponding to the first client and the user identifications corresponding to the second clients receiving the virtual resources.
In this embodiment, the server is used as an execution body to describe the virtual gift-gifting method in the living broadcasting room, and the detailed description of steps S801 to S805 will be referred to the explanation in the above embodiment, and will not be repeated here.
Example 4
Referring to fig. 8, a schematic structural diagram of a virtual gift-gifting control device in a living room according to a fourth embodiment of the present application is shown. The apparatus may be implemented as all or part of a client by software, hardware, or a combination of both. The apparatus 20 comprises:
the gift data obtaining module 401 is configured to obtain gift configuration data, where the gift configuration data at least includes a plurality of first manual gift configuration data, the first manual gift configuration data includes a manual gift identifier, and the manual gift identifier corresponds to one piece of geographic location information;
A geographic location matching module 402, configured to obtain current matchable geographic location information, and obtain second gift configuration data corresponding to the matchable geographic location information from the first gift configuration data;
the loading module 403 is configured to load a gift-gifting component, and load virtual gift data in the gift-gifting component according to the gift configuration data, where the loaded virtual gift data at least includes second letter gift data corresponding to the second letter gift configuration data;
the presenting module 404 is configured to obtain gift selection information through the gift presenting component, generate a hand-letter gift presenting request, and send the hand-letter gift presenting request to the server; the hand-held gift giving request at least comprises hand-held gift identifications corresponding to the selected plurality of second hand-held gift data;
the display module 405 is configured to receive the gifts gifting data generated by the server according to the gifts gifting request, and display a corresponding gifts gifting effect on a direct broadcasting room interface, where the gifts gifting data at least includes a gifts identifier corresponding to the selected second gifts data, a user identifier corresponding to the first client, and a user identifier corresponding to the second client that receives the virtual resource.
It should be noted that, when the live-room virtual gift-giving device provided in the above embodiment executes the live-room virtual gift-giving method, only the division of the above functional modules is used for illustration, in practical application, the above functional allocation may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the live-broadcast room virtual gift presentation device and the live-broadcast room virtual gift presentation method provided in the above embodiments belong to the same concept, which embody detailed implementation process and are not described herein.
Example 5
Fig. 9 is a schematic structural diagram of a computer device according to a fifth embodiment of the present application. As shown in fig. 9, the computer device 21 may include: a processor 210, a memory 211, and a computer program 212 stored in the memory 211 and executable on the processor 210, for example: the virtual gift presentation interactive program in the living broadcasting room; the processor 210, when executing the computer program 212, implements the steps of the embodiments described above.
Wherein the processor 210 may include one or more processing cores. The processor 210 performs various functions of the computer device 21 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 211, and invoking data in the memory 211, using various interfaces and lines to connect various parts within the computer device 21, alternatively, the processor 210 may be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programble Logic Array, PLA). The processor 210 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the touch display screen; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 210 and may be implemented by a single chip.
The Memory 211 may include a random access Memory (Random Access Memory, RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 211 includes a non-transitory computer readable medium (non-transitory computer-readable storage medium). Memory 211 may be used to store instructions, programs, code sets, or instruction sets. The memory 211 may include a storage program area and a storage data area, wherein the storage program area may store instructions for implementing an operating system, instructions for at least one function (such as touch instructions, etc.), instructions for implementing the above-described various method embodiments, etc.; the storage data area may store data or the like referred to in the above respective method embodiments. The memory 211 may optionally also be at least one storage device located remotely from the aforementioned processor 210.
The embodiment of the present application further provides a computer storage medium, where a plurality of instructions may be stored, where the instructions are adapted to be loaded and executed by a processor, and the specific implementation procedure may refer to the specific description of the foregoing embodiment, and details are not repeated herein.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other manners. For example, the apparatus/terminal device embodiments described above are merely illustrative, e.g., the division of modules or units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present invention may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the steps of each method embodiment described above may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, executable files or in some intermediate form, etc.
The present invention is not limited to the above-described embodiments, but, if various modifications or variations of the present invention are not departing from the spirit and scope of the present invention, the present invention is intended to include such modifications and variations as fall within the scope of the claims and the equivalents thereof.

Claims (15)

1. A method for presenting virtual gifts in a living room, said method comprising the steps of:
the method comprises the steps that a server side responds to a gift configuration data acquisition request sent by a first client side, and gift configuration data are sent to the first client side, wherein the gift configuration data at least comprise a plurality of first hand-held gift configuration data, the first hand-held gift configuration data comprise hand-held gift identifiers, and the hand-held gift identifiers correspond to geographic position information;
the first client receives the gift configuration data, acquires current matched geographic position information, and acquires second gift configuration data corresponding to the matched geographic position information from the first gift configuration data;
the method comprises the steps that a first client loads a gift giving component, virtual gift data is loaded in the gift giving component according to the gift configuration data, and the loaded virtual gift data at least comprises second letter gift data corresponding to the second letter gift configuration data;
The first client side obtains gift selection information through the gift presentation component, generates a hand-letter gift presentation request and sends the hand-letter gift presentation request to the server side; the hand-held gift giving request at least comprises hand-held gift identifications corresponding to the selected plurality of second hand-held gift data;
the server generates hand-letter gift presentation data according to the hand-letter gift presentation request sent by the first client, and sends the hand-letter gift presentation data to the client joining the living broadcast room, wherein the hand-letter gift presentation data at least comprises hand-letter gift identifications corresponding to the selected plurality of second hand-letter gift data, user identifications corresponding to the first client, and user identifications corresponding to the second client receiving virtual resources;
and the client side joining the living broadcast room receives the gifts and displays the corresponding gifts in the living broadcast room interface.
2. The living room virtual gift gifting method according to claim 1, wherein the step of acquiring current matchable geographical location information, and acquiring second letter gift configuration data corresponding to the matchable geographical location information from the first letter gift configuration data, comprises:
The first client judges whether the position acquisition permission is opened or not, and acquires the current matchable geographic position information if the position acquisition permission is opened;
if the position acquisition authority is not opened, the first client displays the position acquisition authorization component; if the position acquisition authorization component obtains the opening confirmation information of the position acquisition authority, the current matchable geographic position information is acquired; and if the position acquisition authorization component can not obtain the opening confirmation information of the position acquisition authority, displaying the prompt information of the failed acquisition of the letter gift.
3. The living room virtual gift gifting method of claim 1, wherein the gift configuration data includes the manual gift configuration data, non-manual gift configuration data, and general gift configuration data;
the first client loads a gift gifting component, and according to the gift configuration data, the step of loading virtual gift data in the gift gifting component comprises the following steps:
and the first client loads second hand-message gift data corresponding to the second hand-message gift configuration data, non-hand-message gift data corresponding to the non-hand-message gift configuration data and general gift data corresponding to the general gift configuration data in the gift giving component according to the gift configuration data.
4. The method of presenting a virtual gift at a living room of claim 3, wherein the step of loading the non-manual gift data and the universal gift data in a gift bar by the first client includes:
setting the non-letter gift data loaded in the gift bar to an inactive state, and setting the general gift data to an active state, wherein the gift data set to the inactive state in the gift bar may not be selected, and the gift data set to the active state in the gift bar may be selected.
5. The method for presenting virtual gifts in a living broadcast room according to claim 3, wherein said gifts selection control corresponds to a gifts selection list;
the first client obtains gift selection information through the gift-gifting component, and the step of generating a hand-letter gift-gifting request comprises the following steps:
when receiving an instruction that the general gift data is dragged to the hand-letter gift selection control, displaying the general gift data in the hand-letter gift selection control, and adding a general gift identifier corresponding to the general gift data to the hand-letter gift selection list;
When second hand-message gift data or general gift data in the hand-message gift selection control is dragged out of the hand-message gift selection control, removing the second hand-message gift data or general gift data from the hand-message gift selection control, and deleting a corresponding second hand-message gift identification or general gift identification from the hand-message gift selection list;
when a gift giving instruction is received, acquiring the second hand-letter gift identification or the general gift identification in the hand-letter gift selection list, and generating a hand-letter gift giving request; wherein the giftwork presentation request includes the second giftwork identifier or the universal gift identifier in the giftwork selection list.
6. The method of claim 5, wherein the first client obtains gift selection information via the gift-gifting component, and the step of generating a hand-held gift-gifting request further comprises:
the first client displays the total interaction value of the selected hand-held gift on a live broadcasting room interface according to the total interaction value corresponding to the second hand-held gift identification and/or the general gift identification in the hand-held gift selection list;
When a gift giving instruction is received, acquiring a total value of the interaction value held by the user corresponding to the first client;
if the total value of the interaction value held by the user is not less than the total interaction value corresponding to the second hand-held gift identification and/or the general gift identification in the hand-held gift selection list, generating a hand-held gift presentation request;
and if the total value of the interaction values held by the user is less than the total interaction value of the second hand-message gift identification and/or the general gift identification in the hand-message gift selection list, sending out presentation failure prompt information.
7. The method of living room virtual gift-gifting of claim 5, wherein the step of the first client obtaining gift-selection information through the gift-gifting component further comprises:
responding to a hand-letter gift resetting instruction, recovering the gift identification in the hand-letter gift selection list into a default hand-letter gift identification, and displaying gift data corresponding to the default hand-letter gift identification in the hand-letter gift selection control, wherein the default hand-letter gift identification is a second hand-letter gift identification corresponding to the matched geographic position information.
8. The living room virtual gift gifting method according to claim 1, wherein the step of acquiring current matchable geographical location information, and acquiring second letter gift configuration data corresponding to the matchable geographical location information from the first letter gift configuration data, comprises:
The method comprises the steps that a first client obtains two or more than two pieces of geographic position information which can be matched, and the two or more than two pieces of geographic position information which can be matched are displayed in a live broadcasting room interface;
and responding to a position selection instruction of the matchable geographic position information, acquiring geographic position information corresponding to the position selection instruction, and acquiring second communication gift configuration data corresponding to the geographic position information from the first communication gift configuration data.
9. The method of claim 8, wherein the step of the first client obtaining two or more mateable geographic location information and displaying the two or more mateable geographic location information in the live room interface comprises:
acquiring the number of position switching authorities of the user identifier corresponding to the first client, and further displaying the number of position switching authorities in a live broadcasting room interface;
if the geographic position information corresponding to the position selection instruction is not the current geographic position information of the first client, after the first client generates the gifted gift giving request, the method further comprises the steps of:
and subtracting 1 from the number of the position switching authorities.
10. The method of claim 1, wherein the first client obtains gift selection information through the gift-gifting component, and the step of generating a hand-held gift-gifting request further comprises:
generating a special effect of the package of the hand-held gift according to the hand-held gift identifications corresponding to the selected plurality of second hand-held gift data;
and displaying the special effect of the package of the hand-letter gift on a live broadcasting room interface of the first client.
11. The method of presenting virtual gift at a living room of claim 10, wherein displaying the gifted gift packaging special effects includes:
if the total interaction value of the selected second gift data exceeds a preset threshold, displaying a first gift packaging effect;
and if the total interaction value of the selected second gift data does not exceed the preset threshold value, displaying a second gift packaging effect.
12. A method for presenting virtual gifts in a living room, said method comprising the steps of:
acquiring gift configuration data, wherein the gift configuration data at least comprises a plurality of first hand-held gift configuration data, the first hand-held gift configuration data comprises hand-held gift identifiers, and the hand-held gift identifiers correspond to geographic position information;
Acquiring current matchable geographic position information, and acquiring second mobile phone gift configuration data corresponding to the matchable geographic position information from the first mobile phone gift configuration data;
loading a gift presentation component, and loading virtual gift data in the gift presentation component according to the gift configuration data, wherein the loaded virtual gift data at least comprises second letter gift data corresponding to the second letter gift configuration data;
acquiring gift selection information through the gift presentation component, generating a hand-letter gift presentation request, and sending the hand-letter gift presentation request to the server; the hand-held gift giving request at least comprises hand-held gift identifications corresponding to the selected plurality of second hand-held gift data;
and the receiving server displays corresponding gifts presentation effects in a living broadcast room interface according to the gifts presentation data generated by the gifts presentation request, wherein the gifts presentation data at least comprises the gifts identifications corresponding to the selected second gifts data, the user identifications corresponding to the first client and the user identifications corresponding to the second clients receiving the virtual resources.
13. A living room virtual gift presentation control device, comprising:
the gift data acquisition module is used for acquiring gift configuration data, wherein the gift configuration data at least comprises a plurality of first manual gift configuration data, the first manual gift configuration data comprises a manual gift identifier, and the manual gift identifier corresponds to geographic position information;
the geographic position matching module is used for acquiring current matched geographic position information and acquiring second mobile phone gift configuration data corresponding to the matched geographic position information from the first mobile phone gift configuration data;
the loading module is used for loading a gift presentation component and loading virtual gift data in the gift presentation component according to the gift configuration data, wherein the loaded virtual gift data at least comprises second letter gift data corresponding to the second letter gift configuration data;
the gift module is used for acquiring gift selection information through the gift assembly, generating a hand-letter gift request and sending the hand-letter gift request to the server; the hand-held gift giving request at least comprises hand-held gift identifications corresponding to the selected plurality of second hand-held gift data;
The display effect module is used for receiving the hand-letter gift presentation data generated by the server according to the hand-letter gift presentation request and displaying the corresponding hand-letter gift presentation effect in the direct broadcasting room interface, wherein the hand-letter gift presentation data at least comprises hand-letter gift identifications corresponding to the selected plurality of second hand-letter gift data, user identifications corresponding to the first client and user identifications corresponding to the second client for receiving virtual resources.
14. A computer device, comprising: a processor, a memory and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 12 when the computer program is executed.
15. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any one of claims 1 to 12.
CN202111676347.4A 2021-12-31 2021-12-31 Live broadcast room virtual gift giving method, device, computer equipment and storage medium Active CN114302165B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111676347.4A CN114302165B (en) 2021-12-31 2021-12-31 Live broadcast room virtual gift giving method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111676347.4A CN114302165B (en) 2021-12-31 2021-12-31 Live broadcast room virtual gift giving method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114302165A CN114302165A (en) 2022-04-08
CN114302165B true CN114302165B (en) 2024-03-12

Family

ID=80974856

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111676347.4A Active CN114302165B (en) 2021-12-31 2021-12-31 Live broadcast room virtual gift giving method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114302165B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017096953A1 (en) * 2015-12-10 2017-06-15 乐视控股(北京)有限公司 Hot video displaying method and device
CN108629612A (en) * 2017-03-25 2018-10-09 陈东阳 It is a kind of to shake the system and method for obtaining live streaming platform virtual present by mobile phone
CN113194351A (en) * 2021-02-24 2021-07-30 北京字跳网络技术有限公司 Video display method and device, electronic equipment and storage medium
CN113596504A (en) * 2021-08-05 2021-11-02 广州方硅信息技术有限公司 Live broadcast room virtual gift presenting method and device and computer equipment
CN113727132A (en) * 2021-08-31 2021-11-30 广州方硅信息技术有限公司 Virtual gift display method, server, storage medium and computer device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014176358A1 (en) * 2013-04-23 2014-10-30 Giftya Llc. System and method for immersive mobile gifts

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017096953A1 (en) * 2015-12-10 2017-06-15 乐视控股(北京)有限公司 Hot video displaying method and device
CN108629612A (en) * 2017-03-25 2018-10-09 陈东阳 It is a kind of to shake the system and method for obtaining live streaming platform virtual present by mobile phone
CN113194351A (en) * 2021-02-24 2021-07-30 北京字跳网络技术有限公司 Video display method and device, electronic equipment and storage medium
CN113596504A (en) * 2021-08-05 2021-11-02 广州方硅信息技术有限公司 Live broadcast room virtual gift presenting method and device and computer equipment
CN113727132A (en) * 2021-08-31 2021-11-30 广州方硅信息技术有限公司 Virtual gift display method, server, storage medium and computer device

Also Published As

Publication number Publication date
CN114302165A (en) 2022-04-08

Similar Documents

Publication Publication Date Title
CN113727130B (en) Message prompting method, system and device for live broadcasting room and computer equipment
CN113840154B (en) Live broadcast interaction method and system based on virtual gift and computer equipment
CN113949892B (en) Live broadcast interaction method, system, equipment and medium based on virtual resource consumption
CN114268812B (en) Live broadcast room virtual resource giving method, device, computer equipment and storage medium
CN108881936B (en) Live broadcast resource sharing method, electronic device and medium
CN106484543B (en) Virtual article dispatching method and device and mobile terminal thereof
CN113613027B (en) Live broadcast room recommendation method and device and computer equipment
CN113178015A (en) House source interaction method and device, electronic equipment and storage medium
CN113596504A (en) Live broadcast room virtual gift presenting method and device and computer equipment
CN114666672B (en) Live fight interaction method and system initiated by audience and computer equipment
CN114666671B (en) Live broadcast praise interaction method, device, equipment and storage medium
CN113938696B (en) Live broadcast interaction method and system based on custom virtual gift and computer equipment
CN113840155B (en) Virtual gift replacement method, system and computer equipment
CN113573105B (en) Live broadcast interaction method based on virtual gift of screen and computer equipment
CN114630155A (en) Live broadcast interaction method, system and device based on user identity and computer equipment
CN113824979A (en) Live broadcast room recommendation method and device and computer equipment
CN113891162B (en) Live broadcast room loading method and device, computer equipment and storage medium
CN114302165B (en) Live broadcast room virtual gift giving method, device, computer equipment and storage medium
CN114885191A (en) Interaction method, system, device and equipment based on exclusive nickname of live broadcast room
CN114650440A (en) Virtual item sharing method and device for live broadcast room, computer equipment and medium
CN114302162B (en) Message bubble display method, system and device and computer equipment
CN114513679B (en) Live broadcast room recommendation method, system and computer equipment based on audio pre-playing
CN114245223B (en) Live broadcasting room task loading method, system, device and computer equipment
CN114222152B (en) Virtual gift interaction method and device for urban popularization and computer equipment
CN113938700B (en) Live broadcast room switching method and device and computer equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant