CN103064583A - Display block arranging method, display block switching method and mobile terminal - Google Patents

Display block arranging method, display block switching method and mobile terminal Download PDF

Info

Publication number
CN103064583A
CN103064583A CN2012105604507A CN201210560450A CN103064583A CN 103064583 A CN103064583 A CN 103064583A CN 2012105604507 A CN2012105604507 A CN 2012105604507A CN 201210560450 A CN201210560450 A CN 201210560450A CN 103064583 A CN103064583 A CN 103064583A
Authority
CN
China
Prior art keywords
angle
inclination
portable terminal
displaying block
node
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.)
Granted
Application number
CN2012105604507A
Other languages
Chinese (zh)
Other versions
CN103064583B (en
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.)
Beijing Xiaomi Technology Co Ltd
Original Assignee
Beijing Xiaomi Technology 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 Beijing Xiaomi Technology Co Ltd filed Critical Beijing Xiaomi Technology Co Ltd
Priority to CN201210560450.7A priority Critical patent/CN103064583B/en
Publication of CN103064583A publication Critical patent/CN103064583A/en
Application granted granted Critical
Publication of CN103064583B publication Critical patent/CN103064583B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a display block arranging method, a display block switching method and a mobile terminal and belongs to the field of a graphical interface interactive technology. The method includes: (1) Displaying at least one display block in a display grid which is divided into M rows and N columns, (2) detecting whether an absolute value of an inclination angle corresponding to a preset direction of the display network of the mobile terminal is larger than a preset threshold value, (3) moving location information of the current display block from a current node in the M*N matrix to a goal node which is in the preset direction and at a preset distance away from the current node to store the location information of the current display block if the absolute value of the angle of inclination corresponding to the preset direction of the display network of the mobile terminal is greater than the preset threshold value. According to the display block arranging method, the display block switching method and the mobile terminal, users can complete an arranging process of all the icons in one operation and palm shielding on-screen display content is avoided in an operating process.

Description

