WO2018176855A1 - 首页推荐处理方法及装置、服务器及存储介质 - Google Patents

首页推荐处理方法及装置、服务器及存储介质 Download PDF

Info

Publication number
WO2018176855A1
WO2018176855A1 PCT/CN2017/111304 CN2017111304W WO2018176855A1 WO 2018176855 A1 WO2018176855 A1 WO 2018176855A1 CN 2017111304 W CN2017111304 W CN 2017111304W WO 2018176855 A1 WO2018176855 A1 WO 2018176855A1
Authority
WO
WIPO (PCT)
Prior art keywords
room
identifier
recommendation
recommendation list
live broadcast
Prior art date
Application number
PCT/CN2017/111304
Other languages
English (en)
French (fr)
Inventor
姚金明
郝梦茹
费强
吴伟
Original Assignee
武汉斗鱼网络科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 武汉斗鱼网络科技有限公司 filed Critical 武汉斗鱼网络科技有限公司
Publication of WO2018176855A1 publication Critical patent/WO2018176855A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26258Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for generating a list of items to be played back in a given order, e.g. playlist, or scheduling item distribution according to such list
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • H04N21/4826End-user interface for program selection using recommendation lists, e.g. of programs or channels sorted out according to their score

Definitions

  • the present invention relates to the field of the Internet, and in particular to a home page recommendation processing method and apparatus, a server, and a storage medium.
  • the embodiment of the present invention provides a method and device for processing a home page recommendation, a server, and a storage medium, and performs a home page recommendation in a live room in the first recommendation list, and sets a second recommendation list in the first recommendation list.
  • the room identifier of the live broadcast room reaches a preset number
  • the room identifier of the live broadcast room in the homepage recommendation request is stored to the second recommendation list to improve the above problem.
  • the embodiment of the present invention provides a method for processing a home page recommendation.
  • the method includes: receiving a homepage recommendation request, where the homepage recommendation request includes a recommended room identifier of the live broadcast room; and determining whether the number of room identifiers in the first recommendation list is The preset number is reached; if the number of room identifiers in the first recommendation list reaches a preset number, the room identifier in the first page recommendation request is stored in the second recommendation list.
  • the embodiment of the present invention further provides a homepage recommendation processing device, where the device includes: a receiving module, configured to receive a homepage recommendation request, where the homepage recommendation request includes a recommended room identifier of the live broadcast room; and the quantity determining module uses The device is configured to determine whether the number of room identifiers in the first recommendation list reaches a preset number; and the storage module is configured to store the room identifier in the first page recommendation request to the second recommendation if the number of room identifiers in the first recommendation list reaches a preset number List.
  • the home page recommendation processing method and device, server and storage medium provided by the embodiments of the present invention are received After the home recommendation request, it is determined whether the room identifier in the live broadcast room in the first recommendation list reaches a preset number, and if yes, the room identifier in the home page recommendation request is stored in the second recommendation list, and the number of recommended live rooms is improved. limit.
  • an embodiment of the present invention further provides a server, where the server includes:
  • the home recommendation processing device is installed in the memory and includes one or more software function modules executed by the processor, and the home page recommendation processing device includes:
  • a receiving module configured to receive a homepage recommendation request, where the homepage recommendation request includes a recommended room identifier of the live broadcast room;
  • a quantity determining module configured to determine whether the number of room identifiers in the first recommendation list reaches a preset number
  • the storage module is configured to store the room identifier in the first page recommendation request to the second recommendation list if the number of room identifiers in the first recommendation list reaches a preset number.
  • the embodiment of the present invention further provides a storage medium, where the computer instruction is stored in the storage medium, wherein the computer instruction executes the home page recommendation processing method as described above when being read and executed.
  • FIG. 1 is a schematic diagram of a server interacting with a local terminal according to a preferred embodiment of the present invention
  • FIG. 2 is a structural block diagram of a server according to a preferred embodiment of the present invention.
  • FIG. 3 is a flowchart of a home page recommendation processing method according to a first embodiment of the present invention
  • FIG. 4 is a flow chart showing another method of the home page recommendation processing method provided by the first embodiment of the present invention.
  • FIG. 5 is a flowchart showing a part of steps of a home page recommendation processing method according to a first embodiment of the present invention
  • FIG. 6 is a functional block diagram of a top page recommendation processing apparatus according to a second embodiment of the present invention.
  • FIG. 7 is a specific functional block diagram of a first implementation manner of a search module according to a second embodiment of the present invention.
  • FIG. 8 shows a second embodiment of a home page recommendation processing apparatus according to a second embodiment of the present invention. Functional block diagram.
  • FIG. 1 it is a schematic diagram of a server 100 interacting with a local terminal 200 according to a preferred embodiment of the present invention.
  • the server 100 is in communication with one or more local terminals 200 over a network for data communication or interaction.
  • the server 100 may be one or more servers, such as a web server (WebSserver), a user server, a web server, a database server, and the like. If the server 100 is a plurality of servers, the plurality of servers 100 can cooperate with each other to perform data interaction.
  • the local terminal 200 can be a personal computer (PC), a tablet computer, a smart phone, or the like.
  • the client is installed in the local terminal 200, and the client can be a browser, a live application, a player, an on-demand application, or the like.
  • FIG. 2 shows a block diagram of a structure of a server 100 that can be applied to an embodiment of the present invention.
  • server 100 includes a memory 102, a memory controller 104, one or more (only one of which is shown) processor 106, peripheral interface 108, radio frequency module 110, and the like. These components communicate with one another via one or more communication bus/signal lines 116.
  • the memory 102 can be used to store software programs and modules, such as the home page recommendation processing method and device, the server and the program instructions/modules corresponding to the storage medium in the embodiment of the present invention, and the processor 106 runs the software program and the module stored in the memory 102. In order to perform various function applications and data processing, such as the home page recommendation processing method provided by the embodiment of the present invention.
  • Memory 102 can include high speed random access memory and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. Access to the memory 102 by the processor 106 and other possible components can be performed under the control of the memory controller 104.
  • non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. Access to the memory 102 by the processor 106 and other possible components can be performed under the control of the memory controller 104.
  • Peripheral interface 108 is coupled to processor 106 and memory 102.
  • peripheral interface 108, processor 106, and memory controller 104 can be implemented in a single chip. In other instances, they can be implemented by separate chips.
  • the radio frequency module 110 is configured to receive and transmit electromagnetic waves, and realize mutual conversion between electromagnetic waves and electrical signals, thereby communicating with a communication network or other devices.
  • the structure shown in FIG. 2 is merely illustrative, and the server 100 may further include more or less components than those shown in FIG. 2 or have a different configuration than that shown in FIG. 2.
  • the components shown in Figure 2 can be implemented in hardware, software, or a combination thereof.
  • the homepage recommendation processing method and device, the server and the storage medium provided by the embodiments of the present invention are applied to the homepage recommendation in the live broadcast room.
  • the home page recommendation processing method and device, the server, and the storage medium are not used for performing the home page recommendation in a scenario where the user can recommend the home page of the video content, such as a player or an on-demand application.
  • the live broadcast room is mainly used as an example.
  • the homepage recommendation processing method and apparatus, server, and storage medium will be described in detail below by way of specific embodiments.
  • FIG. 3 shows a method for processing a home page recommendation according to a first embodiment of the present invention.
  • the method includes:
  • Step S110 Receive a homepage recommendation request, where the homepage recommendation request includes a recommended room identifier of the live broadcast room.
  • the server 100 initiates a home page recommendation request carrying the room identification of the live room.
  • the user can initiate the homepage recommendation request by entering the advertisement system through the first client.
  • the method for initiating the homepage recommendation request may be that the first client automatically sends the homepage recommendation request to the server 100 when the user fills in the recommended room identifier on the recommendation page.
  • the server 100 receives the home page recommendation request.
  • the method further includes: determining whether the room identifier in the first page recommendation request meets the preset recommendation condition. Specifically, it may be determined whether the live room corresponding to the room identifier is recommended by the second client, and the second client is a viewer client, such as a client used by the live viewer. In this embodiment, the determining process may be performed by the server 100 or by the first client, which is not limited in this embodiment. If the second client performs the judgment, the user who initiated the recommendation may determine the recommended room identifier of the live broadcast by operation, and determine according to the determined room identifier.
  • the method for determining whether the room identifier in the first page recommendation request meets the preset recommendation condition may be: determining whether the room identifier is in the first recommendation list, and the room identifier in the first recommendation list is in the second guest
  • the terminal performs the room identification of the live room recommended by the homepage to determine whether the live room corresponding to the room identifier is already being recommended by the homepage, thereby avoiding repeated recommendation.
  • determining whether the room identifier in the first page recommendation request meets the preset recommendation condition may further include: determining whether the live content of the live room corresponding to the room identifier is in violation, and if the live room has illegal content, The room identification of the live room does not meet the preset recommendation conditions.
  • determining whether the room identifier in the first page recommendation request satisfies the preset recommendation condition may further include: determining whether the popularity value of the live broadcast corresponding to the room identifier reaches a preset value, and if yes, satisfying the preset recommendation. Condition, if not, the preset recommendation condition is not met.
  • the heat value can be determined according to the number of viewers in the live broadcast room, and the more the number of people, the higher the heat.
  • the second client displays a prompt message, prompting the user that the live room cannot request the home page recommendation. If the room identifier in the home recommendation request satisfies the preset recommendation condition, the next recommendation processing operation may be performed.
  • Step S120 Determine whether the number of room identifiers in the first recommendation list reaches a preset number.
  • the preset number is the maximum number of room identifiers that can be stored in the first recommendation list, and is determined according to the performance of the second client, and may be an upper limit of the number of live rooms that the second client can recommend for the home page.
  • the determining process in this step may be performed by the server 100. If the server 100 executes the server 100, the server 100 obtains the number of room identifiers in the first recommendation list, and determines whether the number reaches the preset number. .
  • the determination process in this step can also be performed by the first client.
  • Step S130 If the number of room identifiers in the first recommendation list reaches a preset number, store the room identifier in the homepage recommendation request to the second recommendation list.
  • the server 100 adds the room identifier in the first page recommendation request to the second recommendation list, adding This can be done with the function code WebSlideshowServers.Cache.value(ROOMID).
  • the prompt information is returned, and the first client performs a prompt display, prompting that the second recommendation list that can only be added in the live broadcast waits for the recommendation.
  • the prompt information is displayed, the user may be prompted to perform the determination, and when receiving the determination information input by the user, the room identifier is stored in the second recommendation list.
  • an application flow for recommending the room identification in the homepage recommendation request may be generated, and the relevant management personnel may apply for approval.
  • the room identifier is added to the second recommendation list; otherwise, the home page recommendation is ended.
  • the method may further include generating an application process for approval, and then adding the approval to the first recommendation list.
  • the first client performs the A client receives a recommendation request generated by the user acting on the operation interface, and if it is determined that the recommended live broadcast meets the preset recommendation condition and the number of room identifiers in the first recommendation list reaches a preset number, the first client The recommendation request is sent to the server 100, and after receiving the recommendation request, the server 100 stores the room identifier in the recommendation request to the second recommendation list.
  • the method further includes:
  • Step S140 Search for the room identifier of the live broadcast room that is not broadcasted in the first recommendation list.
  • Step S150 Delete the room identifier of the un-launched live broadcast room from the first recommendation list.
  • the live broadcast room that is not broadcasted in the recommended live broadcast room on the second client's homepage is deleted from the home page.
  • the server 100 (such as a web server) can delete the room ID of the un-broadcast live room by deleting the room identifier of the un-broadcast live room from the first recommendation list.
  • the room identifier of the uncast broadcast live room in the first recommendation list may be searched according to a preset frequency.
  • the room identification of the live broadcast room is deleted from the first recommendation list.
  • the preset frequency may be found once every minute, which is not limited in this embodiment.
  • step S140 may include:
  • Step S141 Acquire an open state of a live broadcast corresponding to the room identifier in the first recommendation list.
  • Step S142 Add an opening identifier to the room identifier of the live broadcast room.
  • an open broadcast identifier is added to the live broadcast room in which the broadcast status is already started.
  • Step S143 Determine whether the number of the open broadcast identifiers is equal to the preset number.
  • determining whether the number of the open advertisement identifiers is equal to the preset number may be: directly acquiring the advertisement identifier corresponding to the room identifier in the first recommendation list, and determining whether the number of the advertisement broadcast identifiers is equal to the preset number.
  • the room identifier having the opening advertisement identifier in the first recommendation list may be obtained first, and then the number of the room identifiers having the advertisement broadcast identifier is determined to be equal to the preset number.
  • the array contains two columns of values, namely the room ID RoomID and the room start status start, and the opening advertisement identifier is added to the room identifier that has been launched.
  • Step S144 If the number of the open broadcast identifiers is not equal to the preset number, add an unadvertised identifier to the room identifier of the uncast broadcast live room.
  • the first recommendation list has an uncast broadcast room, and further, according to the broadcast status of the live broadcast in the first recommendation list, an unopened logo is added to the live broadcast room.
  • Step S145 Search for the room identifier corresponding to the unadvertised identifier.
  • the un-broadcast identifier is added to the un-broadcast live broadcast, the un-broadcast identifier is found, and the live broadcast room corresponding to the un-broadcast identifier is found, thereby obtaining the room identifier of the un-broadcast live broadcast room.
  • step S150 the room identifier corresponding to the unadvertised identifier is deleted from the first recommendation list, and the room identifier of the unopened live broadcast room is deleted from the first recommendation list, so that the second client is in the homepage.
  • the live broadcast room that has not been broadcasted in the recommendation is deleted.
  • the live broadcast rooms corresponding to the room identifiers in the first recommendation list are all in the broadcast state, and may not be deleted.
  • the unmarked identifier may be directly added to the live broadcast room that is not broadcasted, and the room identifier with the unadvertised identifier may be deleted.
  • the room identifier of the live broadcast room that is not broadcasted in the first recommendation list is obtained, and the broadcast status of the live broadcast room corresponding to the room identifier in the first recommendation list is obtained, and the live broadcast of the uncast broadcast is performed.
  • the room identifier of the room is added with the un-advertised identifier, so that the un-broadcast live broadcast room can be determined by the un-broadcast identifier.
  • the room identifier of the un-launched live broadcast room is deleted from the first recommendation list in step S150.
  • the room identifier corresponding to the unadvertised identifier is deleted from the first recommendation list, thereby deleting the room identifier of the live broadcast room that is not broadcasted in the first recommendation list.
  • the second recommendation may be The selected room identifier in the list is added to the first recommendation list, and the specific selected quantity may be less than or equal to the difference between the number of room identifiers in the first recommendation list and the preset number.
  • the number of selected room identifiers is equal to The difference between the number of room identifiers in the first recommendation list and the preset number.
  • the method may further include:
  • Step S160 Determine the number of deletions of the room identification deleted from the first recommendation list.
  • the determining time of the number of deletions is not limited in this embodiment, and may be that after deleting the room identifier of the uncast broadcast live room from the first recommendation list, it is determined that the number of deleted live rooms is the deleted quantity. .
  • the number of deletions of the room identifier deleted from the first recommendation list is determined by determining the number of uncast live broadcast rooms.
  • Step S170 Obtain, from the second recommendation list, a room identifier of the broadcasted live room that is equal to the deleted quantity.
  • Step S180 Store the room identifier of the opened live broadcast room obtained from the second recommendation list to the first recommendation list.
  • the room identifier is selected from the second recommendation list and added to the first recommendation list.
  • the selected room identifier is preferably the room identifier of the broadcasted live room.
  • the room identifiers of the live broadcast rooms in the second recommendation list are sorted from high to low according to the preset rule.
  • the room identifiers ranked higher according to the preset rules are added to the first recommendation list.
  • sorting the room identifiers in the second recommendation list according to the preset rule may be sorting according to the heat value between the live broadcasts from high to low. It may also be that the scores of the anchors in the live broadcast are sorted from high to low.
  • the score of the anchor may be obtained by scoring the corresponding scoring system according to the dressing situation of the anchor, the makeup makeup, the anchor expression, the creative of the live content, and the video quality.
  • the prompt information may be sent to the live room corresponding to the room identifier, for example, by using a bubble to remind the live room to enter the home page recommendation.
  • the user may also return a prompt message to the user who initiates the homepage recommendation request corresponding to the room identifier, and remind the user that the live room corresponding to the room identifier has entered the homepage recommendation, wherein the reminder may be an email reminder, or of course, other Reminder methods, such as bubble reminders, SMS reminders, etc.
  • the homepage recommendation processing method after receiving the homepage recommendation request, it is determined whether the room identifier in the live broadcast between the first recommendation list reaches a preset number, and if so, the homepage recommendation request is received.
  • the room identification is stored in the second recommendation list, which improves the number of restrictions on the recommendable live room.
  • the room identifier of the live broadcast room that is not broadcasted in the first recommendation list is deleted, and the room identifier of the broadcasted live broadcast room is selected from the second recommendation list and stored in the first recommendation list, thereby improving the resource utilization of the first recommendation list. Rate, which improves the utilization of the client's home page recommendation.
  • the device includes: a receiving module 210, configured to receive a homepage recommendation request, where the homepage recommendation request includes a recommended room identifier of the live broadcast room; and the quantity determining module 220 is configured to determine the first recommended list.
  • the storage module 230 is configured to store the room identifier in the homepage recommendation request to the second recommendation list if the number of room identifiers in the first recommendation list reaches a preset number.
  • the method may further include: a condition determining module, configured to determine whether the room identifier in the home page recommendation request meets a preset recommendation condition.
  • a condition determining module configured to determine whether the room identifier in the home page recommendation request meets a preset recommendation condition.
  • the quantity determining module 220 determines whether the number of room identifiers in the first recommendation list reaches a preset number.
  • the method before the storing the room identifier in the homepage recommendation request to the second recommendation list, the method further includes: prompting the user and obtaining the confirmation of the user. Therefore, the apparatus provided in this embodiment may further include The prompt information returning module 260 is configured to return the prompt information, and prompt the user to determine that the room identifier in the homepage recommendation request is to be stored in the second recommendation list; the storage module 230 is further configured to: if receiving the determination information, the homepage recommendation request The room ID in the store is stored in the second recommendation list.
  • the search module 240 is further configured to: The room identifier of the live broadcast room that is not broadcasted in the first recommendation list; the deletion module 250 is configured to delete the room identifier of the uncast broadcast live room from the first recommendation list.
  • the search module 240 may include: an information acquisition sub-module 310, configured to acquire an open broadcast status of a live broadcast corresponding to the room identifier in the first recommendation list; The sub-module 320 adds an announcement identifier to the room identifier of the live broadcast room.
  • the quantity determination module 220 is further configured to determine whether the number of the advertisement identifiers is equal to the preset number.
  • the information adding sub-module 320 is further used for The number of the open broadcast identifiers is not equal to the preset number, and the un-broadcast identifier is added to the room identifier of the uncast broadcast live room; the identifier search sub-module 330 is configured to search for the room identifier corresponding to the un-advertised identifier.
  • the deleting module 250 is configured to delete the room identifier corresponding to the unadvertised identifier from the first recommendation list.
  • the search module 240 may include an information acquisition sub-module 310, configured to acquire an open broadcast status of the live broadcast corresponding to the room identifier in the first recommendation list.
  • the information adding sub-module 320 is configured to add an un-advertised identifier to the room identifier of the uncasted live broadcast room.
  • the deleting module 250 is configured to delete the room identifier corresponding to the un-advertised identifier from the first recommended list.
  • the room identifier of the uncast live broadcast room is from the first recommendation list. After the deletion, the vacancy occurs in the first recommendation list. Therefore, the device identifier may be added to the first recommendation list.
  • the apparatus provided in this embodiment may further include: a determining module 270, configured to determine from the first The number of deletions of the room identifiers that are deleted in the recommendation list; the information acquisition module 280 is configured to obtain, from the second recommendation list, a room identifier of the broadcasted live room that is equal to the number of deletions; the storage module 230 is further configured to The room identification of the opened live broadcast room obtained from the second recommendation list is stored to the first recommendation list.
  • the method may further include: a sorting module 290, configured to sort the room identifiers of the live broadcast rooms in the second recommendation list from high to low according to the preset rule.
  • the adding module obtains the sorted room identifier from the second recommendation list and stores it to the first recommendation list.
  • the search module 240 and the deletion module 250 may be executed according to a preset frequency.
  • each block of the flowchart or block diagram can represent a module, a program segment, or a portion of code that includes one or more of the Executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may also occur in a different order than those illustrated in the drawings.
  • each block of the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts can be implemented in a dedicated hardware-based system that performs the specified function or function. Or it can be implemented by a combination of dedicated hardware and computer instructions.
  • each functional module in each embodiment of the present invention may be integrated to form a separate part, or each module may exist separately, or two or more modules may be integrated to form a separate part.
  • the functions, if implemented in the form of software functional modules and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may contribute to the prior art or part of the technical solution may be in the form of a software product.
  • the computer software product is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all of the methods described in various embodiments of the present invention or Part of the steps.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
  • the homepage recommendation processing method and device, the server and the storage medium provided by the embodiments of the present invention improve the resource utilization rate of the first recommendation list, thereby improving the utilization rate of the homepage recommendation of the client.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明提供了一种首页推荐处理方法及装置、服务器及存储介质,涉及互联网领域。所述方法包括:接收首页推荐请求,所述首页推荐请求中包括所推荐的直播间的房间标识;判断第一推荐列表中的房间标识数量是否达到预设数量;若所述第一推荐列表中的房间标识数量达到预设数量,将所述首页推荐请求中的房间标识存储至第二推荐列表。本方案中设置第二推荐列表,在第一推荐列表中房间标识数量达到预设数量的情况下,将首页推荐请求中的房间标识存储于第二推荐列表,改善了对可推荐直播间的数量限制。

