CN102331898A - Hand-held device and method for carrying out item drag control by same - Google Patents

Hand-held device and method for carrying out item drag control by same Download PDF

Info

Publication number
CN102331898A
CN102331898A CN2010102242632A CN201010224263A CN102331898A CN 102331898 A CN102331898 A CN 102331898A CN 2010102242632 A CN2010102242632 A CN 2010102242632A CN 201010224263 A CN201010224263 A CN 201010224263A CN 102331898 A CN102331898 A CN 102331898A
Authority
CN
China
Prior art keywords
project
drags
widget
dragging
instruction
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
CN2010102242632A
Other languages
Chinese (zh)
Other versions
CN102331898B (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.)
KETAI CENTURY SCIENCE AND TECHNOLOGY Co Ltd SHANGHAI
Original Assignee
KETAI CENTURY SCIENCE AND TECHNOLOGY Co Ltd SHANGHAI
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 KETAI CENTURY SCIENCE AND TECHNOLOGY Co Ltd SHANGHAI filed Critical KETAI CENTURY SCIENCE AND TECHNOLOGY Co Ltd SHANGHAI
Priority to CN201010224263.2A priority Critical patent/CN102331898B/en
Publication of CN102331898A publication Critical patent/CN102331898A/en
Priority to HK12102397.1A priority patent/HK1161921A1/en
Application granted granted Critical
Publication of CN102331898B publication Critical patent/CN102331898B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to a hand-held device and a method for carrying out item drag control by the hand-held device. The method comprises the following steps that: when one item on a touch control type screen of the hand-held device is dragged, and the position is changed, the item list of the current screen is updated, the item comprises a widget and an icon; when the dragged item is not placed, the current position of the current dragged item is calculated; when the position of the dragged item is changed, and the dragged item is not covered on the widget, one item is sequentially obtained from the current screen item list; and when the item is legal, the moving target position of the item is determined, and the legal item is moved to the determined target position. The hand-held device and the method can be used for realizing the mixed ranging of the widget and the icon.

Description

