CN108282681A - A kind of focus switching method and device - Google Patents

A kind of focus switching method and device Download PDF

Info

Publication number
CN108282681A
CN108282681A CN201810002416.5A CN201810002416A CN108282681A CN 108282681 A CN108282681 A CN 108282681A CN 201810002416 A CN201810002416 A CN 201810002416A CN 108282681 A CN108282681 A CN 108282681A
Authority
CN
China
Prior art keywords
focus
played
project
transmission signal
location 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
Application number
CN201810002416.5A
Other languages
Chinese (zh)
Inventor
于希光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Inspur Business System Co Ltd
Original Assignee
Shandong Inspur Business System Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shandong Inspur Business System Co Ltd filed Critical Shandong Inspur Business System Co Ltd
Priority to CN201810002416.5A priority Critical patent/CN108282681A/en
Publication of CN108282681A publication Critical patent/CN108282681A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • H04N21/4825End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists

Abstract

The present invention provides a kind of focus switching methods and device, this method to include:Load list to be played;The setting initialization focus in the list to be played records the location information of the initialization focus;Obtain externally input focal point control information;According to the focal point control information and the location information, change place to be cut is determined in the list to be played;The initialization focus is switched to the change place to be cut.Therefore, scheme provided by the invention can reduce the probability that exception occurs in focus when focus switches.

Description