Description

首页推荐处理方法及装置、服务器及存储介质
相关申请的交叉引用
本申请要求于2017年03月31日提交中国专利局的申请号为2017102112819、名称为“首页推荐处理方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及互联网领域,具体而言,涉及一种首页推荐处理方法及装置、服务器及存储介质。
背景技术
随着直播行业的快速发展,直播分类越来越多,直播的内容同时也海量的在增加中。针对这种情况,增加了推荐列表,将优质内容的直播间,添加至推荐列表中,该推荐列表中的直播间在客户端进行首页推荐。但是,由于受客户端性能限制,推荐列表中的直播间具有数量限制,从而限制了可推荐直播间的数量。
发明内容
有鉴于此,本发明实施例提供了一种首页推荐处理方法及装置、服务器及存储介质,将第一推荐列表中的直播间进行首页推荐,同时设置第二推荐列表,在第一推荐列表内直播间的房间标识达到预设数量时,将首页推荐请求中的直播间的房间标识存储至第二推荐列表,以改善上述问题。
为了实现上述目的,本发明采用的技术方案如下:
第一方面,本发明实施例提供了一种首页推荐处理方法,方法包括:接收首页推荐请求,首页推荐请求中包括所推荐的直播间的房间标识;判断第一推荐列表中的房间标识数量是否达到预设数量;若第一推荐列表中的房间标识数量达到预设数量,将首页推荐请求中的房间标识存储至第二推荐列表。
第二方面,本发明实施例还提供了一种首页推荐处理装置,装置包括:接收模块,用于接收首页推荐请求,首页推荐请求中包括所推荐的直播间的房间标识;数量判断模块,用于判断第一推荐列表中的房间标识数量是否达到预设数量;存储模块,用于若第一推荐列表中的房间标识数量达到预设数量,将首页推荐请求中的房间标识存储至第二推荐列表。
本发明实施例提供的首页推荐处理方法及装置、服务器及存储介质,在接收到 首页推荐请求后,判断第一推荐列表中直播间的房间标识是否达到预设数量,若是,则将该首页推荐请求中的房间标识存储至第二推荐列表,改善了对可推荐直播间的数量限制。
第三方面,本发明实施例还提供了一种服务器,服务器包括:
存储器;
处理器;及
首页推荐处理装置,装置安装于存储器中并包括一个或多个由处理器执行的软件功能模块,首页推荐处理装置包括:
接收模块,用于接收首页推荐请求,首页推荐请求中包括所推荐的直播间的房间标识;
数量判断模块,用于判断第一推荐列表中的房间标识数量是否达到预设数量;
存储模块,用于若第一推荐列表中的房间标识数量达到预设数量,将首页推荐请求中的房间标识存储至第二推荐列表。
第四方面,本发明实施例还提供了一种存储介质,存储介质中存储有计算机指令,其中,计算机指令在被读取并运行时执行如上述的首页推荐处理方法。
为使本发明的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下
附图说明
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
图1为本发明较佳实施例提供的服务器与本地终端进行交互的示意图;
图2为本发明较佳实施例提供的服务器的结构框图;
图3示出了本发明第一实施例提供的首页推荐处理方法的一种流程图;
图4示出了本发明第一实施例提供的首页推荐处理方法的另一种流程图;
图5示出了本发明第一实施例提供的首页推荐处理方法的部分步骤的流程图;
图6示出了本发明第二实施例提供的首页推荐处理装置的功能模块图。
图7示出了本发明第二实施例提供的查找模块的第一种实施方式的具体功能模块图;
图8示出了本发明第二实施例提供的首页推荐处理装置的第二种实施方式的 功能模块图。
具体实施方式
下面将结合本发明实施例中附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本发明实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本发明的实施例的详细描述并非旨在限制要求保护的本发明的范围,而是仅仅表示本发明的选定实施例。基于本发明的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。同时,在本发明的描述中,术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对重要性。
如图1所示,是本发明较佳实施例提供的服务器100与本地终端200进行交互的示意图。所述服务器100通过网络与一个或多个本地终端200进行通信连接,以进行数据通信或交互。所述服务器100可以为一个或多个服务器,如web服务器(WebSserver)、用户服务器、网络服务器、数据库服务器等。若服务器100为多个服务器,该多个服务器100之间可以相互配合,进行数据交互。所述本地终端200可以是个人电脑(personal computer,PC)、平板电脑、智能手机等。并且,本地终端200中安装有客户端,该客户端为可以为浏览器、直播应用程序、播放器、点播应用程序或者其他。
图2示出了一种可应用于本发明实施例中的服务器100的结构框图。如图2所示,服务器100包括存储器102、存储控制器104,一个或多个(图中仅示出一个)处理器106、外设接口108、射频模块110等。这些组件通过一条或多条通信总线/信号线116相互通信。
存储器102可用于存储软件程序以及模块,如本发明实施例中的首页推荐处理方法及装置、服务器及存储介质对应的程序指令/模块,处理器106通过运行存储在存储器102内的软件程序以及模块,从而执行各种功能应用以及数据处理,如本发明实施例提供的首页推荐处理方法。
存储器102可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。处理器106以及其他可能的组件对存储器102的访问可在存储控制器104的控制下进行。
外设接口108连接处理器106以及存储器102。在一些实施例中,外设接口108、处理器106以及存储控制器104可以在单个芯片中实现。在其他一些实例中,他们可以分别由独立的芯片实现。
射频模块110用于接收以及发送电磁波,实现电磁波与电信号的相互转换,从而与通信网络或者其他设备进行通信。
可以理解,图2所示的结构仅为示意,服务器100还可包括比图2中所示更多或者更少的组件,或者具有与图2所示不同的配置。图2中所示的各组件可以采用硬件、软件或其组合实现。
本发明实施例提供的首页推荐处理方法及装置、服务器及存储介质,应用于在直播间的首页推荐。当然,本发明实施例中也不排除该首页推荐处理方法及装置、服务器及存储介质用于在播放器、点播应用程序等可进行视频内容的首页推荐的场景下进行首页推荐,本发明实施例主要以直播间为例进行说明。下面将通过具体实施例对该首页推荐处理方法及装置、服务器及存储介质进行详细说明。
第一实施例
图3示出了本发明第一实施例提供的首页推荐处理方法,请参见图1,该方法包括:
步骤S110:接收首页推荐请求,所述首页推荐请求中包括所推荐的直播间的房间标识。
具有推荐权限的用户登录第一客户端,当确定需要进行首页推荐的直播间后,向服务器100发起携带有该直播间房间标识的首页推荐请求。其中,用户可以通过第一客户端进入广告***发起该首页推荐请求。另外,发起首页推荐请求的方式也可以是,当用户在推荐页面填写完所要推荐的房间标识时,第一客户端自动将该首页推荐请求发送到服务器100。
对应的,服务器100接收该首页推荐请求。
进一步的,在本实施例中,还包括,判断首页推荐请求中的房间标识是否满足预设推荐条件。具体的,可以是,判断该房间标识对应的直播间是否在第二客户端进行首页推荐,该第二客户端为观众客户端,如直播观众所使用的客户端。在本实施例中,该判断过程可以由服务器100执行,也可以由第一客户端执行,在本实施例中并不限制。若在第二客户端进行判断,可以在发起推荐的用户通过操作确定所推荐的直播间的房间标识时,根据该确定的房间标识进行判断。
其中,判断首页推荐请求中的房间标识是否满足预设推荐条件的方式可以是,判断该房间标识是否在第一推荐列表中,该第一推荐列表中的房间标识为在第二客 户端进行首页推荐的直播间的房间标识,以判断该房间标识对应的直播间是否已经在进行首页推荐,从而避免重复推荐。具体的,可以通过函数代码Legitimate Lroom=new WebSlideshowServers.Content.list(ROOMID)实现,其中,ROOMID表示直播间房间标识。如果首页推荐请求中的房间标识不在第一推荐列表中,对应的函数代码满足if(Lroom="null"),该房间标识满足预设推荐条件。如果首页推荐请求中的房间标识在第一推荐列表中,则该房间标识不满足预设推荐条件。
另外,还可以进一步判断首页推荐请求中的房间标识是否在第二推荐列表中,若是,则判定该房间标识不满足预设推荐条件,若否,该房间标识满足预设推荐条件。
另外,在本实施例中,判断首页推荐请求中的房间标识是否满足预设推荐条件还可以包括,判断该房间标识对应的直播间的直播内容是否违规,若直播间中具有违规内容,则该直播间的房间标识不满足预设推荐条件。
另外,在本实施例中,判断首页推荐请求中的房间标识是否满足预设推荐条件也可以包括,判断该房间标识对应的直播间的热度值是否达到预设值,若是,则满足预设推荐条件,若否,则不满足预设推荐条件。其中,该热度值可以根据直播间内观众人数确定,人数越多,热度越高。
进一步的,在本实施例中,当首页推荐请求中的房间标识不满足预设推荐条件时,在第二客户端显示提示信息,提示用户该直播间不能请求首页推荐。若首页推荐请求中的房间标识满足预设推荐条件,则可以进行下一步推荐处理操作。
步骤S120:判断第一推荐列表中的房间标识数量是否达到预设数量。
该预设数量为所述第一推荐列表中可存储房间标识的最大数量,根据第二客户端的性能确定,可以为第二客户端可以进行首页推荐的直播间的数量的上限。
在本实施例中,本步骤中的判断过程可以由服务器100执行,若有服务器100执行,则服务器100获取到第一推荐列表中房间标识的数量后,对该数量是否达到预设数量进行判断。
当然,本步骤中的判断过程也可以由第一客户端执行。若由第一客户端执行,则执行方式可以是,第一客户端通过对服务器100(如web服务器)的接口进行访问,获取第一推荐列表中直播间的房间标识的数据量,其中,该访问可以通过函数代码Slideshow showmax=WebSlideshowServers.Content.Number();实现。再判断第一推荐列表中直播间房间标识的数量是否达到预设数量,例如,预设数量为99,对第一推荐列表中的房间标识的数量进行判断的函数代码可以为if(showmax!=99)。
步骤S130:若所述第一推荐列表中的房间标识数量达到预设数量,将所述首页推荐请求中的房间标识存储至第二推荐列表。
当判断结果为第一推荐列表中房间标识的数量达到了预设数量,则说明第一推荐列表中不能再添加房间标识,服务器100将首页推荐请求中的房间标识添加至第二推荐列表,添加可以通过函数代码WebSlideshowServers.Cache.value(ROOMID)实现。
进一步的,当判断结果为第一推荐列表中房间标识的数量达到了预设数量,返回提示信息,在第一客户端进行提示显示,提示该直播间只能添加的第二推荐列表等待推荐。并且,在显示提示信息时,还可以提示用户进行确定,在接收用户输入的确定信息时,再将该房间标识存储至第二推荐列表。
另外,进一步的,在接收到用户的确认信息后,还可以生成将首页推荐请求中的房间标识进行首页推荐的申请流程,由相关管理人员进行申请审批。当审批通过后,则将该房间标识添加至第二推荐列表,否则,结束本次首页推荐。其中,函数代码中,判断审批是否通过,可以在通过时对代表状态的变量start赋值为“已处理”,则当满足if(start!="已处理"),审批未通过,若start的值等于“已处理”,则审批通过。
另外,当判断结果为第一推荐列表中房间标识的数量未达到预设数量,则直接将该首页推荐请求中的房间标识添加到第一推荐列表。进一步的,在将房间标识添加到第一推荐列表之前,还可以包括生成申请流程进行审批,审批通过后再加入到第一推荐列表。
在本实施例中,若判断用户所推荐的直播间的房间标识是否满足预设推荐条件以及判断第一推荐列表中的房间标识数量是否达到预设数量由第一客户端执行,则可以是第一客户端接收到用户作用于操作界面产生的推荐请求,在判定被推荐的直播间满足预设推荐条件且第一推荐列表中的房间标识数量达到预设数量的情况下,第一客户端再向服务器100发送推荐请求,服务器100接收到该推荐请求后,将推荐请求中的房间标识存储至第二推荐列表。
由于第一推荐列表中可存储房间标识的数量具有一定限制,而第一推荐列表中房间标识对应的直播间中,可能有些直播间并未开播,却占用了第二客户端的首页推荐资源,因此,进一步的,如图4所示,在本实施例中,还包括:
步骤S140:查找所述第一推荐列表中未开播的直播间的房间标识。
步骤S150:将所述未开播的直播间的房间标识从所述第一推荐列表中删除。
将在第二客户端的首页进行推荐的直播间中未开播的直播间从首页删除,其 中,服务器100(如web服务器)可以通过从第一推荐列表中将未开播的直播间的房间标识进行删除,实现删除首页推荐中未开播的直播间。
进一步的,由于在第二客户端首页进行推荐的直播间的开播状态可能实时变化,因此,可以按照预设频率查找所述第一推荐列表中未开播的直播间的房间标识,将所述未开播的直播间的房间标识从所述第一推荐列表中删除。其中,该预设频率可以是每分钟查找一次,在本实施例中并不限定。
进一步的,在本实施例中,可以是先判断第一推荐列表中开播的直播间的数量是否等于预设数量,若否,表示第一推荐列表中存在未开播的直播间,则再查找第一推荐列表中未开播的直播间,对未开播的直播间的房间标识从第一推荐列表中进行删除。具体的,可以通过添加开播标识以及未开播标识对直播间的开播状态进行区分,如图5所示,步骤S140可以包括:
步骤S141:获取所述第一推荐列表中房间标识对应的直播间的开播状态。
步骤S142:对开播的直播间的房间标识添加开播标识。
根据第一推荐列表中直播间的开播状态,对其中开播状态为已开播的直播间添加开播标识。
步骤S143:判断所述开播标识的数量是否等于所述预设数量。
具体的,判断所述开播标识的数量是否等于所述预设数量可以是,直接获取第一推荐列表转中房间标识对应的开播标识,再判断开播标识的数量是否等于预设数量。
另外,也可以是,先获取第一推荐列表中具有开播标识的房间标识,再判断具有开播标识的房间标识的数量是否等于预设数量。
本步骤中,具体的实现方式可以是,首先遍历第一推荐列表中房间标识对应的直播间的开播状态,StartRoom Sroom=new WebRoomServers.List.State(RoomID,Start),将查询的结果封装在一个数组中,数组中包含两列值,分别为房间标识RoomID以及房间开播状态start,并给其中已开播的房间标识增加开播标识。具体的,首先获取数据中start等于开播的房间标识,可以通过函数代码“BeginShow OpneRoomId=new Sroom.start="开播";”将所有开播的记录单独存储在OpneRoomId参数中,并将遍历结果作为参数进行返回,函数代码可以为“return ErgodicRoomStart(OpneRoomId);”。再判断返回的参数是否等于预设数量,例如,预设数量为99,则判断时可以通过函数代码if(OpneRoomId=99)实现。
步骤S144:若所述开播标识的数量不等于所述预设数量,对未开播的直播间的房间标识添加未开播标识。
若开播标识不等于预设数量,说明第一推荐列表中有未开播的直播间,进一步的根据第一推荐列表中直播间的开播状态,对其中未开播的直播间添加未开播标识。
步骤S145:查找所述未开播标识对应的房间标识。
在对未开播的直播间添加未开播标识后,通过查找未开播标识,查找到未开播标识对应的直播间,从而获得未开播直播间的房间标识。
具体的实现方式可以是,遍历第一推荐列表,将遍历的结果进行统计,如通过函数代码“BeginShow CloseRoomId=new Sroom.start="未开播";”查询出对应未开播的直播间。
则进一步的,在步骤S150中,将所述未开播标识对应的房间标识从第一推荐列表中删除,实现未开播直播间的房间标识从第一推荐列表删除,从而将第二客户端中首页推荐中未开播的直播间删除。具体的,对第一推荐列表进行未开播直播间的房间标识的删除时,可以通过调用删除程序“CloseShow EliminateRoomId=new WebRoomServers.Eliminate.Value(CloseRoomId)”,将未开播的直播间的ROOMID作为参数传递过来,实现对为开播的直播间进行剔除,WebRoomServers.Eliminate.Value(CloseRoomId)。
当然,若开播标识的数量等于预设数量,则此时第一推荐列表中的房间标识对应的直播间均为开播状态,可以不进行删除。
进一步的,在本实施例中,也可以是,通过直接对未开播的直播间添加未开播标识,再将具有未开播标识的房间标识删除。具体的,可以是,在步骤S140查找所述第一推荐列表中未开播的直播间的房间标识中,获取所述第一推荐列表中房间标识对应的直播间的开播状态,对未开播的直播间的房间标识添加未开播标识,因此可以通过未开播标识确定未开播的直播间;则步骤S150中将所述未开播的直播间的房间标识从所述第一推荐列表中删除包括:将所述未开播标识对应的房间标识从第一推荐列表中删除,从而删除第一推荐列表中未开播的直播间的房间标识。
当第一推荐列表中未开播的直播间的房间标识删除后,第一推荐列表中出现空缺,也就是说,第一推荐列表中房间标识不等于预设数量,此时,可以从第二推荐列表中选取房间标识添加至第一推荐列表,具体选取的数量可以是小于或等于第一推荐列表中房间标识的数量与预设数量的差值,当然,优选的,选取的房间标识的数量等于第一推荐列表中房间标识的数量与预设数量的差值。
因此,如图4所示,在本实施例中,还可以包括:
步骤S160:确定从所述第一推荐列表中删除的房间标识的删除数量。
统计第一推荐列表中删除的未开播直播间的房间标识的数量。当然,该删除数量的确定时间在本实施例中并不做限制,可以是将未开播的直播间的房间标识从所述第一推荐列表中删除后,确定删除的直播间的数量为删除数量。也可以是,在确定第一推荐列表的未开播的直播间后,通过确定未开播直播间的数量来确定从第一推荐列表中删除的房间标识的删除数量。
步骤S170:从所述第二推荐列表中获取数量等于所述删除数量的已开播的直播间的房间标识。
步骤S180:将从第二推荐列表中获取的已开播的直播间的房间标识存储至第一推荐列表。
再从第二推荐列表中选取房间标识添加至第一推荐列表,此时,选取的房间标识优选为已开播的直播间的房间标识。
另外,进一步的,在从第二推荐列表中选取房间标识添加至第一推荐列表之前,先根据预设规则对第二推荐列表中已开播的直播间的房间标识进行从高到低排序,以优先选取根据预设规则排序较高的房间标识添加至第一推荐列表。
具体的,根据预设规则对第二推荐列表中的房间标识进行排序可以是,根据直播间的热度值由高到低进行排序。也可以是,根据直播间内主播的得分由高到低进行排序。其中,主播的得分可以是相应的评分***根据主播的着装情况、主播妆容、主播表现力、直播内容的创意、视频质量等方面进行打分获得。
进一步的,当从第二推荐列表选取房间标识添加至第一推荐列表后,还可以向该房间标识对应的直播间发送提示信息,如通过气泡进行提醒,提示该直播间进入首页推荐。另外,还可以向发起该房间标识对应的首页推荐请求的用户返回提示信息,提醒用户该房间标识对应的直播间已进入首页推荐,其中,该提醒可以是通过邮件提醒,当然,也可以是其他提醒方式,如气泡提醒、短信提醒等。
综上所述,本实施例提供的首页推荐处理方法中,在接收到首页推荐请求后,判断第一推荐列表中直播间的房间标识是否达到预设数量,若是,则将该首页推荐请求中的房间标识存储至第二推荐列表,改善了对可推荐直播间的数量限制。另外,将第一推荐列表中未开播的直播间的房间标识删除,并从第二推荐列表中选取已开播的直播间的房间标识存储至第一推荐列表,提高了第一推荐列表的资源利用率,从而提高了客户端的首页推荐的利用率。
第二实施例
本实施例提供了一种首页推荐处理装置,需要说明的是,本实施例所提供的首页推荐处理装置,其基本原理及产生的技术效果和上述实施例相同,为简要描述, 本实施例部分未提及之处,可参考上述的实施例中相应内容。请参见图6,所述装置包括:接收模块210,用于接收首页推荐请求,所述首页推荐请求中包括所推荐的直播间的房间标识;数量判断模块220,用于判断第一推荐列表中的房间标识数量是否达到预设数量;存储模块230,用于若所述第一推荐列表中的房间标识数量达到预设数量,将所述首页推荐请求中的房间标识存储至第二推荐列表。
进一步的,在本实施例中,还可以包括条件判断模块,用于判断所述首页推荐请求中的房间标识是否满足预设推荐条件。当首页推荐请求中的房间标识满足预设推荐条件,数量判断模块220判断第一推荐列表中的房间标识数量是否达到预设数量。
另外,在本实施例中,在将所述首页推荐请求中的房间标识存储至第二推荐列表之前,还包括对用户进行提示以及获得用户的确认,因此,本实施例提供的装置还可以包括:提示信息返回模块260,用于返回提示信息,提示用户确定所述首页推荐请求中的房间标识将存储至第二推荐列表;存储模块230还用于若接收到确定信息将所述首页推荐请求中的房间标识存储至第二推荐列表。
进一步的,由于若第一推荐列表中有未开播的直播间的房间标识,则会占用相应客户端的首页推荐资源,因此,在本实施例中,还可以包括:查找模块240,用于查找所述第一推荐列表中未开播的直播间的房间标识;删除模块250,用于将所述未开播的直播间的房间标识从所述第一推荐列表中删除。
具体的,作为其中一种实施方式,如图7所示,查找模块240可以包括:信息获取子模块310,用于获取所述第一推荐列表中房间标识对应的直播间的开播状态;信息添加子模块320,对开播的直播间的房间标识添加开播标识;数量判断模块220还用于用于判断所述开播标识的数量是否等于所述预设数量;信息添加子模块320还用于若所述开播标识的数量不等于所述预设数量,对未开播的直播间的房间标识添加未开播标识;标识查找子模块330,用于查找所述未开播标识对应的房间标识。对应的,删除模块250用于将所述未开播标识对应的房间标识从第一推荐列表中删除。
另外,在本实施例中,作为其中另一种实施方式,也可以是,查找模块240包括信息获取子模块310,用于获取所述第一推荐列表中房间标识对应的直播间的开播状态;信息添加子模块320,用于对未开播的直播间的房间标识添加未开播标识;对应的,删除模块250用于将所述未开播标识对应的房间标识从第一推荐列表中删除。
进一步的,在本实施例中,将未开播的直播间的房间标识从所述第一推荐列表 中删除后,第一推荐列表中出现空缺,因此,可以向第一推荐列表中添加房间标识,具体的,本实施例提供的装置还可以包括:确定模块270,用于确定从所述第一推荐列表中删除的房间标识的删除数量;信息获取模块280,用于从所述第二推荐列表中获取数量等于所述删除数量的已开播的直播间的房间标识;存储模块230还用于将从第二推荐列表中获取的已开播的直播间的房间标识存储至第一推荐列表。
进一步的,本实施例中,还可以包括,排序模块290,用于根据预设规则对第二推荐列表中已开播的直播间的房间标识进行从高到低排序。添加模块从第二推荐列表中获取排序后的房间标识存储至第一推荐列表。
进一步的,由于直播间的开播状态处于动态变化中,因此,在本实施例中,查找模块240以及删除模块250可以是按照预设频率执行。
需要说明的是,本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可,同一个实施例中相同相似的部分也可互相参见。对于装置类实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,也可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,附图中的流程图和框图显示了根据本发明的多个实施例的装置、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现方式中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的***来实现,或者可以用专用硬件与计算机指令的组合来实现。
另外,在本发明各个实施例中的各功能模块可以集成在一起形成一个独立的部分,也可以是各个模块单独存在,也可以两个或两个以上模块集成形成一个独立的部分。
所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形 式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。
工业实用性
本发明实施例提供的首页推荐处理方法及装置、服务器及存储介质,提高了第一推荐列表的资源利用率,从而提高了客户端的首页推荐的利用率。

