The content of the invention
In order to solve existing use homepage magic lantern carry out video channels limited, the problem of Consumer's Experience is not good, this hair
It is bright to propose a kind of live video promotion method and equipment.
According to an aspect of the present invention there is provided a kind of live video promotion method, including:
S1, sorts out according to different live types to video resource, is every class video addition class mark, so that preceding
Hold and new video partition is created according to the class mark;
S2, sets subregion magic lantern position, before subregion magic lantern is pushed to based on subregion magic lantern channel in the video partition
Hold the subregion magic lantern position display.
Wherein, the step S1 further comprises:
By live classification of type, the live classification value of video resource is obtained;
Video resource is sorted out according to the live classification value, and for per class video addition class mark;
The class mark is passed into front-end server.
Wherein, the step S1 further comprises:
Front-end server creates new classification by reading the class mark in front end;
Of a sort video is incorporated into new classification by the live classification value according to corresponding to the class mark, is obtained
New video partition.
Wherein, step S2 further comprises:
It is the video partition addition magic lantern sign corresponding to the class mark in each class mark;
Sign is set to be set on the magic lantern in the class mark.
Wherein, the magic lantern is indicated for indicating magic lantern view corresponding to subregion magic lantern and relative with the magic lantern view
The video link address answered.
Wherein, step S2 further comprises:
When the magic lantern in class mark, which is set, to be denoted as opening, interface is created in the service layer function of background server
Server;
Function is shown by the foreground of front-end server, created in the video partition corresponding to each class mark
One magic lantern viewing area;
The magic lantern being provided with is indicated by the interface server and sent to the subregion magic lantern team of front-end server
Row.
Wherein, the step S2 further comprises:
In the subregion magic lantern queue, magic lantern sign is ranked up, the ranking value of subregion magic lantern is obtained;
The subregion slide show function of front-end server reads the ranking value, and by the corresponding magic lantern mark of the ranking value
Show and be loaded onto the magic lantern viewing area;
If the magic lantern that magic lantern viewing area is passed over according to the subregion slide show function is indicated, judgement is known described
Magic lantern sign corresponds to current video subregion, then indicates institute to the magic lantern according to the ranking value in the magic lantern viewing area
Corresponding magic lantern view is shown.
Wherein, methods described also includes upon step s 2:The upper lamp time of subregion magic lantern is recorded.
A kind of live video promotion method proposed by the present invention and equipment, are set by subregion magic lantern, and being that high-quality is live regards
The popularization of frequency adds channel so that user is easier to find high-quality video resource, can effectively lift Consumer's Experience.
Embodiment
With reference to the accompanying drawings and examples, the embodiment to the present invention is described in further detail.Implement below
Example is used to illustrate the present invention, but is not limited to the scope of the present invention.
As shown in figure 1, a kind of live video promotion method provided for one embodiment of the invention, including:
S1, sorts out according to different live types to video resource, is every class video addition class mark, so that preceding
Hold and new video partition is created according to the class mark;
S2, sets subregion magic lantern position, before subregion magic lantern is pushed to based on subregion magic lantern channel in the video partition
Hold the subregion magic lantern position display.
Specifically, a kind of live video promotion method that the embodiment of the present invention is proposed, according to live type to video resource
After being classified, new video partition is created in front end, is that video partition addition subregion magic lantern is set on backstage, and set
Subregion magic lantern pushes to foreground and shown, adds the channels of magic lantern.
According to different live types to video resource sort out straight belonging to referring to according to video resource in step S1
Type is broadcast, the video resource of magnanimity is sorted out, to add class mark, institute with the video resource of identical live types value
The classification that class mark is used to represent video resource is stated, is that background server will be set after every class video addition class mark
The class mark of completion is sent to front-end server, so that front end creates new video partition according to the class mark.Front end
The class mark that server is passed over according to background server creates new video partition, class mark and video in front end
Subregion is corresponded, and the video partition is used to include the video resource corresponding to the video partition, and user can be by institute
State video partition to be inquired about, find the video of user's care.
Set up separately in step S2 in the video and put subregion magic lantern position and refer to background server corresponding to video partition
Increase magic lantern sign in class mark, and set sign to be set on the magic lantern in the class mark, wherein magic lantern is indicated
For indicating the subregion magic lantern to be shown in correspondence video partition, the picture of the magic lantern view corresponding to subregion magic lantern is contained
Video link address corresponding to content and magic lantern view.The foreground displaying function of front-end server, in each contingency table
Show and a magic lantern viewing area is created in corresponding video partition, for showing the subregion magic lantern set.To video point
Area has been carried out after the setting of subregion magic lantern, and the magic lantern sign corresponding to the subregion magic lantern being provided with is passed through into subregion magic lantern channel
Front end is pushed to, the subregion magic lantern channel refers to the interface server created in the service layer function of background server, led to
The interface server is crossed, the magic lantern being provided with is indicated and sent to the subregion magic lantern queue of front end.Front-end server is received
To after the subregion magic lantern being provided with, the magic lantern sign of subregion magic lantern is matched with the subregion sign of video partition, matched
After success, subregion magic lantern is shown in corresponding video partition.
A kind of live video promotion method proposed by the present invention, is set by subregion magic lantern, is pushing away for high-quality live video
Extensively add channel so that user is easier to find high-quality video resource, can effectively lift Consumer's Experience.
Based on above-described embodiment, as shown in Fig. 2 the step S1 further comprises:
S21, by live classification of type, obtains the live classification value of video resource;
S22, sorts out according to the live classification value to video resource, and for per class video addition class mark;
S23, front-end server is passed to by the class mark.
Video resource is generally all magnanimity, but can be a variety of live types by artificial classification, such as hand trip, joy
The type such as happy, game and interest object for appreciation, each video is to that should have a live classification value (DirectValue).Step S1 is on backstage
Video resource is sorted out according to different live types, is that every class video addition class mark implements process such as
Under:
The magic lantern subregion of background server (WebBackstageServers) sets function (PartitionFunction),
The live classification value (DirectValue) of each video is obtained by obtaining live classification of type (DirectPartition);
Then the live classification value (DirectValue) checked out is sorted out.
Video resource is sorted out according to the live classification value, the video resource with identical live classification value is returned
For a class, and it is to increase a class mark (ClassificationValue) per class video when sorting out.
Then, background server (WebBackstageServers) is by the class mark obtained
(ClassificationValue) front-end server, is passed to.
Based on above-described embodiment, as shown in figure 3, the step S1 further comprises:
S31, front-end server creates new classification by reading the class mark in front end;
Of a sort video is incorporated into new classification by S32, the live classification value according to corresponding to the class mark,
Obtain new video partition.
Front-end server reads the class mark that backstage is set, and according to the class mark in the new video of front end establishment
Subregion.Specifically, after setting up class mark (ClassificationValue) on backstage, front-end server
(WebReceptionServer) class mark transmitted based on background server (WebBackstageServers)
(ClassificationValue), classify come the video display to foreground.The foreground displaying function of front-end server
(ShowFunction) by reading class mark (ClassificationValue), new classification is created in front end, simultaneously
Live classification value (DirectValue) according to corresponding to class mark (ClassificationValue) will be of a sort straight
Video is broadcast to be incorporated into new classification.
Based on above-described embodiment, as shown in figure 4, step S2 further comprises:
S41, is the video partition addition magic lantern sign corresponding to the class mark in each class mark;
S42, sets sign to be set on the magic lantern in the class mark.
Create after video partition, be that corresponding subregion magic lantern setting is added in video partition on backstage.Specifically, backstage takes
Device (WebBackstageServers) be engaged in the class mark (ClassificationValue) corresponding to each video partition
Middle increase classification magic lantern sets (ClassificationSlide), is set by the classification magic lantern, is the class mark institute
The video partition addition magic lantern sign (SlideValue) of sign, adds most 6 magic lanterns signs in each class mark.Its
In, the magic lantern indicates the relevant information for indicating the subregion magic lantern to be shown in correspondence video partition, including in magic lantern
Hold and video link address.
S42 is by calling background service (WebBackstageServers) by the class mark
(ClassificationValue) magic lantern in sets sign (SlideMark) to be set on (SlideMark.Switch
(Open))。
Based on above-described embodiment, the magic lantern indicate for indicate magic lantern view corresponding to subregion magic lantern and with it is described unreal
The corresponding video link address of lamp view.
Specifically, the magic lantern view inquired about corresponding to the magic lantern sign is indicated according to the magic lantern and is regarded with the magic lantern
Magic lantern sign is passed to foreground by the corresponding video link address of figure, backstage, so as to realize the setting of subregion magic lantern.
Based on above-described embodiment, as shown in figure 5, step S2 further comprises:
S51, when the magic lantern in class mark, which is set, to be denoted as opening, is created in the service layer function of background server
Interface server;
S52, shows function, in the video partition corresponding to each class mark by the foreground of front-end server
Create a magic lantern viewing area;
S53, it is by the interface server that the magic lantern being provided with sign transmission is unreal to the subregion of front-end server
Lamp queue.
Specifically, the magic lantern for increasing subregion magic lantern in server layer after subregion magic lantern is provided with pushes channel.At this
Magic lantern in class mark (ClassificationValue) sets sign (SlideMark) to be set on
When (SlideMark.Switch (Open)), in the service layer function of background server (WebBackstageServers)
(MiddleServers) in, new interface server (SlideInterface) is created, is serviced by interface server for foreground
(WebReceptionServer) new magic lantern channel is provided.
Function (ShowFunction) is shown by the foreground of front-end server (WebReceptionServer), each
A magic lantern viewing area (ShowSlideRegion) is created in video partition corresponding to the class mark.The magic lantern
Viewing area is used to show the subregion magic lantern set in its corresponding video partition.
After background server (WebBackstageServers) sets subregion magic lantern, pass through the interface service
Device (SlideInterface)), the magic lantern set is indicated, sent to front-end server
(WebReceptionServer) the subregion magic lantern queue (DirectQueue) in.
Based on above-described embodiment, as shown in fig. 6, the step S2 further comprises:
S61, is ranked up to magic lantern sign in the subregion magic lantern queue, obtains the ranking value of subregion magic lantern;
S62, the subregion slide show function of front-end server reads the ranking value, and the ranking value is corresponding unreal
Beacon light, which shows, is loaded onto the magic lantern viewing area;
S63, if the magic lantern that magic lantern viewing area is passed over according to the subregion slide show function is indicated, judges to know
Magic lantern sign corresponds to current video subregion, then in the magic lantern viewing area according to the ranking value to the magic lantern mark
Show that corresponding magic lantern view is shown.
Specifically, front-end server is ranked up in the subregion magic lantern queue to the magic lantern sign set, is used
In it is determined that in the order of magic lantern viewing area display magic lantern, obtaining the ranking value of subregion magic lantern.Front-end server
(WebReceptionServer) subregion slide show function (ExhibitionFunction), reads in subregion magic lantern queue
(DirectQueue) ranking value of subregion magic lantern in, and the ranking value is loaded onto magic lantern viewing area
(ShowSlideRegion)。
Magic lantern viewing area (ShowSlideRegion) is receiving subregion slide show function
(ExhibitionFunction) during the ranking value passed over, the magic lantern sign according to corresponding to the ranking value
(SlideValue) whether in the class mark of current video subregion, to judge whether in current video subregion to described unreal
Beacon light shows that corresponding magic lantern view is shown.If the magic lantern sign corresponds to current video subregion, in the video point
The corresponding subregion magic lantern of loading in the magic lantern viewing area (ShowSlideRegion) in area.
For example:Increased magic lantern sign is M in A subregions, and increased magic lantern sign is L in B subregions.Entering subregion
When, it is necessary to judge whether the corresponding subregions of M are A, if it is show that M subregions magic lantern is indicated.If not then proceeding to sentence
It is disconnected.
Based on above-described embodiment, methods described also includes upon step s 2:
The upper lamp time of subregion magic lantern is recorded.
Specifically, lamp is recorded on the magic lantern of record partitioning magic lantern pond.The upper lamp time of subregion magic lantern was recorded, while right
The time for exposure of subregion magic lantern and homepage magic lantern carries out difference record.
Another embodiment of the present invention promotes equipment there is provided a kind of live video, including memory, processor and is stored in
On reservoir and the computer program that can run on a processor, following steps are realized during the computing device described program:
Video resource is sorted out according to different live types, is every class video addition class mark, so that front end
New video partition is created according to the class mark;
Subregion magic lantern position is set in the video partition, subregion magic lantern is pushed to by front end institute based on subregion magic lantern channel
State subregion magic lantern position display.
Another embodiment of the present invention is there is provided a kind of non-transient computer readable storage medium storing program for executing, and the non-transient computer can
Storage medium storage computer instruction is read, the computer instruction makes the computer perform foregoing live video popularization
Method.
The present embodiment provides a kind of non-transient computer readable storage medium storing program for executing, the non-transient computer readable storage medium storing program for executing
Computer instruction is stored, the computer instruction makes the computer perform the method that above-mentioned each method embodiment is provided, example
Such as include:Video resource is sorted out according to different live types, is every class video addition class mark, so that front end root
New video partition is created according to the class mark;Subregion magic lantern position is set in the video partition, based on subregion magic lantern canal
Subregion magic lantern is pushed to subregion magic lantern position display described in front end by road.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
Programmed instruction related hardware is completed, and foregoing program can be stored in a computer read/write memory medium, the program
Upon execution, the step of including above method embodiment is performed;And foregoing storage medium includes:ROM, RAM, magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
It is only schematical that live video described above, which promotes apparatus embodiments, wherein described be used as separating component
The unit of explanation can be or may not be physically separate, and the part shown as unit can be or can also
It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality
Selection some or all of module therein is needed to realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not
In the case of paying performing creative labour, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
Realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Understood based on such, on
The part that technical scheme substantially in other words contributes to prior art is stated to embody in the form of software product, should
Computer software product can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some fingers
Order is to cause a computer equipment (can be personal computer, server, or network equipment etc.) to perform each implementation
Method described in some parts of example or embodiment.
A kind of live video promotion method proposed by the present invention and equipment, are set by subregion magic lantern, and being that high-quality is live regards
The popularization of frequency adds channel so that user is easier to find high-quality video resource, can effectively lift Consumer's Experience.
Finally, the present processes are only preferably embodiment, are not intended to limit the scope of the present invention.It is all
Within the spirit and principles in the present invention, any modification, equivalent substitution and improvements made etc. should be included in the protection of the present invention
Within the scope of.