A kind of focus switching method and device
Technical field
The present invention relates to field of computer technology, more particularly to a kind of focus switching method and device.
Background technology
With the continuous development of set-top box technique, set-top box can provide various interaction pages to the user.With When each interaction page is selected at family, the playitems playitem of needs is oriented using focus.
Currently, when user determines goal-focus in interaction page, the frequent switching focal position in interactive interface is needed. There is the problems such as switching is very fast or a focus switching command duration is long in handoff procedure.Due to the processing of set-top box Rate limitation cannot timely calculate switching position, cause confusion or lose so as to cause the focus in interaction page Abnormal conditions.Therefore, existing mode, when focus switches, it is higher to there is abnormal probability for focus.
Invention content
An embodiment of the present invention provides a kind of focus switching method and devices, and focus appearance can be reduced when focus switches Abnormal probability.
In a first aspect, an embodiment of the present invention provides a kind of focus switching method, this method includes:
Load list to be played;
The setting initialization focus in the list to be played records the location information of the initialization focus;
Obtain externally input focal point control information;
According to the focal point control information and the location information, transposition to be cut is determined in the list to be played It sets;
The initialization focus is switched to the change place to be cut.
Preferably,
The list to be played includes at least one project to be played;
The setting initialization focus in the list to be played, records the location information of the initialization focus, packet It includes:
In at least one project to be played, determine to be selected that frequency is highest waits broadcasting in preset time section Put project;
Focus is drawn for identified project to be played;
Set the focus drawn to initialization focus;
Determine order information of the project to be played of drawn focus in described put in order;
The order information is recorded as to the location information of the initialization focus.
Preferably,
The focal point control information includes at least one focal point control instruction;
It is described according to the focal point control information and the location information, determination is to be switched in the list to be played Position, including:
It regard each described focal point control instruction as current focus control instruction successively, is performed both by:
When receiving the current transmission signal of the current focus control instruction, holding for the current transmission signal is judged It whether abnormal resumes defeated duration, if so, in the current transmission signal terminating, determines the transmission of the current transmission signal Total duration;
According to the transmission total duration and the location information, the change place to be cut is determined.
Preferably,
It is described that the change place to be cut is determined according to the transmission total duration and the location information, including:
According to the transmission total duration and the fixed duration of preset focus switching, switching times are calculated;
According to the switching times and the location information, the change place to be cut is determined.
Preferably,
Further comprise:
When judging that the continuous transmission duration of the current transmission signal is normal, A1 to A5 is executed:
A1:In the current transmission signal terminating, judge whether receive next coke in preset duration interval The transmission signal of point control instruction, if so, executing A2;Otherwise, A4 is executed;
A2:Record is primary;
A3:Using the transmission signal of next focal point control instruction as current transmission signal, A1 is executed;
A4:Determine the total degree of record;
A5:According to the total degree and the location information, the change place to be cut is determined.
Second aspect, an embodiment of the present invention provides a kind of focus switching device, which includes:
Load-on module, for loading list to be played;
Logging modle, for setting initialization focus, record in the list to be played that the load-on module loads The location information of the initialization focus;
Acquisition module, for obtaining externally input focal point control information;
Determining module, the focal point control information and the logging modle for being obtained according to the acquisition module are remembered The location information of record determines change place to be cut in the list to be played of load-on module load;
Handover module, for the initialization focus to be switched to the change place to be cut that the determining module determines.
Preferably,
The list to be played includes at least one project to be played;
The logging modle, including:Submodule and record sub module are set;
The setting submodule, at least one project to be played, determining in preset time section The highest project to be played of selected frequency;Focus is drawn for identified project to be played;It sets the focus drawn to Initialize focus;
The record sub module, for determining sequence letter of the project to be played of drawn focus in described put in order Breath;The order information is recorded as to the location information of the initialization focus.
Preferably,
The focal point control information includes at least one focal point control instruction;
The determining module, including:Judging submodule and determination sub-module;
The judging submodule, for regarding each described focal point control instruction as current focus control instruction successively, It is performed both by:When receiving the current transmission signal of the current focus control instruction, holding for the current transmission signal is judged Whether abnormal defeated duration is resumed, if so, triggering the determination sub-module;
The determination sub-module is used under the triggering of the judging submodule, in the current transmission signal terminating, Determine the transmission total duration of the current transmission signal;According to the transmission total duration and the location information, determine described in Change place to be cut.
Preferably,
The determination sub-module, for according to the transmission total duration and the fixed duration of preset focus switching, calculating Go out switching times;According to the switching times and the location information, the change place to be cut is determined.
Preferably,
The determining module, further comprises:Handle submodule;
The judging submodule is further used for judging that the continuous transmission duration of the current transmission signal is normal When, trigger the processing submodule;
The processing submodule, under the triggering of the judging submodule, executing A1 to A5:
A1:In the current transmission signal terminating, judge whether receive next coke in preset duration interval The transmission signal of point control instruction, if so, executing A2;Otherwise, A4 is executed;
A2:Record is primary;
A3:Using the transmission signal of next focal point control instruction as current transmission signal, A1 is executed;
A4:Determine the total degree of record;
A5:According to the total degree and the location information, the change place to be cut is determined.
An embodiment of the present invention provides a kind of focus switching method and devices, load list to be played first, and waiting broadcasting Emplace the location information of setting initialization focus and record initialization focus in table.When getting focal point control information, root According to focal point control information and location information, change place to be cut is determined in list to be played.It then will initialization focus switching To change place to be cut, to complete focus switching.By above-mentioned it is found that can be by focal point control information and initial in this programme Change the location information of focus, focus point switches over.To improve the accuracy of focus switching, to reduce occur focus it is chaotic or The probability of loss.Therefore, scheme provided in an embodiment of the present invention can reduce the probability that exception occurs in focus when focus switches.
Description of the drawings
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 technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is a kind of flow chart of focus switching method provided by one embodiment of the present invention;
Fig. 2 is a kind of flow chart for focus switching method that another embodiment of the present invention provides;
Fig. 3 is a kind of hardware configuration of equipment where a kind of focus switching device that another embodiment of the present invention provides Figure;
Fig. 4 is a kind of structural schematic diagram of focus switching device provided by one embodiment of the present invention;
Fig. 5 is a kind of focus switching including setting submodule and record sub module provided by one embodiment of the present invention The structural schematic diagram of device;
Fig. 6 is a kind of structural schematic diagram for focus switching device that another embodiment of the present invention provides.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments, based on the embodiments of the present invention, those of ordinary skill in the art The every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
As shown in Figure 1, an embodiment of the present invention provides a kind of focus switching method, this method may comprise steps of:
Step 101:Load list to be played;
Step 102:The setting initialization focus in the list to be played records the position letter of the initialization focus Breath;
Step 103:Obtain externally input focal point control information;
Step 104:It is determining in the list to be played to wait for according to the focal point control information and the location information Switching position;
Step 105:The initialization focus is switched to the change place to be cut.
Embodiment according to figure 1 loads list to be played, and the setting initialization focus in list to be played first And the location information of record initialization focus.When getting focal point control information, according to focal point control information and position Information determines change place to be cut in list to be played.Then initialization focus is switched to change place to be cut, to complete focus Switching.By above-mentioned it is found that the location information of focal point control information and initialization focus, focus point can be passed through in this programme It switches over.To improve the accuracy of focus switching, there is the probability that focus is chaotic or loses to reduce.Therefore, of the invention The scheme that embodiment provides can reduce focus when focus switches and abnormal probability occurs.
In an embodiment of the invention, the specific pattern for the project to be played that list to be played includes can be according to industry Business requires to determine.For example, at least one project to be played can be at least one video to be played and at least one wait browsing One or more of website.
In an embodiment of the invention, it is defeated can be that user is carried out by remote controller equipment for the focal point control information of acquisition Enter.For example, when user pins the mobile button of remote controler, you can input focus controls information.
In an embodiment of the invention, realize the step 102 in flow chart shown in above-mentioned Fig. 1 in the list to be played Middle setting initializes focus, and the method for recording the location information of the initialization focus at least has the following two kinds:
Method one:
In an embodiment of the invention, list to be played involved in the flow chart shown in above-mentioned Fig. 1 include to When a few project to be played,
Step 102 in flow chart shown in above-mentioned Fig. 1 is arranged in the list to be played initializes focus, described in record Initialize focus location information, may include:
Determine putting in order at least one project to be played;
To draw focus positioned at the first project to be played;
Set the focus drawn to initialization focus;
Determine order information of the project to be played of drawn focus in described put in order;
The order information is recorded as to the location information of the initialization focus.
In the present embodiment, for example list to be played includes project 1 to be played, project to be played 2, project to be played 3 And project 4 to be played.That determines puts in order as project 1 to be played, project to be played 2, project to be played 3 and waits broadcasting Put project 4.It is then that project 1 to be played draws focus 1, sets focus 1 to initialization focus.Then project to be played is determined The ordinal position information that 1 order information is first, is then recorded as focus 1 by first.
Method two:
In an embodiment of the invention, list to be played involved in the flow chart shown in above-mentioned Fig. 1 include to When a few project to be played,
Step 102 in flow chart shown in above-mentioned Fig. 1 is arranged in the list to be played initializes focus, described in record Initialize focus location information, may include:
In at least one project to be played, determine to be selected that frequency is highest waits broadcasting in preset time section Put project;
Focus is drawn for identified project to be played;
Set the focus drawn to initialization focus;
Determine order information of the project to be played of drawn focus in described put in order;
The order information is recorded as to the location information of the initialization focus.
In the present embodiment, time interval can be determined according to business need.Such as 24 hours.
In the present embodiment, for example list to be played includes project 1 to be played, project to be played 2, project to be played 3 And project 4 to be played.That determines puts in order as project 1 to be played, project to be played 2, project to be played 3 and waits broadcasting Put project 4.And the selected frequency highest of project 2 to be played in time interval (24 hours), then it is drawn for project 2 to be played Focus 2.Set focus 2 to initialization focus.Then determine that the order information of project 2 to be played is second, then by the Two ordinal position information for being recorded as focus 2.
According to above-described embodiment, it is located at the first project to be played in list to be played since initialization focus can utilize Or be determined using the highest project to be played of frequency is selected in preset time section, therefore business is with strong applicability.And The location information for initializing focus is determined according to the order information of project to be played, therefore, initializes the position letter of focus Cease the more accurate of determination.
In an embodiment of the invention, focal point control information involved in the flow chart shown in above-mentioned Fig. 1 includes extremely When few focal point control instruction,
Step 104 in flow chart shown in above-mentioned Fig. 1 is according to the focal point control information and the location information, in institute It states and determines change place to be cut in list to be played, may include:
It regard each described focal point control instruction as current focus control instruction successively, is performed both by:
When receiving the current transmission signal of the current focus control instruction, holding for the current transmission signal is judged It whether abnormal resumes defeated duration, if so, in the current transmission signal terminating, determines the transmission of the current transmission signal Total duration;
According to the transmission total duration and the location information, the change place to be cut is determined.
In the present embodiment, judge that the whether abnormal method of the continuous transmission duration of current transmission signal may include: When receiving the current transmission signal of current focus control instruction, start recording persistently receive current transmission signal it is lasting when It is long;When the duration recorded has reached preset duration threshold value, judge to transmit whether signal terminates, if it is not, then judging The continuous transmission duration of current transmission signal is abnormal, illustrates that user may pin a remote controller key for a long time.
In the present embodiment, it is illustrated below for current focus control instruction with focal point control instruction 1:Receiving coke When the transmission signal of point control instruction 1, i.e., start recording persistently receives the duration of transmission signal.For example, in record duration When reaching preset duration threshold value (1S), then judge that transmitting signal does not terminate, and illustrates the continuous transmission for transmitting signal Duration is abnormal.So when monitoring the transmission signal terminating of focal point control instruction 1, determine transmission signal from beginning receiving time The time difference determined is determined as transmitting total duration by point to the time difference terminated between time point.
According to above-described embodiment, when judging to transmit the continuous transmission duration exception of signal, according to holding for transmission signal It resumes defeated duration and initializes the location information of focus, determine change place to be cut.Therefore, to be switched location determination is more Accurately.
In an embodiment of the invention, involved according to the transmission total duration and described in upper one embodiment Location information determines the change place to be cut, may include:
According to the transmission total duration and the fixed duration of preset focus switching, switching times are calculated;
According to the switching times and the location information, the change place to be cut is determined.
In the present embodiment, the fixed duration of focus point switching illustrates below:Focus switching is a length of from appointing when fixed One project to be played is switched to duration required when an its immediate next or upper project to be played.Default focus is cut Changing fixed duration can determine according to business need.For example, 0.5 second.
In the present embodiment, it according to transmission total duration and the fixed duration of preset focus switching, is calculated by formula (1) Go out switching times;
Wherein, S characterizes switching times;T characterization transmission total durations;A characterizes the fixed duration of focus switching.
In the present embodiment, may include according to the method that switching times and location information determine change place to be cut:Position Confidence breath is order information.Such as list to be played include project 1 to be played, project to be played 2, project to be played 3 and Project 4 to be played.That determines puts in order as project 1 to be played, project to be played 2, project to be played 3 and item to be played Mesh 4.Since initialization focus corresponds to project 2 to be played, so order information includes second, when determining switching times 5, Since project 2 to be played, each project to be played of searching loop stops when traversing the 5th time, will finally traverse The corresponding sequence of project to be played is determined as location information.For example, being operated by searching loop, determine that location information is third Position.Focus will be initialized by, which then needing, is switched at project 3 to be played.
In an embodiment of the invention, focus switching method may further include:
When judging that the continuous transmission duration of the current transmission signal is normal, A1 to A5 is executed:
A1:In the current transmission signal terminating, judge whether receive next coke in preset duration interval The transmission signal of point control instruction, if so, executing A2;Otherwise, A4 is executed;
A2:Record is primary;
A3:Using the transmission signal of next focal point control instruction as current transmission signal, A1 is executed;
A4:Determine the total degree of record;
A5:According to the total degree and the location information, the change place to be cut is determined.
In the present embodiment, in the transmission for judging to receive next focal point control instruction in preset duration interval When signal, illustrate the instruction of externally input focal point control excessively frequently (for example, user to the mobile button in remote controler into line frequency Numerous button operation).In order to reduce the situation for focus loss and confusion occur, so only remembering to current focus control instruction Record, does not go to load the corresponding data to be played of project to be played.
In the present embodiment, in the biography for judging not receive next focal point control instruction in preset duration interval When defeated signal, illustrate that initializing focus need to only be switched on the corresponding position of adjacent next project to be played.For example, waiting broadcasting It includes project 1, project to be played 2, project to be played 3 and project to be played 4 to be played to emplace table.The arrangement determined is suitable Sequence is project 1 to be played, project to be played 2, project to be played 3 and project to be played 4.It waits broadcasting since initialization focus corresponds to Project 2 is put, then initialization focus need to be only switched on 3 corresponding position of project to be played.
In the present embodiment, determine that the method for the total degree of record can be:Judge whether record number, if It is then to summarize each record number.
In the present embodiment, can be according to the method that total degree and location information determine change place to be cut:Believe position Breath is order information.For example list to be played includes project 1 to be played, project to be played 2, project to be played 3 and waits broadcasting Put project 4.That determines puts in order as project 1 to be played, project to be played 2, project to be played 3 and project to be played 4. Since initialization focus corresponds to project 2 to be played, so order information includes second, when determining switching times 2, then really It is 3 to make traversal number.Then since project 2 to be played, each project to be played of searching loop, when traversing third time Stop, finally traversing the corresponding sequence of project to be played and be determined as location information.For example, being operated by searching loop, really It is first to make location information.Focus will be initialized by, which then needing, is switched at project 1 to be played.
According to above-described embodiment, when transmitting signal terminating, and judge to receive in preset duration interval next The transmission signal of a focal point control instruction illustrates that user is frequently entering focal point control instruction.It needs to be determined that frequently entering focus The total degree of control instruction determines change place to be cut according to total degree and the location information of initialization focus.Therefore, it waits for Switching position determines more accurate.
In an embodiment of the invention, initialization focus is switched to and waits for by the step 105 in flow chart shown in above-mentioned Fig. 1 The method of switching position may include:Cancel initialization focus, new focus is drawn in change place to be cut.
In an embodiment of the invention, each project to be played in list to be played respectively correspond to one it is to be played Data.After the initialization focus is switched to the change place to be cut by the step 105 in the flow chart shown in above-mentioned Fig. 1, It may further include:Determine the corresponding project to be played of change place to be cut;Judge whether to receive acquisition instruction, if so, The corresponding data to be played of identified project to be played are obtained, and are played out.
Below for using remote controler input focus control information.Expansion illustrates focus switching method, as shown in Fig. 2, The focus switching method may include steps of:
Step 201:Load list to be played, wherein list to be played includes at least one project to be played.
In this step, it is loaded with list A to be played, wherein list A to be played includes including project 1 to be played, waiting broadcasting Put project 2, project to be played 3 and project to be played 4.
Step 202:In at least one project to be played, determine to choose selected frequency in preset time section most High project to be played.
In this step, determine that project 2 to be played is to choose selected frequency in preset time section (24 hours) Highest project to be played.
Step 203:Focus is drawn for identified project to be played.
In this step, it is that project 2 to be played draws focus A.
Step 204:Set the focus drawn to initialization focus.
In this step, focus A is set to initialization focus.
Step 205:Determine order information of the project to be played of drawn focus in putting in order.
In this step, each project to be played puts in order as project 1 to be played, project to be played 2, item to be played Mesh 3 and project to be played 4.Then determine that the order information of project 2 to be played is second.
Step 206:Order information is recorded as to the location information of initialization focus.
In this step, order information " second " is recorded as to the location information of initialization focus.
Step 207:Obtain externally input focal point control information, wherein focal point control information includes at least one focus Control instruction.
Step 208:It regard the instruction of each focal point control as current focus control instruction successively.
In this step, by taking focal point control instruction 1 is the instruction of that current focal point control as an example.
Step 209:In the current transmission signal for receiving current focus control instruction, holding for current transmission signal is judged Whether abnormal defeated duration is resumed, if so, executing step 210;Otherwise, step 213 is executed.
In this step, when receiving the current transmission signal of focal point control instruction 1, start recording persistently receives currently Transmit the duration of signal;When the duration recorded has reached preset duration threshold value (2 seconds), judge that current transmission is believed Number terminate, illustrate that the continuous transmission duration of current transmission signal is normal, execute step 213.
Step 210:In current transmission signal terminating, the transmission total duration of current transmission signal is determined.
Step 211:According to transmission total duration and the fixed duration of preset focus switching, switching times are calculated.
Step 212:According to switching times and location information, change place to be cut is determined, execute step 220.
Step 213:In the current transmission signal terminating, judge whether to receive in preset duration interval next The transmission signal of a focal point control instruction, if so, executing step 214;Otherwise, 216 are executed.
In this step, when focal point control instruction 1 is current focus control instruction, judge at preset duration interval The transmission signal for inside receiving next focal point control instruction 2, executes step 214.
In this step, when focal point control instruction 1 is current focus control instruction, judge at preset duration interval The transmission signal for not receiving next focal point control instruction inside, executes step 216.
Step 214:Record is primary.
In this step, it is primary to be directed to 1 record of focal point control instruction.
Step 215:The transmission signal that next focal point control is instructed executes step 213 as current transmission signal.
Step 216:Record number is judged whether, if so, executing step 217;Otherwise, step 219.
In this step, judge there is record number 1, execute step 217.
Step 217:Determine the total degree of record.
In this step, determine that the total degree of record is 1.
Step 218:According to total degree and location information, change place to be cut is determined, and execute step 220.
In this step, since initialization focus corresponds to project 2 to be played, so order information includes second, true When making switching times 2, determine that traversal number is 3.Then since project 2 to be played, each project to be played of searching loop, Stop when traversing third time, will finally traverse the corresponding sequence of project to be played and be determined as location information.For example, through Searching loop operation is crossed, determines that location information is first.Focus will be initialized by, which then needing, is switched at project 1 to be played.
Step 219:Determined number is 1, according to number 1 and location information, determines change place to be cut.
Step 220:It determines the corresponding project to be played of change place to be cut, judges whether to receive acquisition instruction, if so, Execute step 221;Otherwise, step 222 is executed;
Step 221:The corresponding data to be played of identified project to be played are obtained, and are played out, current stream is terminated Journey.
Step 222:Judge whether current focus control instruction is the instruction of the last one focal point control, if so, terminating to work as Preceding flow;Otherwise, step 208 is executed.
As shown in Figure 3, Figure 4, an embodiment of the present invention provides a kind of focus switching devices.Device embodiment can be by soft Part is realized, can also be realized by way of hardware or software and hardware combining.For hardware view, as shown in figure 3, being this hair A kind of hardware structure diagram of equipment where the focus switching device that bright embodiment provides, in addition to processor shown in Fig. 3, memory, Except network interface and nonvolatile memory, the equipment in embodiment where device usually can also include other hardware, Such as it is responsible for the forwarding chip of processing message.For implemented in software, as shown in figure 4, as the dress on a logical meaning It sets, is to read corresponding computer program instructions in nonvolatile memory in memory by the CPU of equipment where it to transport What row was formed.Focus switching device provided in this embodiment, including:
Load-on module 401, for loading list to be played;
Logging modle 402, for the setting initialization coke in the list to be played that the load-on module 401 loads Point records the location information of the initialization focus;
Acquisition module 403, for obtaining externally input focal point control information;
Determining module 404, the focal point control information for being obtained according to the acquisition module 403 and the record The location information that module 402 records determines transposition to be cut in the list to be played that the load-on module 401 loads It sets;
Handover module 405, for by the initialization focus be switched to the determining module 404 determine it is described to be switched Position.
Embodiment according to Fig.4, can pass through focal point control information in this programme and initialize the position of focus Information, focus point switch over.To improve the accuracy of focus switching, there is the probability that focus is chaotic or loses to reduce. Therefore, scheme provided in an embodiment of the present invention can reduce the probability that exception occurs in focus when focus switches.
In an embodiment of the invention, as shown in figure 5, including at least one item to be played in the list to be played When mesh,
Then, the logging modle 402 may include:Submodule 4021 and record sub module 4022 are set;
The setting submodule 4021, at least one project to be played, determining in preset time area The interior highest project to be played of selected frequency;Focus is drawn for identified project to be played;The focus drawn is set It is set to initialization focus;
The record sub module 4022, the project to be played for determining drawn focus are suitable in described put in order Sequence information;The order information is recorded as to the location information of the initialization focus.
In an embodiment of the invention, as shown in fig. 6, including at least one focal point control in the focal point control information When instruction,
Then, the determining module 404 may include:Judging submodule 4041 and determination sub-module 4042;
The judging submodule 4041, for being used as current focus control to refer to successively each described focal point control instruction It enables, is performed both by:When receiving the current transmission signal of the current focus control instruction, the current transmission signal is judged Whether continuous transmission duration is abnormal, if so, triggering the determination sub-module 4042;
The determination sub-module 4042, under the triggering of the judging submodule 4041, believing in the current transmission Number terminate when, determine the transmission total duration of the current transmission signal;According to the transmission total duration and the location information, Determine the change place to be cut.
In an embodiment of the invention, the determination sub-module 4042, for according to the transmission total duration and in advance If the fixed duration of focus switching, calculate switching times;According to the switching times and the location information, determine described in Change place to be cut.
In an embodiment of the invention, as shown in fig. 6, the determining module 404 may further include:Handle submodule Block 4043;
The judging submodule 4041 is further used for judging the continuous transmission duration of the current transmission signal just Chang Shi triggers the processing submodule 4043;
The processing submodule 4043, under the triggering of the judging submodule 4041, executing A1 to A5:
A1:In the current transmission signal terminating, judge whether receive next coke in preset duration interval The transmission signal of point control instruction, if so, executing A2;Otherwise, A4 is executed;
A2:Record is primary;
A3:Using the transmission signal of next focal point control instruction as current transmission signal, A1 is executed;
A4:Determine the total degree of record;
A5:According to the total degree and the location information, the change place to be cut is determined.
A kind of readable medium is provided in one embodiment of the invention, which includes:It executes instruction, when storage is controlled When being executed instruction described in the processor execution of device processed, the storage control executes focus switching side described in any one of the above embodiments Method.
A kind of storage control is provided in one embodiment of the invention, which includes:Processor, memory And bus;The memory is executed instruction for storing;The processor is connect with the memory by the bus;Work as institute When stating storage control operation, the processor executes the described of memory storage and executes instruction, so that the storage is controlled Device processed executes focus switching method described in any one of the above embodiments.
The contents such as the information exchange between each unit, implementation procedure in above-mentioned apparatus, due to implementing with the method for the present invention Example is based on same design, and particular content can be found in the narration in the method for the present invention embodiment, and details are not described herein again.
In conclusion following advantageous effect at least may be implemented in each embodiment of the present invention:
1, in embodiments of the present invention, list to be played, and the setting initialization focus in list to be played are loaded first And the location information of record initialization focus.When getting focal point control information, according to focal point control information and position Information determines change place to be cut in list to be played.Then initialization focus is switched to change place to be cut, to complete focus Switching.By above-mentioned it is found that the location information of focal point control information and initialization focus, focus point can be passed through in this programme It switches over.To improve the accuracy of focus switching, there is the probability that focus is chaotic or loses to reduce.Therefore, of the invention The scheme that embodiment provides can reduce focus when focus switches and abnormal probability occurs.
2, in embodiments of the present invention, it is located at the to be played of first place in list to be played since initialization focus can utilize Project or using in preset time section be selected the highest project to be played of frequency be determined, therefore business applicability compared with By force.And the location information for initializing focus is determined according to the order information of project to be played, therefore, initializes the position of focus Confidence ceases the more accurate of determination.
3, in embodiments of the present invention, when judging to transmit the continuous transmission duration exception of signal, according to transmission signal Continuous transmission duration and initialize focus location information, determine change place to be cut.Therefore, to be switched location determination It is more accurate.
4, in embodiments of the present invention, when transmitting signal terminating, and judge to receive in preset duration interval The transmission signal of next focal point control instruction illustrates that user is frequently entering focal point control instruction.It needs to be determined that frequently entering The total degree of focal point control instruction determines change place to be cut according to total degree and the location information of initialization focus.Cause This, to be switched location determination it is more accurate.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity Or operation is distinguished with another entity or operation, is existed without necessarily requiring or implying between these entities or operation Any actual relationship or order.Moreover, the terms "include", "comprise" or its any other variant be intended to it is non- It is exclusive to include, so that the process, method, article or equipment including a series of elements includes not only those elements, But also include other elements that are not explicitly listed, or further include solid by this process, method, article or equipment Some elements.In the absence of more restrictions, the element limited by sentence " including one ", is not arranged Except there is also other identical factors in the process, method, article or apparatus that includes the element.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in computer-readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes:ROM, RAM, magnetic disc or light In the various media that can store program code such as disk.
Finally, it should be noted that:The foregoing is merely presently preferred embodiments of the present invention, is merely to illustrate the skill of the present invention Art scheme, is not intended to limit the scope of the present invention.Any modification for being made all within the spirits and principles of the present invention, Equivalent replacement, improvement etc., are included within the scope of protection of the present invention.