Claims (20)

  1. 一种首页推荐处理方法,其特征在于,所述方法包括:
    接收首页推荐请求,所述首页推荐请求中包括所推荐的直播间的房间标识;
    判断第一推荐列表中的房间标识数量是否达到预设数量;
    若所述第一推荐列表中的房间标识数量达到预设数量,将所述首页推荐请求中的房间标识存储至第二推荐列表。
  2. 根据权利要求1所述的方法,其特征在于,还包括:
    查找所述第一推荐列表中未开播的直播间的房间标识;
    将所述未开播的直播间的房间标识从所述第一推荐列表中删除。
  3. 根据权利要求2所述的方法,其特征在于,所述查找所述第一推荐列表中未开播的直播间的房间标识包括:
    获取所述第一推荐列表中房间标识对应的直播间的开播状态;
    对开播的直播间的房间标识添加开播标识;
    判断所述开播标识的数量是否等于所述预设数量;
    若所述开播标识的数量不等于所述预设数量,对未开播的直播间的房间标识添加未开播标识;
    查找所述未开播标识对应的房间标识;
    所述将所述未开播的直播间的房间标识从所述第一推荐列表中删除包括:
    将所述未开播标识对应的房间标识从第一推荐列表中删除。
  4. 根据权利要求2所述的方法,其特征在于,所述查找所述第一推荐列表中未开播的直播间的房间标识包括:
    获取所述第一推荐列表中房间标识对应的直播间的开播状态;
    对未开播的直播间的房间标识添加未开播标识;
    所述将所述未开播的直播间的房间标识从所述第一推荐列表中删除包括:
    将所述未开播标识对应的房间标识从第一推荐列表中删除。
  5. 根据权利要求2-4任一所述的方法,其特征在于,还包括:确定从所述第一推荐列表中删除的房间标识的删除数量;
    所述将所述未开播的直播间的房间标识从所述第一推荐列表中删除之后,还包括:
    从所述第二推荐列表中获取数量等于所述删除数量的已开播的直播间的房间标识;
    将从第二推荐列表中获取的已开播的直播间的房间标识存储至第一推荐列表。
  6. 根据权利要求5所述的方法,其特征在于,所述从所述第二推荐列表中获取数量等于所述删除数量的已开播的直播间的房间标识之前,还包括:
    根据预设规则对第二推荐列表中已开播的直播间的房间标识进行从高到低排序。
  7. 根据权利要求2-6任一所述的方法,其特征在于,按照预设频率执行查找所述第一推荐列表中未开播的直播间的房间标识、将所述未开播的直播间的房间标识从所述第一推荐列表中删除的步骤。
  8. 根据权利要求1-7任一所述的方法,其特征在于,所述将所述首页推荐请求中的房间标识存储至第二推荐列表之前,还包括:
    返回提示信息,提示用户确定所述首页推荐请求中的房间标识将存储至第二推荐列表;
    若接收到确定信息,将所述首页推荐请求中的房间标识存储至第二推荐列表。
  9. 根据权利要求1-8任一所述的方法,其特征在于,判断第一推荐列表中的房间标识数量是否达到预设数量之前,还包括:
    判断所述首页推荐请求中的房间标识是否满足预设推荐条件,若是,执行所述判断第一推荐列表中的房间标识数量是否达到预设数量的步骤。
  10. 一种首页推荐处理装置,其特征在于,所述装置包括:
    接收模块,配置成接收首页推荐请求,所述首页推荐请求中包括所推荐的直播间的房间标识;
    数量判断模块,配置成判断第一推荐列表中的房间标识数量是否达到预设数量;
    存储模块,配置成若所述第一推荐列表中的房间标识数量达到预设数量,将所述首页推荐请求中的房间标识存储至第二推荐列表。
  11. 根据权利要求10所述的装置,其特征在于,还包括:
    查找模块,配置成查找所述第一推荐列表中未开播的直播间的房间标识;
    删除模块,配置成将所述未开播的直播间的房间标识从所述第一推荐列表中删除。
  12. 根据权利要求11所述的装置,其特征在于,所述查找模块包括:
    信息获取子模块,配置成获取所述第一推荐列表中房间标识对应的直播间的开播状态;
    信息添加子模块,配置成对开播的直播间的房间标识添加开播标识;
    数量判断子模块,配置成判断所述开播标识的数量是否等于所述预设数量;
    所述信息添加子模块,还配置成若所述开播标识的数量不等于所述预设数量,对未开播的直播间的房间标识添加未开播标识;
    标识查找子模块,配置成查找所述未开播标识对应的房间标识;
    所述删除模块配置成将所述未开播标识对应的房间标识从第一推荐列表中删除。
  13. 根据权利要求11所述的装置,其特征在于,所述查找模块包括:
    信息获取子模块,配置成获取所述第一推荐列表中房间标识对应的直播间的开播状态;
    信息添加子模块,配置成对未开播的直播间的房间标识添加未开播标识;
    所述删除模块配置成将所述未开播标识对应的房间标识从第一推荐列表中删除。
  14. 根据权利要求11-13任一所述的装置,其特征在于,还包括:
    确定模块,配置成确定从所述第一推荐列表中删除的房间标识的删除数量;
    信息获取模块,配置成从所述第二推荐列表中获取数量等于所述删除数量的已开播的直播间的房间标识;
    所述存储模块还配置成将从第二推荐列表中获取的已开播的直播间的房间标识存储至第一推荐列表。
  15. 根据权利要求14所述的装置,其特征在于,还包括:
    排序模块,配置成根据预设规则对第二推荐列表中已开播的直播间的房间标识进行从高到低排序。
  16. 根据权利要求11-15任一所述的装置,其特征在于,所述查找模块配置成按照预设频率查找所述第一推荐列表中未开播的直播间的房间标识;
    所述删除模块配置成按照预设频率将所述未开播的直播间的房间标识从所述第一推荐列表中删除。
  17. 根据权利要求11-15任一所述的装置,其特征在于,还包括:
    提示信息返回模块,配置成返回提示信息,提示用户确定所述首页推荐请求中的房间标识将存储至第二推荐列表;
    所述存储模块配置成若接收到确定信息,将所述首页推荐请求中的房间标识存储至第二推荐列表。
  18. 根据权利要求10-17任一所述的装置,其特征在于,还包括:
    条件判断模块,配置成判断所述首页推荐请求中的房间标识是否满足预设推荐 条件;
    所述数量判断模块配置成若首页推荐请求中的房间标识不满足预设推荐条件,判断第一推荐列表中的房间标识数量是否达到预设数量。
  19. 一种服务器,其特征在于,所述服务器包括:
    存储器;
    处理器;及
    首页推荐处理装置,所述装置安装于所述存储器中并包括一个或多个由所述处理器执行的软件功能模块,所述首页推荐处理装置包括:
    接收模块,配置成接收首页推荐请求,所述首页推荐请求中包括所推荐的直播间的房间标识;
    数量判断模块,配置成判断第一推荐列表中的房间标识数量是否达到预设数量;
    存储模块,配置成若所述第一推荐列表中的房间标识数量达到预设数量,将所述首页推荐请求中的房间标识存储至第二推荐列表。
  20. 一种存储介质,其特征在于,所述存储介质中存储有计算机指令,其中,所述计算机指令在被读取并运行时执行如权利要求1-9中任一权项所述的首页推荐处理方法。
