CN110099290A - A kind of video list generation method, device and electronic equipment - Google Patents
A kind of video list generation method, device and electronic equipment Download PDFInfo
- Publication number
- CN110099290A CN110099290A CN201910349738.1A CN201910349738A CN110099290A CN 110099290 A CN110099290 A CN 110099290A CN 201910349738 A CN201910349738 A CN 201910349738A CN 110099290 A CN110099290 A CN 110099290A
- Authority
- CN
- China
- Prior art keywords
- video
- list
- identifier
- data
- video information
- 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
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
- 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/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/4508—Management of client data or end-user data
- H04N21/4532—Management of client data or end-user data involving end-user characteristics, e.g. viewer profile, 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/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/466—Learning process for intelligent management, e.g. learning user preferences for recommending movies
- H04N21/4667—Processing of monitored end-user data, e.g. trend analysis based on the log file of viewer selections
-
- 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/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/466—Learning process for intelligent management, e.g. learning user preferences for recommending movies
- H04N21/4668—Learning process for intelligent management, e.g. learning user preferences for recommending movies for recommending content, e.g. 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/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/482—End-user interface for program selection
- H04N21/4826—End-user interface for program selection using recommendation lists, e.g. of programs or channels sorted out according to their score
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Graphics (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the invention provides a kind of video list generation methods, it include: the multiple serve logs for obtaining and being generated in preset time period, as daily record data, wherein, for each of multiple serve logs serve log, the serve log is when receiving the data acquisition request for being used to obtain video page data of client transmission, it is generated according to preset format, wherein, record has the video information carried in the data acquisition request in the serve log, and for each video information recorded in daily record data, count record number of the video information in daily record data, and the record number of each video information obtained according to statistics, video represented by each video information is ranked up, generate video list, so as to avoid in order to count video playing number, server needs frequent and client to be communicated , and then reduce the resource consumption of server.
Description
Technical field
The present invention relates to field of video broadcasting technology, more particularly to a kind of video list generation method, device and electronics
Equipment.
Background technique
With the development of network technology, more and more users like watching video by network, and in network
The continuous promotion of the quality and quantity of video content, requirement of the user to the viewing experience of internet video is also higher and higher, is
Meet the multi-demands of user, video service provider needs to broadcast by collecting while providing Video service for user
The mode of data is put to generate various types of video lists, so that user is in the view for looking for oneself liking viewing by list
Frequently.
In the prior art, in order to count the video playing number for generating video list, server and client side needs
By page data communication, video content communication and the data communication for playing multiple stages such as feedback communication, regarded to determine
The data that frequency plays.
Inventor has found that at least there are the following problems for the prior art in the implementation of the present invention:
In order to generate video list, server and client side needs frequent progress repeatedly to communicate, server resource consumption compared with
Greatly.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of video list generation method, to avoid in order to count video playing
Number, server need frequent and client to be communicated, reduce the resource consumption of server.Specific technical solution is as follows:
In a first aspect, the embodiment of the present invention provides a kind of video list generation method, comprising:
The multiple serve logs generated in preset time period are obtained, as daily record data, wherein be directed to the multiple service
Each of log serve log, the serve log be receive client transmission for obtaining video page data
It when data acquisition request, is generated according to preset format, wherein there is in the data acquisition request record in the serve log carries
Video information;
For each video information recorded in the daily record data, the video information is counted in the daily record data
Record number;
According to the record number for each video information that statistics obtains, video represented by each video information is ranked up,
Generate video list.
Further, the video information includes video identifier and channel identication, and the channel identication is for indicating corresponding
Channel categories belonging to video;
The record number of each video information obtained according to statistics, arranges video represented by each video information
Sequence generates video list, comprising:
Each video identifier is divided in multiple channel sets according to channel identication, wherein respectively regarded in each channel set
It is identical that frequency marking knows corresponding channel identication;
For each channel set, the size of the record number by comparing each video identifier in the channel set is right
Video represented by each video identifier is ranked up, and generates the video list of the channel set.
Further, the video information includes video identifier and album mark, and the album mark is for indicating corresponding
Video set belonging to video;
The record number of each video information obtained according to statistics, arranges video represented by each video information
Sequence generates video list, comprising:
It is identified according to album and each video identifier is divided in multiple video sets, wherein each video mark in each video set
It is identical to know corresponding album mark;
For each video set, the record number of video identifier each in the video set is added, the video set is obtained
Album number;
By comparing the size of the album number of each video set, video set is ranked up, album list is generated.
Further, the video information includes video identifier;
The record number of each video information obtained according to statistics, arranges video represented by each video information
Sequence generates video list, comprising:
By compare statistics obtain each video identifier record number size, to video represented by each video information into
Row sequence, generates video list.
Further, in the record number of each video information obtained according to statistics, to view represented by each video information
Frequency is ranked up, after generation video list, further includes:
The list data of the video list are stored in database, and generate corresponding network address URL, wherein network address URL
For being accessed by client, so that the client obtains list data corresponding with network address URL, and according to the list data exhibition
Show corresponding video list.
Second aspect, the embodiment of the present invention also provide a kind of video list generating means, and described device includes:
Log acquisition module, for obtaining the multiple serve logs generated in preset time period, as daily record data,
In, for each of the multiple serve log serve log, which is in the use for receiving client transmission
It when obtaining the data acquisition request of video page data, is generated according to preset format, wherein there is record in the serve log
The video information carried in the data acquisition request;
Number statistical module, for counting the video information for each video information recorded in the daily record data
Record number in the daily record data;
List generation module, the record number of each video information for being obtained according to statistics, to each video information institute table
The video shown is ranked up, and generates video list.
Further, the video information includes video identifier and channel identication, and the channel identication is for indicating corresponding
Channel categories belonging to video;
The list generation module, specifically for each video identifier is divided in multiple channel sets according to channel identication
In, wherein the corresponding channel identication of each video identifier is identical in each channel set, and is directed to each channel set, leads to
The size for comparing the record number of each video identifier in the channel set is crossed, video represented by each video identifier is arranged
Sequence generates the video list of the channel set.
Further, the video information includes video identifier and album mark, and the album mark is for indicating corresponding
Video set belonging to video;
Each video identifier is divided in multiple video sets by the list generation module specifically for identifying according to album,
Wherein, the corresponding album mark of each video identifier is identical in each video set, and is directed to each video set, will be in the video set
The record number of each video identifier is added, and obtains the album number of the video set, and the album by comparing each video set
The size of number, is ranked up video set, generates album list.
Further, the video information includes video identifier;
The list generation module, specifically for obtaining the size for recording number of each video identifier by comparing statistics,
Video represented by each video information is ranked up, video list is generated.
Further, further includes:
Network address generation module, for the record number in each video information obtained according to statistics, to each video information institute
The video of expression is ranked up, and after generating video list, the list data of the video list is stored in database, and raw
At corresponding network address URL, wherein network address URL by client for being accessed, so that client acquisition is corresponding with network address URL
List data, and show corresponding video list according to the list data.
The third aspect, the embodiment of the present invention also provide a kind of electronic equipment, including processor, communication interface, memory and
Communication bus, wherein processor, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any of the above-described video list generation method
Step.
Fourth aspect, present invention implementation additionally provide a kind of computer readable storage medium, the computer-readable storage
Dielectric memory contains computer program, and the computer program realizes any of the above-described video list generation side when being executed by processor
The step of method.
5th aspect, the embodiment of the invention also provides a kind of computer program products comprising instruction, when it is being calculated
When being run on machine, so that computer executes any of the above-described video list generation method.
A kind of video list generation method, device and electronic equipment provided in an embodiment of the present invention in scheme, obtain default
The multiple serve logs generated in period, as daily record data, wherein for each of multiple serve logs service day
Will, the serve log be receive client transmission for obtain video page data data acquisition request when, according to
What preset format generated, wherein record has the video information carried in the data acquisition request in the serve log, and is directed to
The each video information recorded in daily record data counts record number of the video information in daily record data, and according to system
The record number for counting obtained each video information, is ranked up video represented by each video information, generates video list, from
And statistics video playing number is avoided the need to, server needs frequent and client to be communicated, and then reduces service
The resource consumption of device.
Certainly, implement any of the products of the present invention or method it is not absolutely required at the same reach all the above excellent
Point.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described.
Fig. 1 is the flow chart of video list generation method provided by one embodiment of the present invention;
Fig. 2 is the structural schematic diagram of video list generating means provided by one embodiment of the present invention;
Fig. 3 is the structural schematic diagram of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
In order to provide the implementation for the resource consumption for reducing server, the embodiment of the invention provides a kind of video lists
Generation method, device and electronic equipment are illustrated the embodiment of the present invention below in conjunction with Figure of description.And it is not rushing
In the case where prominent, the features in the embodiments and the embodiments of the present application be can be combined with each other.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description.
In one embodiment of the invention, a kind of video list generation method is provided, as shown in Figure 1, this method includes
Following steps:
S101: the multiple serve logs generated in preset time period are obtained, as daily record data, wherein be directed to multiple clothes
Be engaged in each of log serve log, the serve log be receive client transmission for obtaining video page data
Data acquisition request when, generated according to preset format, wherein record has in the data acquisition request and takes in the serve log
The video information of band.
In this step, for each of multiple serve logs serve log, client transmission can received
When for obtaining the data acquisition request of video page data, serve log is generated according to preset format, wherein data acquisition is asked
Video information can be carried in asking, record has video information in serve log.
In one embodiment, client can be the electronic equipment that can open webpage, and those skilled in the art answers
Work as understanding, can open webpage electronic equipment mean the electronic equipment necessarily have a display webpage display and can
Web data is obtained in a manner of through data interactions such as wired connection, wireless connection or short distance connection types, for example, this
The client of inventive embodiments meaning can be mobile phone, smartwatch/bracelet, desktop computer, mobile notebook, flat panel TV,
It is vehicle-mounted it is middle control etc. electronic equipments, further client can also have an operating system, such as can be IOS system,
Windows system or Android system.When client is in the selection operation for receiving user, client can pass through the journey of installation
Sequence loads web page address selected by user, and wherein the selection operation of user can be multiplicity, such as can be the limbs of user
Click, slide, can also be that the selection that user is carried out by external device determines operation, such as can be and pass through keyboard
Input needs the network address accessed, or the determining operation carried out by keyboard, mouse, in simple terms, any to carry out man-machine friendship
Mutual mode is all can be with.
In one embodiment, the data acquisition request for obtaining video page data that client is sent can be use
Web page address selected by family, web page address can be URL (Uniform Resource Locator, system in one embodiment
One Resource Locator), video information can be wherein carried in URL, in one embodiment, video information may include video
Mark can also include that channel identication and album identify.
In one embodiment, when the data acquisition request for being used to obtain video page data for receiving client transmission
When, serve log can be generated according to preset format, wherein preset format can different settings according to demand it is different, when only needing
When determining the video identifier in video information, it is only necessary to which output includes the serve log of video identifier, includes when needing to export
When the serve log of video identifier, album mark and channel identication, the format comprising information needed can be arranged in preset format,
In one embodiment, preset format can be date, [level], url: w+, qipuid: d+, aid: d+, cid: d+,
Success:[true | false], in the format, at date for record receive client transmission be used for obtain video
The time of the data acquisition request of page data, for recording the type of data acquisition request at level, url: be same as at w+
Record client send for obtaining the acquisition network address of video page data, qipuid: at d+ for recording the video of video
Identification information, aid: d+ be used to record the album information of video, cid: at d+ for recording the channel information of video,
Success:[true | false] at for recording whether client successfully gets video page data, in one embodiment
In, according to above-mentioned preset format output serve log illustratively can be 2018-11-0515:28:29, [INFO], url:
V_19rrda37ow.html, qipuId=1441904400, aid=220551201, cid=2, success:true pass through
This serve log, 28 divide 29 seconds when the time of available client request is the 15 of on November 5th, 2018, the type of request
Download address for information INFO, request video web-pages data is v_19rrda37ow.html, and the video identifier of video is
1441904400, the album of video is identified as 220551201, and the channel identication of video is 2, and client successfully gets video network
Page data.
In one embodiment, it can be according to preset format generation serve log and provide the industry of downloading service for client
Business server, and service server can be obtained by VenusAgent (Venus agency) client utility of setting automatically
Serve log is being generated, the purpose for reducing cost of labor is had reached.
In one embodiment, preset time period can be the period being empirically arranged, and be also possible to according to difference
Demand be configured, such as can be set into daily 0 point 0 second to second day 0 minute 0 point 0 second 0 minute, so as to obtain
The multiple serve logs for taking this period server to generate, and the serve log that will acquire is as daily record data, example
Property, following serve log is had collected within a preset period of time: qipuid:2053880100, cid:2, aid:
225915601}{qipuid:1798764800,cid:2,aid:235743801}{qipuid:2099543500,cid:6,
aid:233071001}{qipuid:1630560500,cid:1,aid:""}{qipuid:2053880100,cid:2,aid:
225915601}{qipuid:2099543500,cid:6,aid:233071001};{qipuid:2053880100,cid:2,
Aid:225915601 }, using above-mentioned 7 be collected into serve log as daily record data.
S102: for each video information recorded in daily record data, note of the video information in daily record data is counted
Record number.
In this step, the video information can be counted in log number for each video information recorded in daily record data
Record number in has collected daily record data in one embodiment: qipuid:2053880100, cid:2, aid:
225915601}{qipuid:1798764800,cid:2,aid:235743801}{qipuid:2099543500,cid:6,
aid:233071001}{qipuid:1630560500,cid:1,aid:""}{qipuid:2053880100,cid:2,aid:
225915601}{qipuid:2099543500,cid:6,aid:233071001};{qipuid:2053880100,cid:2,
Aid:225915601 }, it can be arrived for each video information in ground, statistics: qipuid:2053880100, cid:2,
Aid:225915601 } record number be 3 times, the record of { qipuid:1798764800, cid:2, aid:235743801 }
Number is 1 time, and the record number of { qipuid:2099543500, cid:6, aid:233071001 } is 2 times, qipuid:
1630560500, cid:1, aid: " " } record number be 1 time.
S103: according to the record number for each video information that statistics obtains, video represented by each video information is carried out
Sequence generates video list.
In this step, the record number for each video information that can be obtained according to statistics, to represented by each video information
Video is ranked up, and generates video list, and different according to the information for including in video information, the video list of production can have more
Kind mode.
In one embodiment, video information only includes video identifier, can obtain each video mark by comparing statistics at this time
The size of the record number of knowledge, is ranked up video represented by each video information, generates video list.For example, video mark
The record number for knowing 1 is 100 times, and the record number of video identifier 2 is 50 times, and the record number of video identifier 3 is 60 times, is passed through
The size of comparison record number, it is available to make number one that set be video represented by video identifier 1, come the second position
Be video represented by video identifier 3, come the third place is video represented by video identifier 2, so as to pass through
Sorting position generates video list.
In one embodiment, video information may include video identifier and channel identication, wherein channel identication is used for table
Show channel categories belonging to corresponding video, wherein channel type can be divided into film, TV play, variety show, documentary film, youngster
Virgin program etc., specific category can be configured according to demand.It in the present embodiment, can be according to channel identication by each video mark
Knowledge is divided in multiple channel sets, wherein and the corresponding channel identication of each video identifier is identical in each channel set, for example,
The video for belonging to film is placed in movie collection, by belong to children's video be placed on children set in, for each channel
Set, the size of the record number by comparing each video identifier in the channel set, to video represented by each video identifier
It is ranked up, generates the video list of the channel set, for example, there are 3 videos, the electricity of video identifier in film combination
Shadow record number is respectively that the record number of video identifier 1 is 80 times, and the record number of video identifier 2 is 120 times, video identifier
3 record number is 90 times, by comparison it is found that making number one that set be video represented by video identifier 2, comes second
Position is video represented by video identifier 1, and come the third place is video represented by video identifier 3, so as to
The video list of movie channel is generated by sorting position.
In one embodiment, video information includes video identifier and album mark, wherein album mark is for expression pair
Answer video set belonging to video, wherein video set can be certain TV play video set, belong to certain TV play video comprising multiple
The video of collection is also possible to certain documentary film video set, includes multiple documentary films for belonging to certain documentary film video set.In this implementation
In example, it can be identified according to album and each video identifier is divided in multiple video sets, wherein each video mark in each video set
It is identical to know corresponding album mark, for example, the video for belonging to same TV play is placed in the TV play video set, such as by XX
First collection video of odd chivalrous biography and the second collection video are divided in the odd chivalrous biography video set of XX, for each video set, by the video
It concentrates the record number of each video identifier to be added, obtains the album number of the video set, for example, chivalrous biography video set odd for XX
For, it includes the first collection video and the second collection video corresponding to the record number of video identifier be respectively the first collection video
The record number of mark is 100 times, the second collection video identifier record number is 80 times, and the odd chivalrous video set that passes of the XX can be obtained by being added
Album number is 180 times, then the size of the album number by comparing each video set, is ranked up to video set, generates album
List, such as the odd chivalrous album number for passing video set of XX is 180 times, the album number of XX empire video set is 150 times, and XX detects
The album number of video set is 170 times, and it is the odd chivalrous biography video set of XX that comparison it is found that make number one, which is set, comes the second position
Be that XX detects video set, come the third place is XX empire video set, so as to generate each video by sorting position
The album list of collection.
In one embodiment, after determining list, the list data of obtained video list can also be stored in number
According in library, and generate corresponding network address URL, wherein network address URL by client for being accessed, so that the client obtains and should
The corresponding list data of network address URL, and corresponding video list is shown according to the list data.
In practical application, above-mentioned steps S101-S104's can be multiple servers or cluster cooperation completion, one
In a embodiment, serve log is generated by service server, it will be appreciated by those skilled in the art that, generate log
Server may more than one but multiple servers, the VenusAgent (dimension in Worker (worker) machine can be passed through at this time
Na Si agency) tool, collect the server log that multiple servers generate within a preset period of time, and the log number that will be collected into
It is drained into Hive (honeycomb) cluster according to by SparkStreaming (stream process), honeycomb cluster (is criticized by SparkBatch
Processing) daily record data got is handled, video list is generated, then the list data of the video list of generation are stored in
In the database Mongodb cluster of distributed document storage, corresponding URL or interface are generated, is supplied to client use.
In above-mentioned video list generation method provided in an embodiment of the present invention, pass through, obtains generation in preset time period
Multiple serve logs, as daily record data, wherein for each of multiple serve logs serve log, the serve log
To be generated according to preset format when receiving the data acquisition request for being used to obtain video page data of client transmission
, wherein record has the video information carried in the data acquisition request in the serve log, and is directed in daily record data and remembers
Each video information of record counts record number of the video information in daily record data, and each view obtained according to statistics
The record number of frequency information, is ranked up video represented by each video information, generate video list, so as to avoid in order to
Video playing number is counted, server needs frequent and client to be communicated, and then reduces the resource consumption of server.
Based on the same inventive concept, the video list generation method provided according to embodiments of the present invention, the embodiment of the present invention
A kind of video list generating means are additionally provided, as shown in Fig. 2, the device includes:
Log acquisition module 201, for obtaining the multiple serve logs generated in preset time period, as daily record data,
Wherein, for each of multiple serve logs serve log, which is to receive being used for for client transmission
It when obtaining the data acquisition request of video page data, is generated according to preset format, wherein record has this in the serve log
The video information carried in data acquisition request;
Number statistical module 202, for counting the video information and existing for each video information recorded in daily record data
Record number in daily record data;
List generation module 203, the record number of each video information for being obtained according to statistics, to each video information institute
The video of expression is ranked up, and generates video list.
Further, video information includes video identifier and channel identication, and channel identication is for indicating belonging to corresponding video
Channel categories;
List generation module 203, specifically for each video identifier is divided in multiple channel sets according to channel identication,
Wherein, the corresponding channel identication of each video identifier is identical in each channel set, and is directed to each channel set, by right
Than the size of the record number of each video identifier in the channel set, video represented by each video identifier is ranked up, it is raw
At the video list of the channel set.
Further, video information includes video identifier and album mark, and album mark is for indicating belonging to corresponding video
Video set;
Each video identifier is divided in multiple video sets by list generation module 203 specifically for identifying according to album,
In, the corresponding album mark of each video identifier is identical in each video set, and is directed to each video set, will be every in the video set
The record number of a video identifier is added, and obtains the album number of the video set, and the album by comparing each video set
Several sizes, is ranked up video set, generates album list.
Further, video information includes video identifier;
List generation module 203, it is right specifically for the size for obtaining the record number of each video identifier by comparing statistics
Video represented by each video information is ranked up, and generates video list.
Further, further includes:
Network address generation module 204, for the record number in each video information obtained according to statistics, to each video information
Represented video is ranked up, and after generating video list, the list data of video list are stored in database, and is generated
Corresponding network address URL, wherein network address URL by client for being accessed, so that client acquisition is corresponding with network address URL
List data, and corresponding video list is shown according to the list data.
The embodiment of the invention also provides a kind of electronic equipment, as shown in figure 3, include processor 301, communication interface 302,
Memory 303 and communication bus 304, wherein processor 301, communication interface 302, memory 303 are complete by communication bus 304
At mutual communication,
Memory 303, for storing computer program;
Processor 301 when for executing the program stored on memory 303, realizes following steps:
The multiple serve logs generated in preset time period are obtained, as daily record data, wherein be directed to the multiple service
Each of log serve log, the serve log be receive client transmission for obtaining video page data
It when data acquisition request, is generated according to preset format, wherein there is in the data acquisition request record in the serve log carries
Video information;
For each video information recorded in the daily record data, the video information is counted in the daily record data
Record number;
According to the record number for each video information that statistics obtains, video represented by each video information is ranked up,
Generate video list.
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component
Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard
Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..For just
It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned electronic equipment and other equipment.
Memory may include random access memory (Random Access Memory, RAM), also may include non-easy
The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also
To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit,
CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal
Processing, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing
It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete
Door or transistor logic, discrete hardware components.
In another embodiment provided by the invention, a kind of computer readable storage medium is additionally provided, which can
It reads to be stored with computer program in storage medium, the computer program realizes any of the above-described video list when being executed by processor
The step of generation method.
In another embodiment provided by the invention, a kind of computer program product comprising instruction is additionally provided, when it
When running on computers, so that computer executes any video list generation method in above-described embodiment.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real
It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program
Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or
It partly generates according to process or function described in the embodiment of the present invention.The computer can be general purpose computer, dedicated meter
Calculation machine, computer network or other programmable devices.The computer instruction can store in computer readable storage medium
In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer
Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center
User's line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or
Data center is transmitted.The computer readable storage medium can be any usable medium that computer can access or
It is comprising data storage devices such as one or more usable mediums integrated server, data centers.The usable medium can be with
It is magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk
Solid State Disk (SSD)) etc..
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device,
For electronic equipment, computer readable storage medium, computer program product, since it is substantially similar to the method embodiment, institute
To be described relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (11)
1. a kind of video list generation method characterized by comprising
The multiple serve logs generated in preset time period are obtained, as daily record data, wherein be directed to the multiple serve log
Each of serve log, the serve log be receive client transmission for obtaining the data of video page data
It when acquisition request, is generated according to preset format, wherein record has the view carried in the data acquisition request in the serve log
Frequency information;
For each video information recorded in the daily record data, record of the video information in the daily record data is counted
Number;
According to the record number for each video information that statistics obtains, video represented by each video information is ranked up, is generated
Video list.
2. the method according to claim 1, wherein the video information includes video identifier and channel identication,
The channel identication is for indicating channel categories belonging to corresponding video;
The record number of each video information obtained according to statistics, is ranked up video represented by each video information,
Generate video list, comprising:
Each video identifier is divided in multiple channel sets according to channel identication, wherein each video mark in each channel set
It is identical to know corresponding channel identication;
For each channel set, the size of the record number by comparing each video identifier in the channel set, to each view
Frequency marking is known represented video and is ranked up, and the video list of the channel set is generated.
3. the method according to claim 1, wherein the video information include video identifier and album mark,
The album mark is for indicating video set belonging to corresponding video;
The record number of each video information obtained according to statistics, is ranked up video represented by each video information,
Generate video list, comprising:
It is identified according to album and each video identifier is divided in multiple video sets, wherein each video identifier pair in each video set
The album mark answered is identical;
For each video set, the record number of video identifier each in the video set is added, the album of the video set is obtained
Number;
By comparing the size of the album number of each video set, video set is ranked up, album list is generated.
4. the method according to claim 1, wherein the video information includes video identifier;
The record number of each video information obtained according to statistics, is ranked up video represented by each video information,
Generate video list, comprising:
The size for obtaining the record number of each video identifier by comparing statistics, arranges video represented by each video information
Sequence generates video list.
5. the method according to claim 1, wherein in the record of each video information obtained according to statistics
Number, is ranked up video represented by each video information, after generation video list, further includes:
The list data of the video list are stored in database, and generate corresponding network address URL, wherein network address URL is used for
It is accessed by client, so that the client obtains list data corresponding with network address URL, and according to list data displaying pair
The video list answered.
6. a kind of video list generating means characterized by comprising
Log acquisition module, for obtaining the multiple serve logs generated in preset time period, as daily record data, wherein needle
To each of the multiple serve log serve log, the serve log be receive client transmission for obtaining
It when the data acquisition request of video page data, is generated according to preset format, wherein record has the data in the serve log
The video information carried in acquisition request;
Number statistical module, for counting the video information in institute for each video information recorded in the daily record data
State the record number in daily record data;
List generation module, the record number of each video information for being obtained according to statistics, to represented by each video information
Video is ranked up, and generates video list.
7. device according to claim 6, which is characterized in that the video information includes video identifier and channel identication,
The channel identication is for indicating channel categories belonging to corresponding video;
The list generation module, specifically for each video identifier is divided in multiple channel sets according to channel identication,
In, the corresponding channel identication of each video identifier is identical in each channel set, and is directed to each channel set, passes through comparison
The size of the record number of each video identifier, is ranked up video represented by each video identifier, generates in the channel set
The video list of the channel set.
8. device according to claim 6, which is characterized in that the video information includes that video identifier and album identify,
The album mark is for indicating video set belonging to corresponding video;
Each video identifier is divided in multiple video sets by the list generation module specifically for identifying according to album, wherein
The corresponding album mark of each video identifier is identical in each video set, and is directed to each video set, will be each in the video set
The record number of video identifier is added, and obtains the album number of the video set, and the album number by comparing each video set
Size, video set is ranked up, generate album list.
9. device according to claim 6, which is characterized in that the video information includes video identifier;
The list generation module, specifically for the size for obtaining the record number of each video identifier by comparing statistics, to each
Video represented by video information is ranked up, and generates video list.
10. device according to claim 6, which is characterized in that further include:
Network address generation module, for the record number in each video information obtained according to statistics, to represented by each video information
Video be ranked up, after generating video list, by the list data of video list deposit database, and generate pair
The network address URL answered, wherein network address URL by client for being accessed, so that the client obtains list corresponding with network address URL
Forms data, and corresponding video list is shown according to the list data.
11. a kind of electronic equipment, which is characterized in that including processor, communication interface, memory and communication bus, wherein processing
Device, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any method and step of claim 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910349738.1A CN110099290A (en) | 2019-04-28 | 2019-04-28 | A kind of video list generation method, device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910349738.1A CN110099290A (en) | 2019-04-28 | 2019-04-28 | A kind of video list generation method, device and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110099290A true CN110099290A (en) | 2019-08-06 |
Family
ID=67446097
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910349738.1A Pending CN110099290A (en) | 2019-04-28 | 2019-04-28 | A kind of video list generation method, device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110099290A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111586447A (en) * | 2020-05-08 | 2020-08-25 | 北京奇艺世纪科技有限公司 | Flow guide method of multimedia website, playing method of multimedia data and server |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101860612A (en) * | 2009-04-08 | 2010-10-13 | 北京闻言科技有限公司 | Method for counting user on-demand times according to period |
CN102685565A (en) * | 2012-05-18 | 2012-09-19 | 合一网络技术(北京)有限公司 | Click feedback type individual recommendation system |
CN102740143A (en) * | 2012-07-03 | 2012-10-17 | 合一网络技术(北京)有限公司 | Network video ranking list generation system based on user behavior and method thereof |
CN103167330A (en) * | 2011-12-15 | 2013-06-19 | 盛乐信息技术(上海)有限公司 | Method and system for audio/video recommendation |
US20170171632A1 (en) * | 2007-06-26 | 2017-06-15 | Broadband Itv, Inc. | Dynamic adjustment of electronic program guide displays based on viewer preferences for minimizing navigation in vod program selection |
-
2019
- 2019-04-28 CN CN201910349738.1A patent/CN110099290A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170171632A1 (en) * | 2007-06-26 | 2017-06-15 | Broadband Itv, Inc. | Dynamic adjustment of electronic program guide displays based on viewer preferences for minimizing navigation in vod program selection |
CN101860612A (en) * | 2009-04-08 | 2010-10-13 | 北京闻言科技有限公司 | Method for counting user on-demand times according to period |
CN103167330A (en) * | 2011-12-15 | 2013-06-19 | 盛乐信息技术(上海)有限公司 | Method and system for audio/video recommendation |
CN102685565A (en) * | 2012-05-18 | 2012-09-19 | 合一网络技术(北京)有限公司 | Click feedback type individual recommendation system |
CN102740143A (en) * | 2012-07-03 | 2012-10-17 | 合一网络技术(北京)有限公司 | Network video ranking list generation system based on user behavior and method thereof |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111586447A (en) * | 2020-05-08 | 2020-08-25 | 北京奇艺世纪科技有限公司 | Flow guide method of multimedia website, playing method of multimedia data and server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107222566B (en) | Information pushing method and device and server | |
CN103686237A (en) | Method and system for recommending video resource | |
CN107566897B (en) | A kind of discrimination method, device and the electronic equipment of video brush amount | |
CN105872837A (en) | User recommendation method and device | |
CN103686396A (en) | Video sharing method and device | |
CN103914550A (en) | Recommended content displaying method and recommended content displaying device | |
CN110300084B (en) | IP address-based portrait method and apparatus, electronic device, and readable medium | |
CN109348261A (en) | Data statistical approach, device and electronic equipment in a kind of live streaming | |
CN103686375A (en) | Video sharing method and device | |
CN109451333A (en) | A kind of barrage display methods, device, terminal and system | |
CN102004994B (en) | Online product recommendation and selection method, device and system | |
CN104506894A (en) | Method and device for evaluating multi-media resources | |
CN105791902A (en) | User recommendation method and user recommendation device | |
CN108668172A (en) | A kind of video broadcasting method and device | |
CN106612443A (en) | Personalized intelligent television management system and information push method for television | |
CN112765514A (en) | Method, device and storage medium for monitoring network public sentiment | |
CN104753979B (en) | A kind of method, server, terminal and system showing site information | |
CN108600780A (en) | Method for pushed information | |
CN104270647A (en) | Media content recommendation method and device | |
CN111897978A (en) | Live broadcast state monitoring method and device, electronic equipment and storage medium | |
CN110099290A (en) | A kind of video list generation method, device and electronic equipment | |
CN113254798A (en) | Game community information pushing system and method based on big data | |
CN104978372A (en) | Multimedia information processing method, multimedia device and multimedia network system | |
CN108234584A (en) | The method and apparatus that structure moving advertising is subscribed to based on change | |
CN111124858A (en) | Embedded point-free plug-in data processing method and system, terminal device and storage medium |
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: 20190806 |