Claims (10)

1. a kind of focus switching method, which is characterized in that including:
Load list to be played;
The setting initialization focus in the list to be played records the location information of the initialization focus;
Obtain externally input focal point control information;
According to the focal point control information and the location information, change place to be cut is determined in the list to be played;
The initialization focus is switched to the change place to be cut.
2. according to the method described in claim 1, it is characterized in that,
The list to be played includes at least one project to be played;
The setting initialization focus in the list to be played records the location information of the initialization focus, including:
In at least one project to be played, determine to be selected the highest item to be played of frequency in preset time section Mesh;
Focus is drawn for identified project to be played;
Set the focus drawn to initialization focus;
Determine order information of the project to be played of drawn focus in described put in order;
The order information is recorded as to the location information of the initialization focus.
3. according to the method described in claim 1, it is characterized in that,
The focal point control information includes at least one focal point control instruction;
It is described according to the focal point control information and the location information, transposition to be cut is determined in the list to be played It sets, including:
It regard each described focal point control instruction as current focus control instruction successively, is performed both by:
When receiving the current transmission signal of the current focus control instruction, the lasting biography of the current transmission signal is judged Whether defeated duration is abnormal, if so, in the current transmission signal terminating, when determining that the transmission of the current transmission signal is total It is long;
According to the transmission total duration and the location information, the change place to be cut is determined.
4. according to the method described in claim 3, it is characterized in that,
It is described that the change place to be cut is determined according to the transmission total duration and the location information, including:
According to the transmission total duration and the fixed duration of preset focus switching, switching times are calculated;
According to the switching times and the location information, the change place to be cut is determined.
5. according to the method described in claim 3, it is characterized in that,
Further comprise:
When judging that the continuous transmission duration of the current transmission signal is normal, A1 to A5 is executed:
A1:In the current transmission signal terminating, judge next focus control whether is received in preset duration interval The transmission signal of instruction is made, if so, executing A2;Otherwise, A4 is executed;
A2:Record is primary;
A3:Using the transmission signal of next focal point control instruction as current transmission signal, A1 is executed;
A4:Determine the total degree of record;
A5:According to the total degree and the location information, the change place to be cut is determined.
6. a kind of focus switching device, which is characterized in that including:
Load-on module, for loading list to be played;
Logging modle initializes focus, described in record for being arranged in the list to be played that the load-on module loads Initialize the location information of focus;
Acquisition module, for obtaining externally input focal point control information;
Determining module, what the focal point control information and the logging modle for being obtained according to the acquisition module recorded The location information determines change place to be cut in the list to be played of load-on module load;
Handover module, for the initialization focus to be switched to the change place to be cut that the determining module determines.
7. device according to claim 6, which is characterized in that
The list to be played includes at least one project to be played;
The logging modle, including:Submodule and record sub module are set;
The setting submodule is chosen at least one project to be played, determining in preset time section The middle highest project to be played of frequency;Focus is drawn for identified project to be played;The focus drawn is set as initial Change focus;
The record sub module, for determining order information of the project to be played of drawn focus in described put in order; The order information is recorded as to the location information of the initialization focus.
8. device according to claim 6, which is characterized in that
The focal point control information includes at least one focal point control instruction;
The determining module, including:Judging submodule and determination sub-module;
The judging submodule is held for regarding each described focal point control instruction as current focus control instruction successively Row:When receiving the current transmission signal of the current focus control instruction, the lasting biography of the current transmission signal is judged Whether defeated duration is abnormal, if so, triggering the determination sub-module;
The determination sub-module, under the triggering of the judging submodule, in the current transmission signal terminating, determining The transmission total duration of the current transmission signal;According to the transmission total duration and the location information, determine described to be cut Change place.
9. device according to claim 8, which is characterized in that
The determination sub-module, for according to the transmission total duration and the fixed duration of preset focus switching, calculating and cutting Change number;According to the switching times and the location information, the change place to be cut is determined.
10. device according to claim 8, which is characterized in that
The determining module, further comprises:Handle submodule;
The judging submodule is further used for when judging that the continuous transmission duration of the current transmission signal is normal, touches Send out processing submodule described;
The processing submodule, under the triggering of the judging submodule, executing A1 to A5:
A1:In the current transmission signal terminating, judge next focus control whether is received in preset duration interval The transmission signal of instruction is made, if so, executing A2;Otherwise, A4 is executed;
A2:Record is primary;
A3:Using the transmission signal of next focal point control instruction as current transmission signal, A1 is executed;
A4:Determine the total degree of record;
A5:According to the total degree and the location information, the change place to be cut is determined.
CN201810002416.5A 2018-01-02 2018-01-02 A kind of focus switching method and device Pending CN108282681A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810002416.5A CN108282681A (en) 2018-01-02 2018-01-02 A kind of focus switching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810002416.5A CN108282681A (en) 2018-01-02 2018-01-02 A kind of focus switching method and device