PCT/CN2017/111304 2017-03-31 2017-11-16 首页推荐处理方法及装置、服务器及存储介质 WO2018176855A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2017102112819 2017-03-31
CN201710211281.9A CN106982381B (zh) 2017-03-31 2017-03-31 首页推荐处理方法及装置

Publications (1)

Publication Number Publication Date
WO2018176855A1 true WO2018176855A1 (zh) 2018-10-04

Family

ID=59343683

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/111304 WO2018176855A1 (zh) 2017-03-31 2017-11-16 首页推荐处理方法及装置、服务器及存储介质

Country Status (2)

Country Link
CN (1) CN106982381B (zh)
WO (1) WO2018176855A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109547805A (zh) * 2018-10-17 2019-03-29 武汉斗鱼网络科技有限公司 一种切换语音直播间的方法、直播管理平台及可读存储介质
CN110602518A (zh) * 2019-09-18 2019-12-20 广州虎牙科技有限公司 直播推荐方法、装置、电子设备及可读存储介质

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106982381B (zh) * 2017-03-31 2021-02-02 武汉斗鱼网络科技有限公司 首页推荐处理方法及装置
CN107483984A (zh) * 2017-08-31 2017-12-15 武汉斗鱼网络科技有限公司 一种直播推送方法及直播服务平台
CN107635155B (zh) * 2017-09-20 2020-08-07 香港乐蜜有限公司 一种信息发送方法、装置、设备及存储介质
CN107948752B (zh) * 2017-11-14 2021-01-08 广州虎牙信息科技有限公司 订阅主播排序方法、装置和终端
CN108495195B (zh) * 2018-03-13 2021-06-15 武汉斗鱼网络科技有限公司 一种网络直播排行榜生成方法、装置、设备及存储介质
CN108900921A (zh) * 2018-07-20 2018-11-27 广州酷狗计算机科技有限公司 连麦直播方法、装置及存储介质
CN108924663B (zh) * 2018-07-31 2021-07-09 杭州网易云音乐科技有限公司 直播房间管理方法、装置、电子设备及存储介质
CN110536147B (zh) * 2019-08-21 2022-08-12 北京达佳互联信息技术有限公司 直播处理的方法、装置及***
CN113542788B (zh) * 2021-07-16 2023-10-17 北京达佳互联信息技术有限公司 直播数据的处理方法、装置、电子设备及存储介质

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100017821A1 (en) * 2008-07-21 2010-01-21 Leonov Andrei A Software based Internet/Television convergence methods and systems for organizing and displaying Internet media content on computers and Television sets
CN102843586A (zh) * 2011-06-21 2012-12-26 华为软件技术有限公司 视频推荐方法及终端
CN104168303A (zh) * 2013-05-17 2014-11-26 腾讯科技(深圳)有限公司 一种展示网络直播间的方法和装置
CN104486339A (zh) * 2014-12-16 2015-04-01 广州华多网络科技有限公司 社交应用中显示推荐数据的方法和装置
CN106021478A (zh) * 2016-05-19 2016-10-12 武汉斗鱼网络科技有限公司 一种直播网站优化显示首页直播间列表的方法和装置
CN106294800A (zh) * 2016-08-16 2017-01-04 武汉斗鱼网络科技有限公司 基于加权k近邻评分的直播间推荐方法及***
CN106488252A (zh) * 2016-11-03 2017-03-08 腾讯音乐娱乐(深圳)有限公司 一种直播间列表处理方法及装置
CN106982381A (zh) * 2017-03-31 2017-07-25 武汉斗鱼网络科技有限公司 首页推荐处理方法及装置

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9172915B2 (en) * 2004-08-04 2015-10-27 Dizpersion Corporation Method of operating a channel recommendation system
TWI513286B (zh) * 2012-08-28 2015-12-11 Ind Tech Res Inst 影片續播方法及系統
CN103458275A (zh) * 2013-09-02 2013-12-18 深圳市茁壮网络股份有限公司 实时交互的数字电视资讯推荐***及方法
US20150365725A1 (en) * 2014-06-11 2015-12-17 Rawllin International Inc. Extract partition segments of personalized video channel
CN104735478A (zh) * 2015-03-30 2015-06-24 天脉聚源(北京)传媒科技有限公司 一种节目列表的显示方法及装置
CN105025369B (zh) * 2015-06-30 2018-07-17 北京奇艺世纪科技有限公司 一种确定组合频道中推荐资源的方法及装置
CN106066863B (zh) * 2016-05-26 2020-02-07 武汉斗鱼网络科技有限公司 一种直播平台中直播房间的展示方法与装置
CN106303588A (zh) * 2016-08-22 2017-01-04 乐视控股(北京)有限公司 视频推荐方法、客户端以及服务器

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100017821A1 (en) * 2008-07-21 2010-01-21 Leonov Andrei A Software based Internet/Television convergence methods and systems for organizing and displaying Internet media content on computers and Television sets
CN102843586A (zh) * 2011-06-21 2012-12-26 华为软件技术有限公司 视频推荐方法及终端
CN104168303A (zh) * 2013-05-17 2014-11-26 腾讯科技(深圳)有限公司 一种展示网络直播间的方法和装置
CN104486339A (zh) * 2014-12-16 2015-04-01 广州华多网络科技有限公司 社交应用中显示推荐数据的方法和装置
CN106021478A (zh) * 2016-05-19 2016-10-12 武汉斗鱼网络科技有限公司 一种直播网站优化显示首页直播间列表的方法和装置
CN106294800A (zh) * 2016-08-16 2017-01-04 武汉斗鱼网络科技有限公司 基于加权k近邻评分的直播间推荐方法及***
CN106488252A (zh) * 2016-11-03 2017-03-08 腾讯音乐娱乐(深圳)有限公司 一种直播间列表处理方法及装置
CN106982381A (zh) * 2017-03-31 2017-07-25 武汉斗鱼网络科技有限公司 首页推荐处理方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109547805A (zh) * 2018-10-17 2019-03-29 武汉斗鱼网络科技有限公司 一种切换语音直播间的方法、直播管理平台及可读存储介质
CN110602518A (zh) * 2019-09-18 2019-12-20 广州虎牙科技有限公司 直播推荐方法、装置、电子设备及可读存储介质

