CN106454530A - Focus control method and device - Google Patents
Focus control method and device Download PDFInfo
- Publication number
- CN106454530A CN106454530A CN201610903737.3A CN201610903737A CN106454530A CN 106454530 A CN106454530 A CN 106454530A CN 201610903737 A CN201610903737 A CN 201610903737A CN 106454530 A CN106454530 A CN 106454530A
- Authority
- CN
- China
- Prior art keywords
- data item
- numbering
- target data
- row
- screen
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47205—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/4722—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting additional data associated with the content
- H04N21/4725—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting additional data associated with the content using interactive regions of the image, e.g. hot spots
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/485—End-user interface for client configuration
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Databases & Information Systems (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a focus control method and device. The method comprises the following steps: determining the row/line of target data via an acquired current direction key value; when the row/line of the target data is different from that of an anchor point, and the last row/line of a data source, corresponding to a data item, in the direction of the current direction key value is not displayed on a screen, fixing the position of a focus on the screen; moving each data item; and updating the row/line of the anchor point into that of the target data. The method can be used for fixing the position of the focus, and updating data items corresponding to the focus in a rolling manner, so that the focus control efficiency is improved.
Description
Technical field
The present invention relates to digital television techniques field, particularly to a kind of focus control method and device.
Background technology
Intelligent television, based on computer technology, possesses open operating system and chip, has open application platform,
Gather multi-function in integral whole, user's variation and individual demand can be met.At present, intelligent television mainly passes through focal point control
Display data message.
Existing focal point control mode, mainly by the movement of focus, on screen, fixing display data message, works as data
When containing much information, need to be shown by page turning.But the method for this fixing display data is limited to the size of screen, user
Needs switch continually, just can move the focus to target location, this process waste user more operating time.
Content of the invention
Embodiments provide a kind of focus control method and device, improve the efficiency of focal point control.
A kind of focus control method, including:
Receive current direction key value;
When described current direction key value is for moving up or moving down,
According to described current direction key value, determine first object data item, and described first object data item place
Target data rows;
Judge whether to meet:Described target data rows is different from anchor point row, and the corresponding data source of data item is worked as described
Last column on the direction of front direction key value is not explicitly shown on screen, if it is satisfied, then the position that fixed-focus is on screen
Put, each data item mobile so that described first object data item moves to position on screen for the described focus, by described anchor
Point row is updated to described target data rows;If be unsatisfactory for, move described focus on screen according to described current direction key value
Position, described focus is moved to described first object data item;
When described current direction key value is for being moved to the left or moving right,
Determine the second target data item, and the mesh at described second target data item place according to described current direction key value
Mark data row;
Judge whether to meet:Described target data row are different from anchor point row, and described data source is at described current directionkeys
Last row on the direction of value are not explicitly shown on screen, if it is satisfied, then the position that fixed-focus is on screen, mobile each
Described anchor point row are updated by individual data item so that described second target data item moves to position on screen for the described focus
For described target data row;If be unsatisfactory for, move position on screen for the described focus according to described current direction key value, will
Described focus moves to described second target data item.
Preferably,
Farther include:Pre-set anchor point display line on screen for the described anchor point row;
Described judging whether meets:Last on the direction of described current direction key value of the corresponding data source of data item
Row is not explicitly shown on screen, including:
When described current direction key value is for moving down,
Judge that total line number of described data source deducts whether described target data rows deducts institute not less than screen display line number
State anchor point display line, if it is, determine that the corresponding data source of data item last column in a downward direction is not explicitly shown
On screen, otherwise, it determines last column that the corresponding data source of data item is in a downward direction is shown on screen.
Preferably,
Farther include:Pre-set the anchor point display row that described anchor point is listed on screen;
Described judging whether meets:Last on the direction of described current direction key value of the corresponding data source of data item
Row are not explicitly shown on screen, including:
When described current direction key value is for moving right,
Judge that total columns of described data source deducts whether described target data row deduct institute not less than screen display columns
State anchor point display row, if it is, determine that the corresponding data source of data item last row in right direction are not explicitly shown
On screen, otherwise, it determines last row that the corresponding data source of data item is in right direction are shown on screen.
Preferably,
Farther include:
In advance corresponding numbering, wherein, A are set for each data item in described data sourcei,j=(i-1) n+j-1, its
In, Ai,jFor the numbering of current data item, i is line number in described data source for the current data item, and j is that current data item is in institute
Stating the columns in data source, n is total columns of described data source;
Described according to described current direction key value, determine first object data item, and described first object data item institute
Target data rows, including:
When described current direction key value is for moving down,
Obtain the numbering of current target data item, it is judged that whether current target data item meets formula one, if it is, root
According to formula two, determine the first numbering of first object data item, otherwise, according to formula three, determine described first object data item
Second numbering;
Described formula one is:a+n<M, wherein, a is the numbering of described current target data item, and n is the total of described data source
Columns, m is the sum of data item in described data source;
Described formula two is:B=a+n, wherein, b is the first numbering of described first object data item;
Described formula three is:C=m-1, wherein, c is the second numbering of described first object data item;
Numbering according to described first object data item and formula four, determine described target data rows, wherein, described formula
Four are:Wherein, e is described target data rows, and x is the numbering of described first object data item, described first
The numbering of target data item includes:First numbering of described first object data item, the second volume of described first object data item
Number.
Preferably,
In advance corresponding numbering, wherein, A are set for each data item in described data sourceq,p=(p-1) s+q-1, its
In, Aq,pFor the numbering of current data item, p is columns in described data source for the current data item, and q is that current data item is in institute
Stating the line number in data source, s is total line number of described data source;
Described determine the second target data item, and described second target data item place according to described current direction key value
Target data row, including:
When described current direction key value is for moving right,
Obtain the numbering of current target data item, it is judged that whether current target data item meets formula five, if it is, root
According to formula six, determine the first numbering of described second target data item, otherwise, according to formula seven, determine described second number of targets
The second numbering according to item;
Described formula five is:r+s<W, wherein, r is the numbering of described current target data item, and s is the total of described data source
Line number, w is the sum of data item in described data source;
Described formula six is:G=r+s, wherein, g is the first numbering of described second target data item;
Described formula seven is:H=w-1, wherein, h is the second numbering of described second target data item;
Numbering according to described second target data item and formula eight, determine that described target data arranges, wherein, and described formula
Eight are:Wherein, f is described target data row, and y is the numbering of described second target data item, described the
The numbering of two target data item includes:First numbering of described second target data item, the second of described second target data item
Numbering.
A kind of focal point control device, including:
Receiving unit, is used for receiving current direction key value;
Key assignments judging unit, is used for the moving direction of the described current direction key value judging that described receiving unit receives;
First determining unit, for the described current direction key value that determines when described key assignments judging unit for moving up or
When moving down, according to described current direction key value, determine first object data item, and described first object data item place
Target data rows;
First judging unit, is used for judging whether to meet:Described first determining unit determine described target data rows with
Anchor point row is different, and last column that the corresponding data source of data item is on the direction of described current direction key value is not explicitly shown
On screen, if it is satisfied, trigger the first updating block;If be unsatisfactory for, trigger the first mobile unit;
Described first updating block, is used for position on screen for the fixed-focus, each data item mobile so that described the
One target data item moves to position on screen for the described focus, and described anchor point row is updated to described target data rows;
Described first mobile unit, for moving position on screen for the described focus according to described current direction key value,
Described focus is moved to described first object data item;
Second determining unit, for the described current direction key value that determines when described key assignments judging unit for being moved to the left or
When moving right, determine the second target data item, and described second target data item place according to described current direction key value
Target data row;
Second judging unit, is used for judging whether to meet:Described second determining unit determine described target data row with
Anchor point row are different, and last row that described data source is on the direction of described current direction key value are not explicitly shown on screen,
If it is satisfied, trigger the second updating block;If be unsatisfactory for, trigger the second mobile unit;
Described second updating block, is used for position on screen for the fixed-focus, each data item mobile so that described the
Two target data item move to position on screen for the described focus, and described anchor point row are updated to described target data row;
Described second mobile unit, for moving position on screen for the described focus according to described current direction key value,
Described focus is moved to described second target data item.
Preferably,
Farther include:First arranges unit, for arranging anchor point display line on screen for the described anchor point row;
Described first judging unit, is further used for when described current direction key value is for moving down, it is judged that described number
Deduct not less than screen, whether described target data rows shows that line number deducts described first and arranges unit in advance according to total line number in source
The described anchor point display line arranging, if it is, determine that the corresponding data source of data item last column in a downward direction does not has
It is shown on screen, otherwise, it determines last column that the corresponding data source of data item is in a downward direction is shown on screen.
Preferably,
Farther include:Second arranges unit, for arranging the anchor point display row that described anchor point is listed on screen;
Described second judging unit, is further used for when described current direction key value is for moving right, it is judged that described number
Deduct not less than screen, whether described target data row show that columns deducts described second and arranges unit in advance according to total columns in source
The described anchor point display row arranging, if it is, determine that the corresponding data source of data item last row in right direction do not have
It is shown on screen, otherwise, it determines last row that the corresponding data source of data item is in right direction are shown on screen.
Preferably,
Farther include:First numbered cell, for arranging corresponding numbering for each data item in described data source,
Wherein, Ai,j=(i-1) n+j-1, wherein, Ai,jFor the numbering of current data item, i is that current data item is in described data source
Line number, j is columns in described data source for the current data item, and n is total columns of described data source;
Described first determining unit, being further used for the described current direction key value when described key assignments judging unit determines is
When moving down, obtain the numbering of current target data item in described first numbered cell, it is judged that current target data item whether
Meet formula one, if it is, according to formula two, determine the first numbering of first object data item, otherwise, according to formula three,
Determine the second numbering of described first object data item;
Described formula one is:a+n<M, wherein, a is the numbering of described current target data item, and n is the total of described data source
Columns, m is the sum of data item in described data source;
Described formula two is:B=a+n, wherein, b is the first numbering of described first object data item;
Described formula three is:C=m-1, wherein, c is the second numbering of described first object data item;
Numbering according to described first object data item and formula four, determine described target data rows, wherein, described formula
Four are:Wherein, e is described target data rows, and x is the numbering of described first object data item, described first
The numbering of target data item includes:First numbering of described first object data item, the second volume of described first object data item
Number.
Preferably,
Farther include:Second numbered cell, for arranging corresponding numbering for each data item in described data source,
Wherein, Aq,p=(p-1) s+q-1, wherein, Aq,pFor the numbering of current data item, p is that current data item is in described data source
Columns, q is line number in described data source for the current data item, and s is total line number of described data source;
Described second determining unit, being further used for the described current direction key value when described key assignments judging unit determines is
When moving right, obtain the numbering of current target data item in described second numbered cell, it is judged that current target data item whether
Meet formula five, if it is, according to formula six, determine the first numbering of described second target data item, otherwise, according to formula
Seven, determine the second numbering of described second target data item;
Described formula five is:r+s<W, wherein, r is the numbering of described current target data item, and s is the total of described data source
Line number, w is the sum of data item in described data source;
Described formula six is:G=r+s, wherein, g is the first numbering of described second target data item;
Described formula seven is:H=w-1, wherein, h is the second numbering of described second target data item;
Numbering according to described second target data item and formula eight, determine that described target data arranges, wherein, and described formula
Eight are:Wherein, f is described target data row, and y is the numbering of described second target data item, described the
The numbering of two target data item includes:First numbering of described second target data item, the second of described second target data item
Numbering.
Embodiments providing a kind of focus control method and device, the method is by the current direction key value obtaining
Determining target data row/column, when target data row/column is different from anchor point row/column, and the corresponding data source of data item is working as front
Last row/column on the direction of key assignments is not explicitly shown on screen, then position on screen for the fixed-focus, moves each
Anchor point row/column is updated to target data row/column by data item.The method can fixed focus position, the corresponding data of focusing
Item carries out rolling renewal, improves focal point control efficiency.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
In having technology to describe, the accompanying drawing of required use is briefly described, it should be apparent that, the accompanying drawing in describing below is the present invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
These accompanying drawings obtain other accompanying drawing.
Fig. 1 is a kind of focus control method flow chart that one embodiment of the invention provides;
Fig. 2 is the another kind of focus control method flow chart that one embodiment of the invention provides;
Fig. 3 is a kind of focal point control apparatus structure schematic diagram that one embodiment of the invention provides;
Fig. 4 is the another kind of focal point control apparatus structure schematic diagram that one embodiment of the invention provides;
Fig. 5 is another focal point control apparatus structure schematic diagram that one embodiment of the invention provides;
Fig. 6 is another focal point control apparatus structure schematic diagram that one embodiment of the invention provides;
Fig. 7 is a kind of focal point control apparatus structure schematic diagram that another embodiment of the present invention provides.
Detailed description of the invention
Purpose, technical scheme and advantage for making the embodiment of the present invention are clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
The a part of embodiment of the present invention, rather than whole embodiments, based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment being obtained on the premise of not making creative work, broadly falls into the scope of protection of the invention.
As it is shown in figure 1, embodiments provide a kind of focus control method, the method may comprise steps of:
Step 101:Receive current direction key value;
Step 102:Judging the moving direction of current direction key value, current direction key value is for moving up or moving down
When, step 103, when current direction key value is for being moved to the left or moving right, step 107;
Step 103:Determine first object data item, and the mesh at first object data item place according to current direction key value
Mark data row;
Step 104:Judge whether to meet:Target data rows is different from anchor point row, and the corresponding data source of data item is being worked as
Last column on the direction of front direction key value is not explicitly shown on screen, if it is satisfied, step 105, if be unsatisfactory for,
Step 106.
Step 105:Position on screen for the fixed-focus, each data item mobile so that first object data item moves
To position on screen for the focus, anchor point row is updated to target data rows;
Step 106:According to position on screen for the current direction key value moving focal point, move the focus to first object number
According to item;
Step 107:Determine the second target data item, and the mesh at the second target data item place according to current direction key value
Mark data row;
Step 108:Judge whether to meet:Target data row are different from anchor point row, and data source is in the side of current direction key value
Last row upwards are not explicitly shown on screen, if it is satisfied, step 109, if be unsatisfactory for, step 110;
Step 109:Position on screen for the fixed-focus, each data item mobile so that the second target data item moves
To position on screen for the focus, anchor point row are updated to target data row;
Step 110:According to position on screen for the current direction key value moving focal point, move the focus to the second number of targets
According to item.
Embodiments providing a kind of focus control method, the method determines mesh by the current direction key value obtaining
Mark data row/column, when target data row/column is different from anchor point row/column, and the corresponding data source of data item is at current direction key value
Direction on last row/column be not explicitly shown on screen, then position on screen for the fixed-focus, each data mobile
, anchor point row/column is updated to target data row/column.The method can fixed focus position, the corresponding data item of focusing is entered
Row rolls and updates, and improves focal point control efficiency.
In one embodiment of the invention, in order to determine the corresponding data source of data item in the direction of current direction key value
On last column whether be shown on screen, also included before step 104:Pre-set anchor point on screen for the anchor point row
Display line;Step 104 also includes:When current direction key value is for moving down, it is judged that total line number of data source deducts number of targets
Whether deduct anchor point display line not less than screen display line number according to row, if it is, determine the corresponding data source of data item to
Lower section last column upwards is not explicitly shown on screen, otherwise, it determines the corresponding data source of data item is in a downward direction
Last column is shown on screen.
Wherein, anchor point display line on screen for the anchor point row be focus carry out roll update when, corresponding focus is fixed
Display line on screen, user can be configured according to the size of display screen.Initial anchor point row can be with the anchor arranging
Point display line is identical, it is also possible to different.For example, the data item line number that screen can show is 3 row, arranges anchor point epideictic behaviour
2nd row, then, when focus carries out rolling and updates, the 2nd row that the position of focus is positioned on screen, initial anchor point row can set
Being set to the 2nd row, with the change of current direction key value, the position of anchor point row changes with the renewal of focal position.
In the present embodiment, data source is made up of the dynamically incoming data item of user, and this data source is according to user setup
Queueing discipline is arranged, and the data item number that this queueing discipline can be shown according to screen by user and roll mode determine,
Roll mode includes:Fixing row roll row, fixing row rolling column and roll row and column simultaneously.For example, the row that screen can show
Number is 3 row, and columns is 5 row, when the number of data item in data source is 100, then can arrange data source arrangement mode is 5
Row, now data source is arranged in 20 row, 5 row, and when according to current key assignments direction for moving up or moving down, screen can
To realize the scrolling display to data item all in data source, each time can be with 3 row data item in display data sources.For example, if
Put the 2nd row on anchor point epideictic behaviour screen, now anchor point behavior the 2nd row, when current key assignments direction is for moving down, determine target
Data behavioral data item the 3rd row, now target data rows is not equal to anchor point row, therefore, determines whether total line number of data source
20 deduct target data rows 3 deducts anchor point display line 2 more than screen display line number 3, determine the corresponding data source of data item to
Lower section last column upwards is not explicitly shown on screen.
Again for example, arranging the 2nd row on anchor point epideictic behaviour screen, now anchor point behavior the 19th row, current key assignments direction is
When moving down, determining target data behavior data item the 20th row, now target data rows is not equal to anchor point row, therefore, enters one
Step judges that total line number 20 of data source deducts target data rows 20 and deducts anchor point display line 2 less than screen display line number 3, determines number
It is not explicitly shown on screen according to the corresponding data source of item last column in a downward direction.
During it should be noted that current key assignments direction is for moving up, it is judged that whether target data rows shows more than anchor point
OK, if it is, determine that the corresponding data source of data item last column in an upward direction is not explicitly shown on screen, no
Then, determine that the corresponding data source of data item last column in an upward direction is shown on screen.
For example, arranging the 2nd row on anchor point epideictic behaviour screen, now anchor point behavior the 2nd row, current key assignments direction is for upwards
When mobile, determining target data behavior data item the 1st row, now target data rows is less than anchor point display line, determines data item pair
The data source answered last column in an upward direction is shown on screen.
In one embodiment of the invention, in order to determine the corresponding data source of data item in the direction of current direction key value
On last row whether be shown on screen, also included before step 104:Pre-set the anchor point that anchor point is listed on screen
Display row;Step 104 also includes:When current direction key value is for moving right, it is judged that total columns of data source deducts number of targets
Whether deduct anchor point display row not less than screen display columns according to row, if it is, determine the corresponding data source of data item to
Last row in right direction are not explicitly shown on screen, otherwise, it determines the corresponding data source of data item is in right direction
Last row are shown on screen.
Wherein, anchor point display row are similar with anchor point display line, and the anchor point display row that anchor point is listed on screen are focus and enter
Row rolls when updating, and the display row that corresponding focus is fixed on screen, user can set according to the size of display screen
Put.For example, the data item columns that can show when screen is 6 row, can arrange anchor point and show that being classified as the 3rd arranges, i.e. when focus is entered
Row rolls when updating, and focus is fixing to be shown on screen the 3rd row.
For example, in data source, the number of data item is 100, and the line number that screen can show is 4 row, and columns is 5 row, now
Roll mode is fixing row rolling column, then the arrangement mode that can arrange data source is 4 row, i.e. data source be arranged in 4 row, 25
Row.Arranging anchor point to show and be classified as on screen the 3rd row, now anchor point is classified as the 3rd row, when current key assignments direction is for moving right, really
The data that set the goal are classified as data item the 4th row, and now target data row are not equal to anchor point row, therefore, determine whether data source
Total columns 25 deducts target data row 4 and deducts anchor point display row 3 more than screen display columns 5, determines the corresponding data of data item
Source last row in right direction are not explicitly shown on screen.
Again for example, arranging anchor point to show and be classified as on screen the 3rd row, now anchor point behavior the 23rd arranges, and current key assignments direction is
When moving right, determining that target data is classified as data item the 24th row, now target data row are not equal to anchor point row, therefore, enter one
Step judges that total columns 25 of data source deducts target data row 24 and deducts anchor point display row 3 less than screen display columns 5, determines number
It is shown on screen according to the corresponding data source of item last row in right direction.
During it should be noted that current key assignments direction is for being moved to the left, it is judged that whether target data row show more than anchor point
Row, if it is, determine that the corresponding data source of data item last row in left direction are not explicitly shown on screen, no
Then, determine that the corresponding data source of data item last row in left direction are shown on screen.
For example, arranging anchor point to show and be classified as on screen the 3rd row, now anchor point is classified as the 3rd row, and current key assignments direction is for the left
When mobile, determining that target data is classified as data item the 2nd row, now target data row are less than anchor point display row, determine data item pair
The data source answered last row in left direction are shown on screen.
In one embodiment of the invention, in order to determine the target data rows at first object data item place, in step
Before 103, also include:In advance corresponding numbering, wherein, A are set for each data item in data sourcei,j=(i-1) n+j-1,
Wherein, Ai,jFor the numbering of current data item, i is line number in data source for the current data item, and j is that current data item is in data
Columns in source, n is total columns of data source;
Step 103 includes:When current direction key value is for moving down, obtain the numbering of current target data item, it is judged that
Whether current target data item meets formula (1), if it is, according to formula (2), determine the first numbering of first object data item,
Otherwise, according to formula (3), the second numbering of first object data item is determined;Numbering according to first object data item and formula (4),
Determine target data rows;
a+n<m (1)
B=a+n (2)
C=m-1 (3)
Wherein, a is the numbering of current target data item, and n is total columns of data source, and m is the total of data item in data source
Number;B is the first numbering of first object data item;C is the second numbering of first object data item;E is target data rows, and x is
The numbering of first object data item, the numbering of first object data item includes:First numbering of first object data item, the first mesh
Second numbering of mark data item.
For example, when roll mode rolls row for fixing row, to being arranged in 5 row, include that the data source of 100 data item is entered
Line number, the number order obtaining is A1,1=0, A1,2=1, A1,3=2, A1,4=3, A1,5=4, A2,1=5, A2,2=6 ...
When current direction key value is for moving down, if obtaining numbered the 6 of current target data item, 6+5 is less than 100,
Meet formula (1), according to formula (2), determine the first numbered 11 of first object data item, according to formula (4), determine target data rows
It is 2.If obtaining numbered the 97 of current target data item, 97+5 is more than 100, is unsatisfactory for formula (1), according to formula (3), determines first
The second numbered 99 of target data item, according to formula (4), determines target data behavior 20.
It should be noted that when current direction key value is for moving up, it is judged that whether current target data item meets formula
(5), if it is, according to formula (6), determine the numbering of the 3rd target data item, otherwise, do not deal with;According to the 3rd number of targets
According to numbering and the formula (7) of item, determine target data rows;
T=k-l (6)
Wherein, k is the numbering of current target data item, and l is total columns of data source, and t is the volume of the 3rd target data item
Number;D is target data rows.
In one embodiment of the invention, in order to determine the target data rows at first object data item place, in step
Before 107, also include:In advance corresponding numbering is set for each data item in data source,
Wherein, Aq,p=(p-1) s+q-1, wherein, Aq,pFor the numbering of current data item, p is that current data item is in data source
In columns, q is line number in data source for the current data item, and s is total line number of data source;
Step 107 also includes:When current direction key value is for moving right, obtains the numbering of current target data item, sentence
Whether disconnected current target data item meets formula (8), if it is, according to formula (9), determine the first volume of the second target data item
Number, otherwise, according to formula (10), determine the second numbering of the second target data item;Numbering according to the second target data item and public affairs
Formula (11), determines that target data arranges,
r+s<w (8)
G=r+s (9)
H=w-1 (10)
Wherein, r is the numbering of current target data item, and s is total line number of data source, and w is the total of data item in data source
Number;G is the first numbering of the second target data item;H is the second numbering of the second target data item;F is target data row, and y is
The numbering of the second target data item, the numbering of the second target data item includes:First numbering of the second target data item, the second mesh
Second numbering of mark data item.
For example, when roll mode is for fixing row rolling column, to being arranged in 5 row, include that the data source of 100 data item is entered
Line number, the number order obtaining is A1,1=0, A1,2=5, A1,3=10, A1,4=15, A1,5=20, A2,1=1, A2,2=
6……
When current direction key value is for moving right, if obtaining numbered the 8 of current target data item, 8+5 is less than 100,
Meet formula (8), according to formula (9), determine the second numbered 13 of the second target data item, according to formula (11), determine target data
It is classified as 2.If obtaining numbered the 95 of current target data item, 95+5 is equal to 100, is unsatisfactory for formula (8), according to formula (10), determines
The second numbered 99 of second target data item, according to formula (11), determines that target data rows is classified as 20.
It should be noted that when current direction key value is for being moved to the left, it is judged that whether current target data item meets formula
(12), if it is, according to formula (13), determine the numbering of the 4th target data item, otherwise, do not deal with;According to the 4th target
The numbering of data item and formula (14), determine that target data arranges;
I=o-v (13)
Wherein, o is the numbering of current target data item, and v is total line number of data source, and i is the volume of the 4th target data item
Number;Z is target data row.
As in figure 2 it is shown, the embodiment of the present invention is as a example by screen can show that 4 row 5 arrange, data item number is 100 in data source,
Focusing control method is described in detail, and the method comprises the following steps:
Step 201:Receive current direction key value.
Button can be arranged monitor, for receiving the current direction key value of user's input.
Step 202:Judging the moving direction of current direction key value, current direction key value is for moving up or moving down
When, step 203, when current direction key value is for being moved to the left or moving right, step 209.
Current direction key value includes moving up, move down, be moved to the left and moving right.When current direction key value is
When moving up or move down, step 203;When current direction key value is for being moved to the left or moving right, perform step
Rapid 209.
Step 203:For each data item in data source, the numbering corresponding to first object data item is set.
When roll mode rolls row for fixing row, can show that 4 row 5 arrange according to screen, in data source 100 data item
Arrange with the form of 5 row, and to each data item according to Ai,j=(i-1) n+j-1 is numbered, wherein, and Ai,jFor working as
The numbering of front data item, i is line number in data source for the current data item, and j is columns in data source for the current data item, n
For total columns of data source, obtain A1,1=0, A1,2=1, A1,3=2, A1,4=3, A1,5=4, A2,1=5, A2,2=6 ...
Step 204:Anchor point display line on screen for the anchor point row is set.
Because the line number that screen can show is 4 row, therefore, it can arrange anchor point epideictic behaviour 2.
Step 205:Determine first object data item, and the mesh at first object data item place according to current direction key value
Mark data row.
For example, now focus corresponding current target data item numbered 0, anchor point row initial value be equal to anchor point show
OK, therefore, anchor point behavior 2, when current direction key value is for moving down, 0+5 is less than 100, meets formula (1), according to formula (2),
Determine the first numbered 5 of first object data item, according to formula (4), determine target data behavior 2.
Step 206:Judge whether to meet:Target data rows is different from anchor point row, and the corresponding data source of data item is currently
Last column on the direction of direction key value is not explicitly shown on screen, if it is satisfied, step 207, if be unsatisfactory for, holds
Row step 208.
Judge that target data behavior 2 is identical with anchor point row 2, step 208.It should be noted that in execution of step
208, when again receiving current key assignments direction for moving down, can direct step 205.For example, execution of step
208, when subsequently receiving current key assignments direction for moving down, may determine that target data behavior 3, target according to step 205
Data row 3 is different from anchor point row 2, it is judged that total line number 20 of data source deducts target data rows 3 and deducts more than screen display line number 4
Anchor point display line 2, determines that the corresponding data source of data item last column on the direction of current direction key value is not explicitly shown
On screen, now, step 207.
Step 207:Position on screen for the fixed-focus, each data item mobile so that first object data item moves
To position on screen for the focus, anchor point row is updated to target data rows.
Position on screen for the fixed-focus is the 2nd row the 1st row, updates each data item so that the first of numbered 10
Target data item moves to position on screen for the focus, now target data behavior 3, updates anchor point behavior 3.
Step 208:According to position on screen for the current direction key value moving focal point, move the focus to first object number
According to item.
Move down position on screen for the focus, move the focus to first object data item, now first object number
According to item numbered 5.
Step 209:For each data item in data source, the numbering corresponding to the second target data item is set.
When roll mode is for fixing row rolling column, can show that 4 row 5 arrange according to screen, in data source 100 data item
Arrange with the form of 4 row, and to each data item according to Aq,p=(p-1) s+q-1 is numbered, wherein, and Aq,pFor working as
The numbering of front data item, p is columns in data source for the current data item, and q is line number in data source for the current data item, s
Total line number for data source.Obtain A1,1=0, A2,1=1, A3,1=2, A4,1=3, A1,2=4 ...
Step 210:The anchor point display row that anchor point is listed on screen are set.
Because the columns that screen can show is 5 row, therefore, it can to arrange anchor point and show and be classified as 2.
Step 211:Determine the second target data item, and the mesh at the second target data item place according to current direction key value
Mark data row.
For example, now focus corresponding current target data item numbered 0, anchor point row initial value be equal to anchor point show
Row, therefore, anchor point is classified as 2, and when current direction key value is for moving right, 0+4 is less than 100, meets formula (8), according to formula (9),
Determine the first numbered 4 of the second target data item, according to formula (11), determine that target data is classified as 2.
Step 212:Judge whether to meet:Target data row are different from anchor point row, and the corresponding data source of data item is currently
Last row on the direction of direction key value are not explicitly shown on screen, if it is satisfied, step 213, if be unsatisfactory for, hold
Row step 214.
Judge that target data is classified as 2 identical with anchor point row 2, step 214.It should be noted that in execution of step
214, when again receiving current key assignments direction for moving right, can direct step 211.For example, execution of step
214, when subsequently receiving current key assignments direction for moving right, may determine that target data is classified as 3 according to step 211, target
Data row 3 are different from anchor point row 2, it is judged that total columns 20 of data source deducts target data row 3 and deducts more than screen display columns 4
Anchor point shows row 2, determines that the corresponding data source of data item last column on the direction of current direction key value is not explicitly shown
On screen, now, step 213.
Step 213:Position on screen for the fixed-focus, each data item mobile so that the second target data item moves
To position on screen for the focus, anchor point row are updated to target data row.
When target data row 3 are different from anchor point row 2, position on screen for the fixed-focus is the 1st row the 2nd row, updates
Each data item so that second target data item of numbered 8 moves to position on screen for the focus, now target data row
It is 3, update anchor point behavior 3.
Step 214:According to position on screen for the current direction key value moving focal point, move the focus to the second number of targets
According to item.
When target data is classified as 2 and anchor point row 2 are identical, position on screen for the focus that moves right, focus is moved
To the second target data item, now numbered the 4 of the second target data item.
As it is shown on figure 3, embodiments provide a kind of focal point control device, this device includes:
Receiving unit 301, is used for receiving current direction key value;
Key assignments judging unit 302, for judging the moving direction of current direction key value that receiving unit 301 receives;
First determining unit 303, for when key assignments judging unit 302 determine current direction key value for move up or to
Lower mobile when, according to current direction key value, determine first object data item, and the target data at first object data item place
OK;
First judging unit 304, is used for judging whether to meet:The target data rows of the first determining unit 303 determination and anchor
Point row is different, and last column that the corresponding data source of data item is on the direction of current direction key value is not explicitly shown screen
On, if it is satisfied, trigger the first updating block 305;If be unsatisfactory for, trigger the first mobile unit 306;
First updating block 305, is used for position on screen for the fixed-focus, each data item mobile so that the first mesh
Mark data item moves to position on screen for the focus, and anchor point row is updated to target data rows;
First mobile unit 306, for according to position on screen for the current direction key value moving focal point, moving focus
To first object data item;
Second determining unit 307, for key assignments judging unit 302 determine when current direction key value for be moved to the left or to
When moving right, determine the second target data item, and the target data at the second target data item place according to current direction key value
Row;
Second judging unit 308, is used for judging whether to meet:The target data that second determining unit 307 determines arranges and anchor
Point range is different, and last row that data source is on the direction of current direction key value are not explicitly shown on screen, if it is satisfied, touch
Send out the second updating block 309;If be unsatisfactory for, trigger the second mobile unit 310;
Second updating block 309, is used for position on screen for the fixed-focus, each data item mobile so that the second mesh
Mark data item moves to position on screen for the focus, and anchor point row are updated to target data row;
Second mobile unit 310, for according to position on screen for the current direction key value moving focal point, moving focus
To the second target data item.
As shown in Figure 4, this device farther includes:First arranges unit 311, is used for pre-setting anchor point row at screen
Anchor point display line;First judging unit 304, is further used for when described current direction key value is for moving down, it is judged that number
Deduct not less than screen, whether target data rows shows that line number deducts first and arranges what unit 311 pre-set according to total line number in source
Anchor point display line, if it is, determine that the corresponding data source of data item last column on the direction of current direction key value does not has
It is shown on screen, otherwise, it determines last column that the corresponding data source of data item is on the direction of current direction key value shows
Show on screen.
As it is shown in figure 5, this device farther includes:Second arranges unit 312, is used for pre-setting anchor point and is listed in screen
Anchor point display row;Second judging unit 308, is further used for when described current direction key value is for moving right, it is judged that number
Deduct not less than screen, whether target data row show that columns deducts second and arranges what unit 312 pre-set according to total columns in source
Anchor point display row, if it is, determine that the corresponding data source of data item last row on the direction of current direction key value do not have
It is shown on screen, otherwise, it determines last row that the corresponding data source of data item is on the direction of current direction key value are aobvious
Show on screen.
As shown in Figure 6, this device farther includes:First numbered cell 313, in advance for the every number in data source
According to item, corresponding numbering, wherein, A are seti,j=(i-1) n+j-1, wherein, Ai,jFor the numbering of current data item, i is current number
According to line number in data source for the item, j is columns in data source for the current data item, and n is total columns of data source;
First determining unit 303, the current direction key value being further used for determining when key assignments judging unit 302 is for moving down
When dynamic, obtain the numbering of current target data item in the first numbered cell 313, it is judged that whether current target data item meets formula
One, if it is, according to formula two, determine the first numbering of first object data item, otherwise, according to formula three, determine first
Second numbering of target data item;
Formula one is:a+n<M, wherein, a is the numbering of current target data item, and n is total columns of data source, and m is data
The sum of data item in source;
Formula two is:B=a+n, wherein, b is the first numbering of first object data item;
Formula three is:C=m-1, wherein, c is the second numbering of first object data item;
Numbering according to first object data item and formula four, determine target data rows, and wherein, formula four is:Wherein, e is target data rows, and x is the numbering of first object data item, the numbering bag of first object data item
Include:First numbering of first object data item, the second numbering of first object data item.
As it is shown in fig. 7, this device farther includes:Second numbered cell 314, in advance for the every number in data source
According to item, corresponding numbering, wherein, A are setq,p=(p-1) s+q-1, wherein, Aq,pFor the numbering of current data item, p is current number
According to columns in data source for the item, q is line number in data source for the current data item, and s is total line number of data source;
Second determining unit 307, is further used for when the current direction key value of key assignments judging unit 302 determination is for moving right
When dynamic, obtain the numbering of current target data item in the second numbered cell 314, it is judged that whether current target data item meets formula
Five, if it is, according to formula six, determine the first numbering of the second target data item, otherwise, according to formula seven, determine second
Second numbering of target data item;
Formula five is:r+s<W, wherein, r is the numbering of current target data item, and s is total line number of data source, and w is data
The sum of data item in source;
Formula six is:G=r+s, wherein, g is the first numbering of the second target data item;
Formula seven is:H=w-1, wherein, h is the second numbering of the second target data item;
Numbering according to the second target data item and formula eight, determine that target data arranges, and wherein, formula eight is:Wherein, f is target data row, and y is the numbering of the second target data item, the numbering of the second target data item
Including:First numbering of the second target data item, the second numbering of the second target data item.
To sum up, each embodiment of the present invention at least has the advantages that:
1st, in embodiments of the present invention, the method determines target data row/column by the current direction key value obtaining, and works as mesh
Mark data row/column is different from anchor point row/column, and last on the direction of current direction key value of the corresponding data source of data item
Row/column is not explicitly shown on screen, then position on screen for the fixed-focus, each data item mobile, updates anchor point row/column
For target data row/column.The method can fixed focus position, the corresponding data item of focusing carry out roll update, improve Jiao
Point control efficiency.
2nd, in embodiments of the present invention, the method by pre-set anchor point display line on screen for the anchor point row/column/
Row, and then judge whether the corresponding data source of data item last row/column on the direction of current direction key value shows,
In order to control focus rolls and updates.
3rd, in embodiments of the present invention, when carrying out row/column rolling, can set for each data item in data source in advance
Put corresponding numbering, in order to utilize the corresponding target data row/column of numbering determination the first/bis-target data item, and then control
Focus carries out rolling renewal in fixing row/column.
The contents such as the information between each unit in said apparatus is mutual, execution process, owing to implementing with the inventive method
Example is based on same design, and particular content can be found in the narration in the inventive method embodiment, and here is omitted.
It should be noted that herein, the relational terms of such as first and second etc is used merely to an entity
Or operation separates with another entity or operating space, and not necessarily require or imply exist between these entities or operation
The relation of any this reality or order.And, term " includes ", "comprising" or its any other variant are intended to non-
Comprising of exclusiveness, so that include that the process of a series of key element, method, article or equipment not only include those key elements,
But also include other key elements being not expressly set out, or also include being consolidated by this process, method, article or equipment
Some key elements.In the case of there is no more restriction, the key element being limited by statement " including ", do not arrange
Remove in process, method, article or the equipment include described key element, there is also other identical factor.
Finally it should be noted that:The foregoing is only presently preferred embodiments of the present invention, be merely to illustrate the skill of the present invention
Art scheme, is not intended to limit protection scope of the present invention.All made within the spirit and principles in the present invention any modification,
Equivalent, improvement etc., be all contained in protection scope of the present invention.
Claims (10)
1. a focus control method, it is characterised in that include:
Receive current direction key value;
When described current direction key value is for moving up or moving down,
According to described current direction key value, determine first object data item, and the target at described first object data item place
Data row;
Judge whether to meet:Described target data rows is different from anchor point row, and the corresponding data source of data item works as front described
Last column on the direction of key assignments is not explicitly shown on screen, if it is satisfied, then the position that fixed-focus is on screen, moves
Move each data item so that described first object data item moves to position on screen for the described focus, by described anchor point row
It is updated to described target data rows;If be unsatisfactory for, move position on screen for the described focus according to described current direction key value
Put, described focus is moved to described first object data item;
When described current direction key value is for being moved to the left or moving right,
Determine the second target data item, and the number of targets at described second target data item place according to described current direction key value
According to row;
Judge whether to meet:Described target data row are different from anchor point row, and described data source is at described current direction key value
Last row on direction are not explicitly shown on screen, if it is satisfied, then the position that fixed-focus is on screen, mobile each number
According to item so that described second target data item moves to position on screen for the described focus, described anchor point row are updated to institute
State target data row;If be unsatisfactory for, move position on screen for the described focus according to described current direction key value, by described
Focus moves to described second target data item.
2. method according to claim 1, it is characterised in that
Farther include:Pre-set anchor point display line on screen for the described anchor point row;
Described judging whether meets:The corresponding data source of data item last column on the direction of described current direction key value does not has
It is shown on screen, including:
When described current direction key value is for moving down,
Judge that total line number of described data source deducts whether described target data rows deducts described anchor not less than screen display line number
Point display line, if it is, determine that the corresponding data source of data item last column in a downward direction is not explicitly shown screen
On, otherwise, it determines last column that the corresponding data source of data item is in a downward direction is shown on screen.
3. method according to claim 1, it is characterised in that include:
Farther include:Pre-set the anchor point display row that described anchor point is listed on screen;
Described judging whether meets:The corresponding data source of data item last row on the direction of described current direction key value do not have
It is shown on screen, including:
When described current direction key value is for moving right,
Judge that total columns of described data source deducts whether described target data row deduct described anchor not less than screen display columns
Point display row, if it is, determine that the corresponding data source of data item last row in right direction are not explicitly shown screen
On, otherwise, it determines last row that the corresponding data source of data item is in right direction are shown on screen.
4. method according to claim 1 and 2, it is characterised in that
Farther include:
In advance corresponding numbering, wherein, A are set for each data item in described data sourcei,j=(i-1) n+j-1, wherein,
Ai,jFor the numbering of current data item, i is line number in described data source for the current data item, and j is that current data item is at described number
According to the columns in source, n is total columns of described data source;
Described according to described current direction key value, determine first object data item, and described first object data item place
Target data rows, including:
When described current direction key value is for moving down,
Obtain the numbering of current target data item, it is judged that whether current target data item meets formula one, if it is, according to public affairs
Formula two, determines the first numbering of first object data item, otherwise, according to formula three, determines the of described first object data item
Two numberings;
Described formula one is:a+n<M, wherein, a is the numbering of described current target data item, and n is total row of described data source
Number, m is the sum of data item in described data source;
Described formula two is:B=a+n, wherein, b is the first numbering of described first object data item;
Described formula three is:C=m-1, wherein, c is the second numbering of described first object data item;
Numbering according to described first object data item and formula four, determine described target data rows, wherein, described formula four
For:Wherein, e is described target data rows, and x is the numbering of described first object data item, described first mesh
The numbering of mark data item includes:First numbering of described first object data item, the second numbering of described first object data item.
5. the method according to claim 1 or 3, it is characterised in that
Farther include:
In advance corresponding numbering, wherein, A are set for each data item in described data sourceq,p=(p-1) s+q-1, wherein,
Aq,pFor the numbering of current data item, p is columns in described data source for the current data item, and q is that current data item is at described number
According to the line number in source, s is total line number of described data source;
Described determine the second target data item, and the mesh at described second target data item place according to described current direction key value
Mark data row, including:
When described current direction key value is for moving right,
Obtain the numbering of current target data item, it is judged that whether current target data item meets formula five, if it is, according to public affairs
Formula six, determines the first numbering of described second target data item, otherwise, according to formula seven, determines described second target data item
Second numbering;
Described formula five is:r+s<W, wherein, r is the numbering of described current target data item, and s is the head office of described data source
Number, w is the sum of data item in described data source;
Described formula six is:G=r+s, wherein, g is the first numbering of described second target data item;
Described formula seven is:H=w-1, wherein, h is the second numbering of described second target data item;
Numbering according to described second target data item and formula eight, determine that described target data arranges, wherein, and described formula eight
For:Wherein, f is described target data row, and y is the numbering of described second target data item, described second
The numbering of target data item includes:First numbering of described second target data item, the second volume of described second target data item
Number.
6. a focal point control device, it is characterised in that include:
Receiving unit, is used for receiving current direction key value;
Key assignments judging unit, is used for the moving direction of the described current direction key value judging that described receiving unit receives;
First determining unit, for the described current direction key value that determines when described key assignments judging unit for moving up or downwards
When mobile, according to described current direction key value, determine first object data item, and the mesh at described first object data item place
Mark data row;
First judging unit, is used for judging whether to meet:The described target data rows of described first determining unit determination and anchor point
Row is different, and last column that the corresponding data source of data item is on the direction of described current direction key value is not explicitly shown screen
On, if it is satisfied, trigger the first updating block;If be unsatisfactory for, trigger the first mobile unit;
Described first updating block, is used for position on screen for the fixed-focus, each data item mobile so that described first mesh
Mark data item moves to position on screen for the described focus, and described anchor point row is updated to described target data rows;
Described first mobile unit, for moving position on screen for the described focus according to described current direction key value, by institute
State focus and move to described first object data item;
Second determining unit, for the described current direction key value that determines when described key assignments judging unit for being moved to the left or to the right
When mobile, determine the second target data item, and the mesh at described second target data item place according to described current direction key value
Mark data row;
Second judging unit, is used for judging whether to meet:The described target data that described second determining unit determines arranges and anchor point
Row are different, and last row that described data source is on the direction of described current direction key value are not explicitly shown on screen, if
Meet, trigger the second updating block;If be unsatisfactory for, trigger the second mobile unit;
Described second updating block, is used for position on screen for the fixed-focus, each data item mobile so that described second mesh
Mark data item moves to position on screen for the described focus, and described anchor point row are updated to described target data row;
Described second mobile unit, for moving position on screen for the described focus according to described current direction key value, by institute
State focus and move to described second target data item.
7. focal point control device according to claim 6, it is characterised in that
Farther include:First arranges unit, for arranging anchor point display line on screen for the described anchor point row;
Described first judging unit, is further used for when described current direction key value is for moving down, it is judged that described data source
Total line number deduct described target data rows and whether deduct described first not less than screen display line number and unit is set pre-sets
Described anchor point display line, if it is, determine the corresponding data source of data item last column in a downward direction do not show
Show on screen, otherwise, it determines last column that the corresponding data source of data item is in a downward direction is shown on screen.
8. focal point control device according to claim 6, it is characterised in that include:
Farther include:Second arranges unit, for arranging the anchor point display row that described anchor point is listed on screen;
Described second judging unit, is further used for when described current direction key value is for moving right, it is judged that described data source
Total columns deduct described target data row and whether deduct described second not less than screen display columns and unit is set pre-sets
Described anchor point display row, if it is, determine that the corresponding data source of data item last row in right direction are not aobvious
Show on screen, otherwise, it determines last row that the corresponding data source of data item is in right direction are shown on screen.
9. the focal point control device according to claim 6 or 7, it is characterised in that
Farther include:First numbered cell, for arranging corresponding numbering for each data item in described data source, its
In, Ai,j=(i-1) n+j-1, wherein, Ai,jFor the numbering of current data item, i is row in described data source for the current data item
Number, j is columns in described data source for the current data item, and n is total columns of described data source;
Described first determining unit, is further used for when the described current direction key value of described key assignments judging unit determination is downward
When mobile, obtain the numbering of current target data item in described first numbered cell, it is judged that whether current target data item meets
Formula one, if it is, according to formula two, determine the first numbering of first object data item, otherwise, according to formula three, determine
Second numbering of described first object data item;
Described formula one is:a+n<M, wherein, a is the numbering of described current target data item, and n is total row of described data source
Number, m is the sum of data item in described data source;
Described formula two is:B=a+n, wherein, b is the first numbering of described first object data item;
Described formula three is:C=m-1, wherein, c is the second numbering of described first object data item;
Numbering according to described first object data item and formula four, determine described target data rows, wherein, described formula four
For:Wherein, e is described target data rows, and x is the numbering of described first object data item, described first mesh
The numbering of mark data item includes:First numbering of described first object data item, the second numbering of described first object data item.
10. the focal point control device according to claim 6 or 8, it is characterised in that
Farther include:Second numbered cell, for arranging corresponding numbering for each data item in described data source, its
In, Aq,p=(p-1) s+q-1, wherein, Aq,pFor the numbering of current data item, p is row in described data source for the current data item
Number, q is line number in described data source for the current data item, and s is total line number of described data source;
Described second determining unit, is further used for when the described current direction key value that described key assignments judging unit determines is to the right
When mobile, obtain the numbering of current target data item in described second numbered cell, it is judged that whether current target data item meets
Formula five, if it is, according to formula six, determine the first numbering of described second target data item, otherwise, according to formula seven,
Determine the second numbering of described second target data item;
Described formula five is:r+s<W, wherein, r is the numbering of described current target data item, and s is the head office of described data source
Number, w is the sum of data item in described data source;
Described formula six is:G=r+s, wherein, g is the first numbering of described second target data item;
Described formula seven is:H=w-1, wherein, h is the second numbering of described second target data item;
Numbering according to described second target data item and formula eight, determine that described target data arranges, wherein, and described formula eight
For:Wherein, f is described target data row, and y is the numbering of described second target data item, described second
The numbering of target data item includes:First numbering of described second target data item, the second volume of described second target data item
Number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610903737.3A CN106454530A (en) | 2016-10-17 | 2016-10-17 | Focus control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610903737.3A CN106454530A (en) | 2016-10-17 | 2016-10-17 | Focus control method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106454530A true CN106454530A (en) | 2017-02-22 |
Family
ID=58175445
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610903737.3A Pending CN106454530A (en) | 2016-10-17 | 2016-10-17 | Focus control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106454530A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108271062A (en) * | 2017-12-27 | 2018-07-10 | 山东浪潮商用系统有限公司 | A kind of method and system for solving to lose after the movement of android focuses |
CN112770169A (en) * | 2020-12-29 | 2021-05-07 | 海信视像科技股份有限公司 | List circulating page turning method and display device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102945128A (en) * | 2012-10-30 | 2013-02-27 | 广州市动景计算机科技有限公司 | Page display method and page display device |
CN103546818A (en) * | 2013-10-31 | 2014-01-29 | 乐视致新电子科技(天津)有限公司 | Method and device for focus control of list display interface of smart television |
KR20140029810A (en) * | 2012-08-30 | 2014-03-11 | 엘지전자 주식회사 | Multimedia device for communicating with at least one device and method for controlling the same |
EP2928199A2 (en) * | 2012-11-29 | 2015-10-07 | ZTE Corporation | Television interface focus control method, apparatus and system |
CN105812944A (en) * | 2014-12-29 | 2016-07-27 | 深圳Tcl新技术有限公司 | Interface focus movement control method and device |
-
2016
- 2016-10-17 CN CN201610903737.3A patent/CN106454530A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20140029810A (en) * | 2012-08-30 | 2014-03-11 | 엘지전자 주식회사 | Multimedia device for communicating with at least one device and method for controlling the same |
CN102945128A (en) * | 2012-10-30 | 2013-02-27 | 广州市动景计算机科技有限公司 | Page display method and page display device |
EP2928199A2 (en) * | 2012-11-29 | 2015-10-07 | ZTE Corporation | Television interface focus control method, apparatus and system |
CN103546818A (en) * | 2013-10-31 | 2014-01-29 | 乐视致新电子科技(天津)有限公司 | Method and device for focus control of list display interface of smart television |
CN105812944A (en) * | 2014-12-29 | 2016-07-27 | 深圳Tcl新技术有限公司 | Interface focus movement control method and device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108271062A (en) * | 2017-12-27 | 2018-07-10 | 山东浪潮商用系统有限公司 | A kind of method and system for solving to lose after the movement of android focuses |
CN108271062B (en) * | 2017-12-27 | 2020-05-08 | 山东云缦智能科技有限公司 | Method and system for solving problem of loss of android focus after movement |
CN112770169A (en) * | 2020-12-29 | 2021-05-07 | 海信视像科技股份有限公司 | List circulating page turning method and display device |
CN112770169B (en) * | 2020-12-29 | 2023-02-17 | 海信视像科技股份有限公司 | List circulating page turning method and display device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2983077B1 (en) | Display control device, display control method, and display control program | |
CN102549532A (en) | Electronic apparatus using touch panel and setting value modification method of same | |
CN103339588A (en) | Terminal device and icon management method | |
CN111831182B (en) | Application icon control method and device and electronic equipment | |
CN103546818A (en) | Method and device for focus control of list display interface of smart television | |
CN105005429A (en) | Method for showing picture through terminal and terminal | |
CN108111687A (en) | Display control method and related product | |
CN102968810A (en) | Image editing apparatus and image editing method | |
CN104506951A (en) | Character input method, character input inputting device and intelligent terminal | |
CN105094647A (en) | Interface control method and mobile terminal | |
CN106454530A (en) | Focus control method and device | |
CN103414829A (en) | Method, device and terminal device for controlling screen contents | |
CN104809416B (en) | display screen shielding method, electronic device and computer program product | |
CN105607800A (en) | Method and device for input display of terminal screen | |
CN112148168A (en) | Icon moving method and device and electronic equipment | |
CN105843523A (en) | Information processing method and apparatus | |
CN104461056A (en) | Information processing method and electronic equipment | |
CN112990127B (en) | Target identification method and device, electronic equipment and storage medium | |
CN104572119A (en) | Method and system for arranging files | |
CN112764639A (en) | Screen capturing method and device and electronic equipment | |
CN103927093A (en) | Information processing method and electronic equipment | |
CN106528162A (en) | Target object display method and device, and electronic equipment | |
CN103064583A (en) | Display block arranging method, display block switching method and mobile terminal | |
CN105653060A (en) | Multi-functional address input method | |
CN102915190B (en) | A kind of display processing method, device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170222 |
|
RJ01 | Rejection of invention patent application after publication |