Hand-held device and utilize it to carry out the method that project drags control
Technical field
The present invention relates to a kind of electronic installation and method, relate in particular to a kind of hand-held device and utilize it to carry out the method that project drags control.
Background technology
Two kinds of Android system that mainly contains that the operating system of present mobile phone is popular and iPhone systems.Wherein, in the Android system, icon can not auto arrangement, and placement location is more random, so long as empty position can be put, can arbitraryly put icon, but if vacate certain empty position, needs to move one by one original icon.In the iPhone system,,, promptly do not realize the mixing of widget and icon to the auto arrangement of widget (little, be different from general icon, bigger) than the zone that icon occupies though icon can auto arrangement.
Summary of the invention
In view of above content, be necessary to provide a kind of project to drag control method, it can realize the mixing of widget and icon.
In one embodiment, this method comprises the steps:
(a) judge that a project on the touch control screen of hand-held device is dragging the whether change of position, back, said project comprises widget and icon;
(b) if this project dragging back position change, is then upgraded the current screen bulleted list, execution in step (c) then, if this project does not have change dragging the position, back, direct execution in step (c) then;
(c) judge that the project of dragging has and do not put down, if this project that drags put down, then in the project that shows on the touch control screen after arranging again, if this project that drags is not put down execution in step (d) then;
(d) calculate the current location that this drags project;
(e) if this drags the not change of position of project, maybe this project of dragging is covered on widget, then returns step (c), if this drags the position change of project, and this project that drags do not cover on widget, then execution in step (f);
(f) from the current screen bulleted list, obtain a project successively;
(g) if this project is legal, then confirm the target location that this project moves, the project that this is legal moves to definite target location; And
(h) if this project is illegal, then return step (f), forward next project to, be finished up to all items.
Preceding method can be carried out by hand-held device, and wherein this hand-held device has touch control screen, one or more processor, the storer that has attached graphic user interface (GUI) and is kept at one or more modules, program or the instruction set that is used to carry out these methods in the storer.In certain embodiments, this hand-held device provides the multiple function that comprises radio communication.
The instruction that is used for carrying out preceding method can be included in and be configured to the computer program carried out by one or more processors.
Compared to prior art, described hand-held device and utilize it to carry out the method that project drags control has been realized the mixing of widget and icon on the basis of Android system.With respect to original realization, icon can auto arrangement, and widget also can squeeze away icon.If the user moves widget or icon to other screen, other screen puts down under the situation of this widget or icon having living space so, also can auto arrangement.
The present invention increases the mixing of widget and icon on original icon arrangement basis; Avoided widget and icon arrangement random; Make user interface more attractive in appearance, do not need user's going one by one to move icon and vacate empty position and create widget, make more convenient operation.
Description of drawings
Fig. 1 is the block diagram of hand-held device preferred embodiment of the present invention.
Fig. 2 utilizes hand-held device to carry out the process flow diagram of preferred embodiment that project drags the method for control.
The main element symbol description
Hand-held device 2
Storer 21
Touch control screen 22
Processor 23
The project drive control system 210
Embodiment
The present invention relates to the notion of an auto arrangement, so explain the characteristics of auto arrangement of the present invention earlier.
The notion of auto arrangement of the present invention: we can be divided into a screen grid of N * N, that is to say that N is capable, N row, the sequence number of grid from 0 to N * N-1.General icon takies 1 * 1 grid, widget (little) region occupied greater than 1 * 1 smaller or equal to N * N.The index of supposing the position of an icon is k, and 0 to k-1 all can not be empty (occupied position is a non-NULL, does not take then for empty) so.The length and width of supposing a widget are i * j; Position, the upper left corner is the capable n row of m; So this widget region (line range be m to m+i-1, the row scope is n to the common factor that n+j-1 produced) be to put other icons or widget again, only if the user removes this widget.
As shown in Figure 1, be the block diagram of hand-held device preferred embodiment of the present invention.In the present embodiment, this hand-held device 2 comprises storer 21, touch control screen 22 and processor 23.Wherein, said project drive control system 210 is stored in the storer 21, is used for widget on the touch control screen 22 and icon are carried out mixing, and detailed process is referring to the description of Fig. 2.In the present embodiment, said hand-held device 2 includes, but not limited to the electronic equipment that mobile phone or PDA (Personal Digital Assistant, personal digital assistant) etc. have the Data Processing function.
In the present embodiment, said project drive control system 210 can be divided into one or more modules, and said one or more modules are configured to carried out by one or more processors (present embodiment is a processor 23), to accomplish the present invention.The alleged module of the present invention is to accomplish the computer program code segments of a specific function, is more suitable in describing the implementation of software in computing machine than program.
Said touch control screen 22 is used for making response through stylus or finger in the physics contact that one or more contact points carry out.
As shown in Figure 2, be to utilize hand-held device to carry out the process flow diagram of preferred embodiment that project drags the method for control.
Step S10 judges that a project on the touch control screen 22 is dragging the whether change of position, back.In the present embodiment, if change took place in project position after dragging, then need recomputate current screen bulleted list, execution in step S11; If a project change did not take place the position after dragging, then need not recomputate current screen bulleted list, execution in step S12.Wherein, the original state of item location is false (not having change).In the present embodiment, said project comprises two types of widget and icons.
In other embodiments, can also be set at: if the change in location value of a project judges then that less than preset value (as 1 millimeter) position of this project does not have change; If the change in location value of a project, is then judged the position of this project more than or equal to this preset value change was taken place.
Step S11 according to the location change of this project, upgrades the current screen bulleted list.In the present embodiment, this current screen bulleted list is used to store positional information (like coordinate figure) and attribute (as 0 and 1) of each project etc.Wherein, to be used to write down this project be widget or icon to the attribute of project.For example, use 1 this project of record to be widget, use 0 this project of record to be icon.For example, a project moves to the B position from the A position, is the B position with the updating location information of this project in the current screen bulleted list then.
Step S12, whether judges puts down the project of dragging.If the user puts down the project of dragging, then in the project that shows on the touch control screen 22 after arranging again, flow process finishes; If the user does not put down the project of dragging, execution in step S13 then.
Step S13 calculates the current location that this drags project, and promptly this drags the reposition of project.In the present embodiment, calculating this current location that drags project is meant: calculate the center point coordinate value that this drags project.In other embodiments, also further comprise after calculating this current location that drags project: carry out boundary treatment according to this current location that drags project.Particularly,, then adjust the current location that this drags project, make this drag the border of the current location of project near current screen if this current location that drags project exceeds the border of current screen.
Step S14 judges whether the project in the current screen bulleted list of need arranging again.In the present embodiment, widget can squeeze the cardon mark, but icon can not squeeze widget.Particularly, if this drags the not change of position of project, maybe this project of dragging is covered on widget, does not then need to arrange again the project in the current screen bulleted list, then returns step S12; If this drags the position change of project, and this project that drags do not cover on widget, then need arrange the project in the current screen bulleted list, execution in step S15 again.
Step S15 from the current screen bulleted list, obtains a project successively.
Step S16 judges whether this project is legal.If this project is legal, execution in step S17 then; If this project is illegal, then forward step S19 to.When also having project not to be finished, return step S15 again, forward next project to; If all items all is finished, then return step S10.
Wherein, judge whether legal rule is this project: begin to move from first project of current screen, if this project is not an empty position, promptly widget or icon have been deposited in this position, are not that this drags project and is not widget, then are legal mobile project; Otherwise if this project is an empty position, or this drags project or widget, then is illegal mobile project.
Step S17 confirms the target location that this project moves.
Wherein, The rule of confirming the target location that this project moves is: begin to seek the target location from first position of current screen; If this position is original position of the project of dragging; If perhaps deposit this position is not the project of dragging and that be not that current location and this position of the project of dragging deposit is not widget, then is the legitimate targets position; If this position is the current location of the project of dragging, if perhaps this position deposits is widget but this widget is not equal to the project of dragging, be illegal target location then, forward next position to and continue to seek the target location.In addition, if all positions all are illegal target locations, then forward next project to.
Step S18, the project that this is legal moves to definite target location, then execution in step S19.
In the present embodiment, if the index of the index of the position of this legitimate project and the target location of confirming equates that then this legitimate project need not move; If the index of the position of this legitimate project is unequal with the index of the target location of confirming, then this legitimate project is moved to definite target location.
Step S19 judges whether all items in the current screen bulleted list is finished.If all items is finished, then return step S10; If also have project not carry out, then return step S15, from the current screen bulleted list, obtain next project, all items in the current screen bulleted list reads and finishes.
In the present embodiment, widget can squeeze the cardon mark, but icon can not squeeze widget, and it is mobile to that is to say that widget can only be operated by the user, and can not be arranged automatically, and icon promptly can be moved by the user, also can be to be moved automatically.In other embodiments, also can set widget and can squeeze cardon mark, and icon also can squeeze widget, this variation can be accomplished for a person skilled in the art easily, need not pay creatively and work.
Present embodiment is the mixing that on the hand-held device of Android system, has realized widget and icon.In other embodiments, also can the present invention be transplanted on the hand-held device of other system (like the iPhone system), this variation can be accomplished for a person skilled in the art easily, need not pay creatively work.
What should explain at last is; Above embodiment is only unrestricted in order to technical scheme of the present invention to be described; Although the present invention is specified with reference to preferred embodiment; Those of ordinary skill in the art should be appreciated that and can make amendment or be equal to replacement technical scheme of the present invention, and do not break away from the spirit and the scope of technical scheme of the present invention.

