Disclosure of Invention
In order to solve the problems of the prior art, embodiments of the present invention provide a method and apparatus for recording an image. The technical scheme is as follows:
in a first aspect, there is provided a method of recording an image, the method comprising:
receiving a presentation request corresponding to a target electronic gift, and displaying a display image of the target electronic gift in a currently displayed live broadcast interface;
and if the amount of money corresponding to the target electronic gift is larger than a preset threshold value, recording live image content containing the display image in the process of displaying the display image of the target electronic gift.
Optionally, the receiving a presentation request corresponding to the target electronic gift includes:
receiving a plurality of presentation requests of corresponding target electronic gifts carrying first audience account identifications;
if the amount of money corresponding to the target electronic gift is greater than a preset threshold value, recording live image content including the display image in the process of displaying the display image of the target electronic gift, including:
and if the total amount of the target electronic gift corresponding to the first audience account identification reaches a preset threshold value within a preset time length, recording live image content containing the display image in the process of displaying the display image of the target electronic gift.
Optionally, the presentation request carries the amount of each target electronic gift and the number of the target electronic gifts;
if the amount of money corresponding to the target electronic gift is greater than a preset threshold value, recording live image content including the display image in the process of displaying the display image of the target electronic gift, including:
determining the total amount of the target electronic gifts according to the amount of each target electronic gift and the number of the target electronic gifts;
and if the total amount of the target electronic gift is larger than a preset threshold value, recording live image content containing the display image in the process of displaying the display image of the target electronic gift.
Optionally, in the process of displaying the display image of the target electronic gift, recording live image content including the display image, including:
in the process of displaying the display image of the target electronic gift, performing screen capture processing on live image content containing the display image; or,
in displaying a presentation image of the target electronic gift, recording video data of live image content including the presentation image.
Optionally, the method further includes:
and displaying the electronic gift ranking list, wherein the electronic gift ranking list comprises live image contents corresponding to the electronic gifts with the largest sum of money received by the locally-logged main broadcasting account and the preset number.
Therefore, the live image contents corresponding to the preset number of electronic gifts with the maximum amount of money are displayed by sequencing according to the amount of money of the electronic gifts, and the enthusiasm of the audience for presenting the electronic gifts can be improved.
In a second aspect, there is provided an apparatus for recording an image, the apparatus comprising:
the first display module is used for receiving a presentation request corresponding to a target electronic gift and displaying a display image of the target electronic gift in a currently displayed live broadcast interface;
and the recording module is used for recording the live image content containing the display image in the process of displaying the display image of the target electronic gift if the amount of money corresponding to the target electronic gift is larger than a preset threshold value.
Optionally, the first display module is configured to:
receiving a plurality of presentation requests of corresponding target electronic gifts carrying first audience account identifications;
the recording module is configured to:
and if the total amount of the target electronic gift corresponding to the first audience account identification reaches a preset threshold value within a preset time length, recording live image content containing the display image in the process of displaying the display image of the target electronic gift.
Optionally, the presentation request carries the amount of each target electronic gift and the number of the target electronic gifts;
the recording module comprises:
a determining sub-module, configured to determine a total amount of the target electronic gifts according to the amount of each of the target electronic gifts and the number of the target electronic gifts;
and the recording sub-module is used for recording the live image content containing the display image in the process of displaying the display image of the target electronic gift if the total amount of the target electronic gift is larger than a preset threshold value.
Optionally, the recording module is configured to:
in the process of displaying the display image of the target electronic gift, performing screen capture processing on live image content containing the display image; or,
in displaying a presentation image of the target electronic gift, recording video data of live image content including the presentation image.
Optionally, the apparatus further comprises:
and the second display module is used for displaying the electronic gift ranking list, and the electronic gift ranking list comprises live image contents corresponding to the electronic gifts with the largest sum of money received by the locally-logged main broadcasting account and the preset number.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, a presentation request corresponding to the target electronic gift is received, the display image of the target electronic gift is displayed in the currently displayed live broadcast interface, and if the amount of money corresponding to the target electronic gift is larger than the preset threshold value, the content of the live broadcast image containing the display image is recorded in the process of displaying the display image of the target electronic gift.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
The embodiment of the invention provides a method for recording images, and the execution main body of the method is a terminal. The terminal may be a terminal (i.e., a master terminal) for logging in a master account, and the terminal may be a mobile terminal such as a mobile phone or a tablet computer, or may be a PC (personal computer) terminal. The terminal may include a transceiver, a processor, a memory, and a display. The transceiver can be used for receiving a presentation request corresponding to the target electronic gift, then the display can display a display image of the target electronic gift in a currently displayed live broadcast interface, the processor can judge whether the amount of money corresponding to the target electronic gift is larger than a preset threshold value, and if the amount of money corresponding to the target electronic gift is larger than the preset threshold value, the memory can be triggered to record live broadcast image content containing the display image. In addition, the terminal may further include components such as a sensor and a power supply.
As shown in fig. 1, the processing flow of the method may include the following steps:
step 101, receiving a presentation request corresponding to a target electronic gift, and displaying a display image of the target electronic gift in a currently displayed live broadcast interface.
In implementation, the anchor can perform video live broadcast on the terminal through a webpage or a certain video live broadcast application program, and after the anchor is played, a live broadcast image of the anchor can be displayed in a live broadcast interface of the anchor. Accordingly, a viewer may view a live video at a terminal (which may be referred to as a viewer terminal) via a web page or some video live application. For example, a viewer may click an icon corresponding to a certain anchor on a certain live website, and a viewer terminal may display a live interface corresponding to the anchor, so as to watch a live program of the anchor.
When the audience wants to present the electronic gift to a certain anchor, the electronic gift (i.e. the target electronic gift) that is desired to be presented may be selected in the gift list, and then the presenting option is clicked, the audience terminal may send a presenting request corresponding to the electronic gift to the server, after the server receives the presenting request, the server may send a presenting request corresponding to the electronic gift to the anchor terminal and audience terminals of other audiences in the room to which the anchor belongs, after the audience terminals of the anchor terminal and other audiences in the room receive the presenting request, the display image corresponding to the electronic gift may be displayed on the upper layer of the live broadcast image, so that the anchor and audiences watching the live broadcast program of the anchor can see the animation effect corresponding to the electronic gift, as shown in fig. 2. The number of the target electronic gifts may be one or multiple, and the target electronic gifts may be one electronic gift or multiple electronic gifts, which is not limited in this embodiment. For ease of description, the comp request sent by the spectator terminal to the server may be referred to as a first comp request, and the comp request sent by the server to the anchor terminal and the spectator terminals of the other spectators in the room may be referred to as a second comp request. The first presentation request may carry an identifier of the target electronic gift, an identifier of an audience account logged in the audience terminal, an identifier of a main broadcast account corresponding to the currently displayed live video, and the like; the second comp request may carry an identification of the target electronic gift, an identification of the viewer account, etc.
The manner in which the viewer presents the electronic gift to the anchor may be varied, and the present embodiment provides several possible ways of handling.
First, the audience presents only one electronic gift to the anchor.
In implementation, a viewer may select one of the electronic gifts (i.e., a target electronic gift) in the gift list, and then click on a presentation option, the viewer terminal may send a first presentation request to the server, where the first presentation request may carry an identifier of the target electronic gift, an identifier of an audience account logged in the viewer terminal, and an identifier of a main broadcast account corresponding to a currently displayed live video, and then the server may send a second presentation request to the main broadcast terminal, where the second presentation request may carry the identifier of the target electronic gift, the identifier of the audience account, and the number of the target electronic gifts, that is, 1.
And in the second mode, the audience connects the electronic gift to the anchor.
In implementation, the viewer may select one of the electronic gifts (i.e., the target electronic gift) in the gift list, and then continuously click on the presentation option, and each time the viewer clicks, the viewer terminal sends a first presentation request to the server, where the first presentation request may carry an identifier of the target electronic gift and an identifier of a viewer account (i.e., a first viewer account identifier) registered on the viewer terminal, so that the viewer terminal continuously sends the first presentation request to the server. The server may send a second presentation request to the anchor terminal every time the server receives the first presentation request, where the second presentation request may carry the identifier of the first viewer account, the identifier of the target electronic gift, and the like. In this way, the server may continuously send second comp requests to the anchor terminal, which may then receive multiple second comp requests.
And thirdly, presenting a plurality of electronic gifts to the anchor by the audience at one time.
In implementation, a viewer may select a certain electronic gift (i.e., a target electronic gift) from a gift list, then may input a number corresponding to the electronic gift, click a presentation option, and the viewer terminal may send a first presentation request to the server, where the first presentation request may carry an identifier of the target electronic gift, the number of the target electronic gift, and a first viewer account identifier, and when the server receives the first presentation request, the server may send a second presentation request to the anchor terminal, and the second presentation request may carry the first viewer account identifier, the identifier of the target electronic gift, the number of the target electronic gift, and the like.
And 102, if the amount of money corresponding to the target electronic gift is larger than a preset threshold value, recording live image content containing a display image in the process of displaying the display image of the target electronic gift.
In implementation, after receiving the second presentation request, the anchor terminal may parse the second presentation request, obtain an identifier of the target electronic gift in the second presentation request, then may obtain an amount of money corresponding to the target electronic gift, and further determine whether the amount of money is greater than a preset threshold, and if the amount of money is greater than or equal to the preset threshold, may record live image content including a display image in a process of displaying the display image of the target electronic gift, as shown in fig. 3; if the amount of money is less than the preset threshold value, the process of recording the live image content containing the display image is not carried out in the process of displaying the display image of the target electronic gift. The amount of money corresponding to the target electronic gift may be carried in the second gifting request, or the amount of money corresponding to the target electronic gift may be stored in the anchor terminal.
Alternatively, for the case where the viewer connects the electronic gift to the anchor, the process of step 102 may be as follows: and if the total amount of the target electronic gift corresponding to the first audience account identification reaches a preset threshold value within a preset time length, recording live image content containing a display image in the process of displaying the display image of the target electronic gift.
In an implementation, after receiving the second presentation request, the anchor terminal may parse the second presentation request to obtain the identifier of the target electronic gift and the identifier of the first audience account in the second presentation request, and may start timing when the anchor terminal receives the second presentation request. When the anchor terminal receives the second presentation request carrying the first viewer account identifier again, the anchor terminal may add the amounts of the target electronic gifts in the second request received twice to obtain a sum, and so on. In this way, the anchor terminal may determine the total amount of the target electronic gift corresponding to the first viewer account identification. If the anchor terminal judges that the total amount of the target electronic gift corresponding to the first audience account identification reaches a preset threshold value within a preset time length, the live image content containing the display image can be recorded in the process of displaying the display image of the target electronic gift, and if the anchor terminal judges that the total amount of the target electronic gift corresponding to the first audience account identification does not reach the preset threshold value within the preset time length, the live image content containing the display image can not be recorded in the process of displaying the display image of the target electronic gift.
Alternatively, for the case where the viewer presents multiple electronic gifts to the anchor at one time, the process of step 102 may be as follows: determining the total amount of the target electronic gifts according to the amount of each target electronic gift and the number of the target electronic gifts; and if the total amount of the target electronic gift is larger than a preset threshold value, recording the live image content containing the display image in the process of displaying the display image of the target electronic gift.
In practice, the second gifting request may carry the first viewer account identification, the identification of the target electronic gift, the number of target electronic gifts, and the amount of the target electronic gift. After receiving the second presentation request, the anchor terminal may parse the second presentation request to obtain the first audience account identifier, the identifier of the target electronic gift, the number of the target electronic gift, and the amount of the target electronic gift in the second presentation request, and then may multiply the amount of the target electronic gift by the amount of the target electronic gift to obtain the total amount of the target electronic gift. The anchor terminal may compare the total amount with a preset threshold, and if the anchor terminal determines that the total amount is greater than or equal to the preset threshold, the anchor terminal may record live image content including a display image in a process of displaying the display image of the target electronic gift; if the anchor terminal determines that the total amount is raining for a preset threshold, the live image content including the presentation image may not be recorded in the process of displaying the presentation image of the target electronic gift.
The manner in which the anchor terminal records the live image content including the presentation image may be various, and this embodiment provides two feasible processing manners.
In the first mode, the anchor terminal can perform screen capture.
In implementation, the anchor terminal may perform screen capture processing on live image content including a display image in a process of displaying the display image of the target electronic gift to obtain live image data including the display image, and may then store the live image data obtained by screen capture.
And in the second mode, the anchor terminal can automatically record the video in the process of displaying the display image of the target electronic gift.
In implementation, a code for recording video may be preset in the anchor terminal, and when the anchor terminal determines that the amount of money corresponding to the target electronic gift is greater than or equal to a preset threshold, the anchor terminal may record live image content including the display image, and when the display of the display image of the target electronic gift is completed, the recording is stopped, so that video data of the live image content including the display image may be obtained.
Optionally, the electronic gift leaderboard may be displayed in the live broadcast interface, and the corresponding processing procedure may be as follows: and displaying the electronic gift ranking list, wherein the electronic gift ranking list comprises live image contents corresponding to the electronic gifts with the largest sum of money received by the locally-logged main broadcasting account and the preset number.
In implementation, after the anchor terminal records the live image content including the display image, the recorded live image content, the identifier of the anchor account, the identifier of the first audience account corresponding to the live image content, and the money amount of the target electronic gift corresponding to the anchor image content may be sent to the server, the server may determine the broadcast time of the anchor account closest to the current time, then may determine the preset number of electronic gifts with the largest money amount received in the time period from the broadcast time to the current time, and further respectively determine the live image content corresponding to the electronic gifts and the identifiers of the audience accounts corresponding to the electronic gifts, then generate an electronic gift ranking list, when a data request of a corresponding live interface sent by the anchor terminal or the audience terminal is received, the data of the live interface may be sent, and the data of the electronic gift ranking list is sent to the anchor terminal and the audience terminal, so that the anchor terminal and the audience terminal can display the electronic gift ranking list in a live interface, as shown in fig. 4.
In the process of live broadcast by the anchor, the server can repeatedly perform the above processing to update the electronic gift ranking list, and can send the updated data of the electronic gift ranking list to the corresponding anchor terminal and audience terminal. In addition, if there is a part of the electronic gifts with the largest sum of money in the preset number of electronic gifts without corresponding live image content, if the sum of money of the electronic gifts is smaller than a preset threshold value, or the live image content corresponding to the electronic gifts is not stored for other reasons, the preset image may be used as the live image content corresponding to the electronic gifts, and an electronic gift ranking list may be generated, where the preset image may be an avatar of an audience account giving the electronic gifts. Alternatively, the server may also generate the electronic gift leader board based on the electronic gift in which the live image content exists, which is not limited in this embodiment.
In the embodiment of the invention, a presentation request corresponding to the target electronic gift is received, the display image of the target electronic gift is displayed in the currently displayed live broadcast interface, and if the amount of money corresponding to the target electronic gift is larger than the preset threshold value, the content of the live broadcast image containing the display image is recorded in the process of displaying the display image of the target electronic gift.
Based on the same technical concept, an embodiment of the present invention further provides an apparatus for recording an image, as shown in fig. 5, the apparatus including:
a first display module 510, configured to receive a presentation request corresponding to a target electronic gift, and display a display image of the target electronic gift in a currently displayed live interface;
a recording module 520, configured to record, if the amount of money corresponding to the target electronic gift is greater than a preset threshold, live image content including the display image in a process of displaying the display image of the target electronic gift.
Optionally, the first display module 510 is configured to:
receiving a plurality of presentation requests of corresponding target electronic gifts carrying first audience account identifications;
the recording module 520 is configured to:
and if the total amount of the target electronic gift corresponding to the first audience account identification reaches a preset threshold value within a preset time length, recording live image content containing the display image in the process of displaying the display image of the target electronic gift.
Optionally, the presentation request carries the amount of each target electronic gift and the number of the target electronic gifts;
as shown in fig. 6, the recording module 520 includes:
a determining sub-module 521, configured to determine a total amount of the target electronic gifts according to the amount of each target electronic gift and the number of the target electronic gifts;
the recording sub-module 522 is configured to, if the total amount of the target electronic gift is greater than a preset threshold, record live image content including a display image of the target electronic gift in a process of displaying the display image.
Optionally, the recording module 520 is configured to:
in the process of displaying the display image of the target electronic gift, performing screen capture processing on live image content containing the display image; or,
in displaying a presentation image of the target electronic gift, recording video data of live image content including the presentation image.
Optionally, as shown in fig. 7, the apparatus further includes:
the second display module 530 is configured to display an electronic gift ranking list, where the electronic gift ranking list includes live image content corresponding to a preset number of electronic gifts with a maximum amount of money received by a locally logged-in anchor account.
In the embodiment of the invention, a presentation request corresponding to the target electronic gift is received, the display image of the target electronic gift is displayed in the currently displayed live broadcast interface, and if the amount of money corresponding to the target electronic gift is larger than the preset threshold value, the content of the live broadcast image containing the display image is recorded in the process of displaying the display image of the target electronic gift.
It should be noted that: in the image recording apparatus provided in the above embodiment, when recording an image, only the division of the above functional modules is taken as an example, and in practical applications, the above function distribution 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 above described functions. In addition, the apparatus for recording an image and the method for recording an image provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Referring to fig. 8, a schematic structural diagram of a terminal according to an embodiment of the present invention is shown, where the terminal may be used to implement the method for displaying error information provided in the foregoing embodiment. Specifically, the method comprises the following steps:
the terminal 900 may include RF (Radio Frequency) circuitry 110, memory 120 including one or more computer-readable storage media, an input unit 130, a display unit 140, a sensor 150, audio circuitry 160, a WiFi (wireless fidelity) module 170, a processor 180 including one or more processing cores, and a power supply 190. Those skilled in the art will appreciate that the terminal structure shown in fig. 8 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information from a base station and then sends the received downlink information to the one or more processors 180 for processing; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuitry 110 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like. In addition, the RF circuitry 110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (short messaging Service), etc.
The memory 120 may be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by operating the software programs and modules stored in the memory 120. The memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal 900, and the like. Further, the memory 120 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 120 may further include a memory controller to provide the processor 180 and the input unit 130 with access to the memory 120.
The input unit 130 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. In particular, the input unit 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on or near the touch-sensitive surface 131 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 131 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. Additionally, the touch-sensitive surface 131 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 131, the input unit 130 may also include other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 140 may be used to display information input by or provided to a user and various graphical user interfaces of the terminal 900, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 140 may include a Display panel 141, and optionally, the Display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 131 may cover the display panel 141, and when a touch operation is detected on or near the touch-sensitive surface 131, the touch operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event. Although in FIG. 8, touch-sensitive surface 131 and display panel 141 are shown as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 131 may be integrated with display panel 141 to implement input and output functions.
The terminal 900 can also include at least one sensor 150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or the backlight when the terminal 900 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal 900, detailed descriptions thereof are omitted.
Audio circuitry 160, speaker 161, and microphone 162 may provide an audio interface between a user and terminal 900. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the processor 180 for processing, and then to the RF circuit 110 to be transmitted to, for example, another terminal, or outputs the audio data to the memory 120 for further processing. The audio circuitry 160 may also include an earbud jack to provide communication of peripheral headphones with the terminal 900.
WiFi belongs to a short-distance wireless transmission technology, and the terminal 900 can help a user send and receive e-mails, browse web pages, access streaming media, and the like through the WiFi module 170, and it provides wireless broadband internet access for the user. Although fig. 8 shows the WiFi module 170, it is understood that it does not belong to the essential constitution of the terminal 900 and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 180 is a control center of the terminal 900, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the terminal 900 and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the mobile phone. Optionally, processor 180 may include one or more processing cores; preferably, the processor 180 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 180.
Terminal 900 also includes a power supply 190 (e.g., a battery) for powering the various components, which may preferably be logically coupled to processor 180 via a power management system that may be used to manage charging, discharging, and power consumption. The power supply 190 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the terminal 900 may further include a camera, a bluetooth module, etc., which will not be described herein. Specifically, in this embodiment, the display unit of the terminal 900 is a touch screen display, the terminal 900 further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for:
receiving a presentation request corresponding to a target electronic gift, and displaying a display image of the target electronic gift in a currently displayed live broadcast interface;
and if the amount of money corresponding to the target electronic gift is larger than a preset threshold value, recording live image content containing the display image in the process of displaying the display image of the target electronic gift.
Optionally, the receiving a presentation request corresponding to the target electronic gift includes:
receiving a plurality of presentation requests of corresponding target electronic gifts carrying first audience account identifications;
if the amount of money corresponding to the target electronic gift is greater than a preset threshold value, recording live image content including the display image in the process of displaying the display image of the target electronic gift, including:
and if the total amount of the target electronic gift corresponding to the first audience account identification reaches a preset threshold value within a preset time length, recording live image content containing the display image in the process of displaying the display image of the target electronic gift.
Optionally, the presentation request carries the amount of each target electronic gift and the number of the target electronic gifts;
if the amount of money corresponding to the target electronic gift is greater than a preset threshold value, recording live image content including the display image in the process of displaying the display image of the target electronic gift, including:
determining the total amount of the target electronic gifts according to the amount of each target electronic gift and the number of the target electronic gifts;
and if the total amount of the target electronic gift is larger than a preset threshold value, recording live image content containing the display image in the process of displaying the display image of the target electronic gift.
Optionally, in the process of displaying the display image of the target electronic gift, recording live image content including the display image, including:
in the process of displaying the display image of the target electronic gift, performing screen capture processing on live image content containing the display image; or,
in displaying a presentation image of the target electronic gift, recording video data of live image content including the presentation image.
Optionally, the method further includes:
and displaying the electronic gift ranking list, wherein the electronic gift ranking list comprises live image contents corresponding to the electronic gifts with the largest sum of money received by the locally-logged main broadcasting account and the preset number.
In the embodiment of the invention, a presentation request corresponding to the target electronic gift is received, the display image of the target electronic gift is displayed in the currently displayed live broadcast interface, and if the amount of money corresponding to the target electronic gift is larger than the preset threshold value, the content of the live broadcast image containing the display image is recorded in the process of displaying the display image of the target electronic gift.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.