Displaying block aligning method, displaying block changing method and portable terminal
Technical field
The present invention relates to graphical interfaces interaction technique field, particularly a kind of displaying block aligning method, displaying block changing method and portable terminal.
Background technology
On the portable terminal such as smart mobile phone, panel computer or E-book reader, adopt one by one on the screen of being everlasting that displaying block comes displaying contents, displaying block can be icon, thumbnail, file, file or preview graph etc.
Be icon with displaying block, portable terminal is that the smart mobile phone that contains touch-screen is example, and existing a kind of icon arrangement method comprises: at first, portable terminal shows a plurality of icons at screen; Secondly, the user selects an icon to enter pattern of rows and columns at touch-screen, such as, pressed an icon 2 seconds with the head of a household, triggering mobile terminals enters pattern of rows and columns; The user drags this icon at touch-screen, until this icon is dragged to the target location; At last, the user clicks this icon again, and triggering mobile terminals withdraws from pattern of rows and columns.So far, this icon is aligned to a new position.
In realizing process of the present invention; the inventor finds that there is following problem at least in background technology: the user is in dragging the process of this icon; often the situation that touch operation stops or interrupting can occur, needing to cause multi-pass operations just can finish whole icon arrangement process.In addition, the user is in dragging the process of this icon, and palm can block the screen that is close to half, is not very clear and intuitive to desirable final arrangement scheme, often also need to experience " operating → check → operate → check " for several times, just can finish whole icon arrangement process.
Summary of the invention
Just in order to solve the problem that needs multi-pass operations can finish whole icon arrangement process, the embodiment of the invention provides a kind of displaying block aligning method, displaying block changing method and portable terminal.Described technical scheme is as follows:
First aspect provides a kind of displaying block aligning method, is used for portable terminal, and described method comprises:
At least one displaying block is presented in the show grid that is divided into the capable N row of M, and the positional information of each displaying block that shows in described show grid is stored in the corresponding node of the M*N matrix corresponding with described show grid;
A displaying block in described show grid is selected as after the current displaying block, detect described portable terminal corresponding to the absolute value at the angle of inclination on the preset direction of described show grid whether greater than predetermined threshold, described preset direction comprises one or two in line direction and the column direction;
If detect described portable terminal corresponding to the absolute value at the angle of inclination on the preset direction of described show grid greater than predetermined threshold, then the positional information of described current displaying block is moved on described preset direction by the present node in the described M*N matrix and stores in the distance destination node of described present node preset distance;
Again in described show grid, show each displaying block according to the described M*N matrix after adjusting;
Wherein, M and N are positive integer.
Preferably, if described detect described portable terminal corresponding to the absolute value at the angle of inclination on the preset direction of described show grid greater than predetermined threshold, then the positional information of described current displaying block is moved on described preset direction by the present node in the described M*N matrix and stores in the distance destination node of described present node preset distance, comprising:
If detect described portable terminal corresponding to the absolute value at the angle of inclination on the line direction of described show grid greater than predetermined threshold, then the positional information of described current displaying block is moved in the destination node by the present node in the described M*N matrix and store, the position of described present node is the capable j row of i, and the position of described destination node is the capable j+m row of i;
If detect described portable terminal corresponding to the absolute value at the angle of inclination on the column direction of described show grid greater than predetermined threshold, then the positional information of described current displaying block is moved in the destination node by the present node in the described M*N matrix and store, the position of described present node is the capable j row of i, and the position of described destination node is the capable j row of i+n;
Wherein, m, n are integer, and i and j are positive integer, and 1≤i+n≤M, 1≤j+m≤N.
Preferably, if described detect described portable terminal corresponding to the absolute value at the angle of inclination on the preset direction of described show grid greater than predetermined threshold, then the positional information of described current displaying block is moved on described preset direction by the present node in the described M*N matrix and stores in the distance destination node of described present node preset distance, comprising:
If detect described portable terminal corresponding to the absolute value at the line direction of described show grid and the angle of inclination on the column direction all greater than predetermined threshold, then the positional information of described current displaying block is moved in the destination node by the present node in the described M*N matrix and store, the position of described present node is the capable j row of i, and the position of described destination node is the capable j+m row of i+n;
Wherein, m, n are integer, and i and j are positive integer, and 1≤i+n≤M, 1≤j+m≤N.
Preferably, if the absolute value at the angle of inclination on the described line direction greater than predetermined threshold, and described angle of inclination be on the occasion of, then described m be on the occasion of;
If the absolute value at the angle of inclination on the described line direction is greater than predetermined threshold, and described angle of inclination is negative value, and then described m is negative value;
If the absolute value at the angle of inclination on the described column direction is greater than predetermined threshold, and described angle of inclination be on the occasion of, then described n is negative value;
If the absolute value at the angle of inclination on the described column direction is greater than predetermined threshold, and described angle of inclination is negative value, then described n be on the occasion of.
Preferably, described positional information with described current displaying block by the present node in the described M*N matrix move on described preset direction, store in the distance destination node of described present node preset distance after, also comprise:
The positional information of another displaying block of the original storage of described destination node moved in the described present node store.
Preferably, described positional information with described current displaying block by the present node in the described M*N matrix move on described preset direction, store in the distance destination node of described present node preset distance after, also comprise:
If described present node points on the direction of described destination node and also includes the empty node of not storing any positional information, then with in other node between described destination node and the described destination node on described direction and the described empty node separately the positional information of the displaying block of storage move in the next node with respect to self and store.
Preferably, the described portable terminal of described detection corresponding to the absolute value at the angle of inclination on the preset direction of described show grid whether greater than predetermined threshold before, also comprise:
Obtain described portable terminal that sensor gathers at the angle of inclination corresponding to line direction and the column direction of described show grid, described sensor comprises one or two in Gravity accelerometer and the three-axis gyroscope.
Second aspect provides a kind of displaying block changing method, is used for portable terminal, and described method comprises:
To be arranged in i selected displaying block of tabulation and show as screen display content, comprise N the displaying block of arranging according to order in the described tabulation;
Whether detect the angle of inclination of described portable terminal on preset direction greater than predetermined threshold;
If detect the angle of inclination of described portable terminal on preset direction greater than predetermined threshold, then with i+k displaying block in the described tabulation as new screen display content;
Wherein, k is integer, and i, N are positive integer, and 1≤i+k≤N.
The third aspect provides a kind of portable terminal, comprising:
The displaying block display module is used at least one displaying block is presented at the show grid that is divided into the capable N row of M, and the positional information of each displaying block that shows in described show grid is stored in the corresponding node of the M*N matrix corresponding with described show grid;
The threshold test module, a displaying block that is presented at described show grid for described displaying block display module is selected as after the current displaying block, detect described portable terminal corresponding to the absolute value at the angle of inclination on the preset direction of described show grid whether greater than predetermined threshold, described preset direction comprises one or two in line direction and the column direction;
The mobile storage module, if be used for described threshold test module detect described portable terminal corresponding to the absolute value at the angle of inclination on the preset direction of described show grid greater than predetermined threshold, positional information that then will described current displaying block is moved on described preset direction by the present node in the described M*N matrix stores apart from the destination node of described present node preset distance;
Reset display module, the described M*N matrix after being used for again adjusting according to described mobile storage module shows each displaying block at described show grid.
Wherein, M and N are positive integer.
Preferably, described mobile storage module, if be used for described threshold test module detect described portable terminal corresponding to the absolute value at the angle of inclination on the line direction of described show grid greater than predetermined threshold, then the positional information of described current displaying block is moved in the destination node by the present node in the described M*N matrix and store, the position of described present node is the capable j row of i, and the position of described destination node is the capable j+m row of i;
Described mobile storage module, if also be used for described threshold test module detect described portable terminal corresponding to the absolute value at the angle of inclination on the column direction of described show grid greater than predetermined threshold, then the positional information of described current displaying block is moved in the destination node by the present node in the described M*N matrix and store, the position of described present node is the capable j row of i, and the position of described destination node is the capable j row of i+n;
Wherein, m, n are integer, and i and j are positive integer, and 1≤i+n≤M, 1≤j+m≤N.
Preferably, described mobile storage module, if be used for described threshold test module detect described portable terminal corresponding to the absolute value at the line direction of described show grid and the angle of inclination on the column direction all greater than predetermined threshold, then the positional information of described current displaying block is moved in the destination node by the present node in the described M*N matrix and store, the position of described present node is the capable j row of i, and the position of described destination node is the capable j+m row of i+n;
Wherein, m, n are integer, and i and j are positive integer, and 1≤i+n≤M, 1≤j+m≤N.
Preferably, if the absolute value at the angle of inclination on the described line direction greater than predetermined threshold, and described angle of inclination be on the occasion of, then the m that uses of described mobile storage module be on the occasion of;
If the absolute value at the angle of inclination on the described line direction is greater than predetermined threshold, and described angle of inclination is negative value, and then the m that uses of described mobile storage module is negative value;
If the absolute value at the angle of inclination on the described column direction is greater than predetermined threshold, and described angle of inclination be on the occasion of, then the n that uses of described mobile storage module is negative value;
If the absolute value at the angle of inclination on the described column direction is greater than predetermined threshold, and described angle of inclination is negative value, then the n that uses of described mobile storage module be on the occasion of.
Preferably, described portable terminal also comprises: exchange and arrange module;
Module is arranged in described exchange, moves to described present node for the positional information with original another displaying block stored of described destination node and stores.
Preferably, described portable terminal also comprises: module arranged sequentially;
Described module arranged sequentially, if be used for also including the empty node of not storing any positional information on the direction that described present node points to described destination node, then the positional information of the displaying block stored separately in other node between described destination node and the described destination node on described direction and the described empty node moved in the next node with respect to self and store.
Preferably, described portable terminal also comprises: the angle acquisition module;
Described angle acquisition module is used for obtaining described portable terminal that sensor gathers at the angle of inclination corresponding to line direction and the column direction of described show grid, and described sensor comprises one or two in Gravity accelerometer and the three-axis gyroscope.
Fourth aspect provides a kind of portable terminal, comprising:
The tabulation display module is used for being positioned at i selected displaying block of tabulation and shows as screen display content, comprises N the displaying block of arranging according to order in the described tabulation;
The angle detection module, for detection of the angle of inclination of described portable terminal on preset direction whether greater than predetermined threshold;
Switch display module, detect the angle of inclination of described portable terminal on preset direction greater than predetermined threshold if be used for described angle detection module, then i+k displaying block in the described tabulation shown as new screen display content;
Wherein, k is integer, and i, N are positive integer, and 1≤i+k≤N.
The beneficial effect that the technical scheme that the embodiment of the invention provides is brought is:
By, the memory location of positional information in matrix of displaying block being adjusted, thereby realized rearranging demonstration during greater than predetermined threshold at the absolute value at the line direction of show grid and/or the angle of inclination on the column direction detecting portable terminal; Having reached the user can single job just can finish whole icon arrangement process, and operating process can not exist palm to block the effect of screen display content.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the accompanying drawing of required use was done to introduce simply during the below will describe embodiment, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is that the end coordinates that vertical portable terminal adopts usually is to set up the synoptic diagram of mode for the reading direction such as mobile phone;
Fig. 2 is that the end coordinates system that horizontal portable terminal adopts usually sets up mode for the reading direction such as panel computer;
Fig. 3 is the method flow diagram of the displaying block aligning method that provides of one embodiment of the invention;
Fig. 4 is the interface synoptic diagram of the portable terminal in the one embodiment of the invention when only comprising a page screen;
Fig. 5 is the interface synoptic diagram of the portable terminal in the one embodiment of the invention when comprising three page screens;
Fig. 6 is the method flow diagram of the displaying block aligning method that provides of another embodiment of the present invention;
Fig. 7 is the method flow diagram of the displaying block changing method that provides of one embodiment of the invention;
Fig. 8 is the interface synoptic diagram of the portable terminal in the one embodiment of the invention when not showing the adjacent figure of current preview graph;
Fig. 9 is the interface synoptic diagram of the portable terminal in the one embodiment of the invention when showing the adjacent figure of current preview graph;
Figure 10 is the block diagram of the portable terminal that provides of another embodiment of the present invention;
Figure 11 is the block diagram of the portable terminal that provides of yet another embodiment of the invention;
Figure 12 is the block diagram of the portable terminal that provides of further embodiment of this invention;
Figure 13 is the block diagram of the portable terminal that provides of one embodiment of the invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
The embodiment of the invention can be applied to include in the portable terminal of sensor such as Gravity accelerometer, three-axis gyroscope, this portable terminal can be mobile phone, panel computer, electronic reader, PDA(Personal Digital Assistant, personal digital assistant), POS(Point of Sales, point-of-sale terminal), the terminal device such as vehicle-mounted computer.
In including the portable terminal of the sensor, the mode of setting up of end coordinates system can for: the display interface of setting portable terminal is the xy plane, wherein, the center of gravity of portable terminal is true origin, what the sensing portable terminal was right-hand is the positive axis of x axle, coordinate axis perpendicular to the x axle on the portable terminal plane is the y axle, what point to the portable terminal top is the positive axis of y axle, coordinate axis perpendicular to the display interface of portable terminal is the z axle, what point to portable terminal the place ahead is the positive axis of z axle, details please refer to Fig. 1, and wherein Fig. 1 is that the end coordinates system that vertical portable terminal adopts usually sets up mode for the reading direction such as mobile phone; Similarly, Fig. 2 is that the end coordinates system that horizontal portable terminal adopts usually sets up mode for the reading direction such as panel computer.
In including the portable terminal of the sensor, the data by sensor gathers can get access to the angle of inclination of portable terminal on all directions.Take by sensor as example as Gravity accelerometer, application program is calculated the angle of inclination of portable terminal on each coordinate axis according to the tri-vector that Gravity accelerometer gathers.Specifically, application program can get access to a tri-vector (x, y, z) every predetermined time interval, wherein, all x, y, the span of z value is [1,1].The size of z value be used for to characterize facing up of portable terminal or downwards, in the embodiment of the invention, only with the value of considering x and y come the value size of example explanation x and y characterized respectively portable terminal to the left and right with on angle of inclination when having a down dip, the numerical value of x and y is larger, the expression angle of inclination is larger, the positive negative indication angle of inclination of x and y towards, such as:
X〉0, characterize portable terminal and be tilted to the right; X<0 characterizes portable terminal and is tilted to the left;
Y〉0, characterize portable terminal and be inclined upwardly; Y<0, it is downward-sloping to characterize portable terminal.
Please refer to Fig. 3, it shows the method flow diagram of the displaying block aligning method that one embodiment of the invention provides.Present embodiment only is applied to include in the portable terminal of Gravity accelerometer, three-axis gyroscope and so on sensor with this displaying block aligning method and illustrates.This displaying block aligning method comprises:
Step 302 is presented at least one displaying block in the show grid that is divided into the capable N row of M, and the positional information of each displaying block that shows in show grid is stored in the corresponding node of the M*N matrix corresponding with show grid;
Displaying block can be icon, thumbnail, file, file or preview graph etc.Illustrate take displaying block as icon in the present embodiment.Portable terminal can be presented at a plurality of icons in the show grid that is divided into the capable N row of M, such as, if when portable terminal only comprises a page screen, a plurality of icons can be presented in the show grid of 4 row, 3 row, as shown in Figure 4; When if portable terminal comprises 3 page screens, a plurality of icons can be presented in the show grid of 4 row 3*3 row, as shown in Figure 5.
Correspondingly, the positional information of each icon can be stored in the corresponding node of the M*N matrix corresponding with show grid.Such as, the positional information of icon 411 shown in Figure 4 is stored in the node of the 4*3 matrix corresponding with show grid, and this node is the node that is arranged in 4*3 matrix the 1st row the 1st row; The positional information of icon 525 shown in Figure 5 is stored in the node of the 4*9 matrix corresponding with show grid, and this node is the node that is arranged in 4*9 matrix the 2nd row the 5th row.In other words, in M*N node of M*N matrix, each node is used for being stored in the positional information of the icon that shows in the corresponding row and column of show grid, if node does not store the positional information of any icon, also be sky, then represent not show icon in the corresponding row and column in the show grid, such as, the 3rd row the 3rd in the show grid shown in Figure 4 is listed as not display icon, then is positioned at the node of the 3rd row the 3rd row in the corresponding 4*3 matrix for empty.
Step 304, a displaying block in show grid is selected as after the current displaying block, detect portable terminal corresponding to the absolute value at the angle of inclination on the preset direction of show grid whether greater than predetermined threshold;
Portable terminal is after receiving user's trigger pip, a displaying block the user can being chosen is as current displaying block, thereby enter pattern of rows and columns, such as, the time that the user clicks an icon 422 shown in Figure 4 surpasses 2 seconds, and triggering mobile terminals is entered pattern of rows and columns with the current icon that the user chooses.After this, portable terminal begin to detect from corresponding to the absolute value at the angle of inclination on the preset direction of show grid whether greater than predetermined threshold.This preset direction comprises one or two in line direction and the column direction.In the present embodiment, the line direction of show grid is the x direction of principal axis, and the column direction of show grid is the y direction of principal axis.Also namely, portable terminal detect from the absolute value at x direction of principal axis and/or the axial angle of inclination of y whether greater than predetermined threshold.
The absolute value at angle of inclination can characterize with the numerical values recited of the x in the tri-vector or y.
Need to prove, correspond respectively to normally formed objects of axial two predetermined thresholds of x direction of principal axis and y, but also can be respectively the x direction of principal axis arranges two different predetermined thresholds with the y direction of principal axis.
Step 306, if detect portable terminal corresponding to the absolute value at the angle of inclination on the preset direction of show grid greater than predetermined threshold, then the positional information of current displaying block is moved on preset direction by the present node in the M*N matrix and stores in the destination node apart from the present node preset distance;
If detect portable terminal corresponding to the absolute value at the angle of inclination on the line direction of show grid greater than predetermined threshold, then the positional information of current displaying block is moved in the destination node of going up in the row direction apart from the present node preset distance by the present node in the M*N matrix and stores;
If detect portable terminal corresponding to the absolute value at the angle of inclination on the column direction of show grid greater than predetermined threshold, then the positional information of current displaying block is moved on column direction by the present node in the M*N matrix and stores in the destination node apart from the present node preset distance.
Step 308 shows each displaying block according to the M*N matrix after adjusting again in show grid.
At last, portable terminal shows each displaying block according to the M*N matrix after adjusting in the step 306 again in show grid.
Above steps is mentioned: M and N are positive integer.
In sum, the displaying block aligning method that present embodiment provides, by at the absolute value that detects the angle of inclination on the preset direction of portable terminal at show grid during greater than predetermined threshold, the memory location of positional information in matrix of displaying block adjusted, thereby realized rearranging demonstration; Having reached the user can single job just can finish whole icon arrangement process, and operating process can not exist palm to block the effect of screen display content.
Please refer to Fig. 6, it shows the method flow diagram of the displaying block aligning method that another embodiment of the present invention provides.Present embodiment only is applied to include in the portable terminal of Gravity accelerometer, three-axis gyroscope and so on sensor with this displaying block aligning method and illustrates.As based on embodiment illustrated in fig. 3 and more preferred embodiment that provide, this displaying block aligning method comprises:
Step 602 is presented at least one displaying block in the show grid that is divided into the capable N row of M, and the positional information of each displaying block that shows in show grid is stored in the corresponding node of the M*N matrix corresponding with show grid;
Displaying block can be icon, thumbnail, file, file or preview graph etc.Illustrate take displaying block as icon in the present embodiment.Portable terminal can be presented at a plurality of icons in the show grid that is divided into the capable N row of M, such as, if when portable terminal only comprises a page screen, a plurality of icons can be presented in the show grid of 4 row, 3 row, as shown in Figure 4; When if portable terminal comprises 3 page screens, a plurality of icons can be presented in the show grid of 4 row 3*3 row, as shown in Figure 5.
Correspondingly, the positional information of each icon can be stored in the corresponding node of the M*N matrix corresponding with show grid.Such as, the positional information of icon 411 shown in Figure 4 is stored in the node of the 4*3 matrix corresponding with show grid, and this node is the node that is arranged in 4*3 matrix the 1st row the 1st row; The positional information of icon 525 shown in Figure 5 is stored in the node of the 4*9 matrix corresponding with show grid, and this node is the node that is arranged in 4*9 matrix the 2nd row the 5th row.In other words, in M*N node of M*N matrix, each node is used for being stored in the positional information of the icon that shows in the corresponding row and column of show grid, if node does not store the positional information of any icon, also be sky, then represent not show icon in the corresponding row and column in the show grid, such as, the 3rd row the 3rd in the show grid shown in Figure 4 is listed as not display icon, then is positioned at the node of the 3rd row the 3rd row in the corresponding 4*3 matrix for empty.
Step 604 is obtained portable terminal that sensor gathers at the angle of inclination corresponding to line direction and the column direction of show grid, and sensor comprises a kind of in Gravity accelerometer and the three-axis gyroscope or two kinds;
Portable terminal can obtain that inner sensor gathers at the angle of inclination corresponding to line direction and the column direction of show grid, sensor comprises a kind of in Gravity accelerometer and the three-axis gyroscope or two kinds.Present embodiment mainly comprises that take sensor Gravity accelerometer illustrates as example.Gravity accelerometer can gather according to fixing frequency acquisition portable terminal at the angle of inclination corresponding to line direction and the column direction of show grid, thereby receive the tri-vector (x at the angle of inclination that characterizes one by one portable terminal, y, z) report the driving layer of portable terminal.Then the application program in the portable terminal can be obtained this tri-vector from drive layer.Take the operating system of running of mobile terminal as Windows Phone as example, the API(Application Programming Interface of WindowsPhone operating system, application programming interface) provides an Accelerometer class, application program is directly used this Accelerometer class, and can obtain data class AccelerometerReadingEventArgs by this type of an event ReadingChanged, in data class AccelerometerReadingEventArgs, comprised the value of this tri-vector.
Three-axis gyroscope and Gravity accelerometer have similar function, and detail repeats no more.Although three-axis gyroscope has larger cumulative errors and temperature drift in a long time, measure at short notice accurately, especially for the spinning movement of terminal.And Gravity accelerometer is more accurate at the measured value of long period, but within a short period of time because the existence of signal noise, error is larger.Preferably, the data of Gravity accelerometer and three-axis gyroscope collection can also be merged in this step, thereby obtain portable terminal more accurate angle of inclination value when attitude changes.Such as, the data that Gravity accelerometer and three-axis gyroscope are collected respectively are weighted on average, thereby get access to more accurate angle of inclination value.
Step 606, a displaying block in show grid is selected as after the current displaying block, detect portable terminal corresponding to the absolute value at the angle of inclination on the preset direction of show grid whether greater than predetermined threshold, preset direction comprises one or two in line direction and the column direction;
A displaying block in show grid is selected as after the current displaying block, detect portable terminal corresponding to the absolute value at the angle of inclination of the line direction of show grid and/or column direction whether greater than predetermined threshold;
Portable terminal is after receiving user's trigger pip, a displaying block the user can being chosen is as current displaying block, thereby enter pattern of rows and columns, such as, the time that the user clicks an icon 535 shown in Figure 5 surpasses 2 seconds, and triggering mobile terminals is entered pattern of rows and columns with the current icon that the user chooses.After this, portable terminal begin to detect from corresponding to the angle of inclination of the line direction of show grid and/or column direction whether greater than predetermined threshold.In the present embodiment, the line direction of show grid is the x direction of principal axis, and the column direction of show grid is the y direction of principal axis.Also namely, portable terminal detect from the absolute value at x direction of principal axis and/or the axial angle of inclination of y whether greater than predetermined threshold.
If testing result be portable terminal only corresponding to the absolute value at the angle of inclination of the line direction of show grid greater than predetermined threshold, then can enter step 608;
If testing result be portable terminal only corresponding to the absolute value at the angle of inclination of the column direction of show grid greater than predetermined threshold, then can enter step 610;
If testing result be portable terminal corresponding to the absolute value at the line direction of show grid and the angle of inclination on the column direction all greater than predetermined threshold, then can enter step 612.
More preferably, detect in this step portable terminal corresponding to direction in the line direction of show grid and the column direction or the angle of inclination on the both direction whether greater than predetermined threshold, can detect more than once, but detect once every predetermined time interval, such as detecting once every 1 second.
Need to prove, correspond respectively to normally formed objects of axial two predetermined thresholds of x direction of principal axis and y, but also can be respectively the x direction of principal axis arranges two different predetermined thresholds with the y direction of principal axis.
Step 608, if detect portable terminal corresponding to the absolute value at the angle of inclination of the line direction of show grid greater than predetermined threshold, then the positional information of current displaying block is moved in the destination node by the present node in the M*N matrix and store, the position of present node is the capable j row of i, and the position of destination node is the capable j+m row of i;
Take predetermined threshold as 0.3, current displaying block is icon 535, m=1 is example, if detecting the angle of inclination of portable terminal on the x direction of principal axis is 0.4>0.3, then the positional information of icon 535 is moved to destination node by the present node in the 4*9 matrix and store, the position of present node is 3 row, 5 row, and the position of destination node is 3 row, 6 row, also namely when portable terminal is tilted to the right, the positional information of icon 535 is moved a node to the right store.
Preferably in the scheme, the positive and negative corresponding relation that is at the angle of inclination of the line direction of the positive and negative and show grid of m, also be, if the angle of inclination of the line direction of show grid be on the occasion of the time, m also be on the occasion of, also be the x value of tri-vector for just, when portable terminal is tilted to the right, the positional information of current displaying block is moved m node to the right stores.When if the angle of inclination of the line direction of show grid is negative value, m also is negative value, and the x value that also is tri-vector is negative, when portable terminal is tilted to the left, the positional information of current displaying block is moved m node left store.
Generally, the absolute value of m is always 1.But at another preferably in the scheme, the order of magnitude of m can be corresponding relation with the size of the absolute value at the angle of inclination of the line direction of show grid.In other words, if the absolute value at the angle of inclination of the line direction of show grid is larger, also be that the absolute value of x of tri-vector is larger, then the absolute value of m is also larger.
Step 610, if detect portable terminal corresponding to the absolute value at the angle of inclination of the column direction of show grid greater than predetermined threshold, then the positional information of current displaying block is moved in the destination node by the present node in the M*N matrix and store, the position of present node is the capable j row of i, and the position of destination node is the capable j row of i+n;
Take predetermined threshold as 0.3, current displaying block is icon 535, n=-1 is example, if detecting the angle of inclination of portable terminal on the y direction of principal axis is 0.4>0.3, then the positional information of icon 535 is moved to destination node by the present node in the 4*9 matrix and store, the position of present node is 3 row, 5 row, and the position of destination node is 2 row, 5 row, also namely when portable terminal is inclined upwardly, the positional information of icon 535 is upwards moved a node store.
Preferably in the scheme, the negative corresponding relation that just is being at the angle of inclination of the column direction of the positive and negative and show grid of n, also be, when if the angle of inclination of the column direction of show grid is negative value, n be on the occasion of, the y value that also is tri-vector is negative, when portable terminal is downward-sloping, the positional information of current displaying block is moved n node downwards store.If the angle of inclination of the column direction of show grid be on the occasion of the time, n is negative value, also be tri-vector the y value on the occasion of, when portable terminal is inclined upwardly, the positional information of current displaying block is upwards moved n node stores.
Generally, the absolute value of n is always 1.But at another preferably in the scheme, the order of magnitude of n can be corresponding relation with the size of the absolute value at the angle of inclination of the column direction of show grid.In other words, if the absolute value at the angle of inclination of the column direction of show grid is larger, also be that the absolute value of y of tri-vector is larger, then the absolute value of n is also larger.
Step 612, if detect portable terminal corresponding to the absolute value at the angle of inclination of the line direction of show grid and column direction all greater than predetermined threshold, then the positional information of current displaying block is moved in the destination node by the present node in the M*N matrix and store, the position of present node is the capable j row of i, and the position of destination node is the capable j+m row of i+n;
Current icon can also oblique movement except following direction or column direction move.Take predetermined threshold as 0.3, current displaying block is icon 535, m=1, n=-1 is example, is 0.4>0.3 if detect the angle of inclination of portable terminal on x direction of principal axis and y direction of principal axis, then the positional information of icon 535 is moved to destination node by the present node in the 4*9 matrix and stores, the position of present node is 3 row, 5 row, the position of destination node is 2 row 6 row, also namely when portable terminal tilts obliquely, the positional information of icon 535 is also moved a node obliquely store.
Step 614 is carried out mobile storage to the positional information of another displaying block of original storage in the destination node;
Because moving in the destination node, the positional information of in the above-mentioned steps 608/610/612 current displaying block being stored in present node stores.If originally also store the positional information of another displaying block in the destination node, then portable terminal also needs the positional information of another displaying block of original storage in the destination node is carried out mobile storage.According to different implementations, this step can comprise any one in following two kinds of implementations:
The first, the positional information of another displaying block of the original storage of destination node moved in the present node store;
Such as, in step 608, the positional information of icon 535 is moved to the destination node that is positioned at 3 row, 6 row by the present node that is arranged in 3 row 5 row and is stored, then portable terminal also moves to the present node that is arranged in 3 row, 5 row with the positional information of the icon 536 of original storage in the destination node and stores, and also is that " exchanging in twos " occured the positional information of storing in present node and the destination node.
Second, if present node points on the direction of destination node and also includes the empty node of not storing any positional information, then the positional information of destination node and the displaying block stored separately in destination node that the party makes progress and other node between the empty node is moved in the next node with respect to self and store.
Such as, in step 608, the positional information of icon 535 is moved to the destination node that is positioned at 3 row, 6 row by the present node that is arranged in 3 row 5 row and is stored, also have an empty node that is positioned at 3 row, 9 row because present node points on the direction (also being x axle forward) of destination node, then the portable terminal node that the positional information of icon 536 that is arranged in the original storage of destination node of 3 row, 6 row can also be moved to 3 row, 7 row is stored; The positional information of icon 537 that portable terminal also will be arranged in the original storage of node of 3 row 7 row moves to the node of 3 row, 8 row and stores; The positional information of icon 538 that portable terminal also will be arranged in the original storage of node of 3 row 8 row moves to 3 row, 9 row and stores.
Above-mentioned dual mode can also be combined with, and also even present node points to when not including the empty node of not storing any positional information on the direction of destination node, adopts first kind of way; If when including the empty node of not storing any positional information on the direction of present node sensing destination node, adopt the second way.
Step 616 shows each displaying block according to the M*N matrix after adjusting again in show grid;
At last, portable terminal shows each displaying block according to the M*N matrix after adjusting in the above-mentioned steps again in show grid, such as, portable terminal is presented at icon 535 according to the 4*9 matrix after the first kind of way adjustment in step 608 and the step 614 the 3rd row 6 column positions of show grid again; Simultaneously icon 536 is presented at the 3rd row 5 column positions of show grid.
Above steps is mentioned: m, n are integer, and i, j, M and N are positive integer, and 1≤i+n≤M, 1≤j+m≤N.
In sum, the displaying block aligning method that present embodiment provides, by, positional information memory location in matrix of displaying block being adjusted during greater than predetermined threshold at the absolute value that detects the angle of inclination on the preset direction of portable terminal at show grid, thereby realize rearranging demonstration; Having reached the user can single job just can finish whole icon arrangement process, and operating process can not exist palm to block the effect of screen display content.Also by angle of inclination and m are set, the corresponding relation between the n has been realized the different mobile effect of displaying block; Also by the positional information of another displaying block of original storage in the destination node is carried out mobile storage, when having realized that current displaying block is moved, other displaying block also can change the effect of display position automatically.
Please refer to Fig. 7, it shows the method flow diagram of the displaying block changing method that one embodiment of the invention provides.Present embodiment only is applied to include in the portable terminal of sensor of Gravity accelerometer, three-axis gyroscope and so on this displaying block changing method and illustrates.This displaying block changing method comprises:
Step 702 will be arranged in i selected displaying block of tabulation and show as screen display content, comprise N the displaying block of arranging according to order in the tabulation;
Displaying block can be icon, thumbnail, file, file or preview graph etc.Preview graph take displaying block as photo is example, and portable terminal can show being arranged in i preview graph that tabulation chosen by the user current preview graph as screen display content.Include N the preview graph of arranging according to order in this tabulation.Whether the adjacent image according to current preview graph shows that the interface of the portable terminal that this step shows can be with reference to figure 8 or Fig. 9.Interface synoptic diagram when wherein, Fig. 8 shows portable terminal and do not show the adjacent figure of current preview graph; Interface synoptic diagram when Fig. 9 shows portable terminal and shows the adjacent figure of current preview graph
Whether step 704 detects the angle of inclination of portable terminal on preset direction greater than predetermined threshold;
Then, whether portable terminal detects from the angle of inclination on preset direction greater than predetermined threshold.This preset direction can be x direction of principal axis or y direction of principal axis, and take interface shown in Figure 9 as example, preset direction can be the x direction of principal axis.In other words, preset direction is consistent with the switching display direction of current displaying block.
Step 706, if detect the angle of inclination of portable terminal on preset direction greater than predetermined threshold, i+k displaying block in then will tabulating shows as new screen display content;
The x direction of principal axis with preset direction, predetermined threshold is 0.3, k=-1 is example, is 0.5 greater than predetermined threshold 0.3 if detect the angle of inclination of portable terminal on the x direction of principal axis, and i-1 preview graph during then portable terminal will be tabulated shows as new screen display content.Also namely, when portable terminal is tilted to the right, last image of current preview graph shown as new screen display content.
Preferably in the scheme, the negative corresponding relation that just is being at the angle of inclination of the positive and negative and preset direction of k, also be, when if the angle of inclination of preset direction is negative value, k be on the occasion of, also be the x value of tri-vector for negative, when portable terminal is tilted to the left, the rear k of current preview graph is opened image shows as new screen display content; If the angle of inclination of preset direction be on the occasion of the time, k is negative value, also be tri-vector the x value on the occasion of, when portable terminal is tilted to the right, the front k of current preview graph is opened image shows as new screen display content.
Generally, the absolute value of k is always 1.But at another preferably in the scheme, the order of magnitude of k can be corresponding relation with the size of the absolute value at the angle of inclination of preset direction.In other words, if the absolute value at the angle of inclination of preset direction is larger, also be that the absolute value of x of tri-vector is larger, then the absolute value of k is also larger.
Wherein, k is integer, and i, N are positive integer, and 1≤i+k≤N.
In sum, the displaying block changing method that present embodiment provides by when detecting the angle of inclination of portable terminal on preset direction greater than predetermined threshold, shows i+k displaying block in the tabulation as new screen display content; Having reached the user can single job just can finish whole displaying block handoff procedure, and operating process can not exist palm to block the effect of screen display content.
Please refer to Figure 10, it shows the block diagram of the portable terminal that one embodiment of the invention provides.This portable terminal comprises: displaying block display module 420, threshold test module 440, mobile storage module 460 and rearrangement display module 480.
Displaying block display module 420 is used at least one displaying block is presented at the show grid that is divided into the capable N row of M, and the positional information of each displaying block that shows in described show grid is stored in the corresponding node of the M*N matrix corresponding with described show grid;
Threshold test module 440, be used for described displaying block display module 420 the displaying block that described show grid shows selected as current displaying block after, detect described portable terminal corresponding to the absolute value at the angle of inclination on the preset direction of described show grid whether greater than predetermined threshold, described preset direction comprises one or two in line direction and the column direction;
Mobile storage module 460, if be used for described threshold test module 440 detect described portable terminal corresponding to the angle of inclination on the preset direction of described show grid greater than predetermined threshold, positional information that then will described current displaying block is moved at described preset direction by the present node in the described M*N matrix stores apart from the destination node of described present node preset distance;
Reset display module 480, the described M*N matrix after being used for again adjusting according to described mobile storage module 460 shows each displaying block at described show grid.
Wherein, M and N are positive integer.
In sum, the portable terminal that present embodiment provides, by, the memory location of positional information in matrix of displaying block being adjusted during greater than predetermined threshold at the absolute value that detects the angle of inclination on the preset direction of portable terminal at show grid, thereby realize rearranging demonstration; Having reached the user can single job just can finish whole icon arrangement process, and operating process can not exist palm to block the effect of screen display content.
Please refer to Figure 11, it shows the block diagram of the portable terminal that another embodiment of the present invention provides.As based on the more preferably embodiment that provides embodiment illustrated in fig. 10, this portable terminal comprises: displaying block display module 420, angle acquisition module 430, threshold test module 440, mobile storage module 460, exchange are arranged module 472 and are reset display module 480.
Displaying block display module 420 is used at least one displaying block is presented at the show grid that is divided into the capable N row of M, and the positional information of each displaying block in described show grid is stored in the corresponding node of the M*N matrix corresponding with described show grid;
Angle acquisition module 430 is used for obtaining described portable terminal that sensor gathers corresponding to the line direction of described show grid and the angle of inclination on the column direction, and described sensor comprises a kind of in Gravity accelerometer and the three-axis gyroscope or two kinds;
Threshold test module 440, be used for described displaying block display module 420 the displaying block that described show grid shows selected as current displaying block after, detect described portable terminal corresponding to the angle of inclination on the preset direction of described show grid whether greater than predetermined threshold, described preset direction comprises line direction that described angle acquisition module 430 obtains and in the column direction one or two;
Mobile storage module 460, if be used for described threshold test module 440 detect described portable terminal corresponding to the absolute value at the angle of inclination on the line direction of described show grid greater than predetermined threshold, then the positional information of described current displaying block is moved in the destination node by the present node in the described M*N matrix and store, the position of described present node is the capable j row of i, and the position of described destination node is the capable j+m row of i;
Mobile storage module 460, if also be used for described threshold test module 440 detect described portable terminal corresponding to the absolute value at the angle of inclination on the column direction of described show grid greater than predetermined threshold, then the positional information of described current displaying block is moved in the destination node by the present node in the described M*N matrix and store, the position of described present node is the capable j row of i, and the position of described destination node is the capable j row of i+n;
Mobile storage module 460, if also be used for described threshold test module 440 detect described portable terminal corresponding to the absolute value at the line direction of described show grid and the angle of inclination on the column direction all greater than predetermined threshold, then the positional information of described current displaying block is moved in the destination node by the present node in the described M*N matrix and store, the position of described present node is the capable j row of i, and the position of described destination node is the capable j+m row of i+n;
Wherein, m, n are integer, and i and j are positive integer, and 1≤i+n≤M, 1≤j+m≤N
Exchange to arrange module 472, the positional information that is used for another displaying block of the original storage of destination nodes that described mobile storage module 460 is related moves to described present node and stores.
Reset display module 480, the described M*N matrix that is used for again arranging after module 472 is adjusted according to described exchange shows each displaying block at described show grid.
Preferably, if the absolute value at the angle of inclination on the described line direction greater than predetermined threshold, and described angle of inclination be on the occasion of, then the m that uses of described mobile storage module be on the occasion of;
If the absolute value at the angle of inclination on the described line direction is greater than predetermined threshold, and described angle of inclination is negative value, and then the m that uses of described mobile storage module is negative value;
If the absolute value at the angle of inclination on the described column direction is greater than predetermined threshold, and described angle of inclination be on the occasion of, then the n that uses of described mobile storage module is negative value;
If the absolute value at the angle of inclination on the described column direction is greater than predetermined threshold, and described angle of inclination is negative value, then the n that uses of described mobile storage module be on the occasion of.
In sum, the portable terminal that present embodiment provides, by, positional information memory location in matrix of displaying block being adjusted during greater than predetermined threshold at the absolute value that detects the angle of inclination on the preset direction of portable terminal at show grid, thereby realize rearranging demonstration; Having reached the user can single job just can finish whole icon arrangement process, and operating process can not exist palm to block the effect of screen display content.Also by the positional information of another displaying block of original storage in the destination node is carried out mobile storage, when having realized that current displaying block is moved, other displaying block also can change the effect of display position automatically.
Please refer to Figure 12, again block diagram of the portable terminal that provides of an embodiment of embodiment of the invention is provided for it.As based on the more preferably embodiment that provides embodiment illustrated in fig. 10, this portable terminal comprises: displaying block display module 420, angle acquisition module 430, threshold test module 440, mobile storage module 460, module arranged sequentially 474 and rearrangement display module 480.
Displaying block display module 420 is used at least one displaying block is presented at the show grid that is divided into the capable N row of M, and the positional information of each displaying block in described show grid is stored in the corresponding node of the M*N matrix corresponding with described show grid;
Angle acquisition module 430 is used for obtaining described portable terminal that sensor gathers corresponding to the line direction of described show grid and the angle of inclination on the column direction, and described sensor comprises a kind of in Gravity accelerometer and the three-axis gyroscope or two kinds;
Threshold test module 440, be used for described displaying block display module 420 the displaying block that described show grid shows selected as current displaying block after, detect described portable terminal corresponding to the angle of inclination on the preset direction of described show grid whether greater than predetermined threshold, described preset direction comprises line direction that described angle acquisition module 430 obtains and in the column direction one or two;
Mobile storage module 460, if be used for described threshold test module 440 detect described portable terminal corresponding to the absolute value at the angle of inclination on the line direction of described show grid greater than predetermined threshold, then the positional information of described current displaying block is moved in the destination node by the present node in the described M*N matrix and store, the position of described present node is the capable j row of i, and the position of described destination node is the capable j+m row of i;
Mobile storage module 460, if also be used for described threshold test module 440 detect described portable terminal corresponding to the absolute value at the angle of inclination on the column direction of described show grid greater than predetermined threshold, then the positional information of described current displaying block is moved in the destination node by the present node in the described M*N matrix and store, the position of described present node is the capable j row of i, and the position of described destination node is the capable j row of i+n;
Mobile storage module 460, if also be used for described threshold test module 440 detect described portable terminal corresponding to the absolute value at the line direction of described show grid and the angle of inclination on the column direction all greater than predetermined threshold, then the positional information of described current displaying block is moved in the destination node by the present node in the described M*N matrix and store, the position of described present node is the capable j row of i, and the position of described destination node is the capable j+m row of i+n;
Wherein, m, n are integer, and i and j are positive integer, and 1≤i+n≤M, 1≤j+m≤N.
Module 474 arranged sequentially, if be used for also including the empty node of not storing any positional information on the direction that described present node points to described destination node, the positional information of the displaying block of then storing separately in the destination node that described mobile storage module 460 is related and other node between the described destination node on described direction and the described empty node moves in the next node with respect to self and stores.
Reset display module 480, the described M*N matrix after being used for again adjusting according to described module 474 arranged sequentially shows each displaying block at described show grid.
Preferably, if the absolute value at the angle of inclination on the described line direction greater than predetermined threshold, and described angle of inclination be on the occasion of, then the m that uses of described mobile storage module be on the occasion of;
If the absolute value at the angle of inclination on the described line direction is greater than predetermined threshold, and described angle of inclination is negative value, and then the m that uses of described mobile storage module is negative value;
If the absolute value at the angle of inclination on the described column direction is greater than predetermined threshold, and described angle of inclination be on the occasion of, then the n that uses of described mobile storage module is negative value;
If the absolute value at the angle of inclination on the described column direction is greater than predetermined threshold, and described angle of inclination is negative value, then the n that uses of described mobile storage module be on the occasion of.
In sum, the portable terminal that present embodiment provides, by, positional information memory location in matrix of displaying block being adjusted during greater than predetermined threshold at the absolute value that detects the angle of inclination on the preset direction of portable terminal at show grid, thereby realize rearranging demonstration; Having reached the user can single job just can finish whole icon arrangement process, and operating process can not exist palm to block the effect of screen display content.Also by the positional information of another displaying block of original storage in the destination node is carried out mobile storage, when having realized that current displaying block is moved, other displaying block also can change the effect of display position automatically.
Need to prove: the portable terminal that above-described embodiment provides is when arranging displaying block, only the division with above-mentioned each functional module is illustrated, in the practical application, can as required the above-mentioned functions distribution be finished by different functional modules, the inner structure of the equipment of being about to is divided into different functional modules, to finish all or part of function described above.In addition, the portable terminal that above-described embodiment provides and displaying block aligning method embodiment belong to same design, and its specific implementation process sees embodiment of the method for details, repeats no more here.
Please refer to Figure 13, it shows the block diagram of the portable terminal that one embodiment of the invention provides.This portable terminal comprises: tabulation display module 720, angle detection module 740 and switching display module 760.
Tabulation display module 720 is used for being positioned at i selected displaying block of tabulation and shows as screen display content, comprises N the displaying block of arranging according to order in the described tabulation;
Angle detection module 740, for detection of the angle of inclination of described portable terminal on preset direction whether greater than predetermined threshold;
Switch display module 760, detect the angle of inclination of described portable terminal on preset direction greater than predetermined threshold if be used for described angle detection module 740, then i+k displaying block in the described tabulation shown as new screen display content;
Wherein, k is integer, and i, N are positive integer, and 1≤i+k≤N.
In sum, the portable terminal that present embodiment provides by when detecting the angle of inclination of portable terminal on preset direction greater than predetermined threshold, shows i+k displaying block in the tabulation as new screen display content; Having reached the user can single job just can finish whole displaying block handoff procedure, and operating process can not exist palm to block the effect of screen display content.
Need to prove: the portable terminal that above-described embodiment provides is when switching displaying block, only the division with above-mentioned each functional module is illustrated, in the practical application, can as required the above-mentioned functions distribution be finished by different functional modules, the inner structure of the equipment of being about to is divided into different functional modules, to finish all or part of function described above.In addition, the portable terminal that above-described embodiment provides and displaying block changing method embodiment belong to same design, and its specific implementation process sees embodiment of the method for details, repeats no more here.
The invention described above embodiment sequence number does not represent the quality of embodiment just to description.
The all or part of step that one of ordinary skill in the art will appreciate that realization above-described embodiment can be finished by hardware, also can come the relevant hardware of instruction to finish by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (16)