Also Published As

Publication number Publication date
CN106982381A (zh) 2017-07-25
CN106982381B (zh) 2021-02-02

Similar Documents

Publication Publication Date Title
WO2018176855A1 (zh) 首页推荐处理方法及装置、服务器及存储介质
US11658979B2 (en) Systems and methods for efficient and secure temporary anonymous access to media content
JP7242750B2 (ja) メッセージングエージェントプラットフォームのための技術
US10834218B2 (en) Event information system classifying messages using machine learning classification model and pushing selected message to user
CN107844586B (zh) 新闻推荐方法和装置
CN105530175B (zh) 一种消息处理方法、装置及***
US10237299B2 (en) Browser extension for contemporaneous in-browser tagging and harvesting of internet content
WO2016202110A1 (zh) 一种弹幕信息处理方法、***及计算机存储介质
CN106993202B (zh) 首页推荐方法及装置
US9537809B2 (en) Method and system for graphic code processing
US20160352816A1 (en) Method and system for sharing data between social networking platforms
KR102110642B1 (ko) 패스워드 보호 질문 설정 방법 및 디바이스
WO2015024533A1 (zh) 信息搜索方法、装置和服务器以及存储介质
CN107527274B (zh) 信息推荐平台、装置、***、方法和终端
WO2016137785A1 (en) Obtaining search results
CN116467473A (zh) 使多个用户与媒体呈现设备相关联的方法、***和媒体
CN104462573A (zh) 一种视频搜索结果展示方法及装置
WO2017113840A1 (zh) 一种信息推荐方法及装置
CN113094521A (zh) 一种多媒体资源搜索方法、装置、***、设备及存储介质
WO2015117558A1 (en) Promotion method, apparatus, and system based on microblog message
CN104809120B (zh) 一种信息处理方法及装置
CN106487655B (zh) 一种消息交互方法、装置及处理服务器
CN103561063B (zh) 一种登录机顶盒的方法及终端
CN104536974B (zh) 在浏览器中搜索信息的方法和浏览器客户端
US20160210335A1 (en) Server and service searching method of the server

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17903626

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17903626

Country of ref document: EP

Kind code of ref document: A1