Claims (10)

1. a project drags control method, it is characterized in that, this method comprises the steps:
(a) judge that a project on the touch control screen of hand-held device is dragging the whether change of position, back, said project comprises widget and icon;
(b) if this project dragging back position change, is then upgraded the current screen bulleted list, execution in step (c) then, if this project does not have change dragging the position, back, direct execution in step (c) then;
(c) judge that the project of dragging has and do not put down, if this project that drags put down, then in the project that shows on the touch control screen after arranging again, if this project that drags is not put down execution in step (d) then;
(d) calculate the current location that this drags project;
(e) if this drags the not change of position of project, maybe this project of dragging is covered on widget, then returns step (c), if this drags the position change of project, and this project that drags do not cover on widget, then execution in step (f);
(f) from the current screen bulleted list, obtain a project successively;
(g) if this project is legal, then confirm the target location that this project moves, the project that this is legal moves to definite target location; And
(h) if this project is illegal, then return step (f), forward next project to, be finished up to all items.
2. project as claimed in claim 1 drags control method, it is characterized in that, this method also comprises step:
If this current location that drags project exceeds the border of current screen, then adjust the current location that this drags project, make this drag the border of the current location of project near current screen.
3. project as claimed in claim 1 drags control method, it is characterized in that, judges whether legal step comprises this project:
Beginning to move from first project of current screen, if this project is not an empty position, is not that this drags project and is not widget, then is legal mobile project; And
If this project is an empty position, or this drags project or widget, then is illegal mobile project.
4. project as claimed in claim 1 drags control method, it is characterized in that, the step of the target location that said definite this project moves comprises:
Begin to seek the target location from first position of current screen; If this position is original position of the project of dragging; If perhaps deposit this position is not the project of dragging and that be not that current location and this position of the project of dragging deposit is not widget, then is the legitimate targets position; And
If this position is the current location of the project of dragging,, then be illegal target location if perhaps this position deposits is widget but this widget is not equal to the project of dragging.
5. project as claimed in claim 1 drags control method, it is characterized in that, the said step that will this legal project moves to definite target location comprises:
If the index of the position of this legitimate project and the target location of confirming equates that then this legitimate project need not move; And
If the position of this legitimate project is unequal with the index of the target location of confirming, then this legitimate project is moved to definite target location.
6. hand-held device comprises:
Touch control screen;
Storer;
One or more processors; And
One or more modules, said one or more modules are stored in the said storer and are configured to and carried out by said one or more processors, and said one or more modules comprise the instruction that is used to carry out following steps:
(a) judge that a project on the touch control screen of hand-held device is dragging the whether instruction of change of position, back, said project comprises widget and icon;
(b) if this project dragging back position change, is then upgraded the current screen bulleted list, the instruction of execution in step (c) then, if this project does not have change in the position after dragging, the then directly instruction of execution in step (c);
(c) judge that the project of dragging has the instruction of not put down, if this project that drags put down, then in the project that shows on the touch control screen after arranging again, if this project that drags is not put down execution in step (d) then;
(d) calculate the instruction that this drags the current location of project;
(e) if this drags the not change of position of project; Maybe this project of dragging is covered on widget, then returns the instruction of step (c), if this drags the position change of project; And this project that drags is not covered on widget, then the instruction of execution in step (f);
(f) from the current screen bulleted list, obtain the instruction of a project successively;
(g) if this project is legal, then confirm the target location that this project moves, the project that this is legal moves to the instruction of definite target location; And
(h) if this project is illegal, then return step (f), forward next project to, the instruction that is finished up to all items.
7. hand-held device as claimed in claim 6 is characterized in that, said one or more modules comprise the instruction that is used to carry out following steps:
If this current location that drags project exceeds the border of current screen, then adjust the current location that this drags project, make of the instruction of this current location that drags project near the border of current screen.
8. hand-held device as claimed in claim 6 is characterized in that, judges whether legal instruction comprises this project:
Beginning to move from first project of current screen, if this project is not an empty position, is not that this drags project and is not widget, judges that then this project is the instruction of legal mobile project; And
If this project is an empty position, or this drags project or widget, judges that then this project is the instruction of illegal mobile project.
9. hand-held device as claimed in claim 6 is characterized in that, the instruction of the target location that said definite this project moves comprises:
Begin to seek the target location from first position of current screen; If this position is original position of the project of dragging; If perhaps deposit this position is not the project of dragging and that be not that current location and this position of the project of dragging deposit is not widget, judges that then this position is the instruction of legitimate targets position; And
If this position is the current location of the project of dragging,, judge that then this position is the instruction of illegal target location if perhaps this position deposits is widget but this widget is not equal to the project of dragging.
10. hand-held device as claimed in claim 6 is characterized in that, the said instruction that will this legal project moves to definite target location comprises:
If the index of the position of this legitimate project and the target location of confirming equates, then judge the instruction that this legitimate project need not move; And
If the position of this legitimate project is unequal with the index of the target location of confirming, then this legitimate project is moved to the instruction of definite target location.
CN201010224263.2A 2010-07-12 2010-07-12 Hand-held device and method for carrying out item drag control by same Expired - Fee Related CN102331898B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201010224263.2A CN102331898B (en) 2010-07-12 2010-07-12 Hand-held device and method for carrying out item drag control by same
HK12102397.1A HK1161921A1 (en) 2010-07-12 2012-03-09 Hand-held device and method to perform item dragging control by using the device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010224263.2A CN102331898B (en) 2010-07-12 2010-07-12 Hand-held device and method for carrying out item drag control by same