Publications (1)

Publication Number Publication Date
CN108282681A true CN108282681A (en) 2018-07-13

Family

ID=62803075

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810002416.5A Pending CN108282681A (en) 2018-01-02 2018-01-02 A kind of focus switching method and device

Country Status (1)

Country Link
CN (1) CN108282681A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111966253A (en) * 2020-07-28 2020-11-20 北京旷视科技有限公司 Page focus processing method and device, electronic equipment and computer storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120050616A1 (en) * 2010-08-25 2012-03-01 Telefonaktiebolaget Lm Ericsson (Publ) Controlling streaming media responsive to proximity to user selected display elements
CN103294348A (en) * 2013-06-27 2013-09-11 深圳Tcl新技术有限公司 List type menu display control method and device and television
US20150271556A1 (en) * 2012-11-02 2015-09-24 Sony Computer Entertainment Inc. Information processing apparatus and information processing method
CN105183469A (en) * 2015-09-01 2015-12-23 深圳Tcl数字技术有限公司 Method and apparatus for focus location during application switching
CN105320397A (en) * 2014-12-16 2016-02-10 维沃移动通信有限公司 Focal point switching method and mobile terminal thereof
CN105681923A (en) * 2014-11-20 2016-06-15 未来电视有限公司 Method and apparatus for operating TV video menu
CN106060616A (en) * 2016-06-07 2016-10-26 青岛海信电器股份有限公司 Operation processing method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120050616A1 (en) * 2010-08-25 2012-03-01 Telefonaktiebolaget Lm Ericsson (Publ) Controlling streaming media responsive to proximity to user selected display elements
US20150271556A1 (en) * 2012-11-02 2015-09-24 Sony Computer Entertainment Inc. Information processing apparatus and information processing method
CN103294348A (en) * 2013-06-27 2013-09-11 深圳Tcl新技术有限公司 List type menu display control method and device and television
CN105681923A (en) * 2014-11-20 2016-06-15 未来电视有限公司 Method and apparatus for operating TV video menu
CN105320397A (en) * 2014-12-16 2016-02-10 维沃移动通信有限公司 Focal point switching method and mobile terminal thereof
CN105183469A (en) * 2015-09-01 2015-12-23 深圳Tcl数字技术有限公司 Method and apparatus for focus location during application switching
CN106060616A (en) * 2016-06-07 2016-10-26 青岛海信电器股份有限公司 Operation processing method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111966253A (en) * 2020-07-28 2020-11-20 北京旷视科技有限公司 Page focus processing method and device, electronic equipment and computer storage medium

