Summary of the invention
The main purpose of the present invention is to provide a kind of sort method of video navigation menu and device, computer-readable deposit
Storage media, it is intended to which the operation complexity for reducing navigation menu keeps user's operation more convenient.
To achieve the above object, the sort method of a kind of video navigation menu provided by the invention, comprising:
When receiving the instruction of video navigation menu access, the video playing log of smart television storage is obtained, wherein institute
State video playing log include video navigation menu bar now each video file click record information;
Parse and respectively click record information in video playing log, determine each video navigation menu bar now video file the
One video hits;
Each video navigation menu bar purpose serial number is determined according to each first video hits;
Relative position of each video navigation menu column in video navigation menu is adjusted according to each serial number.
Preferably, the video navigation menu column including the first total video navigation menu column and divides video navigation dish
Single column, and the first total video navigation menu column nesting divides video navigation menu column.
Preferably, the step of determining each video navigation menu bar purpose serial number according to each first video hits packet
It includes:
Obtain the corresponding second video hits of each point of video navigation menu column;
The corresponding second video hits of each point of video navigation menu column are added, the first video hits are obtained;
The serial number of each first total video navigation menu column is determined according to each first video hits, and according to each second
Video hits determine each point of video navigation menu bar purpose serial number.
Preferably, the video playing log include the video navigation menu bar now each video file broadcasting stop
Time point;The serial number that each first total video navigation menu column is determined according to each first video hits, and according to each
Second video hits determined before the step of each point of video navigation menu bar purpose serial number further include:
Judge in each first total video navigation menu column with the presence or absence of consistent second total video of the first video hits
Navigation menu column;
If so, calculate the second total video navigation menu column under each video file broadcasting intermission point and it is current when
Between the time span put, and determine the first total video navigation menu column and according to time span, the first video hits
The serial number of two total video navigation menu columns;
If it is not, then executing the sequence for determining each first total video navigation menu column according to each first video hits
Number, and the step of determining each point of video navigation menu bar purpose serial number according to each second video hits.
In addition, to achieve the above object, the present invention also provides a kind of collators of video navigation menu, including storage
Device, processor and the collator for being stored in the video navigation menu that can be run on the memory and on the processor,
It is realized when the collator of the video navigation menu is executed by the processor according to any one of claims 1 to 4
The step of method.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium
The collator of video navigation menu is stored on storage medium, the collator of the video navigation menu is executed by processor
The step of sort method of Shi Shixian video navigation menu according to any one of claims 1 to 4.
The invention proposes a kind of sort method of video navigation menu and devices, computer readable storage medium, pass through
Obtain smart television in video navigation menu menu bar now, the first video hits of each video file, according to each first
Video hits determine the corresponding each menu bar purpose serial number of video navigation menu, further according to each menu bar purpose sequence
Number relative position of the adjustment menu column in video navigation menu, is realized according to the video hits of video file come to video
The sequence of navigation menu keeps user's operation more convenient to reduce the operation complexity of navigation menu.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
As shown in Figure 1, Fig. 1 is the terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to.
The terminal of that embodiment of the invention can be PC, be also possible to smart phone, tablet computer, E-book reader, MP3
(Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3)
Player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard sound
Frequency level 3) the packaged type terminal device having a display function such as player, portable computer.
As shown in Figure 1, the terminal may include: processor 1001, such as CPU, network interface 1004, user interface
1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is for realizing the connection communication between these components.
User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional user interface
1003 can also include standard wireline interface and wireless interface.Network interface 1004 optionally may include that the wired of standard connects
Mouth, wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, be also possible to stable memory
(non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor
1001 storage device.
Optionally, terminal can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, audio
Circuit, WiFi module etc..Wherein, sensor such as optical sensor, motion sensor and other sensors.Specifically, light
Sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can according to the light and shade of ambient light come
The brightness of display screen is adjusted, proximity sensor can close display screen and/or backlight when mobile terminal is moved in one's ear.As
One kind of motion sensor, gravity accelerometer can detect the size of (generally three axis) acceleration in all directions, quiet
Size and the direction that can detect that gravity when only, the application that can be used to identify mobile terminal posture are (such as horizontal/vertical screen switching, related
Game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Certainly, mobile terminal can also match
The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor are set, details are not described herein.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Fig. 1, can wrap
It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium
Believe the collator of module, Subscriber Interface Module SIM and video navigation menu.
In terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, carries out with background server
Data communication;User interface 1003 is mainly used for connecting client (user terminal), carries out data communication with client;And processor
1001 can be used for calling the collator of the video navigation menu stored in memory 1005, and execute following operation:
[when receiving the instruction of video navigation menu access, obtain the video playing log of smart television storage, wherein
The video playing log include video navigation menu bar now each video file click record information, parse video playing day
Record information is respectively clicked in will, determines the first video hits of each video navigation menu bar video file now, according to each the
One video hits determine each video navigation menu bar purpose serial number, adjust each video navigation menu column according to each serial number
Relative position in video navigation menu.Wherein, the video navigation menu column includes the first total video navigation menu column
Mesh and divide video navigation menu column, and the first total video navigation menu column nesting divides video navigation menu column.]
Further, processor 1001 can call the collator of the video navigation menu stored in memory 1005,
Also execute following operation:
[obtain the corresponding second video hits of each point of video navigation menu column;
The corresponding second video hits of each point of video navigation menu column are added, the first video hits are obtained;
The serial number of each first total video navigation menu column is determined according to each first video hits, and according to each second
Video hits determine each point of video navigation menu bar purpose serial number.]
Further, processor 1001 can call the collator of the video navigation menu stored in memory 1005,
Also execute following operation:
[in the serial number for determining each first total video navigation menu column according to each first video hits, and according to each
Before second video hits determine each point of video navigation menu bar purpose serial number, each first total video navigation menu column is judged
It whether there is the consistent second total video navigation menu column of the first video hits in mesh;
If so, calculate the second total video navigation menu column under each video file broadcasting intermission point and it is current when
Between the time span put, and determine the first total video navigation menu column and according to time span, the first video hits
The serial number of two total video navigation menu columns;
If it is not, then executing the sequence for determining each first total video navigation menu column according to each first video hits
Number, and the step of determining each point of video navigation menu bar purpose serial number according to each second video hits.]
Based on the above issues, the present invention provides a kind of sort method of video navigation menu.
Referring to Fig.1, Fig. 1 is the flow diagram of the first embodiment of the sort method of video navigation menu of the present invention.
In the present embodiment, the sort method of the video navigation menu includes:
Step S10 obtains the video playing day of smart television storage when receiving the instruction of video navigation menu access
Will, wherein video playing log include video navigation menu bar now each video file click record information;
In the present embodiment, video APP is installed in smart television, the video navigation menu in video APP is classification,
Including multiple first total video navigation menu columns and multiple points of video navigation menu columns, and each first total video navigates
Multiple points of video navigation menu columns have all been respectively associated in menu column, for example, video navigation menu includes A-F in video APP
Totally 6 the first total video navigation menu columns include a-z 26 totally points of videos under each first total video navigation menu column
Navigation menu column.When user starts video APP by remote control control, what is initially entered is the first total video navigation menu
Then column divides video navigation menu column under total menu bar by clicking the first total video navigation menu column,
And each point of video navigation menu bar has multi-section film with regard to list now.Divide video navigation when user plays certain by remote control control
When menu bar some video file now, a click record information is generated, and be stored in the video playing day of smart television
In will, for example, user opens " film " column (A column) in the first total video navigation menu column by remote control control,
Then it is opened in " film " column by remote control control and divides video navigation menu column " literature and art film " column (f column), most
Selection plays certain film in " literature and art film " column afterwards, then generating an Af record when selection plays portion's film
Information, and Af record information is stored in video playing log.Refer to when smart television receives video navigation menu access
When enabling, show that user wants to open the video APP installed in smart television, and access the video navigation menu in video APP, this
When, obtain the video playing log of smart television storage, wherein video playing log includes that video navigation menu bar respectively regards now
The click of frequency file records information.
It should be noted that video navigation menu column includes the first total video navigation menu column and divides video navigation
Menu column, and the first total video navigation menu column nesting divides video navigation menu column.
Step S20 parses and respectively clicks record information in video playing log, determines each video navigation menu bar video now
First video hits of file;
It parses and respectively clicks record information in video playing log, determine the first video point of each menu bar video file now
Hit number, for example, one group of click record information is Aa, Ac, Af, Af in video playing log, another group of click record information be Ba,
Bh parses each click and records information, determines that the first video of video file under the first total video navigation menu column A column is clicked
Number is 4 times, and the video hits of video file are all 1 time under its corresponding point of video navigation menu column a column, c column,
The video hits of video file under f column are 2 times;The of video file under first total video navigation menu column B column
One video hits are 2 times, and the video of video file is clicked under its corresponding point of video navigation menu column a column, h column
Number is all 1 time.
Step S30 determines each video navigation menu bar purpose serial number according to each first video hits;
Step S40 adjusts relative position of each video navigation menu column in video navigation menu according to each serial number.
It is associated with due to clicking record information with the first total video navigation menu column with video navigation menu column is divided,
The serial number of each first total video navigation menu column is determined according to the size of each first video hits.For example, first is total
The first video hits of video file are 4 times under video navigation menu column A column, the first total video navigation menu column B
The first video hits of video file are 2 times under column, then the serial number of A column is determined as No. 1, B column is determined
It is No. 2.Relative position of each video navigation menu column in video navigation menu is adjusted according to each serial number, for example, by the column A
Mesh is arranged in the upper left position of smart television display interface, and the arrangement of B column is sequentially arranged in after A column.
The present invention passes through the menu bar of video navigation menu in determining smart television now, the first video of each video file
Hits determine each video navigation menu bar purpose serial number according to each first video hits, further according to each serial number
Relative position of each video navigation menu column in video navigation menu is adjusted, the actual play according to video file is realized
Frequency is ranked up menu column, to reduce the operation complexity of navigation menu, keeps user's operation more convenient.
Further, referring to Fig. 2, being the flow diagram of the refinement step of step S30 in first embodiment of the invention,
The refinement step of step S30 includes:
Step S31 obtains the corresponding second video hits of each point of video navigation menu column;
Determine the video of the corresponding each point of video navigation menu bar of the first total video navigation menu column video file now
Number of clicks, it can be understood as determine that the associated each point of video navigation menu column of the first total video navigation menu column is corresponding
Second video hits, for example, corresponding point of video navigation menu column a column of the first total video navigation menu column A column,
The video number of clicks of video file is all 1 time under c column, and the video number of clicks of the video file under f column is 2 times;The
The video of video file under one corresponding point of total video navigation menu column B column video navigation menu column a column, h column
Hits are all 1 time.
The corresponding second video hits of each point of video navigation menu column are added, obtain the first video point by step S32
Hit number;
Step S33 determines the serial number of each first total video navigation menu column, and root according to each first video hits
Each point of video navigation menu bar purpose serial number is determined according to each second video hits.
The corresponding second video hits of video navigation menu column a column, c column, f column will be divided to be added, obtained
To the corresponding first video hits of the first total video navigation menu column A column, the corresponding first video hits of the A column
It is 4 times;Video text under first corresponding point of total video navigation menu column B column video navigation menu column a column, h column
Second video hits of part are all 1 time, a column, the corresponding second video hits of h column are added, the B column pair
The the first video hits answered are 2 times, determine the suitable of each first total video navigation menu column according to each first video hits
Serial number, and each point of video navigation menu bar purpose serial number is determined according to each second video hits.
The present embodiment is based further on the by obtaining the corresponding second video hits of each point of video navigation menu column
Two video hits are ranked up each point of video navigation menu column, to realize the reality according to user to video file
Broadcasting frequency is ranked up video navigation menu column, and the high video navigation menu column of actual play frequency is arranged in
The front end of video navigation menu.
Further, it is based on any of the above-described embodiment, referring to Fig. 3, being the row of video navigation menu proposed by the present invention
The flow diagram of the second embodiment of sequence method, in this second embodiment, before S33, the sequence of the video navigation menu
Method includes:
Step S50 judges in each first total video navigation menu column with the presence or absence of the first video hits consistent the
Two total video navigation menu columns;
In the present embodiment, judge consistent with the presence or absence of the first video hits in each first total video navigation menu column
The second total video navigation menu column, for example, the first total video navigation menu column includes A column, B column, C column,
In, the corresponding first video hits of A column are 3 times, and the corresponding first video hits of B column are 3 times, and C column is corresponding
First video hits are 2 times, it is determined that there are the first video hits are consistent in each first total video navigation menu column
Second total video navigation menu column (A column and B column), it is also desirable to judge be in each point of video navigation menu column
No there are consistent point of video navigation menu columns of the second video hits, for example, judging a column under A column, c column, the column f
Whether the corresponding second video hits of mesh are consistent.
Step S60, if there are consistent second total videos of the first video hits in the first total video navigation menu column
Navigation menu column, then calculate under the second total video navigation menu column the broadcasting intermission point of each video file and it is current when
Between the time span put, and determine the first total video navigation menu column and according to time span, the first video hits
The serial number of two total video navigation menu columns;
If there are the consistent second total video navigation menus of the first video hits in the first total video navigation menu column
Column, then calculate each video file under the second total video navigation menu column play intermission point and current point in time when
Between length, the serial number of the second total video navigation menu column is determined according to time span.Time span is shorter, shows video text
The play time of part is closer apart from current point in time, also indicates that the video file is that user is recently played;Time span is bigger,
Show that the play time of video file is remoter apart from current point in time, also indicates that the video file is that user more early plays.Its
In, video playing log includes the broadcasting intermission point of video navigation menu bar each video file now.
If there is no the consistent second total video navigation dishes of the first video hits in the first total video navigation menu column
Single column then returns to step S33, i.e., determines each first total video navigation menu column according to each first video hits
Serial number, and each point of video navigation menu bar purpose serial number is determined according to each second video hits.
Illustrate how the above method is realized below by a specific embodiment.
Certain user has literature and art film 4 in the video playing log in video app, and mystery movie 4, history TV play
3, youth love TV play 2, talk show variety 2;Film, TV play, variety are the first total video navigation menu columns,
The first video hits of each video file are 8 times under film after statistics, and the first video of each video file is clicked under TV play
Number is 5 times, and the first video hits of each video file are 2 times under variety, so the elder generation of the first total video navigation menu column
Afterwards sequence be film, TV play, variety and other do not broadcast type according to default sort.History plays in record, in film column
Under have literature and art and reasoning two classification, the second video hits are all 4 times after statistics, but the play time of literature and art film is according to current
Time is closer, then click to enter film column divide video navigation menu column after show literature and art at first, then show reasoning, and its
He does not broadcast type and shows according to default sort.Show talk show at first after clicking to enter variety column, other do not broadcast type according to
Default sort is shown.
The present embodiment, which further passes through, to be judged to click in each first total video navigation menu column with the presence or absence of the first video
The consistent second total video navigation menu column of number, if there are the first video hits one in the first total video navigation menu column
The the second total video navigation menu column caused, the then broadcasting for calculating each video file under the second total video navigation menu column stop
The time span at time point and current point in time, and determine that the first total video navigates according to time span, the first video hits
The serial number of menu column and the second total video navigation menu column.Since time span is shorter, show broadcasting for video file
It is closer to put time gap current point in time, therefore determines that the first total video is led according to according to time span, the first video hits
The serial number of boat menu column and the second total video navigation menu column realizes and adjusts video according to the use habit of user
User's most recently used frequency navigation menu column is arranged in the front end of video navigation menu by the sequence of navigation menu column.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium
On be stored with the collator of video navigation menu, realized such as when the collator of the video navigation menu is executed by processor
Lower operation:
[when receiving the instruction of video navigation menu access, obtain the video playing log of smart television storage, wherein
The video playing log include video navigation menu bar now each video file click record information;
Parse and respectively click record information in video playing log, determine each video navigation menu bar now video file the
One video hits;
Each video navigation menu bar purpose serial number is determined according to each first video hits;
Relative position of each video navigation menu column in video navigation menu is adjusted according to each serial number.Wherein, institute
It states video navigation menu column to include the first total video navigation menu column and divide video navigation menu column, and first always regards
Frequency navigation menu column nesting divides video navigation menu column.]
Further, following operation is also realized when the collator of the video navigation menu is executed by processor:
[obtain the corresponding second video hits of each point of video navigation menu column;
The corresponding second video hits of each point of video navigation menu column are added, the first video hits are obtained;
The serial number of each first total video navigation menu column is determined according to each first video hits, and according to each second
Video hits determine each point of video navigation menu bar purpose serial number.]
Further, following operation is also realized when the collator of the video navigation menu is executed by processor:
[in the serial number for determining each first total video navigation menu column according to each first video hits, and according to each
Before second video hits determine each point of video navigation menu bar purpose serial number, each first total video navigation menu column is judged
It whether there is the consistent second total video navigation menu column of the first video hits in mesh;
If so, calculate the second total video navigation menu column under each video file broadcasting intermission point and it is current when
Between the time span put, and determine the first total video navigation menu column and according to time span, the first video hits
The serial number of two total video navigation menu columns;
If it is not, then executing the sequence for determining each first total video navigation menu column according to each first video hits
Number, and the step of determining each point of video navigation menu bar purpose serial number according to each second video hits.]
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone,
Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.