Publications (2)

Publication Number Publication Date
CN102331898A true CN102331898A (en) 2012-01-25
CN102331898B CN102331898B (en) 2014-08-20

Family

ID=45483694

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010224263.2A Expired - Fee Related CN102331898B (en) 2010-07-12 2010-07-12 Hand-held device and method for carrying out item drag control by same

Country Status (2)

Country Link
CN (1) CN102331898B (en)
HK (1) HK1161921A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103377080A (en) * 2012-04-23 2013-10-30 国际商业机器公司 Method and system supporting cross-container movement of widgets during runtime
WO2013178000A1 (en) * 2012-05-30 2013-12-05 Tencent Technology (Shenzhen) Company Limited Implementation method and apparatus for performing move operation on area in table
CN103488379A (en) * 2013-09-16 2014-01-01 北京奇虎科技有限公司 Desktop element adjusting method and desktop element adjusting device for intelligent terminal
CN103838457A (en) * 2012-11-26 2014-06-04 腾讯科技(深圳)有限公司 Filter list display method and device
CN108762646A (en) * 2018-05-15 2018-11-06 山东浪潮商用系统有限公司 A kind of method for information display, device, readable medium and storage control

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1773875A (en) * 2004-11-10 2006-05-17 乐金电子(中国)研究开发中心有限公司 Mobile communication terminal capable of assigning indicator graphic mark position and assigning method
US20080184112A1 (en) * 2007-01-31 2008-07-31 Hui Yu Chiang System and method for organizing icons for applications on a mobile device
US20090007017A1 (en) * 2007-06-29 2009-01-01 Freddy Allen Anzures Portable multifunction device with animated user interface transitions

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1773875A (en) * 2004-11-10 2006-05-17 乐金电子(中国)研究开发中心有限公司 Mobile communication terminal capable of assigning indicator graphic mark position and assigning method
US20080184112A1 (en) * 2007-01-31 2008-07-31 Hui Yu Chiang System and method for organizing icons for applications on a mobile device
US20090007017A1 (en) * 2007-06-29 2009-01-01 Freddy Allen Anzures Portable multifunction device with animated user interface transitions

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103377080A (en) * 2012-04-23 2013-10-30 国际商业机器公司 Method and system supporting cross-container movement of widgets during runtime
US11201796B2 (en) 2012-04-23 2021-12-14 International Business Machines Corporation Enabling transfer of widgets across containers at runtime
US10581698B2 (en) 2012-04-23 2020-03-03 International Business Machines Corporation Enabling transfer of widgets across containers at runtime
US10050845B2 (en) 2012-04-23 2018-08-14 International Business Machines Corporation Enabling transfer of widgets across containers at runtime
CN103377080B (en) * 2012-04-23 2016-12-14 国际商业机器公司 For operationally supporting the method and system moved across container of widget
RU2604419C2 (en) * 2012-05-30 2016-12-10 Тэнцэнт Текнолоджи (Шеньчжэнь) Компани Лимитед Method and device for implementing move operation on area in table
KR101553182B1 (en) 2012-05-30 2015-09-14 텐센트 테크놀로지(센젠) 컴퍼니 리미티드 Implementation method and apparatus for performing move operation on area in table
CN103455260B (en) * 2012-05-30 2016-03-09 腾讯科技(深圳)有限公司 A kind of implementation method and device region in list being moved to operation
JP2014523597A (en) * 2012-05-30 2014-09-11 テンセント テクノロジー (シェンツェン) カンパニー リミテッド Method and apparatus for executing a move operation on an area in a table
CN103455260A (en) * 2012-05-30 2013-12-18 腾讯科技(深圳)有限公司 Achieving method and device for performing moving operation of region in list
WO2013178000A1 (en) * 2012-05-30 2013-12-05 Tencent Technology (Shenzhen) Company Limited Implementation method and apparatus for performing move operation on area in table
CN103838457A (en) * 2012-11-26 2014-06-04 腾讯科技(深圳)有限公司 Filter list display method and device
CN103488379B (en) * 2013-09-16 2016-08-17 北京奇虎科技有限公司 The desktop elements method of adjustment of a kind of intelligent terminal and device
CN103488379A (en) * 2013-09-16 2014-01-01 北京奇虎科技有限公司 Desktop element adjusting method and desktop element adjusting device for intelligent terminal
CN108762646A (en) * 2018-05-15 2018-11-06 山东浪潮商用系统有限公司 A kind of method for information display, device, readable medium and storage control

