Method, device, equipment and storage medium for pushing UGC
By obtaining the account portrait of the end user, filtering and pushing matching UGC content, the problem in the existing technology that UGC push is not in line with user preferences is solved, and the number of views is increased.
Patent Information
- Application Number
- CN202110432665.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-21
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2041-04-21
AI Technical Summary
When the existing technology pushes UGC to the terminal, it is usually random or based on geographical location, causing the pushed content to be inconsistent with user preferences and resulting in low page views.
By receiving the UGC acquisition request from the terminal, the user's account portrait is obtained, the portrait of the UGC publishing account to be pushed is determined, matching content is screened out from multiple UGCs and pushed to the terminal, UGC consumption information is recorded and managed, and the push is dynamically adjusted Strategy.
It improves the matching degree of UGC and increases the probability of users being interested in the pushed content, thereby increasing the number of views.
Smart Images

Figure CN113094586B
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet technology, and in particular to a method, device, equipment and storage medium for pushing UGC. Background Art
[0002] UGC (User Generated Content) is original content published by users through Internet platforms, which can be displayed to other users on the Internet platform. For example, UGC can be texts, pictures, etc. published by users through social platforms, short videos published through short video platforms, or songs published through singing platforms.
[0003] The user can send a request to obtain UGC to the server corresponding to the Internet platform through the operating terminal, and the server can push one or more UGC to the terminal according to the acquisition request sent by the terminal for the user to browse. For example, the user can slide down in the interface of the short video application, and then refresh one or more short videos in the corresponding interface.
[0004] In the process of implementing this application, the inventors found that the related technology has at least the following problems:
[0005] When the server pushes UGC to the terminal according to the acquisition request sent by the terminal, it generally randomly selects a certain number of UGCs from multiple UGCs and pushes them to the terminal, or simply determines the geographical location of the terminal and then sends the UGC posted by the user with the same geographical location as the terminal to the terminal. However, if UGC is only pushed to the terminal randomly or according to the geographical location, the UGC pushed to the terminal each time may not meet the user's preferences, which may result in a relatively low number of views of the UGC pushed to the terminal. Summary of the invention
[0006] The embodiments of the present application provide a method, apparatus, device and storage medium for pushing UGC, which can enrich the ways of pushing UGC. The technical solution is as follows:
[0007] In one aspect, a method for pushing UGC is provided, the method comprising:
[0008] Receiving a request for obtaining user-generated content (UGC) sent by a first terminal, wherein the request carries a first account identifier of a first account logged in by the first terminal;
[0009] Acquire a first profile of the first account based on the first account identifier;
[0010] Determine, based on the first portrait, a second portrait of a publishing account corresponding to the UGC to be pushed to the first terminal;
[0011] Determine, among multiple UGCs to be pushed, target UGCs posted by the account corresponding to the second portrait;
[0012] Push the target UGC to the first terminal.
[0013] Optionally, before determining, among the multiple UGCs to be pushed, the target UGC posted by the account corresponding to the second portrait, the method further includes:
[0014] A publishing request of a target UGC sent by the second terminal is received, the target UGC is added to the multiple UGCs to be pushed, and consumption information of the target UGC is recorded, wherein the consumption information of the target UGC includes the number of consumptions, the number of completed consumptions, and the upper limit of the number of consumptions.
[0015] Optionally, after pushing the target UGC to the first terminal, the method further includes:
[0016] receiving a target UGC operation notification sent by the first terminal, wherein the target UGC operation notification is triggered and sent after the first terminal performs a consumption operation on the target UGC;
[0017] Add one to the consumption count corresponding to the target UGC to obtain an updated consumption count;
[0018] If the updated consumption times is greater than or equal to the upper limit of the consumption times corresponding to the target UGC, the target UGC is deleted from the multiple UGCs to be pushed.
[0019] Optionally, after pushing the target UGC to the first terminal, the method further includes:
[0020] receiving a target UGC operation completion notification sent by the first terminal, wherein the target UGC operation completion notification is triggered and sent after the first terminal completes the target UGC consumption operation;
[0021] Add one to the number of completed consumptions corresponding to the target UGC to obtain an updated number of completed consumptions;
[0022] If the ratio of the updated consumption completion times to the consumption times corresponding to the target UGC exceeds a preset threshold, the consumption upper limit times corresponding to the target UGC is increased by a preset value to obtain an updated consumption upper limit times.
[0023] Optionally, determining, among the multiple UGCs to be pushed, the target UGC posted by the account corresponding to the second portrait includes:
[0024] Among the multiple UGCs to be pushed, determine the target UGC corresponding to the number of consumption completions, and / or the number of consumptions is 0 and is released by the account corresponding to the second portrait.
[0025] Optionally, pushing the target UGC to the first terminal includes:
[0026] The push time of the target UGC to other terminals except the first terminal is acquired, and if the push time is not within a time range corresponding to the current time, the target UGC is pushed to the first terminal.
[0027] On the other hand, a device for pushing UGC is provided, characterized in that the device includes:
[0028] A receiving module, configured to receive a request for obtaining user-generated content (UGC) sent by a first terminal, wherein the request carries a first account identifier of a first account logged in by the first terminal;
[0029] An acquisition module, configured to acquire a first profile of the first account based on the first account identifier;
[0030] a determination module, configured to determine, based on the first portrait, a second portrait of a publishing account corresponding to the UGC to be pushed to the first terminal, and determine, among multiple UGCs to be pushed, a target UGC published by the account corresponding to the second portrait;
[0031] A push module is used to push the target UGC to the first terminal.
[0032] Optionally, the receiving module is further used for:
[0033] A publishing request of a target UGC sent by the second terminal is received, the target UGC is added to the multiple UGCs to be pushed, and consumption information of the target UGC is recorded, wherein the consumption information of the target UGC includes the number of consumptions, the number of completed consumptions, and the upper limit of the number of consumptions.
[0034] Optionally, the receiving module is further used for:
[0035] receiving a target UGC operation notification sent by the first terminal, wherein the target UGC operation notification is triggered and sent after the first terminal performs a consumption operation on the target UGC;
[0036] Add one to the consumption count corresponding to the target UGC to obtain an updated consumption count;
[0037] If the updated consumption times is greater than or equal to the upper limit of the consumption times corresponding to the target UGC, the target UGC is deleted from the multiple UGCs to be pushed.
[0038] Optionally, the receiving module is further used for:
[0039] receiving a target UGC operation completion notification sent by the first terminal, wherein the target UGC operation completion notification is triggered and sent after the first terminal completes the target UGC consumption operation;
[0040] Add one to the number of completed consumptions corresponding to the target UGC to obtain an updated number of completed consumptions;
[0041] If the ratio of the updated consumption completion times to the consumption times corresponding to the target UGC exceeds a preset threshold, the consumption upper limit times corresponding to the target UGC is increased by a preset value to obtain an updated consumption upper limit times.
[0042] Optionally, the determining module is used to:
[0043] Among the multiple UGCs to be pushed, determine the target UGC corresponding to the number of consumption completions, and / or the number of consumptions is 0 and is released by the account corresponding to the second portrait.
[0044] Optionally, the push module is used to:
[0045] The push time of the target UGC to other terminals except the first terminal is acquired, and if the push time is not within a time range corresponding to the current time, the target UGC is pushed to the first terminal.
[0046] On the other hand, a computer device is provided, comprising a processor and a memory, wherein the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the operations performed by the method for pushing UGC as described above.
[0047] On the other hand, a computer-readable storage medium is provided, characterized in that at least one instruction is stored in the storage medium, and the at least one instruction is loaded and executed by a processor to implement the operations performed by the method for pushing UGC as described above.
[0048] The beneficial effects of the technical solution provided by the embodiment of the present application are:
[0049] After receiving the UGC acquisition request sent by the first terminal, the present application can obtain the first portrait of the account corresponding to the first terminal, determine the second portrait of the publishing account corresponding to the UGC to be pushed to the first terminal based on the first portrait, and then determine the UGC corresponding to the corresponding portrait and the second portrait in the publishing account corresponding to the UGC to be pushed, and push it to the first terminal. It can be seen that when using the present application to push UGC to the terminal, the portrait corresponding to the account requesting UGC and the portraits of the accounts corresponding to each UGC can be referred to, which can increase the probability of users being interested in the pushed UGC to a certain extent, and thus increase the number of views of the UGC pushed to the terminal. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0051] Figure 1 It is a flow chart of the method for pushing UGC provided in an embodiment of the present application;
[0052] Figure 2 It is a flow chart of the method for pushing UGC provided in an embodiment of the present application;
[0053] Figure 3 It is a schematic diagram of the structure of a device for pushing UGC provided in an embodiment of the present application;
[0054] Figure 4 It is a schematic diagram of a server structure provided in an embodiment of the present application. DETAILED DESCRIPTION
[0055] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.
[0056] The method for pushing UGC provided in this application can be implemented by a terminal and a server. The terminal can access the Internet, can publish UGC through the Internet platform, and can also run applications that can publish UGC, such as short video applications, singing applications, social applications, etc. The terminal can be a mobile phone, a tablet computer, a smart wearable device, a desktop computer, a laptop computer, etc. The server can be a background server corresponding to the above-mentioned Internet platform or application, and the server can establish communication with the terminal. The server can be a single server or a server group. If it is a single server, the server can be responsible for all the processing in the following scheme. If it is a server group, different servers in the server group can be responsible for different processing in the following scheme. The specific processing distribution can be arbitrarily set by the technical staff according to actual needs, and will not be repeated here.
[0057] UGC is original content published by users through the Internet platform, which can be displayed to other users on the Internet platform for browsing. For example, a user can record the audio of singing a song through a Karaoke application, and the Karaoke application can synthesize the recorded user's vocal audio and the corresponding accompaniment audio into the audio of the song sung by the user. After synthesizing the audio of the song sung by the user in the Karaoke application, the user can choose to publish the song audio to his or her account dynamics, so that other users in the Karaoke application can listen to the song audio posted by the user by visiting the user's account dynamics. Among them, the audio of the song sung by the user is UGC. Similarly, short videos posted by users in short video applications and articles posted in social applications are all UGC.
[0058] Generally, in applications that can publish UGC, a UGC recommendation page or UGC recommendation option can be set. Taking a short video application as an example, a short video recommendation page can be set in the short video application. The server can send one or more short videos posted by other users to the terminal running the short video application. After the terminal receives the short video sent by the server, the received short video or short video cover can be displayed on the short video recommendation page, so that the user can directly choose to watch the short video posted by other users on the short video recommendation page. Taking a karaoke application as an example, a singing song recommendation option can be set in the karaoke application. After the user clicks the singing song recommendation option, the server can send one or more song audios sung by other users to the terminal running the karaoke application. After receiving the singing song sent by the server, the terminal can display the relevant information and playback options of the song audio in the karaoke application, such as the name of the singing song, the user information of the singing song, etc. The user can click the corresponding playback option to play the received singing song.
[0059] The method for pushing UGC provided in the present application can be applied in the process of pushing UGC from the service area to the terminal. In the embodiment of the present application, the scheme is described in detail by taking UGC as the song audio released by the user through the K song application as an example. Other situations are similar and will not be repeated here.
[0060] Figure 1 This is a flowchart of a method for pushing UGC provided in an embodiment of the present application. It can be applied to a server, see Figure 1 , the embodiment comprises:
[0061] Step 101: Receive a UGC acquisition request sent by a first terminal.
[0062] The acquisition request carries the first account identifier of the first account logged in by the first terminal. The first terminal may be a terminal running a karaoke application. The user may trigger the singing song recommendation option in the karaoke application to send a request to the server for acquiring the audio of songs sung by other users, i.e., a UGC acquisition request.
[0063] Step 102: Obtain a first portrait of the first account based on the first account identifier.
[0064] The request for obtaining the sung song sent by the first terminal to the server may carry the first account identifier corresponding to the first account currently logged in by the first terminal. After receiving the request for obtaining the sung song, the server may query the first portrait corresponding to the first account in the pre-stored account information according to the first account identifier. The first portrait may include information such as the gender, age range, geographical location, and song preference style corresponding to the first account.
[0065] Step 103: Based on the first portrait, determine the second portrait of the publishing account corresponding to the UGC to be pushed to the first terminal, and determine the target UGC published by the account corresponding to the second portrait among multiple UGCs to be pushed.
[0066] Among them, the multiple UGCs to be pushed may be UGCs released by other accounts.
[0067] After obtaining the first portrait corresponding to the first account, the server can determine the portrait used to filter the UGC to be pushed based on the information such as gender, age range, geographical location, and song preference style included in the first portrait. In order to distinguish it from the portrait of the first account, the portrait can be called the second portrait. After determining the second portrait, the target UGC published by the account corresponding to the second portrait can be determined from multiple UGCs to be pushed.
[0068] The second portrait may be the same as the first portrait, that is, the first and second portraits may have the same information such as gender, age range, geographical location, and song preference style. Thus, the portrait of the publishing account corresponding to the UGC filtered by the second portrait may be the same as the first portrait. In other words, the UGC received by the first terminal is published by the account with the same portrait as the first account.
[0069] Alternatively, a second portrait matching the first portrait may be determined according to a preset matching condition. The second portrait may match the first portrait if some portrait information is different in the portraits. For example, the matching condition may be set to that the gender information included in the first portrait is opposite to the gender information included in the second portrait, the age range corresponding to the first portrait and the age range corresponding to the second portrait belong to the same age range, the song preference style corresponding to the first portrait is the same as the song preference style corresponding to the second portrait, etc. After obtaining the first portrait of the first account, the second portrait may be determined according to the preset matching condition, and then the portrait of the corresponding publishing account is determined to be the UGC of the second portrait among multiple UGCs to be pushed, and the corresponding UGC is determined as the target UGC. That is, in the present application, when pushing UGC to the first account, the second portrait may be determined according to the first portrait corresponding to the first account, and then the account to be pushed UGC may be screened according to the second portrait, and then the UGC corresponding to the screened account may be used as the target UGC sent to the first terminal. It can be seen that in the present application, UGC is not directly and randomly pushed to the first terminal among multiple UGCs, but the UGC is screened according to the portrait of the account. In this way, by determining the second portrait that matches the first portrait of the first terminal, and then pushing UGC published by the account whose corresponding portrait is the second portrait to the first terminal, the probability that the user is interested in the UGC pushed by the server can be increased to a certain extent.
[0070] Step 104: Push the target UGC to the first terminal.
[0071] Among them, the target UGC is pushed to the first terminal, and the download link corresponding to the target UGC can be sent to the first terminal only. The first terminal can obtain the data of the target UGC from the server by clicking the option to trigger the download link. For example, the scenario in which the user publishes UGC is the "Music Drift Bottle" in the K song application, that is, the user can sing a song and then upload it to the server in the form of a drift bottle. Other users can send a "Music Drift Bottle" acquisition request (UGC acquisition request) to the server by clicking the acquisition option corresponding to the "Music Drift Bottle" of the K song application. After the server determines the target music drift bottle pushed to the terminal, the download link of the target song audio corresponding to the target music drift bottle can be sent to the terminal, and the target music drift bottle can be displayed in the form of a "bottle" in the K song application. The user can click the corresponding "bottle" to receive the target song audio according to the data link of the target song audio corresponding to the target music drift bottle, and play the target song audio.
[0072] After receiving the UGC acquisition request sent by the first terminal, the present application can obtain the first portrait of the account corresponding to the first terminal, determine the second portrait of the publishing account corresponding to the UGC to be pushed to the first terminal based on the first portrait, and then determine the UGC corresponding to the corresponding portrait and the second portrait in the publishing account corresponding to the UGC to be pushed, and push it to the first terminal. It can be seen that when using the present application to push UGC to the terminal, the portrait corresponding to the account requesting UGC and the portraits of the accounts corresponding to each UGC can be referred to, which can increase the probability of users being interested in the pushed UGC to a certain extent, and can increase the number of views of the UGC pushed to the terminal.
[0073] Figure 2 A method for pushing UGC from a server to a terminal provided in an embodiment of the present application can be applied to a server and a terminal, see Figure 2 , the method comprising:
[0074] Step 201: Receive a target UGC publishing request sent by a second terminal, and store consumption information of the target UGC and a portrait corresponding to the account that publishes the target UGC.
[0075] The second terminal is a terminal for publishing the target UGC. The target UGC data may be carried in the publishing request of the target UGC. After receiving the publishing request of the target UGC, the server may receive and store the target UGC data. The target UGC attribute information such as the portrait corresponding to the published target UGC and the preset consumption information is obtained and stored.
[0076] The target UGC publishing request may carry the second account identifier of the second account currently logged in by the second terminal. When receiving the target UGC publishing request, the server may obtain the second portrait corresponding to the second account according to the second account identifier, and the second portrait may include information such as the gender, age range, geographical location, and song preference style of the second account.
[0077] The consumption information includes the number of consumptions, the number of completed consumptions, the upper limit of the number of consumptions, etc. The number of consumptions refers to the number of consumption operations of other accounts on the target UGC. For example, if the UGC is the audio of a user singing a song, the number of consumptions can be the number of times other accounts play the singing audio. The number of completed consumptions refers to the number of times other accounts complete consumption operations on the target UGC. For example, if the UGC is the audio of a user singing a song, the number of completed consumptions can be the number of times other accounts play the singing audio in its entirety. The upper limit of the number of consumptions is the total number of consumptions set for the UGC in the server, that is, the number of times a UGC can be consumed by other accounts. After the number of consumptions corresponding to a UGC reaches the corresponding upper limit of consumptions, the server can no longer push the UGC to other accounts. Since in this step, the target UGC is uploaded to the server by the second terminal, and the server has not yet sent the target UGC to other terminals, the stored number of consumptions and the number of completed consumptions are both 0, and the initial value of the upper limit of consumption can also be pre-set by the technical staff, for example, it can be 10.
[0078] In the present application, a UGC attribute information database may be set up to record the attribute information of the UGC to be pushed in the server, and the database may be a MongoDB database (a database based on distributed file storage). After receiving the publishing request of the target UGC sent by the second terminal, the server may store the attribute information of the target UGC in the UGC attribute information database.
[0079] In addition to the consumption information and portrait information of UGC, the attribute information of UGC may also include the UGCID (UGC Identity document, UGC number), release time, etc. of the corresponding UGC. Taking the audio of songs sung by users as an example, the attribute information of UGC may include: UGCID, age range, gender, geographical location, song accompaniment, author account, release time, storage time, number of consumptions, upper limit of consumptions, number of completed consumptions, song rating level, song preference style, etc. Among them, when storing the attribute information corresponding to the target UGC in the UGC attribute information database, the fields corresponding to the various information included in the attribute information corresponding to the target UGC may be combined into a document information and stored in the UGC attribute information database.
[0080] Step 202: Receive a request for obtaining user-generated content (UGC) sent by the first terminal, obtain a first portrait of the first account, and determine, based on the first portrait, a second portrait of a publishing account corresponding to the UGC to be pushed to the first terminal.
[0081] After receiving the acquisition request of the user-generated content (UGC) sent by the first terminal, the server can obtain the first portrait corresponding to the first account according to the first account identifier corresponding to the first terminal, including age, gender, geographical location, etc. Then, the second portrait of the publishing account corresponding to the UGC to be pushed to the first terminal can be determined according to the first portrait.
[0082] Optionally, the process of determining the second portrait based on the first portrait can be as follows: based on the user's gender, age range, and geographical location included in the first portrait, determine the second portrait of the publishing account corresponding to the UGC to be pushed to the first terminal, wherein the user's gender, age range, and geographical location included in the second portrait respectively match the user's gender, age range, and geographical location included in the first portrait.
[0083] After obtaining the first portrait, the second portrait of the publishing account corresponding to the UGC to be pushed to the first terminal can be determined based on the gender, age range, geographical location, etc. included in the first portrait. The gender, age range, geographical location, etc. included in the second portrait can be the same as the gender, age range, and geographical location included in the first portrait. Alternatively, the age range and geographical location included in the second portrait can be the same as the age range and geographical location included in the first portrait, and the genders included in the first and second portraits can be opposite. In this way, UGC pushed to the opposite sex can be pushed to the user, which can increase the probability that the user is interested in the pushed UGC.
[0084] Step 203: Determine the target UGC published by the account corresponding to the second portrait among the multiple UGCs to be pushed.
[0085] The UGC attribute information database stores attribute information of each UGC to be pushed, including the portrait information of the corresponding publishing account of each UGC. After determining the second portrait, the database can be indexed according to the second portrait to obtain the target UGC published by the account whose corresponding portrait is the second portrait.
[0086] For example, the second portrait includes the user's gender of "male", age of "30", location of "Shenzhen", and the song he sang is "Qilixiang". Then, the target attribute information including "male, 30, Shenzhen, Qilixiang" can be indexed in the UGC attribute information database. After the target attribute information is obtained by indexing, the UGC corresponding to the target attribute information can be determined as the target UGC to be sent to the first terminal. In addition, if the number of target UGCs obtained is greater than the preset number, a preset number of UGCs can be screened out from multiple target UGCs in the server. For example, a preset number of UGCs with higher song scores in the attribute information can be used as UGCs sent to the first terminal, or it can be determined whether there is UGC posted by an account that is a friend of the first account among multiple target UGCs. If so, the corresponding UGC is determined as the UGC sent to the first terminal.
[0087] In order to improve the indexing efficiency in the UGC attribute information database, multiple composite indexes can be designed, such as constructing composite indexes corresponding to the location and gender, that is, the UGC attribute information corresponding to the location and gender can be classified, for example, the UGC attribute information can be classified according to "Shenzhen, male", "Shenzhen, female", "Beijing, male", "Beijing, female". If the information to be indexed includes the age group 25-29, male, Shenzhen, it can be directly indexed in the attribute information corresponding to "Shenzhen, male", thereby improving efficiency.
[0088] Step 204: Push the target UGC to the first terminal.
[0089] After the target UGC is determined, the target UGC can be sent to the first terminal, and the user of the first terminal performs operation processing. The specific processing is consistent with the above step 104, and will not be repeated here.
[0090] The present application also provides a method for managing UGC to be sent, which can be used after the target UGC is pushed to the first terminal, including the following three situations:
[0091] Case 1: Receive the target UGC operation notification sent by the first terminal, add one to the consumption count corresponding to the target UGC, and obtain the updated consumption count; if the updated consumption count is greater than or equal to the upper limit of the consumption count corresponding to the target UGC, delete the target UGC from the multiple UGCs to be pushed. The target UGC operation notification is triggered and sent after the first terminal performs a consumption operation on the target UGC;
[0092] After receiving the UGC, the first terminal can perform a consumption operation on the UGC. For example, if the UGC is the audio of a user singing a song, or a short video posted by a user, the corresponding consumption operation can be clicking to play the singing audio or short video. After the first terminal performs a consumption operation on the received UGC, the first terminal can send a target UGC operation notification to the server, wherein the target UGC operation notification can carry the UGCID corresponding to the target UGC. After receiving the target UGC operation notification, the server can update the consumption information of the corresponding UGCID recorded in the UGC attribute information database according to the UGCID corresponding to the target UGC carried in the target UGC operation notification, and add 1 to the number of consumptions included in the consumption information to obtain the updated number of consumptions. After updating the number of consumptions, the size of the updated number of consumptions and the upper limit of the number of consumptions can be determined. If the updated number of consumptions is greater than or equal to the upper limit of the number of consumptions corresponding to the target UGC, the attribute information corresponding to the target UGC is deleted from the UGC attribute information database.
[0093] Case 2: Receive the target UGC operation completion notification sent by the first terminal, add one to the number of consumption completions corresponding to the target UGC, and obtain the updated number of consumption completions; if the ratio of the updated number of consumption completions to the number of consumptions corresponding to the target UGC exceeds a preset threshold, increase the consumption upper limit number corresponding to the target UGC by a preset value to obtain the updated consumption upper limit number.
[0094] If the first terminal receives the target UGC and completes the consumption operation of the target UGC, a target UGC operation completion notification may be sent to the server. The target UGC operation completion notification may carry the UCGID of the target UGC. For example, if the UGC is the audio of a song sung by a user, or a short video posted by a user, the corresponding completion of the consumption operation of the target UGC may be the complete playback of the singing audio or short video. After receiving the target UGC operation completion notification sent by the first terminal, the server may update the consumption information of the corresponding UGCID recorded in the UGC attribute information database according to the UCGID, and add 1 to the number of consumption completions included in the consumption information to obtain the updated number of consumption completions. After the consumption completion number is updated, the ratio of the updated number of consumption completions to the number of consumptions corresponding to the target UGC may be determined. If the ratio exceeds a preset threshold, it means that most users have completed the operation of the target UGC. For example, if the target UGC is the audio of a song sung by a user, if the ratio exceeds a preset threshold, it means that most users will play the song audio to the end after starting to play the song audio, which can indirectly indicate that the song audio belongs to high-quality UGC. Therefore, the consumption limit of the song audio can be increased to increase the number of playbacks corresponding to the song audio. The specific value of the increase can be preset by the technicians and will not be described here.
[0095] Case 3: After the target UGC is pushed to the first terminal, the sending time of the target UGC to the first terminal is recorded; within a preset time after the sending time, the sending of the target UGC to other terminals is stopped.
[0096] After the target UGC is pushed to the first terminal, the target UGC may not be sent to other terminals within a certain period of time. This is because each UGC is set with a corresponding upper limit of consumption times, and after the server sends the target UGC to the first terminal, the user of the first terminal may not immediately consume the target UGC, so the consumption times corresponding to the target UGC will not be updated. During this period of time, if the target UGC continues to be sent to other terminals, the other terminals and the first terminal may subsequently consume the target UGC, resulting in the consumption times of the target UGC far exceeding the corresponding upper limit of consumption times. For example, the target UGC is a song audio sung by a user. The upper limit of the number of plays (upper limit of consumption times) corresponding to the song audio is 5 times. Assuming that the current number of plays (consumption times) corresponding to the song audio is 4, after the song audio is sent to the first terminal, it is not played by the first terminal, so the number of plays corresponding to the song audio is still 4 at this time. If the song audio is sent to the other 4 terminals at this time, assuming that the other 4 terminals and the first terminal subsequently play the song audio, the number of plays corresponding to the song audio is 9 times, which has exceeded the upper limit of the number of plays of 5 times.
[0097] Therefore, after the server sends the target UGC to the first terminal, it can update the sending time included in the corresponding attribute information of the target UGC. Before the server sends each UGC, it can first determine whether the corresponding sending time in the UGC is within the time range corresponding to the current time. If it is within the time range corresponding to the current time, you can choose not to push the UGC to the terminal. For the terminal receiving UGC, if the terminal does not consume the UGC within the preset time after the server pushes the UGC, the terminal’s authority to consume the UGC can be revoked. In addition, a storage duration can be set in the UGC attribute information database. When the storage duration of the attribute information of the UGC in the UGC attribute information database reaches the storage duration, the corresponding attribute information can be deleted.
[0098] Among them, corresponding to the processing of the above-mentioned situation one and situation two, in the present application, among multiple UGCs to be pushed, the processing of determining the target UGC published by the account corresponding to the second portrait can also include: among multiple UGCs to be pushed, determining the target UGC published by the account corresponding to the second portrait and having the corresponding number of consumption completions and / or the corresponding number of consumptions being 0.
[0099] In implementation, after determining that the account corresponding to the second portrait publishes UGC, the number of consumption completions and the number of consumptions corresponding to each UGC can also be determined in the UGC attribute information database according to the UGCID corresponding to the determined UGC. If there is a second UGC with a consumption number of 0 and / or a consumption completion number of 0, the second UGC can be determined as the target UGC. In this way, UGC that has not been pushed or has not been consumed by other accounts can be pushed to the account that sends the UGC acquisition request first. In this way, for each UGC to be pushed, there is a greater probability that it will be pushed to other terminals for consumption operations, which can effectively reduce the possibility that some UGC has not been pushed to other accounts for consumption operations.
[0100] Among them, corresponding to the processing of the above-mentioned situation three, in the present application, the processing of pushing the target UGC to the first terminal may also include: obtaining the push time of the target UGC to other terminals other than the first terminal, if the push time is not within the time range corresponding to the current time, then pushing the target UGC to the first terminal.
[0101] In implementation, after determining the target UGC, according to the UGCID corresponding to the target UGC, in the UGC attribute information database, the push time corresponding to the recorded target UGCID is determined. The push time is the time when the server recently pushed the target UGC to other terminals. Then the corresponding time range can be determined according to the push time. If the current time is within the corresponding time range, the target UGC may not be pushed. If the current time is not within the corresponding time range, the target UGC may be pushed to the first terminal. Among them, the time range can be pre-set by a technician. For example, it can be a time range corresponding to a preset time length before the current time point. The preset time length can be consistent with the preset time length in the above situation three. The specific time length value can be set by a technician and is not limited here.
[0102] After receiving the UGC acquisition request sent by the first terminal, the present application can obtain the first portrait of the account corresponding to the first terminal, determine the second portrait of the publishing account corresponding to the UGC to be pushed to the first terminal based on the first portrait, and then determine the UGC corresponding to the corresponding portrait and the second portrait in the publishing account corresponding to the UGC to be pushed, and push it to the first terminal. It can be seen that when using the present application to push UGC to the terminal, the portrait corresponding to the account requesting UGC and the portraits of the accounts corresponding to each UGC can be referred to, which can increase the probability of users being interested in the pushed UGC to a certain extent, and can increase the number of views of the UGC pushed to the terminal.
[0103] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present disclosure, and will not be described in detail here.
[0104] Figure 3 A device for pushing UGC provided in an embodiment of the present application may be a server in the above embodiment, and the device includes:
[0105] The receiving module 310 is configured to receive a request for obtaining user-generated content (UGC) sent by a first terminal, wherein the request carries a first account identifier of a first account logged in by the first terminal;
[0106] An acquisition module 320, configured to acquire a first profile of the first account based on the first account identifier;
[0107] A determination module 330 is used to determine, based on the first portrait, a second portrait of a publishing account corresponding to the UGC to be pushed to the first terminal, and determine, among multiple UGCs to be pushed, a target UGC published by the account corresponding to the second portrait;
[0108] The push module 340 is configured to push the target UGC to the first terminal.
[0109] Optionally, the receiving module 310 is further used for:
[0110] A publishing request of a target UGC sent by the second terminal is received, the target UGC is added to the multiple UGCs to be pushed, and consumption information of the target UGC is recorded, wherein the consumption information of the target UGC includes the number of consumptions, the number of completed consumptions, and the upper limit of the number of consumptions.
[0111] Optionally, the receiving module 310 is further used for:
[0112] receiving a target UGC operation notification sent by the first terminal, wherein the target UGC operation notification is triggered and sent after the first terminal performs a consumption operation on the target UGC;
[0113] Add one to the consumption count corresponding to the target UGC to obtain an updated consumption count;
[0114] If the updated consumption times is greater than or equal to the upper limit of the consumption times corresponding to the target UGC, the target UGC is deleted from the multiple UGCs to be pushed.
[0115] Optionally, the receiving module 310 is further used for:
[0116] receiving a target UGC operation completion notification sent by the first terminal, wherein the target UGC operation completion notification is triggered and sent after the first terminal completes the target UGC consumption operation;
[0117] Add one to the number of completed consumptions corresponding to the target UGC to obtain an updated number of completed consumptions;
[0118] If the ratio of the updated consumption completion times to the consumption times corresponding to the target UGC exceeds a preset threshold, the consumption upper limit times corresponding to the target UGC is increased by a preset value to obtain an updated consumption upper limit times.
[0119] Optionally, the determining module 330 is used to:
[0120] Among the multiple UGCs to be pushed, determine the target UGC corresponding to the number of consumption completions, and / or the number of consumptions is 0 and is released by the account corresponding to the second portrait.
[0121] Optionally, the push module 340 is used to:
[0122] The push time of the target UGC to other terminals except the first terminal is acquired, and if the push time is not within a time range corresponding to the current time, the target UGC is pushed to the first terminal.
[0123] It should be noted that: the device for pushing UGC provided in the above embodiment only uses the division of the above functional modules as an example when pushing UGC. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the device for pushing UGC provided in the above embodiment and the method embodiment for pushing UGC belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0124] Figure 4 4 is a schematic diagram of the structure of a server provided in an embodiment of the present application. The server 400 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPUs) 401 and one or more memories 402, wherein the memory 402 stores at least one instruction, and the at least one instruction is loaded and executed by the processor 401 to implement the methods provided in the above-mentioned various method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output, and the server may also include other components for implementing device functions, which will not be described in detail here.
[0125] In an exemplary embodiment, a computer-readable storage medium is also provided, such as a memory including instructions, and the instructions can be executed by a processor in a terminal to complete the method of pushing UGC in the above embodiment. The computer-readable storage medium can be non-transitory. For example, the computer-readable storage medium can be a ROM (read-only memory), a RAM (random access memory), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0126] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0127] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A method for pushing UGC, characterized in that: The method comprises: Receiving a request for obtaining user-generated content (UGC) sent by a first terminal, wherein the request carries a first account identifier of a first account logged in by the first terminal; Acquire a first profile of the first account based on the first account identifier; Determine, based on the first portrait, a second portrait of a publishing account corresponding to the UGC to be pushed to the first terminal; receiving a publishing request of a target UGC sent by the second terminal, adding the target UGC to multiple UGCs to be pushed, and recording consumption information of the target UGC, wherein the consumption information of the target UGC includes the number of consumptions, the number of completed consumptions, and the upper limit of the number of consumptions; Determine, among multiple UGCs to be pushed, target UGCs posted by the account corresponding to the second portrait; Push the target UGC to the first terminal.
2. The method according to claim 1, characterized in that After pushing the target UGC to the first terminal, the method further includes: receiving a target UGC operation notification sent by the first terminal, wherein the target UGC operation notification is triggered and sent after the first terminal performs a consumption operation on the target UGC; Add one to the consumption count corresponding to the target UGC to obtain an updated consumption count; If the updated consumption times is greater than or equal to the upper limit of the consumption times corresponding to the target UGC, the target UGC is deleted from the multiple UGCs to be pushed.
3. The method according to claim 1, characterized in that After pushing the target UGC to the first terminal, the method further includes: receiving a target UGC operation completion notification sent by the first terminal, wherein the target UGC operation completion notification is triggered and sent after the first terminal completes the target UGC consumption operation; Add one to the number of completed consumptions corresponding to the target UGC to obtain an updated number of completed consumptions; If the ratio of the updated consumption completion times to the consumption times corresponding to the target UGC exceeds a preset threshold, the consumption upper limit times corresponding to the target UGC is increased by a preset value to obtain an updated consumption upper limit times.
4. The method according to claim 1, characterized in that: The determining, among the multiple UGCs to be pushed, the target UGC posted by the account corresponding to the second portrait comprises: Among the multiple UGCs to be pushed, determine the target UGC corresponding to the number of consumption completions, and / or the number of consumptions is 0 and is released by the account corresponding to the second portrait.
5. The method according to claim 1, characterized in that The pushing the target UGC to the first terminal includes: The push time of the target UGC to other terminals except the first terminal is acquired, and if the push time is not within a time range corresponding to the current time, the target UGC is pushed to the first terminal.
6. A device for pushing UGC, characterized in that: The device comprises: A receiving module, configured to receive a request for obtaining user-generated content (UGC) sent by a first terminal, wherein the request carries a first account identifier of a first account logged in by the first terminal; An acquisition module, configured to acquire a first profile of the first account based on the first account identifier; a determination module, configured to determine, based on the first portrait, a second portrait of a publishing account corresponding to the UGC to be pushed to the first terminal; The receiving module is used to receive a publishing request of a target UGC sent by the second terminal, add the target UGC to multiple UGCs to be pushed, and record consumption information of the target UGC, wherein the consumption information of the target UGC includes the number of consumptions, the number of completed consumptions, and the upper limit of the number of consumptions; A determination module, used to determine, among multiple UGCs to be pushed, a target UGC published by an account corresponding to the second portrait; A push module is used to push the target UGC to the first terminal.
7. The device according to claim 6, characterized in that The receiving module is further used for: receiving a target UGC operation notification sent by the first terminal, wherein the target UGC operation notification is triggered and sent after the first terminal performs a consumption operation on the target UGC; Add one to the consumption count corresponding to the target UGC to obtain an updated consumption count; If the updated consumption times is greater than or equal to the upper limit of the consumption times corresponding to the target UGC, the target UGC is deleted from the multiple UGCs to be pushed.
8. The device according to claim 6, characterized in that The receiving module is further used for: receiving a target UGC operation completion notification sent by the first terminal, wherein the target UGC operation completion notification is triggered and sent after the first terminal completes the target UGC consumption operation; Add one to the number of completed consumptions corresponding to the target UGC to obtain an updated number of completed consumptions; If the ratio of the updated consumption completion times to the consumption times corresponding to the target UGC exceeds a preset threshold, the consumption upper limit times corresponding to the target UGC is increased by a preset value to obtain an updated consumption upper limit times.
9. The device according to claim 6, characterized in that The determining module is used to: Among the multiple UGCs to be pushed, determine the target UGC corresponding to the number of consumption completions, and / or the number of consumptions is 0 and is released by the account corresponding to the second portrait.
10. The device according to claim 6, characterized in that The push module is used for: The push time of the target UGC to other terminals except the first terminal is obtained, and if the push time is not within a time range corresponding to the current time, the target UGC is pushed to the first terminal.
11. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the operation performed by the method for pushing UGC according to any one of claims 1 to 5.
12. A computer-readable storage medium, characterized in that: The storage medium stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the operation performed by the method for pushing UGC according to any one of claims 1 to 5.