1. a displaying block aligning method is used for portable terminal, it is characterized in that described method comprises:
At least one displaying block is presented in the show grid that is divided into the capable N row of M, and the positional information of each displaying block that shows in described show grid is stored in the corresponding node of the M*N matrix corresponding with described show grid;
A displaying block in described show grid is selected as after the current displaying block, detect described portable terminal corresponding to the absolute value at the angle of inclination on the preset direction of described show grid whether greater than predetermined threshold, described preset direction comprises one or two in line direction and the column direction;
If detect described portable terminal corresponding to the absolute value at the angle of inclination on the preset direction of described show grid greater than predetermined threshold, then the positional information of described current displaying block is moved on described preset direction by the present node in the described M*N matrix and stores in the distance destination node of described present node preset distance;
Again in described show grid, show each displaying block according to the described M*N matrix after adjusting;
Wherein, M and N are positive integer.
2. displaying block aligning method according to claim 1, it is characterized in that, if described detect described portable terminal corresponding to the absolute value at the angle of inclination on the preset direction of described show grid greater than predetermined threshold, then the positional information of described current displaying block is moved on described preset direction by the present node in the described M*N matrix and stores in the distance destination node of described present node preset distance, comprising:
If detect described portable terminal corresponding to the absolute value at the angle of inclination on the line direction of described show grid greater than predetermined threshold, then the positional information of described current displaying block is moved in the destination node by the present node in the described M*N matrix and store, the position of described present node is the capable j row of i, and the position of described destination node is the capable j+m row of i;
If detect described portable terminal corresponding to the absolute value at the angle of inclination on the column direction of described show grid greater than predetermined threshold, then the positional information of described current displaying block is moved in the destination node by the present node in the described M*N matrix and store, the position of described present node is the capable j row of i, and the position of described destination node is the capable j row of i+n;
Wherein, m, n are integer, and i and j are positive integer, and 1≤i+n≤M, 1≤j+m≤N.
3. method according to claim 1, it is characterized in that, if described detect described portable terminal corresponding to the absolute value at the angle of inclination on the preset direction of described show grid greater than predetermined threshold, then the positional information of described current displaying block is moved on described preset direction by the present node in the described M*N matrix and stores in the distance destination node of described present node preset distance, comprising:
If detect described portable terminal corresponding to the absolute value at the line direction of described show grid and the angle of inclination on the column direction all greater than predetermined threshold, then the positional information of described current displaying block is moved in the destination node by the present node in the described M*N matrix and store, the position of described present node is the capable j row of i, and the position of described destination node is the capable j+m row of i+n;
Wherein, m, n are integer, and i and j are positive integer, and 1≤i+n≤M, 1≤j+m≤N.
4. according to claim 2 or 3 described methods, it is characterized in that,
If the absolute value at the angle of inclination on the described line direction is greater than predetermined threshold, and described angle of inclination be on the occasion of, then described m be on the occasion of;
If the absolute value at the angle of inclination on the described line direction is greater than predetermined threshold, and described angle of inclination is negative value, and then described m is negative value;
If the absolute value at the angle of inclination on the described column direction is greater than predetermined threshold, and described angle of inclination be on the occasion of, then described n is negative value;
If the absolute value at the angle of inclination on the described column direction is greater than predetermined threshold, and described angle of inclination is negative value, then described n be on the occasion of.
5. according to claim 1 to 3 arbitrary described methods, it is characterized in that, described positional information with described current displaying block by the present node in the described M*N matrix move on described preset direction, store in the distance destination node of described present node preset distance after, also comprise:
The positional information of another displaying block of the original storage of described destination node moved in the described present node store.
6. according to claim 1 to 3 arbitrary described methods, it is characterized in that, described positional information with described current displaying block by the present node in the described M*N matrix move on described preset direction, store in the distance destination node of described present node preset distance after, also comprise:
If described present node points on the direction of described destination node and also includes the empty node of not storing any positional information, then with in other node between described destination node and the described destination node on described direction and the described empty node separately the positional information of the displaying block of storage move in the next node with respect to self and store.
7. according to claim 1 to 3 arbitrary described methods, it is characterized in that, the described portable terminal of described detection corresponding to the absolute value at the angle of inclination on the preset direction of described show grid whether greater than predetermined threshold before, also comprise:
Obtain described portable terminal that sensor gathers at the angle of inclination corresponding to line direction and the column direction of described show grid, described sensor comprises one or two in Gravity accelerometer and the three-axis gyroscope.
8. a displaying block changing method is used for portable terminal, it is characterized in that described method comprises:
To be arranged in i selected displaying block of tabulation and show as screen display content, comprise N the displaying block of arranging according to order in the described tabulation;
Whether detect the angle of inclination of described portable terminal on preset direction greater than predetermined threshold;
If detect the angle of inclination of described portable terminal on preset direction greater than predetermined threshold, then with i+k displaying block in the described tabulation as new screen display content;
Wherein, k is integer, and i, N are positive integer, and 1≤i+k≤N.
9. a portable terminal is characterized in that, comprising:
The displaying block display module is used at least one displaying block is presented at the show grid that is divided into the capable N row of M, and the positional information of each displaying block that shows in described show grid is stored in the corresponding node of the M*N matrix corresponding with described show grid;
The threshold test module, a displaying block that is presented at described show grid for described displaying block display module is selected as after the current displaying block, detect described portable terminal corresponding to the absolute value at the angle of inclination on the preset direction of described show grid whether greater than predetermined threshold, described preset direction comprises one or two in line direction and the column direction;
The mobile storage module, if be used for described threshold test module detect described portable terminal corresponding to the absolute value at the angle of inclination on the preset direction of described show grid greater than predetermined threshold, positional information that then will described current displaying block is moved on described preset direction by the present node in the described M*N matrix stores apart from the destination node of described present node preset distance;
Reset display module, the described M*N matrix after being used for again adjusting according to described mobile storage module shows each displaying block at described show grid;
Wherein, M and N are positive integer.
10. portable terminal according to claim 9 is characterized in that,
Described mobile storage module, if be used for described threshold test module detect described portable terminal corresponding to the absolute value at the angle of inclination on the line direction of described show grid greater than predetermined threshold, then the positional information of described current displaying block is moved in the destination node by the present node in the described M*N matrix and store, the position of described present node is the capable j row of i, and the position of described destination node is the capable j+m row of i;
Described mobile storage module, if also be used for described threshold test module detect described portable terminal corresponding to the absolute value at the angle of inclination on the column direction of described show grid greater than predetermined threshold, then the positional information of described current displaying block is moved in the destination node by the present node in the described M*N matrix and store, the position of described present node is the capable j row of i, and the position of described destination node is the capable j row of i+n;
Wherein, m, n are integer, and i and j are positive integer, and 1≤i+n≤M, 1≤j+m≤N.
11. portable terminal according to claim 9 is characterized in that,
Described mobile storage module, if be used for described threshold test module detect described portable terminal corresponding to the absolute value at the line direction of described show grid and the angle of inclination on the column direction all greater than predetermined threshold, then the positional information of described current displaying block is moved in the destination node by the present node in the described M*N matrix and store, the position of described present node is the capable j row of i, and the position of described destination node is the capable j+m row of i+n;
Wherein, m, n are integer, and i and j are positive integer, and 1≤i+n≤M, 1≤j+m≤N.
12. according to claim 10 or 11 described portable terminals, it is characterized in that,
If the absolute value at the angle of inclination on the described line direction is greater than predetermined threshold, and described angle of inclination be on the occasion of, then the m that uses of described mobile storage module be on the occasion of;
If the absolute value at the angle of inclination on the described line direction is greater than predetermined threshold, and described angle of inclination is negative value, and then the m that uses of described mobile storage module is negative value;
If the absolute value at the angle of inclination on the described column direction is greater than predetermined threshold, and described angle of inclination be on the occasion of, then the n that uses of described mobile storage module is negative value;
If the absolute value at the angle of inclination on the described column direction is greater than predetermined threshold, and described angle of inclination is negative value, then the n that uses of described mobile storage module be on the occasion of.
13. according to claim 10 or 11 described portable terminals, it is characterized in that described portable terminal also comprises: exchange and arrange module;
Module is arranged in described exchange, moves to described present node for the positional information with original another displaying block stored of described destination node and stores.
14. according to claim 10 or 11 described portable terminals, it is characterized in that described portable terminal also comprises: module arranged sequentially;
Described module arranged sequentially, if be used for also including the empty node of not storing any positional information on the direction that described present node points to described destination node, then the positional information of the displaying block stored separately in other node between described destination node and the described destination node on described direction and the described empty node moved in the next node with respect to self and store.
15. according to claim 10 or 11 described portable terminals, it is characterized in that described portable terminal also comprises: the angle acquisition module;
Described angle acquisition module is used for obtaining described portable terminal that sensor gathers at the angle of inclination corresponding to line direction and the column direction of described show grid, and described sensor comprises one or two in Gravity accelerometer and the three-axis gyroscope.
16. a portable terminal is characterized in that, comprising:
The tabulation display module is used for being positioned at i selected displaying block of tabulation and shows as screen display content, comprises N the displaying block of arranging according to order in the described tabulation;
The angle detection module, for detection of the angle of inclination of described portable terminal on preset direction whether greater than predetermined threshold;
Switch display module, detect the angle of inclination of described portable terminal on preset direction greater than predetermined threshold if be used for described angle detection module, then i+k displaying block in the described tabulation shown as new screen display content;
Wherein, k is integer, and i, N are positive integer, and 1≤i+k≤N.
CN201210560450.7A 2012-12-20 2012-12-20 Displaying block aligning method, displaying block changing method and mobile terminal Active CN103064583B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210560450.7A CN103064583B (en) 2012-12-20 2012-12-20 Displaying block aligning method, displaying block changing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210560450.7A CN103064583B (en) 2012-12-20 2012-12-20 Displaying block aligning method, displaying block changing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN103064583A true CN103064583A (en) 2013-04-24
CN103064583B CN103064583B (en) 2016-03-02