Similar Documents

Publication Publication Date Title
US10834325B2 (en) Recording apparatus, method for controlling the same, and recording medium
US20070294212A1 (en) Information processing apparatus, control method thereof, program, and storage medium
RU2004117876A (en) TELEVISION RECEIVER
EP4109878A1 (en) Content operation method and device, terminal, and storage medium
US6067398A (en) Image recording apparatus
CN101807387A (en) Messaging device and method
US10498950B2 (en) Recording control apparatus and control method of recording control apparatus
CN103974013B (en) Carry out the method and video record equipment of video record playback
CN108282681A (en) A kind of focus switching method and device
CN105304140B (en) The test method and device of the memory performance of electronic equipment
CN104244036B (en) Display device and display system
JPH09297677A (en) Fifo buffer for erasing partial data group
US9786317B2 (en) Recording apparatus and method of controlling recording apparatus
US20060120688A1 (en) Electronic device including timer programmed recording means
CN1812530B (en) Display control apparatus and method
US7694071B1 (en) Disk drives and methods allowing configurable zoning
JP4225740B2 (en) File management device
US7750952B2 (en) Image data recording or storing apparatus, computer program for controlling said apparatus, and method for initializing areas on a recording medium
JP2007110566A (en) Device and method for editing animation
CN108345431A (en) A kind of method and device of digital independent
US8433179B2 (en) Recording apparatus, recording method, and program
JP4364158B2 (en) Data processing device
KR101961547B1 (en) Apparatus for processing virtual file system and method thereof
CN100373352C (en) Data recording apparatus, initialization method of recording medium, and storage medium
JP6544340B2 (en) Display system

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

Application publication date: 20180713

RJ01 Rejection of invention patent application after publication