Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a method for generating a live list according to an embodiment of the present invention, where this embodiment is applicable to a situation where target data is determined according to a terminal identifier and a personalized live list is generated on a terminal side, and the method may be executed by a device for generating a live list according to an embodiment of the present invention, and specifically includes the following steps:
s110, a server receives a data request sent by a terminal, wherein the data request is generated when the terminal detects a trigger event of target live broadcast classification, and the data request comprises a terminal identifier and a target live broadcast classification identifier.
The terminal can be a mobile terminal including a mobile phone, a tablet computer and the like. The trigger event of the target live broadcast classification may be a page corresponding to the target live broadcast classification entered by a user through a touch click, a gesture, a voice, or the like, where the target live broadcast classification is a live broadcast classification selected by the user, for example, the target live broadcast classification may be a hero alliance or a stone legend in a live broadcast of a network competitive game, the target live broadcast classification may be an excitement battlefield or a glory of a queen player in a live broadcast of a hand game, and the target live broadcast classification may also be a live broadcast of a color value or a live broadcast. In this embodiment, when the user enters the selected live broadcast category in any manner, it is determined that a trigger event of the target live broadcast category exists. The terminal acquires a target live broadcast classification identifier corresponding to the target live broadcast classification and a terminal identifier of the terminal according to a trigger event of the target live broadcast classification, and generates a data request carrying the terminal identifier and the target live broadcast classification identifier. The data request is sent to a server. The target live broadcast classification identification can be a name of a target live broadcast classification, and can also be a character string which is formed by numbers and symbols and uniquely marks the target live broadcast classification; the terminal identification may be a terminal ID.
And the server receives a data request sent by the terminal and identifies a terminal identifier and a target live broadcast classification identifier in the data request.
And S120, the server determines target data according to the terminal identification and the target live broadcast classification identification.
The target data are used for being sent to the terminal and displaying data related to a terminal page, and the target data are determined according to the terminal identification and the target live broadcast classification identification. In this embodiment, the target data is not only related to the target live broadcast classification identifier, but also related to the terminal identifier of the terminal sending the data request, and the target data matched with the terminal identifier can be generated, so that different users can obtain different target data, formation of personalized data according to the terminal identifier is realized, and a personalized live broadcast page is further generated.
Optionally, the determining, by the server, the target data according to the terminal identifier and the target live broadcast classification identifier includes: the server determines candidate data according to the target live broadcast classification identification; the server determines a historical viewing record according to the terminal identifier and determines user preference according to the historical viewing record; and the server screens the target data in the candidate data according to the preference of the user.
Illustratively, if the target live broadcast classification identifier is a hero alliance in the sports game live broadcast, the server searches for related data according to the hero alliance identifier, and determines the acquired data as candidate data, where the candidate data may include, but is not limited to, live broadcast room information in which the hero alliance live broadcast is performed, anchor broadcast information of each live broadcast room, introduction information of each hero of the hero alliance, highlight video segments of the hero alliance live broadcast, dynamic information of hero alliance related activities, and the like.
The candidate data comprises at least one data module, the data module comprises corresponding module candidate data, and the data module comprises at least one of the following items: the system comprises a live broadcast classification description module, a main broadcast recommendation module, a platform dynamic module, a wonderful video recommendation module and a live broadcast room recommendation module. Since the candidate data determined according to the target live broadcast classification identifier includes multiple types, in this embodiment, the candidate data is modularized, and data of the same type is divided into the same data module. The live broadcast classification description module includes data describing a target live broadcast classification, for example, if the target live broadcast classification is hero alliance, the live broadcast classification description module may include an entire introduction of the hero alliance, or may include introduction information of different hero roles in the hero alliance. The anchor recommendation module comprises anchor information for live broadcast under the target live broadcast classification, wherein the anchor information comprises tags set by audiences to the anchor in historical live broadcast and anchor popularity. The platform dynamic module contains activity information related to the target live broadcast classification or dynamic information of the platform. The highlight video recommendation module comprises highlight live broadcast segments in a live broadcast room related to target live broadcast classification, wherein the highlight live broadcast segments can be determined according to marking information of live broadcast users or the number of watching people of live broadcast videos, and can also be determined according to anchor broadcast recommendation. The live room recommendation module includes live room information that is being live in relation to the target live category, where the live room information can be, but is not limited to, live content summarization and anchor information. It should be noted that each target live broadcast category may include all the data modules described above, and may also be determined according to data module information included in the data request. For example, the end user may operate on the data modules in the page according to the preference, such as deleting, moving, hiding, and changing the size of the display position. When the terminal detects a trigger event of target live broadcast classification, the terminal can acquire information of each data module in a previous history page and generate a data request according to the acquired information of the data module.
The server can determine the historical watching record of the terminal user according to the terminal identification, can determine the preference of the terminal user according to the historical watching record, and if the target live broadcast is classified as hero alliance, the user preference determined according to the terminal identification can be the preference of hero characters, the preference information of anchor broadcasts, the preference information of live broadcast styles, the preference information of game scenes and the like; if the target live broadcast is classified as a music live broadcast, the user preference determined according to the terminal identifier may be preference information including a music type, preference information of a main broadcast, preference information of a live broadcast style, and the like.
The server filters the candidate data according to the user preference, and determines the candidate data matched with the user preference as the target time. The server filters target data from the candidate data according to user preferences, and the method comprises the following steps: and the server screens template target data in the module candidate data according to the preference of the user and forms template target data according to the template target data corresponding to each data module. In this embodiment, module candidate data of each data module is screened, and module candidate data matching with the preference of the user is determined as template target data. And determining a data set of the template target data screened from each data module as target data. Illustratively, for the live broadcast classification description module, screening introduction information of each hero role in the candidate data according to the hero role in the user preference, and determining the introduction information of the hero role in the user preference as template target data of the live broadcast classification description module. Illustratively, for the anchor recommendation module, according to anchor preference information in user preferences, in the candidate data, according to anchor information of each live broadcast room, a live broadcast room matched with the anchor preference information is screened, and the screened anchor broadcast room is used as template target data of the anchor recommendation module.
Optionally, the screening, by the server, template target data from the module candidate data according to the preference of the user includes: generating a recommendation index of the module candidate data according to the user preference and the popularity index of the module candidate data; and screening the template target data according to the recommendation index. For example, for the anchor recommendation module, if a plurality of anchor information related to hero roles in the user preference can be screened out from the candidate data according to hero roles in the user preference, in this embodiment, the popularity indexes of the screened-out module candidate data may be sorted, and the template target data may be determined according to the sorting, for example, the module candidate data which matches the user preference and has a higher popularity index is determined as the template target data. In this embodiment, the popularity index of the module candidate data and whether the module candidate data meets the preference of the user may be weighted, the recommended value of each module candidate data is determined, and the template target data is determined according to the recommended value of each module candidate data.
It should be noted that, if the server fails to determine the historical viewing record according to the terminal identifier, which indicates that the terminal user enters the target live broadcast classification interface for the first time, the server determines the target data according to the popularity index of the candidate data, that is, filters the candidate data with a high popularity index as the target data.
S130, the server sends the target data to the terminal so that the terminal can generate a live broadcast list according to the target data.
In this embodiment, the server sends the personalized target data determined according to the terminal identifier and the target live broadcast classification identifier to the corresponding terminal, so that the terminal can obtain the target data and generate a personalized live broadcast list according to the target data, where the live broadcast list includes a plurality of data modules and data corresponding to the data modules, and is used to display and recommend live broadcast information to a user, so that the user can quickly and accurately determine a live broadcast room preferred by the user according to the live broadcast list.
Optionally, the server sends the target data including the template target data to the terminal, so that the terminal generates the live broadcast class table according to the template target data and the position of the template target data. Wherein the position of the template target data is determined according to the position of the data module. In this embodiment, the terminal user may perform an editing operation on the data module in the terminal page, that is, the position or size of the data module in the terminal page may be set according to the user requirement or preference. When a new classification list is generated, detecting whether the data modules in the page are edited by a user or not, if so, generating the new classification list according to the positions and the sizes of the data modules edited by the user; and if not, generating a new classification list according to the default position and the default size of each data module.
Optionally, the generating, by the terminal, the live broadcast category table according to the template target data and the position of the template target data includes: the terminal acquires the position of each data module in the last historical page corresponding to each target live broadcast classification; and the terminal displays the template target data at the position of the corresponding data module. In this embodiment, a unified editing operation control and a personalized editing operation control may be set, where the unified editing operation control is used to obtain a unified editing operation instruction, and when a user edits a data module in any classification list, an editing result is recorded, and other classification lists are adjusted according to the editing result, so that unified editing of the classification lists is realized, and repeated editing operations by the user are avoided. The personalized editing operation control comprises a personalized editing operation command acquisition unit, a personalized editing operation control unit and a data module editing unit.
Optionally, after the terminal generates the live list according to the target data, the method further includes: the terminal counts the click times of each data module in a preset time period; and updating the positions of the data modules according to the click times.
The preset time period can be half an hour, a day and the like, and can be set according to the requirements of users. The terminal counts the click times of each data module in a preset time period, and determines the priority of the user on the demands of different data modules according to the click times, wherein the more the click times, the higher the priority of the demands on the data modules. In this embodiment, the data module with the highest click frequency may be set at the first display position or the user habit operation position. Wherein the first display position may be a center position of an uppermost line of the page. The user habit operation position is relevant with user operation habit, if the user is used to right hand one-hand operation terminal, can set up the data module that the number of clicks is the highest in the lower right position of page and difference display, for example the display position is greater than other data modules, or the display colour is different from other data modules, and the user of being convenient for discerns this data module fast.
According to the technical scheme, the server receives a data request which is generated and sent by the terminal when the terminal detects a trigger event of target live broadcast classification and carries a terminal identifier and a target live broadcast classification identifier, determines target data according to the terminal identifier and the target live broadcast classification identifier, and sends the target data to the terminal, so that the terminal generates a live broadcast list according to the target data. Target data related to the terminal identification and the target live broadcast classification identification are generated through the server and sent to the terminal, and after the terminal receives the target data, the target data are displayed at the corresponding position, so that a personalized classification list is generated and displayed on the terminal side, live broadcast information is displayed and recommended to a user, the information configuration of the classification list is improved, and the user can quickly and accurately determine a live broadcast room preferred by the user according to the live broadcast list.
Example two
Fig. 2 is a schematic structural diagram of a live list generation apparatus according to a second embodiment of the present invention. The device includes:
a datarequest receiving module 210 configured to the server and configured to receive a data request sent by the terminal, where the data request is generated when the terminal detects a trigger event of a target live broadcast category, and the data request includes a terminal identifier and a target live broadcast category identifier;
a targetdata determining module 220 configured to the server and configured to determine target data according to the terminal identifier and the target live broadcast classification identifier;
the livelist generating module 230 is configured in the server, and is configured to send the target data to the terminal, so that the terminal generates a live list according to the target data.
Optionally, the targetdata determining module 220 includes:
the candidate data determining unit is used for determining candidate data according to the target live broadcast classification identifier;
a user preference determining unit for determining a history viewing record according to the terminal identifier and determining a user preference according to the history viewing record;
and the target data screening unit is used for screening the target data from the candidate data according to the preference of the user.
Optionally, the candidate data includes at least one data module, the data module includes corresponding module candidate data, and the target data screening unit includes:
the template target data determining subunit is used for screening the template target data from the module candidate data according to the preference of the user;
the template target data generating subunit is used for forming template target data according to the template target data corresponding to each data module;
accordingly, the livelist generation module 230 is configured to: and the server sends the target data containing the template target data to the terminal so that the terminal generates a live broadcast class table according to the template target data and the position of the template target data.
Optionally, the template target data determining subunit is configured to:
generating a recommendation index of the module candidate data according to the user preference and the popularity index of the module candidate data; and screening the template target data according to the recommendation index.
Optionally, the apparatus further comprises:
the data module position acquisition module is configured at the terminal and used for acquiring the position of each data module in the previous history page corresponding to each target live broadcast classification;
and the template target data display module is configured at the terminal and used for displaying the template target data at the position of the corresponding data module.
Optionally, the apparatus further comprises:
the system comprises a click frequency counting module, a click frequency counting module and a data processing module, wherein the click frequency counting module is configured at a terminal and used for counting the click frequency of each data module in a preset time period after a live broadcast list is generated according to target data;
and the data module position updating module is configured at the terminal and used for updating the positions of the data modules according to the click times.
Optionally, the data module includes at least one of the following: the system comprises a live broadcast classification description module, a main broadcast recommendation module, a platform dynamic module, a wonderful video recommendation module and a live broadcast room recommendation module.
The live list generation device provided by the embodiment of the invention can execute the live list generation method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the live list generation method.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a server according to a third embodiment of the present invention. Referring to fig. 3, the server includes:
one ormore processors 310;
amemory 320 for storing one or more programs;
when the one or more programs are executed by the one ormore processors 310, the one ormore processors 310 are enabled to implement the method for generating a live list according to the embodiment of the present invention.
FIG. 3 illustrates an example of a processor; the processor and memory may be connected by a bus or other means, such as by a bus in FIG. 3.
The memory, which is a computer-readable storage medium, may be used to store software programs, computer-executable programs, and modules. The processor executes various functional applications and data processing of the server by running software programs, instructions and modules stored in the memory, that is, the above-described live list generation method is realized.
The memory can mainly comprise a program storage area and a data storage area, wherein the program storage area can store an operating system and an application program required by at least one function; the storage data area may store data created according to the use of the server, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory may further include memory remotely located from the processor, and these remote memories may be connected to the server over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
In addition, according to different forms of the server, in addition to the processor and the memory, the control server may further include other modules or structures, for example, the server may have a voice broadcast function, and then further includes a speaker; for another example, the server may be a device having a display function, and further includes a display screen for displaying map data, and also may be used for a user to perform touch operation on the navigation software interface.
The server provided by the embodiment and the method for generating the live list provided by the embodiment of the invention belong to the same inventive concept, and technical details which are not described in detail in the embodiment can be referred to in the first embodiment.
Example four
The present embodiment provides a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements a live list generation method as set forth in an embodiment of the present invention.
The computer-readable storage medium provided by the embodiment and the method for generating the live list provided by the embodiment belong to the same inventive concept, and technical details that are not described in detail in the embodiment can be referred to in the first embodiment, and the first embodiment have the same beneficial effects.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.