Family

ID=48107228

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210560450.7A Active CN103064583B (en) 2012-12-20 2012-12-20 Displaying block aligning method, displaying block changing method and mobile terminal

Country Status (1)

Country Link
CN (1) CN103064583B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104407779A (en) * 2014-12-15 2015-03-11 北京国双科技有限公司 Arrangement display method and device for graphical interface
CN104461547A (en) * 2014-12-15 2015-03-25 北京国双科技有限公司 Method and device for arraying and displaying graphical interface
CN105359094A (en) * 2014-04-04 2016-02-24 微软技术许可有限责任公司 Expandable Application Representation
CN105511757A (en) * 2015-12-10 2016-04-20 广东欧珀移动通信有限公司 Playlist control method and mobile terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100131904A1 (en) * 2008-11-21 2010-05-27 Microsoft Corporation Tiltable user interface
CN102446069A (en) * 2010-10-01 2012-05-09 三星电子株式会社 Apparatus and method for turning e-book pages in portable terminal
CN102736849A (en) * 2012-04-20 2012-10-17 中兴通讯股份有限公司 Menu layout processing method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100131904A1 (en) * 2008-11-21 2010-05-27 Microsoft Corporation Tiltable user interface
CN102446069A (en) * 2010-10-01 2012-05-09 三星电子株式会社 Apparatus and method for turning e-book pages in portable terminal
CN102736849A (en) * 2012-04-20 2012-10-17 中兴通讯股份有限公司 Menu layout processing method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105359094A (en) * 2014-04-04 2016-02-24 微软技术许可有限责任公司 Expandable Application Representation
US10459607B2 (en) 2014-04-04 2019-10-29 Microsoft Technology Licensing, Llc Expandable application representation
CN104407779A (en) * 2014-12-15 2015-03-11 北京国双科技有限公司 Arrangement display method and device for graphical interface
CN104461547A (en) * 2014-12-15 2015-03-25 北京国双科技有限公司 Method and device for arraying and displaying graphical interface
CN104461547B (en) * 2014-12-15 2018-08-07 北京国双科技有限公司 The arrangement display methods and device of graphical interfaces
CN105511757A (en) * 2015-12-10 2016-04-20 广东欧珀移动通信有限公司 Playlist control method and mobile terminal
CN105511757B (en) * 2015-12-10 2019-02-12 Oppo广东移动通信有限公司 A kind of playlist control method and mobile terminal

