CN114422815A - Live broadcast gift processing method and device, storage medium and computer equipment - Google Patents

Live broadcast gift processing method and device, storage medium and computer equipment Download PDF

Info

Publication number
CN114422815A
CN114422815A CN202210044415.3A CN202210044415A CN114422815A CN 114422815 A CN114422815 A CN 114422815A CN 202210044415 A CN202210044415 A CN 202210044415A CN 114422815 A CN114422815 A CN 114422815A
Authority
CN
China
Prior art keywords
gift
preset virtual
virtual gift
live broadcast
live
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210044415.3A
Other languages
Chinese (zh)
Other versions
CN114422815B (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 CN202210044415.3A priority Critical patent/CN114422815B/en
Publication of CN114422815A publication Critical patent/CN114422815A/en
Application granted granted Critical
Publication of CN114422815B publication Critical patent/CN114422815B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application discloses a live gift processing method and device, a storage medium and computer equipment. According to the method and the device, the corresponding internet protocol address information of the anchor client is obtained, and the corresponding live broadcast area information is determined according to the internet protocol address information; determining environment data of live broadcast area information; matching a preset virtual gift of a corresponding type based on the environment data; and sending the preset virtual gift to the audience client so that the audience client displays the preset virtual gift on a gift bar corresponding to the live broadcast room. Therefore, the preset virtual gifts related to the environmental data can be matched in real time according to the environmental data corresponding to the live broadcast area information of the anchor client side and sent to the audience client side corresponding to the anchor live broadcast room, so that the audience client side can display and present the real-time preset virtual gifts, live broadcast interaction modes are enriched, and live broadcast interaction effects are greatly improved.

Description

Live broadcast gift processing method and device, storage medium and computer equipment
Technical Field
The application relates to the field of network live broadcast, in particular to a live broadcast gift processing method and device, a storage medium and computer equipment.
Background
With the development and popularization of the live broadcast industry, live broadcast watching becomes a daily entertainment mode of a plurality of users, and gift delivery in a live broadcast room is an important feedback means of the preference degree of the users to live broadcast contents as an important payment function of the live broadcast room. At this time, in order to satisfy the requirement that the user adopts different kinds of live broadcast gifts to express different degrees of liking to the live broadcast content, the live broadcast room can set up the live broadcast gifts of different kinds.
In the research and practice process of the prior art, the inventor of the application finds that in the prior art, the types of live gifts are fixed, the live broadcast interaction mode is single, and the live broadcast interactivity is poor.
Disclosure of Invention
The embodiment of the application provides a live gift processing method and device, a storage medium and computer equipment, which can improve the interactivity of live broadcast.
In order to solve the above technical problem, the embodiments of the present application provide the following technical solutions:
a live gift processing method is applied to a live gift processing system, the live gift processing system comprises a server and an audience client, and the method comprises the following steps:
the server acquires Internet protocol address information corresponding to the anchor client and determines corresponding live broadcast area information according to the Internet protocol address information; determining environment data of the live broadcast area information; matching a preset virtual gift of a corresponding type based on the environment data; sending the preset virtual gift to a spectator client so that the spectator server displays the preset virtual gift on a gift bar corresponding to a live broadcast;
the audience client receives a preset virtual gift sent by the server, wherein the preset virtual gift is a virtual gift of a corresponding type matched by the server according to the corresponding environment data of the live broadcast region information of the anchor client; displaying the preset virtual gift on a gift bar corresponding to a live broadcast room; and responding to the touch operation of the preset virtual gift, and generating a presentation instruction of the preset virtual gift.
A live gift processing method comprising:
acquiring Internet protocol address information corresponding to a main broadcasting client, and determining corresponding live broadcasting area information according to the Internet protocol address information;
determining environment data of the live broadcast area information;
matching a preset virtual gift of a corresponding type based on the environment data;
and sending the preset virtual gift to a spectator client so that the spectator client displays the preset virtual gift on a gift bar corresponding to a live broadcast.
A live gift processing method comprising:
receiving a preset virtual gift sent by a server, wherein the preset virtual gift is a virtual gift of a corresponding type matched by the server according to environment data corresponding to the live broadcast region information of the anchor client;
displaying the preset virtual gift on a gift bar corresponding to a live broadcast room;
and responding to the touch operation of the preset virtual gift, and generating a presentation instruction of the preset virtual gift.
A live gift processing apparatus comprising:
the system comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring Internet protocol address information corresponding to an anchor client and determining corresponding live broadcast area information according to the Internet protocol address information;
a determining unit, configured to determine environment data of the live broadcast region information;
the matching unit is used for matching the preset virtual gifts of the corresponding types based on the environment data;
and the sending unit is used for sending the preset virtual gift to a spectator client so that the spectator client displays the preset virtual gift on a gift bar corresponding to a live broadcast room.
In some embodiments, the obtaining unit includes:
the first acquisition subunit is used for acquiring Internet protocol address information corresponding to the anchor client;
the second acquisition subunit is used for acquiring the corresponding global positioning system information of the anchor client;
and the determining subunit is used for determining corresponding live broadcast area information according to the Internet protocol address information and the global positioning system information.
In some embodiments, the determining subunit is configured to:
when the matching between the Internet protocol address information and the global positioning system information is detected, determining corresponding live broadcast area information according to the Internet protocol address information;
and when the mismatch between the Internet protocol address information and the global positioning system information is detected, determining corresponding live broadcast area information according to the global positioning system information.
In some embodiments, the matching unit is configured to:
the first obtaining subunit is configured to obtain a first type of preset virtual gift when it is detected that the environment data is within a first preset range; and/or
The second obtaining subunit is configured to, when it is detected that the environment data is within a second preset range, obtain a first type of preset virtual gift and a second type of preset virtual gift, where the first preset range is greater than the second preset range; and/or
And the third obtaining subunit is configured to, when it is detected that the environment data is within a third preset range, obtain the preset virtual gift of the first type, the preset virtual gift of the second type, and the preset virtual gift of the third type, where the second preset range is greater than the third preset range.
In some embodiments, the apparatus further comprises a cancellation unit configured to:
when the environment data are not matched with the preset virtual gifts of the corresponding types, generating a gift cancellation instruction;
and sending the gift canceling instruction to a spectator client so that the spectator client cancels the preset virtual gift displayed on the gift bar corresponding to the live broadcast room.
A live gift processing apparatus comprising:
the receiving unit is used for receiving a preset virtual gift sent by the server, wherein the preset virtual gift is a virtual gift of a corresponding type matched by the server according to environment data corresponding to the live broadcast region information of the anchor client;
the display unit is used for displaying the preset virtual gift on a gift bar corresponding to a live broadcast room;
and the generating unit is used for responding to the touch operation on the preset virtual gift and generating a presentation instruction of the preset virtual gift.
In some embodiments, the apparatus further comprises a cancellation unit:
receiving a cancel instruction sent by a server;
and canceling the preset virtual gift displayed on the gift bar corresponding to the live broadcast room according to the canceling instruction.
A computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps of the live gift processing method.
A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps in the live gift processing method provided above when executing the computer program.
According to the method and the device, the corresponding internet protocol address information of the anchor client is obtained, and the corresponding live broadcast area information is determined according to the internet protocol address information; determining environment data of live broadcast area information; matching a preset virtual gift of a corresponding type based on the environment data; and sending the preset virtual gift to the audience client so that the audience client displays the preset virtual gift on a gift bar corresponding to the live broadcast room. Therefore, the preset virtual gifts related to the environmental data can be matched in real time according to the environmental data corresponding to the live broadcast area information of the anchor client side and sent to the audience client side corresponding to the anchor live broadcast room, so that the audience client side can display and present the real-time preset virtual gifts, live broadcast interaction modes are enriched, and live broadcast interaction effects are greatly improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of a scene of a live gift processing system provided in an embodiment of the present application;
fig. 2 is a schematic flow chart of a live gift processing method provided in an embodiment of the present application;
FIG. 2a is a schematic diagram of a live interface provided in an embodiment of the present application;
fig. 3 is a schematic flow chart of a live gift processing method provided in an embodiment of the present application;
FIG. 3a is a schematic diagram of a live interface provided by an embodiment of the present application;
FIG. 3b is another schematic diagram of a live interface provided by an embodiment of the present application;
fig. 4 is a schematic structural diagram of a live gift processing device provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of a live gift processing device provided in an embodiment of the present application;
FIG. 6 is a schematic structural diagram of a computer device provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a live gift processing method and device, a storage medium and computer equipment.
Referring to fig. 1, fig. 1 is a schematic view of a scene of a live gift processing system according to an embodiment of the present application, including: the system comprises a spectator client A, an anchor client B and a server C, wherein the spectator client A, the spectator client B and the server C can be connected through a communication network, and the communication network comprises a wireless network and a wired network, wherein the wireless network comprises one or more of a wireless wide area network, a wireless local area network, a wireless metropolitan area network and a wireless personal network. The network includes network entities such as routers, gateways, etc., which are not shown in the figure. The viewer client a and the anchor client B may interact with the server C through a communication network.
The server C in the live gift processing system can store the corresponding relation between the anchor client and each live broadcast room, and after the audience client A selects the live broadcast room, the server C sends the live broadcast video stream corresponding to the anchor client to all the audience clients belonging to the same live broadcast room according to the corresponding relation between each live broadcast room and the anchor client B. The server C can be used for acquiring the Internet protocol address information corresponding to the anchor client and determining the corresponding live broadcast area information according to the Internet protocol address information; determining environment data of live broadcast area information; matching a preset virtual gift of a corresponding type based on the environment data; and sending the preset virtual gift to the audience client so that the audience client displays the preset virtual gift on a gift bar corresponding to the live broadcast room.
The live gift processing system may include a live gift processing device, the live gift processing device may be specifically integrated in a terminal having an arithmetic capability and including a storage unit and a microprocessor, such as a tablet computer, a mobile phone, a laptop computer, and a desktop computer, the terminal may be provided with a client, such as a live client or a game client, and it should be noted that the live client may include a main broadcast client and an audience client.
In fig. 1, the viewer client a may be configured to receive a preset virtual gift sent by the server C, where the preset virtual gift is a virtual gift of a corresponding type that is matched by the server according to environment data corresponding to the live broadcast region information where the anchor client is located; displaying a preset virtual gift on a gift bar corresponding to the live broadcast room; and generating a presentation instruction of the preset virtual gift in response to the touch operation of the preset virtual gift.
It should be noted that the scene schematic diagram of the live gift processing system shown in fig. 1 is merely an example, and the live gift processing system and the scene described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not form a limitation on the technical solution provided in the embodiment of the present application.
The following are detailed below.
Explanation of important words: the plurality means two or more; and/or means that there may be three cases, for example, a and/or B, means that only a may be included, only B may be included, and both a and B may be included.
In this embodiment, the description will be made from the perspective of a live gift processing apparatus, which may be specifically integrated in a server.
Referring to fig. 2, fig. 2 is a schematic flow chart of a live gift processing method according to an embodiment of the present application. The live gift processing method comprises the following steps:
in step 101, internet protocol address information corresponding to the anchor client is obtained, and corresponding live broadcast area information is determined according to the internet protocol address information.
Wherein, the Internet Protocol Address information is an Internet Protocol Address (IP Address) of the anchor client; the live broadcast area information is position information of the anchor client. Specifically, after acquiring internet protocol address information corresponding to the anchor client, the server determines the position information of the anchor client according to the internet protocol address information, where the position information is the live broadcast area information corresponding to the anchor client.
Alternatively, the position information of the anchor client, i.e., the live broadcast area information, may be accurate to provincial administrative districts, such as Guangdong province, Hubei province, Sichuan province, and the like; or the accuracy can be reached to a municipal administrative district, such as Guandong Shenzhen city, Guangzhou city, Hunan Changsha city and the like; the accuracy can also be to administrative districts at the county (district) level, such as the southern mountain area of Shenzhen city, Guangdong province, the Yuenu area of Changsha city, Hunan province, and the like. It will be appreciated that the location information of the anchor client may also be accurate to a smaller administrative district, the smaller the administrative district, the more accurately the location of the anchor client.
In some embodiments, live zone information of the anchor client may be determined from internet protocol address information of the anchor client using internet protocol address location techniques. The internet protocol address location technology may include a client-independent location algorithm (e.g., a speculative-based location algorithm, a space theory-based location algorithm, a probabilistic estimation-based location algorithm, etc.), a client-based location algorithm, and so on.
Alternatively, the live broadcast area information of the anchor client may also be determined according to the internet protocol address information of the anchor client by using an internet protocol address positioning technology API (Application Programming Interface) provided by the high-precision map. The high-precision map may be, for example, an Tencent map, a Baidu map, a Google map, or the like.
In some embodiments, the determining the corresponding live zone information according to the internet protocol address information includes:
(1) acquiring global positioning system information corresponding to an anchor client;
(2) and determining corresponding live broadcast area information according to the Internet protocol address information and the global positioning system information.
The global positioning system information is positioning data corresponding to the anchor client determined according to the global positioning system.
Specifically, the server acquires internet protocol address information of the anchor client, acquires global positioning system information of the anchor client, and then determines live broadcast area information of the anchor client according to the internet protocol address information and the global positioning system information. Therefore, when the live broadcast area information of the anchor client is determined to be failed according to the Internet protocol address information, the live broadcast area information of the anchor client can be determined through the global positioning system information, so that the condition that the live broadcast area information of the anchor client cannot be obtained is avoided.
In some embodiments, the determining the corresponding live zone information from the internet protocol address information and the global positioning system information includes:
(1.1) when a match between the internet protocol address information and the global positioning system information is detected, determining corresponding live broadcast region information according to the internet protocol address information;
and (1.2) when the mismatch between the Internet protocol address information and the global positioning system information is detected, determining corresponding live broadcast area information according to the global positioning system information.
Specifically, after acquiring the internet protocol address information and the global positioning system information, the server acquires the position information of the anchor client corresponding to the internet protocol address information and the global positioning system information, compares the acquired position information, and determines the live broadcast area information corresponding to the anchor client according to the comparison result.
If the comparison result meets the preset rule, the matching between the Internet protocol address information and the global positioning system information is shown, namely the position information is close, and more accurate position information can be obtained according to the Internet protocol address information. Therefore, the corresponding live broadcast area information can be determined according to the internet protocol address information, that is, the position information of the anchor client determined according to the internet protocol address information is used as the live broadcast area information of the anchor client.
If the comparison result does not meet the preset rule, the internet protocol address information and the global positioning system information are not matched, namely the position information is too large in difference, and the position information obtained according to the internet protocol address information is not accurate enough. Therefore, the corresponding live broadcast area information needs to be determined according to the global positioning system information, that is, the position information of the anchor client determined according to the global positioning system information is used as the live broadcast area information of the anchor client.
Since the position obtained by the global positioning system has high accuracy, the internet protocol address information needs to be set to have higher accuracy in order to compare the internet protocol address information with the position information obtained by the global positioning system information. In the embodiment of the present application, for convenience of understanding, the location information obtained by using the internet protocol address information can be explained by being accurate to the street name example. It is understood that the location information obtained from the internet protocol address information may be further accurate to villages and towns, house numbers, etc., and is not limited herein.
Specifically, after corresponding position information is obtained according to internet protocol address information and global positioning system information, preset position information (provincial administrative districts, urban administrative districts, county (district) administrative districts and street names) in the corresponding position information is extracted, and the extracted preset position information is compared from large to small to obtain comparison results.
In some embodiments, the preset rule may be set to satisfy that at least provincial, urban, and county (district) administrative districts are the same. Specifically, preset position information is compared, if at least provincial administrative districts, municipal administrative districts and county (district) administrative districts are the same, the comparison result is judged to meet a preset rule, and internet protocol address information is matched with global positioning system information; if the conditions that at least provincial administrative districts, municipal administrative districts and county (district) administrative districts are not satisfied are the same, the comparison result is judged to be not satisfied with the preset rule, and the internet protocol address information is not matched with the global positioning system information.
Illustratively, after position information is obtained according to internet protocol address information, preset position information is extracted, a result A is obtained to be Guangdong province, Shenzhen city, Nanshan district and Xili street, after the position information is obtained according to the global positioning system information, the preset position information is extracted, a result B is obtained to be Guangdong province, Shenzhen city, Longhua district and civil street, the ranges of the result A and the result B are respectively compared from large to small, the result A and the result B are determined not to satisfy at least province-level administrative district, city-level administrative district and county (district) level administrative district, the comparison result is judged not to satisfy the preset rule, the position information obtained according to the internet protocol address information is not accurate enough, and therefore the position information obtained according to the global positioning system information is used as live broadcast district information of the anchor broadcast client.
In some embodiments, the preset rule may also be set to set the preset position information similarity to be greater than or equal to 75%. Specifically, similarity matching is carried out on preset position information, if the similarity is greater than or equal to 75%, the comparison result is judged to meet a preset rule, and matching is carried out between internet protocol address information and global positioning system information; if the similarity is less than 75%, the comparison result is judged not to meet the preset rule, and the internet protocol address information is not matched with the global positioning system information.
Illustratively, after position information is obtained according to internet protocol address information, preset position information is extracted, the obtained result A is 'Guangdong province, Shenzhen city, Nanshan district and Xili street', after the position information is obtained according to the global positioning system information, the preset position information is extracted, the obtained result B is 'Guangdong province, Shenzhen city, Longhua district and Mingzhou street', the similarity of the result A and the result B is matched, the obtained similarity is 50%, the comparison result is judged not to meet the preset rule, the position information obtained according to the internet protocol address information is not accurate enough, and therefore the position information obtained according to the global positioning system information is used as live broadcast region information of the main broadcast client.
It can be understood that the preset rule may also be other contents, and may be specifically set according to actual production needs, which is not limited in this application.
In step 102, environment data of the live zone information is determined.
The environment data is climate information in the live broadcast area information of the anchor client. Specifically, after determining the location information of the anchor client as the live broadcast area information according to the internet protocol address information, the server searches for the environment data of the live broadcast area information through the network, that is, searches for the environment data of the location information of the anchor client through the network.
In an embodiment of the application, the environmental data comprises at least temperature data. The temperature data may be in units of degrees Fahrenheit (F.) or degrees Celsius (C.). Further, in some embodiments, the environmental data may also include one or more of weather data, seasonal data, solar terms data, and the like. The weather data may be, for example, sunny days, light rain, heavy snow, and the like; seasonal data may be, for example, summer, fall, etc.; solar term data may be, for example, spring equinox, frightened hibernation, severe cold, etc.
In step 103, the preset virtual gifts of the corresponding types are matched based on the environment data.
Specifically, after determining the environment data of the live broadcast area information, the server matches the preset virtual gift of the corresponding type based on the determined environment data, and since the environment data at least includes temperature data, the server can also match the preset virtual gift of the corresponding type based on the determined temperature data. The preset virtual gift of the corresponding type matched based on the environment data refers to a virtual gift related to the environment data, namely the temperature data. Therefore, the preset virtual gifts of the corresponding types are matched according to the environment data, namely the environment data change, the matched preset virtual gifts can possibly change, the types of the virtual gifts are increased, and the live broadcast interaction effect is improved.
For example, if the temperature data is 35 ℃, the preset virtual gifts matched based on the environmental data may be virtual gifts related to cooling, such as an electric fan, an air conditioner and the like, wherein the air conditioner may be a product of a related enterprise cooperating with the live broadcast platform, and brand information may be marked on the air conditioner, so that the brand air conditioner can be publicized; if the temperature data is 12 ℃, the preset virtual gifts matched based on the environment data can be virtual gifts such as scarves and electric heaters related to temperature rise.
Further, in some embodiments, when the environment data further includes other data, the other data may be obtained based on the obtained temperature data, and a data table or a document storing the corresponding relationship between the temperature data, the other data, and the preset virtual gift may be further determined in combination to determine whether the matched corresponding type of the preset virtual gift is correct. For example, the environmental data includes temperature data and seasonal data, the temperature data is determined to be 35 ℃, the matched preset virtual gift is the electric fan, the seasonal data is determined to be in winter, and the matched preset virtual gift is determined to be wrong when the electric fan is determined to be unreasonable in winter by combining with a data table or a document with a corresponding relation.
Furthermore, after the matching error of the preset virtual gift is determined, it is determined that the temperature data or the seasonal data in the environmental data is possibly wrong, so that the environmental data needs to be obtained again, and the preset virtual gift of the corresponding type is matched according to the obtained environmental data. That is, after it is determined that the preset virtual gift is incorrectly matched, it is necessary to determine the environment data of the region where the anchor client is located again through the network, and match the preset virtual gift of the corresponding type according to the re-acquired environment data.
In some embodiments, the matching of the preset virtual gift of the corresponding type based on the environment data includes:
(1) when the environment data is detected to be in a first preset range, acquiring a first type of preset virtual gift; and/or
(2) When the environment data is detected to be in a second preset range, acquiring a first type of preset virtual gift and a second type of preset virtual gift, wherein the first preset range is larger than the second preset range; and/or
(3) And when the environment data is detected to be in a third preset range, acquiring the first type of preset virtual gift, the second type of preset virtual gift and the third type of preset virtual gift, wherein the second preset range is larger than the third preset range.
In this embodiment, the environmental data includes only temperature data. The first preset range is a preset first temperature data range; the second preset range is a preset second temperature data range; the third preset range is a preset third temperature data range.
It can be understood that the first preset range, the second preset range and the third preset range can be set according to actual needs. In the embodiment of the present application, for convenience of explanation, the environmental data ranges of the first preset range, the second preset range and the third preset range are increasingly larger, that is, the second preset range is larger than and includes the first preset range, and the third preset range is larger than and includes the second preset range.
Specifically, when the server detects that the environment data determined according to the live broadcast region information of the anchor client is in a first preset range, acquiring a first type of preset virtual gift corresponding to the environment data in the first preset range; and/or when the server detects that the environment data determined according to the live broadcast region information of the anchor client is in a second preset range, acquiring a second type of preset virtual gift corresponding to the environment data in the second preset range; and/or when the server detects that the environment data determined according to the live broadcast region information of the anchor client is in a third preset range, acquiring a third type of preset virtual gift corresponding to the environment data in the third preset range.
In some embodiments, the preset virtual gifts of the first type, the second type and the third type are different in kind and the number of kinds is the same. For example, if the first preset range is set to have temperature data greater than or equal to 28 ℃, the first type of preset virtual gift is a fan, the second preset range is set to have temperature data greater than or equal to 32 ℃, the second type of preset virtual gift is an electric fan, the third preset range is set to have temperature data greater than or equal to 36 ℃, and the third type of preset virtual gift is an air conditioner, the first type of preset virtual gift, that is, the fan, is obtained when the environment data of the anchor client is 30 ℃ and is within the second preset range.
In some embodiments, the category of the second type of virtual gift includes the first type of virtual gift, and also includes other types of virtual gifts other than the first type of virtual gift; the third type of virtual gift includes the second type of virtual gift in the category of the virtual gift, and also includes other types of virtual gifts other than the second type of virtual gift. That is, the number of the second type of virtual gift kind is greater than the number of the first type of virtual gift kind, and the number of the third type of virtual gift kind is greater than the number of the second type of virtual gift kind. For example, if the first preset range is set to have temperature data greater than or equal to 28 ℃, the first type of preset virtual gift is a fan, the second preset range is set to have temperature data greater than or equal to 32 ℃, the second type of preset virtual gift is a fan and an electric fan, the third preset range is set to have temperature data greater than or equal to 36 ℃, and the third type of preset virtual gift is a fan, an electric fan and an air conditioner, the second type of preset virtual gift, namely a fan and an electric fan, will be obtained when the environment data of the anchor client is 33 ℃ and is within the second preset range.
It can be understood that the environmental data may be in a fourth preset range, a fifth preset range, and the like, in addition to the first preset range, the second preset range, and the third preset range, and may be specifically set according to actual requirements.
In some embodiments, after the viewer client enters the live broadcast room corresponding to the anchor client, the server may send the preset virtual gift to the viewer client according to the method for obtaining the preset virtual gift described in the above embodiments.
In step 104, the preset virtual gift is sent to the viewer client, so that the viewer client displays the preset virtual gift on the gift bar corresponding to the live broadcast room.
The gift bar is an area which is displayed on the audience client and can be used for displaying the preset virtual gift after the audience user performs touch operation on a control for displaying the gift bar.
Specifically, after the server matches the preset virtual gifts of the corresponding types according to the environment data, the matched preset virtual gifts are sent to the audience client side, and the audience client side can display the matched preset virtual gifts on the gift bars at the preset positions in the live broadcast interface of the live broadcast room through touch operation of the audience users on controls for displaying the gift bars. The preset position can be, for example, the upper half part, the lower half part and the like of a live broadcast interface of a live broadcast room, and can be set according to actual needs.
In some embodiments, after sending the preset virtual gift to the viewer client, the method further comprises:
(1) when the environment data is not matched with the preset virtual gift of the corresponding type, generating a gift cancellation instruction;
(2) and sending the gift canceling instruction to the audience client so that the audience client cancels the preset virtual gift displayed on the gift bar corresponding to the live broadcast room.
The gift cancellation instruction may change the state of the preset virtual gift received by all the viewer clients in the live broadcast room corresponding to the anchor client from an available state to a disabled state. In an available state, the audience user can present the preset virtual gift received by the audience client to the anchor user through touch operation; in the disabled state, the audience user cannot present the preset virtual gift received by the audience client to the anchor user through touch operation, or in other words, the audience user cannot perform touch operation on the preset virtual gift received by the audience client.
Specifically, after the server sends the preset virtual gift to the audience client, the server re-determines the environment data of the live broadcast area information, matches the preset virtual gift of the corresponding type according to the determined environment data, and when the environment data is not matched with the preset virtual gift of the corresponding type, the current environment data of the anchor client does not meet the requirement that the audience client presents the preset virtual gift to the audience client, so that the server generates a gift cancellation instruction, and then sends the generated gift cancellation instruction to the audience client, and the audience client can cancel the preset virtual gift displayed on a gift bar corresponding to a live broadcast room after receiving the gift cancellation instruction, and the available state is marked as a forbidden state.
In some embodiments, the available virtual gift in the gift bar corresponding to the viewer client is in a normal color, and the viewer user can perform touch operation on the virtual gift; the preset virtual gift in the disabled state is gray, and the audience user cannot perform touch operation on the preset virtual gift. Further, the preset virtual gift in the disabled state may also have a disable flag 21 as shown in fig. 2a to indicate that the preset virtual gift is not available and cannot be given to the anchor user.
In some embodiments, the preset virtual gifts in the available state in the viewer's client may be displayed in the corresponding gift bars, and the preset virtual gifts in the disabled state will no longer be displayed in the gift bars. That is, the preset virtual gifts displayed in the gift certificate of the viewer client are all available.
In some embodiments, the server may be configured to re-determine the environment data of the live broadcast zone information at preset intervals, and match a corresponding type of preset virtual gift according to the determined environment data. Further, after re-determining the environment data of the live broadcast area information and matching the preset virtual gift of the corresponding type according to the determined environment data, if the matching fails, that is, the preset virtual gift cannot be matched, acquiring the last preset virtual gift as the current preset virtual gift; and if the matching is successful, taking the currently matched preset virtual gift as the current preset virtual gift.
Further, if the server successfully matches the preset virtual gift, after the currently matched preset virtual gift is used as the preset virtual gift, the server sends the preset virtual gift to a gift bar corresponding to the audience client to be displayed, meanwhile, the server can be set to generate a gift cancellation instruction, the audience client displays the preset virtual gift in the gift bar of the preset virtual gift, and other previously received preset virtual gifts except the preset virtual gift are converted into a forbidden state.
In some embodiments, it may be further configured to generate a gift cancellation instruction if the environment data detected by the server is lower than the environment data threshold, and change the states of the preset virtual gifts acquired by all the viewer clients in the live broadcast room from an available state to a disabled state, so that all the viewer users in the live broadcast room cannot present the preset virtual gifts to the anchor client.
As can be seen from the above, in the embodiment of the present application, the corresponding live broadcast area information is determined by obtaining the internet protocol address information corresponding to the anchor client and according to the internet protocol address information; determining environment data of live broadcast area information; matching a preset virtual gift of a corresponding type based on the environment data; and sending the preset virtual gift to the audience client so that the audience client displays the preset virtual gift on a gift bar corresponding to the live broadcast room. Therefore, the preset virtual gifts related to the environmental data can be matched in real time according to the environmental data corresponding to the live broadcast area information of the anchor client side and sent to the audience client side corresponding to the anchor live broadcast room, so that the audience client side can display and present the real-time preset virtual gifts, live broadcast interaction modes are enriched, and live broadcast interaction effects are greatly improved.
In this embodiment, the live gift processing device will be described from the perspective of a live gift processing device, which may be specifically integrated in a terminal having computing capability, such as a tablet computer, a mobile phone, and the like, which has a storage unit and is equipped with a microprocessor, and the terminal may open a live client, which may be an audience client in the embodiment of the present application.
Referring to fig. 3, fig. 3 is a schematic flow chart of a live gift processing method according to an embodiment of the present application. The method flow can comprise the following steps:
in step 201, a preset virtual gift transmitted by a server is received.
Specifically, the audience client receives environment data determined by the server according to the live broadcast region information of the anchor client, and the preset virtual gift of the corresponding type is matched with the environment data.
In some embodiments, the viewer client may receive the preset virtual gift sent by the server upon entering the live broadcast. Specifically, the server sends the preset virtual gift to each audience client entering the live broadcast room corresponding to the anchor client after obtaining the preset virtual gift according to the corresponding type of virtual gift matched with the corresponding environment data of the live broadcast region information where the anchor client is located, so that each audience client can receive the preset virtual gift sent by the server just after entering the live broadcast room.
Illustratively, the server obtains that the environment data of the anchor client a is 30 ℃ and the matched preset virtual gift is an electric fan, and then the viewer client B can receive the preset virtual gift electric fan sent by the server after entering the live broadcast room corresponding to the anchor client a.
In some embodiments, the spectator client may obtain the corresponding preset virtual gift by purchasing in the live broadcast watching process in addition to the preset virtual gift sent by the server when entering the live broadcast room, that is, in addition to the preset virtual gift sent by the server for free. Further, different purchase prices may be set for different types of preset virtual gifts, for example, there are three types of the preset virtual gifts, which are a fan, an electric fan, and an air conditioner, respectively, and a fan price < electric fan price < air conditioner price may be set.
In some embodiments, after receiving the preset virtual gift sent by the server, the viewer client may remind the viewer client in the form of a popup window, a floating layer, or the like on a live interface of the live broadcast room. For example, as shown in fig. 3a, the viewer is prompted in the form of a popup 31 for a preset virtual gift received by the client and transmitted by the server.
In step 202, a preset virtual gift is displayed on a gift bar corresponding to the live broadcast room.
Specifically, after receiving the preset virtual gift sent by the server, the viewer client displays the preset virtual gift on a gift bar corresponding to the live broadcast room and used for displaying the preset virtual gift.
In some embodiments, the gift boxes displaying the preset virtual gifts, as shown in the gift box 33 in fig. 3b, may display only the preset virtual that the viewer client currently remains available; other common virtual gifts may also be displayed. The common virtual gifts may include free gifts and/or paid gifts, among others.
In some embodiments, after displaying the preset virtual gift on the gift bar corresponding to the live broadcast room, the method further includes:
(1) receiving a cancel instruction sent by a server;
(2) and canceling the preset virtual gift displayed on the gift bar corresponding to the live broadcast room according to the canceling instruction.
Specifically, the spectator client receives the preset virtual gift, displays the preset virtual gift on a gift bar which is corresponding to the live broadcast room and displays the preset virtual gift on the gift bar, receives a cancel instruction sent by the server, and displays the preset virtual gift on a live broadcast interface of the live broadcast room of the spectator client according to the received cancel instruction, wherein the preset virtual gift on the corresponding gift bar which displays the preset virtual gift is completely cancelled, namely the preset virtual gift is changed from an available state to a forbidden state.
In step 203, a presentation instruction of the preset virtual gift is generated in response to the touch operation on the preset virtual gift.
The presentation instruction is an instruction for presenting the preset virtual gift received by the audience client to the anchor user. The presentation instruction carries data identifying a preset virtual gift corresponding to the touch operation.
Specifically, after the preset virtual gift received by the audience client and sent by the server is displayed on the gift bar corresponding to the live broadcast room, the audience client responds to the touch operation of the audience user on the preset virtual gift displayed in the gift bar, generates a presentation instruction of the preset virtual gift, and presents the preset virtual gift to the anchor user. The touch operation may be a single click, a double click, or the like.
Optionally, when the touch operation is a single click, the spectator client may be configured to display a popup window or a floating layer in the live broadcast room to prompt the spectator user whether to confirm the presentation after generating the presentation instruction in response to the single click operation on the preset virtual gift, and if the spectator user selects the confirmation, the corresponding preset virtual data is presented to the anchor user according to the identification data carried in the generated presentation instruction.
Optionally, when the touch operation is a double click, the audience client may be configured to generate a presentation instruction in response to a double click operation of the audience user on the preset virtual gift, and then present the corresponding preset virtual data to the anchor user according to the identification data carried in the presentation instruction.
As can be seen from the above, in the embodiment of the present application, the preset virtual gift sent by the server is received, and the preset virtual gift is a virtual gift of a corresponding type that is matched by the server according to the environment data corresponding to the live broadcast region information where the anchor client is located; displaying a preset virtual gift on a gift bar corresponding to the live broadcast room; and generating a presentation instruction of the preset virtual gift in response to the touch operation of the preset virtual gift. With this, can receive the virtual gift of predetermineeing that the server sent, show in real time and give and predetermine the virtual gift, richen live interactive mode, very big promotion live interactive effect.
In order to better implement the live gift processing method provided by the embodiment of the application, the embodiment of the application further provides a device based on the live gift processing method. The meaning of the noun is the same as that in the above live gift processing method, and specific implementation details can refer to the description in the method embodiment.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a live gift processing apparatus applied to a server according to an embodiment of the present disclosure, where the live gift processing apparatus may include an obtaining unit 301, a determining unit 302, a matching unit 303, a sending unit 304, and the like.
An obtaining unit 301, configured to obtain internet protocol address information corresponding to the anchor client, and determine corresponding live broadcast area information according to the internet protocol address information;
a determining unit 302, configured to determine environment data of live broadcast region information;
a matching unit 303, configured to match a preset virtual gift of a corresponding type based on the environment data;
the sending unit 304 is configured to send the preset virtual gift to the viewer client, so that the viewer client displays the preset virtual gift on a gift bar corresponding to the live broadcast room.
In some embodiments, the obtaining unit 301 includes:
the first acquisition subunit is used for acquiring Internet protocol address information corresponding to the anchor client;
the second acquisition subunit is used for acquiring the corresponding global positioning system information of the anchor client;
and the determining subunit is used for determining the corresponding live broadcast area information according to the Internet protocol address information and the global positioning system information.
In some embodiments, a determining subunit is to:
when the matching between the Internet protocol address information and the global positioning system information is detected, determining corresponding live broadcast area information according to the Internet protocol address information;
and when the mismatch between the Internet protocol address information and the global positioning system information is detected, determining corresponding live broadcast area information according to the global positioning system information.
In some embodiments, the matching unit 303 is configured to:
the system comprises a first obtaining subunit, a second obtaining subunit and a third obtaining subunit, wherein the first obtaining subunit is used for obtaining a first type of preset virtual gift when detecting that the environment data is in a first preset range; and/or
The second obtaining subunit is configured to obtain a first type of preset virtual gift and a second type of preset virtual gift when it is detected that the environment data is within a second preset range, where the first preset range is greater than the second preset range; and/or
And the third obtaining subunit is configured to, when it is detected that the environment data is within a third preset range, obtain the preset virtual gift of the first type, the preset virtual gift of the second type, and the preset virtual gift of the third type, where the second preset range is greater than the third preset range.
In some embodiments, the apparatus further comprises a cancellation unit configured to:
when the environment data are not matched with the preset virtual gifts of the corresponding types, generating a gift cancellation instruction;
and sending the gift canceling instruction to the audience client so that the audience client cancels the preset virtual gift displayed on the gift bar corresponding to the live broadcast room.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a live gift processing apparatus applied to a viewer client according to an embodiment of the present disclosure, where the live gift processing apparatus may include a receiving unit 401, a display unit 402, a generating unit 403, and the like.
A receiving unit 401, configured to receive a preset virtual gift sent by a server, where the preset virtual gift is a virtual gift of a corresponding type that is matched by the server according to environment data corresponding to live broadcast region information where a host client is located;
a display unit 402, configured to display a preset virtual gift on a gift bar corresponding to the live broadcast;
the generating unit 403 is configured to generate a presentation instruction of the preset virtual gift in response to a touch operation on the preset virtual gift.
In some embodiments, the apparatus further comprises a cancellation unit:
receiving a cancel instruction sent by a server;
and canceling the preset virtual gift displayed on the gift bar corresponding to the live broadcast room according to the canceling instruction.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling between the modules may be electrical, mechanical or other type of coupling.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Referring to fig. 6, fig. 6 is a computer device provided in this embodiment of the present application, where the computer device may be a terminal or a server, and as shown in fig. 6, it shows a schematic structural diagram of a computer device according to an embodiment of the present invention, specifically:
the computer device may include components such as a processor 501 of one or more processing cores, memory 502 of one or more computer-readable storage media, a power supply 503, and an input unit 504. Those skilled in the art will appreciate that the computer device configuration illustrated in FIG. 6 does not constitute a limitation of computer devices, and may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components. Wherein:
the processor 501 is a control center of the computer device, connects various parts of the entire computer device by using various interfaces and lines, and performs various functions of the computer device and processes data by running or executing software programs and/or modules stored in the memory 502 and calling data stored in the memory 502, thereby monitoring the computer device as a whole. Optionally, processor 501 may include one or more processing cores; preferably, the processor 501 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 501.
The memory 502 may be used to store software programs and modules, and the processor 501 executes various functional applications and data processing by operating the software programs and modules stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program (such as a display function, a matching function, etc.) required for at least one function, and the like; the storage data area may store data created according to use of the computer device, and the like. Further, the memory 502 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 502 may also include a memory controller to provide the processor 501 with access to the memory 502.
The computer device further comprises a power supply 503 for supplying power to the various components, and preferably, the power supply 503 may be logically connected to the processor 501 through a power management system, so that functions of managing charging, discharging, power consumption, and the like are realized through the power management system. The power supply 503 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The computer device may also include an input unit 504, and the input unit 504 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the computer device may further include a display unit and the like, which are not described in detail herein. Specifically, in this embodiment, the processor 501 in the computer device loads the executable file corresponding to the process of one or more application programs into the memory 502 according to the following instructions, and the processor 501 runs the application programs stored in the memory 502, so as to implement various functions as follows:
acquiring Internet protocol address information corresponding to a main broadcasting client, and determining corresponding live broadcasting area information according to the Internet protocol address information; determining environment data of live broadcast area information; matching a preset virtual gift of a corresponding type based on the environment data; and sending the preset virtual gift to the audience client so that the audience client displays the preset virtual gift on a gift bar corresponding to the live broadcast room.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description of the live gift processing method, and are not described again here.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present disclosure. The computer readable medium 600 has stored therein program code that can be invoked by a processor to perform the live gift processing method described in the above-described method embodiments.
The computer-readable storage medium 600 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 600 includes a non-volatile computer-readable storage medium. The computer readable storage medium 600 has storage space for program code 610 for performing any of the method steps described above. The program code can be read from or written to one or more computer program devices. The program code 610 may be compressed, for example, in a suitable form.
Embodiments of the present application also provide a computer program device or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the live gift processing method described in the various alternative embodiments above.
Embodiments of the present application also provide a computer program product or a computer program comprising computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the method provided in the various alternative implementations provided by the embodiments described above.
The method, the device, the storage medium and the computer device for processing the live gift provided by the embodiment of the application are described in detail, a specific example is applied in the description to explain the principle and the implementation of the application, and the description of the embodiment is only used for helping to understand the method and the core idea of the application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (12)

1. A live gift processing method is applied to a live gift processing system, the live gift processing system comprises a server and an audience client, and the method comprises the following steps:
the server acquires Internet protocol address information corresponding to the anchor client and determines corresponding live broadcast area information according to the Internet protocol address information; determining environment data of the live broadcast area information; matching a preset virtual gift of a corresponding type based on the environment data; sending the preset virtual gift to a spectator client so that the spectator server displays the preset virtual gift on a gift bar corresponding to a live broadcast;
the audience client receives a preset virtual gift sent by the server, wherein the preset virtual gift is a virtual gift of a corresponding type matched by the server according to the corresponding environment data of the live broadcast region information of the anchor client; displaying the preset virtual gift on a gift bar corresponding to a live broadcast room; and responding to the touch operation of the preset virtual gift, and generating a presentation instruction of the preset virtual gift.
2. A live gift processing method is characterized by comprising the following steps:
acquiring Internet protocol address information corresponding to a main broadcasting client, and determining corresponding live broadcasting area information according to the Internet protocol address information;
determining environment data of the live broadcast area information;
matching a preset virtual gift of a corresponding type based on the environment data;
and sending the preset virtual gift to a spectator client so that the spectator client displays the preset virtual gift on a gift bar corresponding to a live broadcast.
3. The live gift processing method of claim 2 wherein said determining corresponding live zone information from said internet protocol address information comprises:
acquiring global positioning system information corresponding to an anchor client;
and determining corresponding live broadcast area information according to the Internet protocol address information and the global positioning system information.
4. The live gift processing method of claim 3 wherein said determining corresponding live zone information from said internet protocol address information and said global positioning system information comprises:
when the matching between the Internet protocol address information and the global positioning system information is detected, determining corresponding live broadcast area information according to the Internet protocol address information;
and when the mismatch between the Internet protocol address information and the global positioning system information is detected, determining corresponding live broadcast area information according to the global positioning system information.
5. The live gift processing method of claim 2, wherein said matching a corresponding type of preset virtual gift based on said environment data comprises:
when the environment data is detected to be in a first preset range, acquiring a first type of preset virtual gift; and/or
When the environment data is detected to be in a second preset range, acquiring a first type of preset virtual gift and a second type of preset virtual gift, wherein the first preset range is larger than the second preset range; and/or
And when the environment data is detected to be in a third preset range, acquiring the first type of preset virtual gift, the second type of preset virtual gift and the third type of preset virtual gift, wherein the second preset range is larger than the third preset range.
6. The live gift processing method of any of claims 2-5, wherein after sending the preset virtual gift to the viewer client, further comprising:
when the environment data are not matched with the preset virtual gifts of the corresponding types, generating a gift cancellation instruction;
and sending the gift canceling instruction to a spectator client so that the spectator client cancels the preset virtual gift displayed on the gift bar corresponding to the live broadcast room.
7. A live gift processing method is characterized by comprising the following steps:
receiving a preset virtual gift sent by a server, wherein the preset virtual gift is a virtual gift of a corresponding type matched by the server according to environment data corresponding to the live broadcast region information of the anchor client;
displaying the preset virtual gift on a gift bar corresponding to a live broadcast room;
and responding to the touch operation of the preset virtual gift, and generating a presentation instruction of the preset virtual gift.
8. The live gift processing method of claim 7, wherein after displaying the preset virtual gift on a gift bar corresponding to a live broadcast room, further comprising:
receiving a cancel instruction sent by a server;
and canceling the preset virtual gift displayed on the gift bar corresponding to the live broadcast room according to the canceling instruction.
9. A live gift processing apparatus, comprising:
the system comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring Internet protocol address information corresponding to an anchor client and determining corresponding live broadcast area information according to the Internet protocol address information;
a determining unit, configured to determine environment data of the live broadcast region information;
the matching unit is used for matching the preset virtual gifts of the corresponding types based on the environment data;
and the sending unit is used for sending the preset virtual gift to a spectator client so that the spectator client displays the preset virtual gift on a gift bar corresponding to a live broadcast room.
10. A live gift processing apparatus, comprising:
the receiving unit is used for receiving a preset virtual gift sent by the server, wherein the preset virtual gift is a virtual gift of a corresponding type matched by the server according to environment data corresponding to the live broadcast region information of the anchor client;
the display unit is used for displaying the preset virtual gift on a gift bar corresponding to a live broadcast room;
and the generating unit is used for responding to the touch operation on the preset virtual gift and generating a presentation instruction of the preset virtual gift.
11. A computer readable storage medium storing instructions adapted to be loaded by a processor to perform the steps of the method of processing a live gift of any one of claims 2-8.
12. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing the steps in the live gift processing method of any one of claims 2-8 when executing the computer program.
CN202210044415.3A 2022-01-14 2022-01-14 Live gift processing method, device, medium, equipment and program product Active CN114422815B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210044415.3A CN114422815B (en) 2022-01-14 2022-01-14 Live gift processing method, device, medium, equipment and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210044415.3A CN114422815B (en) 2022-01-14 2022-01-14 Live gift processing method, device, medium, equipment and program product

Publications (2)

Publication Number Publication Date
CN114422815A true CN114422815A (en) 2022-04-29
CN114422815B CN114422815B (en) 2024-05-07

Family

ID=81274057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210044415.3A Active CN114422815B (en) 2022-01-14 2022-01-14 Live gift processing method, device, medium, equipment and program product

Country Status (1)

Country Link
CN (1) CN114422815B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106791893A (en) * 2016-11-14 2017-05-31 北京小米移动软件有限公司 Net cast method and device
US20190080377A1 (en) * 2017-09-08 2019-03-14 Uptown Network , LLC Method and apparatus for virtual reality food and beverage gifting
CN110780954A (en) * 2019-09-03 2020-02-11 腾讯科技(深圳)有限公司 Virtual article sending method and device
CN112291608A (en) * 2019-07-25 2021-01-29 腾讯科技(深圳)有限公司 Virtual article data processing method and device and storage medium
CN113810742A (en) * 2021-08-25 2021-12-17 北京百度网讯科技有限公司 Virtual gift processing method and device, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106791893A (en) * 2016-11-14 2017-05-31 北京小米移动软件有限公司 Net cast method and device
US20190080377A1 (en) * 2017-09-08 2019-03-14 Uptown Network , LLC Method and apparatus for virtual reality food and beverage gifting
CN112291608A (en) * 2019-07-25 2021-01-29 腾讯科技(深圳)有限公司 Virtual article data processing method and device and storage medium
CN110780954A (en) * 2019-09-03 2020-02-11 腾讯科技(深圳)有限公司 Virtual article sending method and device
CN113810742A (en) * 2021-08-25 2021-12-17 北京百度网讯科技有限公司 Virtual gift processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN114422815B (en) 2024-05-07

Similar Documents

Publication Publication Date Title
TWI396991B (en) Context avatar
US10956951B2 (en) Crowd-sourced cloud computing in a multiple resource provider environment
CN109348237A (en) A kind of direct broadcasting room management method, device, server and storage medium
CN103368947A (en) Media information control method, related equipment and system
US20130125008A1 (en) Systems And Methods For Providing Content Streams
CN109246483B (en) Live broadcast room recommendation method, device, equipment and storage medium
CN113763028B (en) Method, device and equipment for processing media information and computer readable storage medium
CN112528179A (en) Two-dimensional code processing method and system, electronic device and storage medium
CN109271285A (en) A kind of method of file backup, equipment and computer storage medium
KR20210063054A (en) System for providing contents using crowd funding and method thereof
EP4095686A2 (en) Method for switching skin of mini-program page, and electronic device
CN114422815A (en) Live broadcast gift processing method and device, storage medium and computer equipment
CN113395193A (en) Equipment control method and device, computer equipment and storage medium
CN112528151A (en) Object display method and device, electronic equipment and storage medium
CN112965560A (en) Hand drying equipment, linkage system and control method
CN104318433A (en) Automatic recharging method and system of citizen card
WO2020078085A1 (en) Electric quantity distribution method and apparatus
US9076172B1 (en) Generating item suggestions from a profile-based group
US20130117245A1 (en) Method and system for identification of asset records in a version managed datastore
US20190172459A1 (en) External control device, speech interactive control system, and control method
CN111506704B (en) Japanese keyword group generation method and device, electronic equipment and storage medium
CN108920567A (en) A kind of control method and control device for realizing that weather is shown in webpage
CN112307379B (en) Page generation method, device and equipment
CN114926201B (en) Group request pushing method, device, equipment and storage medium
CN112286983B (en) Data processing method and device and server device

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