Also Published As

Publication number Publication date
CN102331898B (en) 2014-08-20
HK1161921A1 (en) 2012-08-10

Similar Documents

Publication Publication Date Title
CN104007894B (en) Portable device and its more application operating methods
EP2641149B1 (en) Gesture recognition
CN103914260B (en) Control method and device for operation object based on touch screen
US9323451B2 (en) Method and apparatus for controlling display of item
CN107193438B (en) Method for managing desktop icons and mobile terminal
CN102023797A (en) Mobile device and method for controlling pictures browsing
CN102331898B (en) Hand-held device and method for carrying out item drag control by same
CN107704157B (en) Multi-screen interface operation method and device and storage medium
CN105579947A (en) Apparatus and method for displaying chart in electronic device
CN104981765A (en) User interface for toolbar navigation
EP2790096A2 (en) Object display method and apparatus of portable electronic device
US20160110069A1 (en) Information processing apparatus and method of controlling information processing apparatus
CN110377215B (en) Model display method and device and terminal equipment
CN112214142A (en) Application information display method and device, electronic equipment and storage medium
CN112148405A (en) Desktop layout method and device and electronic equipment
CN113835580A (en) Application icon display method and device, electronic equipment and storage medium
CN113126838A (en) Application icon sorting method and device and electronic equipment
CN102768597A (en) Method and device for operating electronic equipment
CN113407075B (en) Icon sorting method and device and electronic equipment
CN106557236A (en) A kind of interface processing method and device of mobile device
CN106354378A (en) Method and device for quickly selecting multiple targets
US10073612B1 (en) Fixed cursor input interface for a computer aided design application executing on a touch screen device
CN112269501A (en) Icon moving method and device and electronic equipment
US10222976B2 (en) Path gestures
CN105159550A (en) Method and apparatus for determining effective input sequences of slide operations

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1161921

Country of ref document: HK

C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140820

Termination date: 20190712