Also Published As

Publication number Publication date
CN103064583B (en) 2016-03-02

Similar Documents

Publication Publication Date Title
CN103049172B (en) Sidebar display packing, device and terminal
US8966387B2 (en) Method and apparatus for managing icon in portable terminal
US8650502B2 (en) Method for precise navigation of data
CN106293315A (en) The method and apparatus that floating frame shows
CN102760020B (en) A kind of method of Detection capacitance formula touch-screen, device and mobile terminal
CN101821705A (en) Pointer controlling apparatus
CN102402384A (en) Information processing apparatus, information processing method, and computer program
US20140278088A1 (en) Navigation Device
US8947464B2 (en) Display control apparatus, display control method, and non-transitory computer readable storage medium
CN103038737A (en) Highlighting of objects on a display
CN105700708A (en) Terminal interface adjusting method and terminal
JP4166767B2 (en) Information processing apparatus, pointer movement display method, program, and recording medium
CN108733303A (en) The touch inputting method and equipment of portable terminal
CN103064583A (en) Display block arranging method, display block switching method and mobile terminal
CN103135929A (en) Method and device for controlling application interface to move and terminal device
CN102346637A (en) Information processing apparatus, information processing method, and computer program
CN104571886A (en) Interface processing method and device
CN106791422A (en) A kind of image processing method and mobile terminal
US20150205483A1 (en) Object operation system, recording medium recorded with object operation control program, and object operation control method
JP5894764B2 (en) Information processing device
CN107765900A (en) A kind of smart pen, the control method of smart pen, device, equipment and storage medium
CN103049173B (en) Content selecting method, system and mobile terminal
JP4244586B2 (en) Multi-display screen setting method
CN114896107A (en) Bad block detection method and device for touch screen, storage medium and equipment
CN105453012A (en) Cursor location control device, cursor location control method, program, and information storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant before: Beijing Xiaomi Technology Co., Ltd.

C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 100085 Beijing city Haidian District Qinghe Street No. 68 Huarun colorful city shopping center two floor 13

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant before: Xiaomi Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant