CN111107399A - Attention list optimization method, storage medium, device and system - Google Patents
Attention list optimization method, storage medium, device and system Download PDFInfo
- Publication number
- CN111107399A CN111107399A CN201811253124.5A CN201811253124A CN111107399A CN 111107399 A CN111107399 A CN 111107399A CN 201811253124 A CN201811253124 A CN 201811253124A CN 111107399 A CN111107399 A CN 111107399A
- Authority
- CN
- China
- Prior art keywords
- live broadcast
- live
- attention
- list
- rooms
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
- H04N21/25866—Management of end-user data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/251—Learning process for intelligent management, e.g. learning user preferences for recommending movies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/254—Management at additional data server, e.g. shopping server, rights management server
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
- H04N21/25866—Management of end-user data
- H04N21/25891—Management of end-user data being end-user preferences
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/262—Content 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/26258—Content 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/8126—Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts
- H04N21/8133—Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts specifically related to the content, e.g. biography of the actors in a movie, detailed information about an article seen in a video program
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Graphics (AREA)
- Computing Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses an attention list optimization method, a storage medium, equipment and a system, which relate to the field of live broadcast technology development, and the method comprises the steps of acquiring a live broadcast room stored in a server and with attention added by a user; for the obtained live broadcast room, counting the historical times of the user accessing the live broadcast room; for the obtained live broadcast room, obtaining the live broadcast time period of the anchor of the live broadcast room; when a user logs in a server to obtain an attention list, enumerating live broadcasting rooms of live broadcasting time periods at the current login time in the live broadcasting rooms to which the user adds attention, obtaining the enumerated live broadcasting rooms through a data obtaining interface of a buddy agent tool, arranging the enumerated live broadcasting rooms in the attention list according to the descending order of the access history times, and then sending the attention list to a client through the buddy agent tool. The method and the device can effectively improve the use experience of the user on the focus list of the live broadcast room.
Description
Technical Field
The invention relates to the field of live broadcast technology development, in particular to an attention list optimization method, a storage medium, equipment and a system.
Background
Currently, the live broadcast industry is developing vigorously, and more young people like to play amateur time by watching live broadcast.
Because the live broadcast rooms are numerous, when a live broadcast watching user jumps among different live broadcast rooms to select to watch, the user likes a certain live broadcast room, and can quickly find the live broadcast room when watching the live broadcast next time, the live broadcast room can be collected in an attention list in a mode of adding attention, and a follow-up user can quickly find and click the live broadcast room in the attention list. However, as the live broadcasting time of the user is increased, the number of live broadcasting rooms in the attention list is increased, and when a subsequent user searches for live broadcasting rooms in the attention list, the user can only sequentially browse the live broadcasting rooms, which is time-consuming.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide an attention list optimization method, which can effectively improve the use experience of a user on an attention list in a live broadcast room. The invention also correspondingly provides a storage medium, equipment and a system.
In order to achieve the above purposes, the technical scheme adopted by the invention is as follows:
the first aspect of the invention provides a focus list optimization method, which comprises the following steps:
starting local proxy service at a server side based on a fiddler proxy tool, and acquiring a live broadcast room stored in a server and added by a user for attention through the local proxy service;
for the obtained live broadcast room, counting the historical times of the user accessing the live broadcast room;
for the obtained live broadcast room, obtaining the live broadcast time period of the anchor of the live broadcast room;
when a user logs in a server to obtain an attention list, listing out live broadcast rooms of which live broadcast time periods are at the current login time in the live broadcast rooms to which the user adds attention;
acquiring listed live broadcast rooms through a data acquisition interface of a fixdler agent tool, arranging the listed live broadcast rooms in an attention list according to the descending order of the access history times, and then sending the attention list to a client through the fixdler agent tool;
after the client side obtains the attention list, the server sends the attached information of the live broadcast room in the attention list to the client side in a concurrent mode based on the Goroutine of the golang.
With reference to the first aspect, in a first possible implementation manner,
the live broadcast rooms comprise official live broadcast rooms and unofficial live broadcast rooms;
when listed live broadcast rooms are arranged in the attention list, whether the listed live broadcast rooms contain official live broadcast rooms is judged:
if yes, arranging the live webmasters in the attention list according to the descending order of the access history times for the official live webmasters, and arranging the live webmasters in the attention list according to the descending order of the access history times for the unofficial live webmasters, wherein the unofficial live webmasters are arranged behind the official live webmasters;
if not, the listed live rooms are arranged in the attention list in descending order of the access history times.
With reference to the first aspect, in a second possible implementation manner, when the user logs in the server to obtain the attention list, for a live broadcast room in which the live broadcast time period in which the user adds attention is not at the current login time, arranging the live broadcast room not at the current login time behind the attention list according to a descending order of the access history times of the live broadcast rooms, and arranging the live broadcast room not at the current login time behind the live broadcast room at the current login time.
With reference to the first aspect, in a third possible implementation manner,
a special interest list is also included in the interest list;
the live room adding rule in the special interest list is as follows: counting the time of the user accessing the live broadcast room to watch for the live broadcast room with attention added by the user, and adding the live broadcast room into a special attention list if the watching time is greater than the set watching time;
the live room arrangement rule in the special interest list is as follows: and arranging according to the descending order of the total watching time of the live broadcast rooms by the user.
With reference to the first aspect, in a fourth possible implementation manner,
the attention list also comprises a recommendation list;
the live broadcast room adding rule of the recommendation list is as follows: and counting the classifications of all live broadcast rooms added with attention of the user, taking the classification containing the most number of the live broadcast rooms added with attention of the user as a recommendation classification, and taking the live broadcast room with the highest popularity ranking or the popularity ranking in the classification at a set ranking as a recommendation live broadcast room to be added into a recommendation list.
With reference to the first aspect, in a fifth possible implementation manner,
the attached information includes cover, heat, room ID, closed-air time, and corner mark information.
A second aspect of the invention provides a storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
starting local proxy service at a server side based on a fiddler proxy tool, and acquiring a live broadcast room stored in a server and added by a user for attention through the local proxy service;
for the obtained live broadcast room, counting the historical times of the user accessing the live broadcast room;
for the obtained live broadcast room, obtaining the live broadcast time period of the anchor of the live broadcast room;
when a user logs in a server to obtain an attention list, listing out live broadcast rooms of which live broadcast time periods are at the current login time in the live broadcast rooms to which the user adds attention;
acquiring listed live broadcast rooms through a data acquisition interface of a fixdler agent tool, arranging the listed live broadcast rooms in an attention list according to the descending order of the access history times, and then sending the attention list to a client through the fixdler agent tool;
after the client side obtains the attention list, the server sends the attached information of the live broadcast room in the attention list to the client side in a concurrent mode based on the Goroutine of the golang.
A third aspect of the present invention provides an electronic apparatus, comprising:
the live broadcast room acquiring unit is used for starting local proxy service at a server side based on a fiddler proxy tool and acquiring a live broadcast room stored in the server and added by a user with attention through the local proxy service;
the counting unit is used for counting the historical times of the user accessing the live broadcast room for the live broadcast room acquired by the live broadcast room acquisition unit;
the time acquisition unit is used for acquiring the live broadcasting time period of the anchor broadcasting of the live broadcasting room for the live broadcasting room acquired by the live broadcasting room acquisition unit;
the attention list generating unit is used for listing live broadcast rooms with live broadcast time periods at the current login time in the live broadcast rooms to which the users add attention when the users log in the server to obtain the attention list, obtaining the listed live broadcast rooms through a data obtaining interface of a fixdler agent tool, arranging the listed live broadcast rooms in the attention list according to the descending order of the access history times, then sending the attention list to the client through a fixdler agent tool, and after the client obtains the attention list, the server sends the auxiliary information of the live broadcast rooms in the attention list to the client in a concurrent mode based on the Gorolutine of golang.
A fourth aspect of the present invention provides a system for optimizing an interest list, comprising:
the live broadcast room acquisition module is used for starting local proxy service at a server side based on a fiddler proxy tool and acquiring a live broadcast room stored in the server and added by a user with attention through the local proxy service;
the counting module is used for counting the historical times of the user accessing the live broadcast room for the live broadcast room acquired by the live broadcast room acquisition module;
the time acquisition module is used for acquiring the live broadcasting time period of the anchor broadcast of the live broadcasting room for the live broadcasting room acquired by the live broadcasting room acquisition module;
the attention list generation module is used for listing live broadcast rooms of live broadcast rooms with attention added by a user at the current login time in the live broadcast time period when the user logs in the server to obtain the attention list, obtaining the listed live broadcast rooms through a data acquisition interface of a fixdler agent tool, arranging the listed live broadcast rooms in the attention list according to the descending order of the access history times, then sending the attention list to the client through a fixdler agent tool, and after the client obtains the attention list, the server sends the auxiliary information of the live broadcast rooms in the attention list to the client in a concurrent mode based on the Gorolutine of golang.
With reference to the fourth aspect, in a first possible implementation manner,
the live broadcast rooms comprise official live broadcast rooms and unofficial live broadcast rooms;
when the attention list generation module arranges the listed live broadcast rooms in the attention list, judging whether the listed live broadcast rooms contain official live broadcast rooms:
if yes, arranging the live webmasters in the attention list according to the descending order of the access history times for the official live webmasters, and arranging the live webmasters in the attention list according to the descending order of the access history times for the unofficial live webmasters, wherein the unofficial live webmasters are arranged behind the official live webmasters;
if not, the listed live rooms are arranged in the attention list in descending order of the access history times.
Compared with the prior art, the invention has the advantages that: according to all live broadcast rooms concerned by a user, the historical times of the user accessing the live broadcast rooms are counted, when a user logs in a server to obtain an attention list subsequently, listed live broadcast rooms are arranged in the attention list according to the descending order of the access historical times, and then the attention list is fed back to the user, namely, the most favored live broadcast rooms in all the concerned live broadcast rooms of the user are sorted in the front, so that the most favored live broadcast rooms can be found quickly when the user searches for the live broadcast rooms in the attention list, and the use experience of the user on the attention list of the live broadcast rooms is effectively improved.
Drawings
FIG. 1 is a flow chart of a method for optimizing a focus list in an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides an attention list optimization method, which is used for optimizing and arranging live broadcast rooms in an attention list of a user based on historical habits of the user, and improves the friendliness of the user when using the attention list. The embodiment of the invention also provides a corresponding storage medium, a corresponding device and an attention list optimization system.
The technical solutions in the embodiments of the present invention are clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, an embodiment of a method for optimizing a focus list according to an embodiment of the present invention includes:
s1: based on a fiddler proxy tool, a local proxy service is started at a server side, and a user-added concerned live broadcast room stored in the server is obtained through the local proxy service.
In the embodiment of the invention, the fixdler agent tool is a tool which can intercept, retransmit and edit data packets transmitted and received by a network. Unloading and the like. In the real-time embodiment of the invention, the acquisition of the live broadcast room, the re-editing of the attention list and the transmission of the data flow between the server and the client are all carried out by the middler agent tool, and the agent tool effectively reduces the complexity of the server end for the data logic processing and simplifies the field simplification during the data transmission of the client and the server end.
The focus list optimization method is applied to the field of live broadcasting, a live broadcasting provider generally provides a focus function similar to a collection function in a live broadcasting room, a user adds focus to a favorite live broadcasting room when watching the live broadcasting, the live broadcasting room with the focus added can be collected in a special list, a server can store the live broadcasting room with the focus added by the user, and a subsequent user can conveniently and quickly enter the live broadcasting room again through the special list.
S2: and for the obtained live broadcast room, counting the historical times of the user accessing the live broadcast room.
In the embodiment of the invention, a user can watch the live broadcast for multiple times, the number of times that the user enters the live broadcast room is recorded as 1 time each time, and the number of times that the user enters each live broadcast room is counted in the preset time period before the current time.
S3: for the obtained live broadcast room, obtaining the live broadcast time period of the anchor of the live broadcast room;
in the embodiment of the invention, most of the anchor in the current live broadcast platform is the platform subscription anchor, the live broadcast time period of the anchor is generally in a fixed state, and even if the platform is not the subscription anchor, the live broadcast time period of the anchor is generally fixed, so that the live broadcast time period of the anchor can be acquired.
S4: when a user logs in a server to obtain an attention list, listing out live broadcast rooms of which live broadcast time periods are at the current login time in the live broadcast rooms to which the user adds attention;
s5: the method comprises the steps of obtaining listed live broadcasting rooms through a data obtaining interface of a fiddler agent tool, arranging the listed live broadcasting rooms in an attention list according to the descending order of access history times, equivalently obtaining the listed live broadcasting rooms through the data obtaining interface of the fiddler agent tool, modifying an original attention list in the fiddler agent tool, reordering the live broadcasting rooms in the attention list based on the access history times, and sending the attention list to a client through the fiddler agent tool. Namely, the live broadcast room with the large access history times in the attention list is arranged before the live broadcast room with the small access history times, the live broadcast room with the large access history times is generally the most favorite live broadcast room of the user, and the user can conveniently search the most favorite live broadcast room by the setting.
In the embodiment of the invention, when the user watches live broadcast, the live broadcast is generally carried out through the client, meanwhile, the live broadcast attention list is obtained through the client logging in the server, and after the modified attention list is sent to the client by the fixdler agent tool, whether the modification of the attention list in the server is compatible with the display logic of the client can be conveniently confirmed based on the display effect of the client on the attention list. Meanwhile, data flow transmission between the server and the client is carried out through the agent tool, so that the data transmission amount is reduced, the simplification of data fields is facilitated, the phenomenon that a plurality of users acquire an attention list from the server at the same time and the server runs or does not respond due to overlarge data transmission amount is effectively avoided, and the stable operation of the server is effectively ensured.
S6: after the client side obtains the attention list, the server sends the attached information of the live broadcast room in the attention list to the client side in a concurrent mode based on the Goroutine of the golang.
In the embodiment of the invention, after a user logs in a server and acquires an attention list, the attached information of a live broadcast room in the attention list is sent to a client side in a parallel mode; the attached information includes cover, heat, room ID, closed-air time, and corner mark information. The corner mark information is used for simply indicating the content of the current anchor which is live, and if the current anchor is live in game, the corner mark information displays the name of the game.
In the embodiment of the invention, after the client acquires the attention list, data related to the attention list is transmitted to the client, and at the moment, the accessory information data related to the attention list is transmitted through the Golung Goluutine, wherein the Golang is the go language and is the open source programming language developed by Google, and the Goluutine is a concurrence of the go language and is a coroutine essentially. Because the server needs to transmit a plurality of auxiliary information to the client, when transmitting, a concurrent mode is adopted, a plurality of data are simultaneously acquired, the acquired data are simultaneously transmitted, after all the acquired data are transmitted and executed, a plurality of data are acquired again for transmission, and the like, until all the auxiliary information of the attention list is transmitted to the client.
Optionally, on the basis of the embodiment corresponding to fig. 1, in a first optional embodiment of the method for optimizing an attention list according to the embodiment of the present invention, the live broadcast rooms include an official live broadcast room and an unofficial live broadcast room. The official live broadcast room is a live broadcast room in which user products of the live broadcast platform are released and live broadcast when activities are held, the ownership of the live broadcast room belongs to the live broadcast platform, and the unofficial live broadcast room belongs to the live broadcast room of the anchor broadcast platform for ownership.
When listed live broadcast rooms are arranged in the attention list, whether the listed live broadcast rooms contain official live broadcast rooms is judged:
if the number of the authority live broadcasting rooms is larger than the preset number, the authority live broadcasting rooms are arranged in the attention list according to the descending order of the access history times, the unofficial live broadcasting rooms are arranged in the attention list according to the descending order of the access history times, and the unofficial live broadcasting rooms are arranged behind the authority live broadcasting rooms. The official live broadcasting rooms are sequenced in sequence, and then the unofficial live broadcasting rooms are sequenced, after sequencing of the official live broadcasting rooms is completed, sequencing of the unofficial live broadcasting rooms is performed, because the official live broadcasting rooms can perform live broadcasting of positive energy content at some time, sequencing of the official live broadcasting rooms is performed in the front, and therefore the probability of selection by a user is increased.
If not, the listed live rooms are arranged in the attention list in descending order of the access history times.
Optionally, on the basis of the embodiment corresponding to fig. 1, in a second optional embodiment of the method for optimizing an attention list according to the embodiment of the present invention, the attention list further includes a special attention list;
the live room addition rules in the special interest list are: counting the time of the user accessing the live broadcast room to watch for the live broadcast room with attention added by the user, and adding the live broadcast room into a special attention list if the watching time is greater than the set watching time;
the live room arrangement rules in the special interest list are: and arranging according to the descending order of the total watching time of the live broadcast rooms by the user.
In the embodiment of the invention, if the user likes a certain live broadcasting room, the watching time of the user in the live broadcasting room is obviously longer than that of other live broadcasting rooms, so that the method measures whether the user likes the certain live broadcasting room or not through the live broadcasting watching time of the live broadcasting room, and can well measure whether the user likes the certain live broadcasting room or not.
Optionally, on the basis of the embodiment corresponding to fig. 1, in a third optional embodiment of the attention list optimization method provided in the embodiment of the present invention, when the user logs in the server to obtain the attention list, for a live broadcast room in a live broadcast room to which the user adds attention, the live broadcast room not at the current login time is arranged behind the attention list according to a descending order of the access history times of the live broadcast rooms, and the live broadcast room not at the current login time is located behind the live broadcast room at the current login time.
Optionally, on the basis of the embodiment corresponding to fig. 1, in a fourth optional embodiment of the method for optimizing an attention list according to the embodiment of the present invention, the attention list further includes a recommendation list; the live broadcast room adding rule of the recommendation list is as follows: and counting the classifications of all live broadcast rooms added with attention of the user, taking the classification containing the most number of the live broadcast rooms added with attention of the user as a recommendation classification, taking the live broadcast room with the highest popularity ranking or popularity ranking in a set ranking as a recommendation live broadcast room, and adding the recommendation classification into a recommendation list, such as recommending the anchor broadcast room with the popularity ranking of the first or the top three of the popularity ranking to the user. In all the live broadcast rooms concerned by the user, if the number of the live broadcast rooms in a certain classification is larger, the fact that the user likes the live broadcast rooms is indicated, and therefore the live broadcast rooms with higher popularity in the classification can be recommended to the user. The categories of live rooms include outdoor, gaming, color value, etc.
Optionally, on the basis of the embodiment corresponding to fig. 1, in a fifth optional embodiment of the method for optimizing an attention list, after a user logs in a server and acquires the attention list, the attached information of a live broadcast in the attention list is sent to the user in a parallel manner; the attached information includes cover, heat, room ID, closed-air time, and corner mark information. The corner mark information is used for simply indicating the content of the current anchor which is live, and if the current anchor is live in game, the corner mark information displays the name of the game.
According to the method for optimizing the attention list, the history times of the live broadcasting rooms accessed by the user are counted aiming at all the live broadcasting rooms concerned by the user, the listed live broadcasting rooms are arranged in the attention list according to the descending order of the access history times when the user logs in the server to obtain the attention list, then the attention list is fed back to the user, the method is equivalent to the method that the most favorite live broadcasting rooms in all the attention live broadcasting rooms of the user are sequenced in the front, the user can conveniently find the most favorite live broadcasting rooms when the user searches the live broadcasting rooms in the attention list, and the use experience of the user on the live broadcasting room attention list is effectively improved.
An embodiment of a storage medium provided in an embodiment of the present invention includes: the storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
starting local proxy service at a server side based on a fiddler proxy tool, and acquiring a live broadcast room stored in a server and added by a user for attention through the local proxy service;
for the obtained live broadcast room, counting the historical times of the user accessing the live broadcast room;
for the obtained live broadcast room, obtaining the live broadcast time period of the anchor of the live broadcast room;
when a user logs in a server to obtain an attention list, listing out live broadcast rooms of which live broadcast time periods are at the current login time in the live broadcast rooms to which the user adds attention;
acquiring listed live broadcast rooms through a data acquisition interface of a fixdler agent tool, arranging the listed live broadcast rooms in an attention list according to the descending order of the access history times, and then sending the attention list to a client through the fixdler agent tool;
after the client side obtains the attention list, the server sends the attached information of the live broadcast room in the attention list to the client side in a concurrent mode based on the Goroutine of the golang.
Optionally, on the basis of the above storage medium embodiment, in a first optional embodiment of the storage medium provided by the embodiment of the present invention, the storage medium may adopt any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer-readable storage medium may be, for example but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
Alternatively, on the basis of the above embodiment of the storage medium and the first alternative embodiment, in a second alternative embodiment of the storage medium provided by the embodiment of the present invention, the computer-readable signal medium may include a data signal propagating in a baseband or as a part of a carrier wave, in which a computer-readable program code is carried. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Optionally, on the basis of the above embodiment of the storage medium and the first and second alternative embodiments, in a third alternative embodiment of the storage medium provided by the embodiment of the present invention, the computer program code for performing the operations of the present invention may be written in one or more programming languages, or a combination thereof, the programming languages including an object oriented programming language, such as Java, Smalltalk, C + +, and further including a conventional procedural programming language, such as "C" programming language or a similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
Referring to fig. 2, an embodiment of an electronic device provided in an embodiment of the present invention includes:
the live broadcast room acquiring unit is used for starting local proxy service at a server side based on a fiddler proxy tool and acquiring a live broadcast room stored in the server and added by a user with attention through the local proxy service;
the counting unit is used for counting the historical times of the user accessing the live broadcast room for the live broadcast room acquired by the live broadcast room acquisition unit;
the time acquisition unit is used for acquiring the live broadcasting time period of the anchor broadcasting of the live broadcasting room for the live broadcasting room acquired by the live broadcasting room acquisition unit;
the attention list generating unit is used for listing live broadcast rooms with live broadcast time periods at the current login time in the live broadcast rooms to which the users add attention when the users log in the server to obtain the attention list, obtaining the listed live broadcast rooms through a data obtaining interface of a fixdler agent tool, arranging the listed live broadcast rooms in the attention list according to the descending order of the access history times, then sending the attention list to the client through a fixdler agent tool, and after the client obtains the attention list, the server sends the auxiliary information of the live broadcast rooms in the attention list to the client in a concurrent mode based on the Gorolutine of golang.
Optionally, on the basis of the embodiment corresponding to fig. 2, in a first optional embodiment of the electronic device provided in the embodiment of the present invention, the attention list further includes a special attention list;
the live room addition rules in the special interest list are: counting the time of the user accessing the live broadcast room to watch for the live broadcast room with attention added by the user, and adding the live broadcast room into a special attention list if the watching time is greater than the set watching time;
the live room arrangement rules in the special interest list are: and arranging according to the descending order of the total watching time of the live broadcast rooms by the user.
Optionally, on the basis of the embodiment corresponding to fig. 2, in a second optional embodiment of the electronic device provided in the embodiment of the present invention, the attention list further includes a recommendation list; the live broadcast room adding rule of the recommendation list is as follows: and counting the classifications of all live broadcast rooms added with attention of the user, taking the classification containing the most number of the live broadcast rooms added with attention of the user as a recommendation classification, taking the live broadcast room with the highest popularity ranking or popularity ranking in a set ranking as a recommendation live broadcast room, and adding the recommendation classification into a recommendation list, such as recommending the anchor broadcast room with the popularity ranking of the first or the top three of the popularity ranking to the user.
An embodiment of a system for optimizing an interest list according to an embodiment of the present invention includes:
the live broadcast room acquisition module is used for starting local proxy service at a server side based on a fiddler proxy tool and acquiring a live broadcast room stored in the server and added by a user with attention through the local proxy service;
the counting module is used for counting the historical times of the user accessing the live broadcast room for the live broadcast room acquired by the live broadcast room acquisition module;
the time acquisition module is used for acquiring the live broadcasting time period of the anchor broadcast of the live broadcasting room for the live broadcasting room acquired by the live broadcasting room acquisition module;
the attention list generation module is used for listing live broadcast rooms of live broadcast rooms with attention added by a user at the current login time in the live broadcast time period when the user logs in the server to obtain the attention list, obtaining the listed live broadcast rooms through a data acquisition interface of a fixdler agent tool, arranging the listed live broadcast rooms in the attention list according to the descending order of the access history times, then sending the attention list to the client through a fixdler agent tool, and after the client obtains the attention list, the server sends the auxiliary information of the live broadcast rooms in the attention list to the client in a concurrent mode based on the Gorolutine of golang.
Optionally, on the basis of the embodiment corresponding to the attention list optimization system, in a first optional embodiment of the attention list optimization system provided in the embodiment of the present invention, the live broadcast room includes an official live broadcast room and an unofficial live broadcast room. The official live broadcast room is a live broadcast room in which user products of the live broadcast platform are released and live broadcast when activities are held, the ownership of the live broadcast room belongs to the live broadcast platform, and the unofficial live broadcast room belongs to the live broadcast room of the anchor broadcast platform for ownership.
When listed live broadcast rooms are arranged in the attention list, whether the listed live broadcast rooms contain official live broadcast rooms is judged:
if the number of the authority live broadcasting rooms is larger than the preset number, the authority live broadcasting rooms are arranged in the attention list according to the descending order of the access history times, the unofficial live broadcasting rooms are arranged in the attention list according to the descending order of the access history times, and the unofficial live broadcasting rooms are arranged behind the authority live broadcasting rooms. The method comprises the steps of sorting according to the sequence of an official live broadcasting room and an unofficial live broadcasting room, and sorting according to the sequence of the official live broadcasting room and the unofficial live broadcasting room.
According to the attention list optimization system, the historical times of the users for accessing the live broadcast rooms are counted aiming at all the live broadcast rooms concerned by the users, the listed live broadcast rooms are arranged in the attention list according to the descending order of the access historical times when the users log in the server to obtain the attention list, then the attention list is fed back to the users, the most favored live broadcast rooms in all the attention live broadcast rooms of the users are sequenced in the front, the users can conveniently find the most favored live broadcast rooms when searching the live broadcast rooms in the attention list, and the use experience of the users on the live broadcast room attention list is effectively improved.
The present invention is not limited to the above-described embodiments, and it will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the principle of the present invention, and such modifications and improvements are also considered to be within the scope of the present invention. Those not described in detail in this specification are within the skill of the art.
Claims (10)
1. A method of interest list optimization, comprising the steps of:
starting local proxy service at a server side based on a fiddler proxy tool, and acquiring a live broadcast room stored in a server and added by a user for attention through the local proxy service;
for the obtained live broadcast room, counting the historical times of the user accessing the live broadcast room;
for the obtained live broadcast room, obtaining the live broadcast time period of the anchor of the live broadcast room;
when a user logs in a server to obtain an attention list, listing out live broadcast rooms of which live broadcast time periods are at the current login time in the live broadcast rooms to which the user adds attention;
acquiring listed live broadcast rooms through a data acquisition interface of a fixdler agent tool, arranging the listed live broadcast rooms in an attention list according to the descending order of the access history times, and then sending the attention list to a client through the fixdler agent tool;
after the client side obtains the attention list, the server sends the attached information of the live broadcast room in the attention list to the client side in a concurrent mode based on the Goroutine of the golang.
2. The method of interest list optimization of claim 1, wherein:
the live broadcast rooms comprise official live broadcast rooms and unofficial live broadcast rooms;
when listed live broadcast rooms are arranged in the attention list, whether the listed live broadcast rooms contain official live broadcast rooms is judged:
if yes, arranging the live webmasters in the attention list according to the descending order of the access history times for the official live webmasters, and arranging the live webmasters in the attention list according to the descending order of the access history times for the unofficial live webmasters, wherein the unofficial live webmasters are arranged behind the official live webmasters;
if not, the listed live rooms are arranged in the attention list in descending order of the access history times.
3. The method of interest list optimization of claim 1, wherein: when the user logs in the server to obtain the attention list, arranging the live broadcast rooms which are not at the current login time behind the attention list and the live broadcast rooms which are not at the current login time behind the live broadcast rooms at the current login time according to the descending order of the access history times of the live broadcast rooms.
4. The method of interest list optimization of claim 1, wherein:
a special interest list is also included in the interest list;
the live room adding rule in the special interest list is as follows: counting the time of the user accessing the live broadcast room to watch for the live broadcast room with attention added by the user, and adding the live broadcast room into a special attention list if the watching time is greater than the set watching time;
the live room arrangement rule in the special interest list is as follows: and arranging according to the descending order of the total watching time of the live broadcast rooms by the user.
5. The method of interest list optimization of claim 1, wherein:
the attention list also comprises a recommendation list;
the live broadcast room adding rule of the recommendation list is as follows: and counting the classifications of all live broadcast rooms added with attention of the user, taking the classification containing the most number of the live broadcast rooms added with attention of the user as a recommendation classification, and taking the live broadcast room with the highest popularity ranking or the popularity ranking in the classification at a set ranking as a recommendation live broadcast room to be added into a recommendation list.
6. The method of interest list optimization of claim 1, wherein:
the attached information includes cover, heat, room ID, closed-air time, and corner mark information.
7. A storage medium having a computer program stored thereon, characterized in that: the computer program when executed by a processor implementing the steps of:
starting local proxy service at a server side based on a fiddler proxy tool, and acquiring a live broadcast room stored in a server and added by a user for attention through the local proxy service;
for the obtained live broadcast room, counting the historical times of the user accessing the live broadcast room;
for the obtained live broadcast room, obtaining the live broadcast time period of the anchor of the live broadcast room;
when a user logs in a server to obtain an attention list, listing out live broadcast rooms of which live broadcast time periods are at the current login time in the live broadcast rooms to which the user adds attention;
acquiring listed live broadcast rooms through a data acquisition interface of a fixdler agent tool, arranging the listed live broadcast rooms in an attention list according to the descending order of the access history times, and then sending the attention list to a client through the fixdler agent tool;
after the client side obtains the attention list, the server sends the attached information of the live broadcast room in the attention list to the client side in a concurrent mode based on the Goroutine of the golang.
8. An electronic device, characterized in that the electronic device comprises:
the live broadcast room acquiring unit is used for starting local proxy service at a server side based on a fiddler proxy tool and acquiring a live broadcast room stored in the server and added by a user with attention through the local proxy service;
the counting unit is used for counting the historical times of the user accessing the live broadcast room for the live broadcast room acquired by the live broadcast room acquisition unit;
the time acquisition unit is used for acquiring the live broadcasting time period of the anchor broadcasting of the live broadcasting room for the live broadcasting room acquired by the live broadcasting room acquisition unit;
the attention list generating unit is used for listing live broadcast rooms with live broadcast time periods at the current login time in the live broadcast rooms to which the users add attention when the users log in the server to obtain the attention list, obtaining the listed live broadcast rooms through a data obtaining interface of a fixdler agent tool, arranging the listed live broadcast rooms in the attention list according to the descending order of the access history times, then sending the attention list to the client through a fixdler agent tool, and after the client obtains the attention list, the server sends the auxiliary information of the live broadcast rooms in the attention list to the client in a concurrent mode based on the Gorolutine of golang.
9. An interest list optimization system, comprising:
the live broadcast room acquisition module is used for starting local proxy service at a server side based on a fiddler proxy tool and acquiring a live broadcast room stored in the server and added by a user with attention through the local proxy service;
the counting module is used for counting the historical times of the user accessing the live broadcast room for the live broadcast room acquired by the live broadcast room acquisition module;
the time acquisition module is used for acquiring the live broadcasting time period of the anchor broadcast of the live broadcasting room for the live broadcasting room acquired by the live broadcasting room acquisition module;
the attention list generation module is used for listing live broadcast rooms of live broadcast rooms with attention added by a user at the current login time in the live broadcast time period when the user logs in the server to obtain the attention list, obtaining the listed live broadcast rooms through a data acquisition interface of a fixdler agent tool, arranging the listed live broadcast rooms in the attention list according to the descending order of the access history times, then sending the attention list to the client through a fixdler agent tool, and after the client obtains the attention list, the server sends the auxiliary information of the live broadcast rooms in the attention list to the client in a concurrent mode based on the Gorolutine of golang.
10. The interest list optimization system of claim 9, wherein:
the live broadcast rooms comprise official live broadcast rooms and unofficial live broadcast rooms;
when the attention list generation module arranges the listed live broadcast rooms in the attention list, judging whether the listed live broadcast rooms contain official live broadcast rooms:
if yes, arranging the live webmasters in the attention list according to the descending order of the access history times for the official live webmasters, and arranging the live webmasters in the attention list according to the descending order of the access history times for the unofficial live webmasters, wherein the unofficial live webmasters are arranged behind the official live webmasters;
if not, the listed live rooms are arranged in the attention list in descending order of the access history times.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811253124.5A CN111107399A (en) | 2018-10-25 | 2018-10-25 | Attention list optimization method, storage medium, device and system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811253124.5A CN111107399A (en) | 2018-10-25 | 2018-10-25 | Attention list optimization method, storage medium, device and system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN111107399A true CN111107399A (en) | 2020-05-05 |
Family
ID=70418233
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201811253124.5A Pending CN111107399A (en) | 2018-10-25 | 2018-10-25 | Attention list optimization method, storage medium, device and system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111107399A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112702618A (en) * | 2020-12-16 | 2021-04-23 | 广州市千钧网络科技有限公司 | Attention degree processing method, attention degree processing device, attention degree processing equipment and readable storage medium |
| CN112770126A (en) * | 2020-12-29 | 2021-05-07 | 北京达佳互联信息技术有限公司 | Live broadcast room pushing method and device, server and storage medium |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1960246A (en) * | 2006-09-18 | 2007-05-09 | 白杰 | Method for filtering out harmfulness data transferred between terminal and destination host in network |
| US20120268603A1 (en) * | 2011-04-20 | 2012-10-25 | Sarna Ii Peter | Video surveillance system |
| CN105579976A (en) * | 2014-09-03 | 2016-05-11 | 华为技术有限公司 | Webpage automatic test method and apparatus |
| CN106131584A (en) * | 2016-07-25 | 2016-11-16 | 北京金山安全软件有限公司 | Live broadcast information display method and device and electronic equipment |
| CN106210035A (en) * | 2016-07-07 | 2016-12-07 | 合网络技术(北京)有限公司 | The Proxy Method of a kind of promotion message and device |
| CN106202161A (en) * | 2016-06-24 | 2016-12-07 | 财付通支付科技有限公司 | File agent method and apparatus |
| CN106658086A (en) * | 2016-09-22 | 2017-05-10 | 广州华多网络科技有限公司 | Method and device for switching live broadcast room |
| CN107094265A (en) * | 2017-03-29 | 2017-08-25 | 武汉斗鱼网络科技有限公司 | A kind of method and system for optimizing live mobile end subscriber concern operation |
-
2018
- 2018-10-25 CN CN201811253124.5A patent/CN111107399A/en active Pending
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1960246A (en) * | 2006-09-18 | 2007-05-09 | 白杰 | Method for filtering out harmfulness data transferred between terminal and destination host in network |
| US20120268603A1 (en) * | 2011-04-20 | 2012-10-25 | Sarna Ii Peter | Video surveillance system |
| CN105579976A (en) * | 2014-09-03 | 2016-05-11 | 华为技术有限公司 | Webpage automatic test method and apparatus |
| CN106202161A (en) * | 2016-06-24 | 2016-12-07 | 财付通支付科技有限公司 | File agent method and apparatus |
| CN106210035A (en) * | 2016-07-07 | 2016-12-07 | 合网络技术(北京)有限公司 | The Proxy Method of a kind of promotion message and device |
| CN106131584A (en) * | 2016-07-25 | 2016-11-16 | 北京金山安全软件有限公司 | Live broadcast information display method and device and electronic equipment |
| CN106658086A (en) * | 2016-09-22 | 2017-05-10 | 广州华多网络科技有限公司 | Method and device for switching live broadcast room |
| CN107094265A (en) * | 2017-03-29 | 2017-08-25 | 武汉斗鱼网络科技有限公司 | A kind of method and system for optimizing live mobile end subscriber concern operation |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112702618A (en) * | 2020-12-16 | 2021-04-23 | 广州市千钧网络科技有限公司 | Attention degree processing method, attention degree processing device, attention degree processing equipment and readable storage medium |
| CN112770126A (en) * | 2020-12-29 | 2021-05-07 | 北京达佳互联信息技术有限公司 | Live broadcast room pushing method and device, server and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103686375B (en) | Video sharing method and device | |
| US10104164B2 (en) | Aggregating plug-in requests for improved client performance | |
| US11190821B2 (en) | Methods and apparatus for alerting users to media events of interest using social media analysis | |
| CN111279709B (en) | Providing video recommendations | |
| CN111767430B (en) | Video resource pushing method, video resource pushing device and storage medium | |
| CN108446410A (en) | Information recommendation method, device, system, equipment and readable storage medium storing program for executing | |
| US20180302761A1 (en) | Recommendation System for Multi-party Communication Sessions | |
| CN115022701B (en) | Video playing method, terminal, device, electronic equipment, medium and program product | |
| CN108989893B (en) | Live broadcast room recommendation method and device, terminal and storage medium | |
| CN109862100B (en) | Method and device for pushing information | |
| EP4460011A1 (en) | Live streaming studio topic recommendation method and apparatus, device, and medium | |
| US20220303735A1 (en) | Providing a summary of media content to a communication device | |
| CN104424352B (en) | The system and method that agency service is provided to user terminal | |
| US20190147009A1 (en) | Modifying messages to be more discoverable on a social network | |
| JP2014528106A (en) | Method, computer program and system for exchanging information in a social network environment | |
| CN109241346A (en) | A kind of video recommendation method and device | |
| CN111107399A (en) | Attention list optimization method, storage medium, device and system | |
| CN113626624A (en) | Resource identification method and related device | |
| EP4529176A1 (en) | Information display method and apparatus, and device and medium | |
| CN106802941B (en) | A kind of generation method and equipment of reply message | |
| CN102937991A (en) | Search navigation system and method | |
| CN115243066B (en) | Information pushing method and device, electronic equipment and computer readable medium | |
| CN108521366A (en) | Expression method for pushing and electronic equipment | |
| US9565224B1 (en) | Methods, systems, and media for presenting a customized user interface based on user actions | |
| CN113032686B (en) | Content recommendation method, device, storage medium and server |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200505 |