CN104156155A - Desktop widget arranging method and device - Google Patents

Desktop widget arranging method and device Download PDF

Info

Publication number
CN104156155A
CN104156155A CN201410436979.7A CN201410436979A CN104156155A CN 104156155 A CN104156155 A CN 104156155A CN 201410436979 A CN201410436979 A CN 201410436979A CN 104156155 A CN104156155 A CN 104156155A
Authority
CN
China
Prior art keywords
page
widget
space
instruction
icon
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
CN201410436979.7A
Other languages
Chinese (zh)
Other versions
CN104156155B (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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201410436979.7A priority Critical patent/CN104156155B/en
Publication of CN104156155A publication Critical patent/CN104156155A/en
Application granted granted Critical
Publication of CN104156155B publication Critical patent/CN104156155B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a desktop widget arranging method and device. The method comprises the steps that an instruction from a user for adding a widget to the space of a current page is obtained; whether the available space of the page meets the requirement of the instruction is judged; if not, a value of the available space which needs to be added onto the page according to the instruction is obtained; according to the value of the available space which needs to be added, the spaces occupied by other existing icons on the page are reduced; the instruction is executed. By means of the desktop widget arranging method and device, the user can add or magnify widgets on any page at will, so that user experience is greatly improved.

Description

A kind of laying method of desktop widget and device
Technical field
The present invention relates to communication technique field, relate in particular to a kind of laying method and device of desktop widget.
Background technology
In the system of mobile terminal and software, tend to be provided with the widget (widget) of placing on screen.These widgets can show that some instant messages, such as time, alarm clock, calendar, news etc., had both enriched the content of desktop for user, also facilitate the use of user to information.Different from other desktop icons, the size of these widgets is not unified, is often twice than common icon or more, to be suitable for showing these information.
In the prior art, when user enters desktop editing state when adding on a page or amplify widget, desktop can first judge that whether the white space of current page is enough, if this page does not have white space or white space this size not, system can be pointed out " this screen does not have sufficient space ", this widget cannot be moved on desktop and shows.User has to abandon this time operation, turns back to desktop normal condition, adjusts one by one or shifts existing icon on this page, is the widget vacating space that preparation is placed, and then reenter desktop editing state, adds widget object thereby realize.
As can be seen here, when prior art makes user add or amplify widget, may face repeated operation on the page.This repetitive operation has greatly destroyed user's experience.
Summary of the invention
For fear of in prior art for desktop adds the lengthy and tedious formality that widget may pass through, a first aspect of the present invention provides a kind of can realize arbitrarily the laying method and the device that operate such as to amplify, move to widget.
A first aspect of the present invention provides a kind of laying method of desktop widget, comprising:
Obtaining user increases the instruction in the space of widget on current page;
Judge whether the free space of the described page meets the requirement of described instruction;
If not, be retrieved as and realize the value that described instruction needs the free space increasing on the described page;
According to the described value that needs the free space increasing, reduce the space that on the described page, existing other icon takies;
Carry out described instruction.
Further, described widget has been present on the described page;
The space of the described parts of described increase in specified page is specially:
On the described page, amplify described widget.
Further, described widget is not present on the described page;
The space of the described parts of described increase in specified page is specially:
Described widget is increased on the described page.
Further, on the described page of described minimizing, the space of other icon is specially: by existing other icon movings on the described page to other the page.
Further, described existing other icon movings on the described page are specially to other the page: by existing other icon movings on the described page to other the page.
Further, described existing other icon movings on the described page are specially to other the page: existing other icons on the described page are postponed and moved on the page newly-built after the described page.
Further, on the described page of described minimizing, the space of other icon is specially:
Dwindle existing other icon on the described page.
Further, the requirement that whether the described free space that judges the described page meets described instruction is specially: the space size that will increase according to widget described in described command calculations also saves as the first value; Calculate free space size current on the described page and save as the second value; Judge whether described the second value is more than or equal to described the first value.
The device that a second aspect of the present invention provides a kind of desktop widget to place, comprising:
Receiving element, increases the instruction in the space of widget on current page for obtaining user;
Judging unit, for judging whether the free space of the described page meets the requirement of described instruction;
Computing unit, realizes for being retrieved as the value that described instruction needs the free space increasing on the described page;
The first performance element, for according to the described value that needs the free space increasing, reduces the space that on the described page, existing other icon takies;
The second performance element, for carrying out described instruction.
Further, described the first performance element, specifically for by existing other icon movings on the described page to other the page.
Further, described the first performance element, specifically for dwindling existing other icon on the described page.
In the technical scheme that the embodiment of the present invention provides, when user enters desktop editing state when adding on a page or amplify widget, if desktop judges that the free space of current page is not enough, system can be adjusted size or the position of other icon on current page automatically, to discharge the instruction of enough free spaces to meet user add or to amplify widget on current page, thereby make user optionally on the page, to add or to amplify widget, greatly promoted user's experience.
Brief description of the drawings
Fig. 1 is the process flow diagram of the laying method of a kind of desktop widget provided by the invention;
Fig. 2 a, 2b, 2c are the schematic diagram that reduces two kinds of executive modes in the space that on the described page, existing other icon takies in the embodiment of the present invention;
Fig. 3 is the schematic diagram of the apparatus for placing of a kind of desktop widget provided by the invention.
Embodiment
In order to make those skilled in the art person understand better the present invention program, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, should belong to the scope of protection of the invention.
Refer to Fig. 1, in the embodiment of the present invention, the laying method of desktop widget embodiment comprises:
101, obtain user and increase the instruction in the space of widget in specified page.
Two kinds of situations below the user instruction in the space of increase widget in specified page may have:
(1) described widget has been present on the described page; The space of the described parts of described increase in specified page is specially, and amplifies described widget on the described page.
For example, for touch screen terminal, when user with finger or clicks such as pointer or long by widget so that it enters editing mode, and continue to use and the mode such as refer to draw and pull out the widget frame in editing mode, system can obtain the instruction of sending amplification widget.
(2) described widget is not present on the described page; The space of the described parts of described increase in specified page is specially, and described widget is increased on the described page.
For example, user is entering after widget administration page, long by the widget of choosing, and continues to drag to send to page of desktop this widget is increased to the instruction on the page.
102, judge that whether the free space of the described page meets the requirement of described instruction, if so, performs step 105; If not, perform step 103.
On common terminal screen, convenient and attractive in appearance for arrange icons or widget, can free arrangement icon in the each page of desktop or the plane space of widget be divided into equably the grid of square or rectangular, taking grid as a long or wide unit; And the length such as icon, widget of placing on desktop and width are counted taking grid as unit, the value in its space taking is designated as grid number.
When whether the present embodiment meets requiring of described instruction in the space that judges the described page, can also adopt grid as computing unit, calculate according to user instruction, the grid number that widget need to increase, and the grid number of remaining free space on current page, recycling comparison operation draws judged result.
103, be retrieved as and realize the value that described instruction needs the free space increasing on the described page.
Increase if current free space is not enough to carry out user on the page instruction that widget takes up room, system further obtains the difference of free space value on the relative current page of spatial value increasing for widget in user instruction, realize user instruction to be retrieved as, the value of needed extra free space on current page.
104, according to the described value that needs the free space increasing, reduce the space that on the described page, existing other icon takies.
The difference obtaining according to previous step, reduces the shared space of other application icon on current page, vacates enough free spaces for carrying out user instruction.In the present embodiment, its preferred version includes but not limited to following two kinds:
(1) by existing other icon movings on the described page to other the page.
Consult Fig. 2 a, the space on current page 200 adds up to 6 unit of height, 4 unit of width.User send amplify by the instruction of widget 201 on current page 200, by the height of widget 201 be increased to 4 unit from 2 unit, width still remains 4 unit.In the situation that application icon 202 to 217 takes the residue page, for carrying out this instruction, the lengthwise position of icon 201 to 209 is moved down two unit by system, and 210 to 217 these 8 icons are postponed and moved on the newly-built page 220, be highly that 2 unit, width are the free space of 4 unit thereby vacate for widget 201.Page layout after adjustment as shown in Figure 2 b.
Preferably, existing other icons on the described page are postponed and moved on the next page after the described page.
(2) dwindle existing other icon on the described page.
Still taking the page in Fig. 2 a as example, user sends and amplifies the instruction of widget 201 on current page 200, by the height of widget 201 be increased to 3 unit from 2 unit, width still remains 4 unit.In the situation that application icon 202 to 217 takes the residue page, for carrying out this instruction, system by the high compression of the page 200 icons 201 to 217 to original 3/4, icon 201 to 217 being taken up room and be highly reduced to 3 unit, is highly that 1 unit, width are the free space of 4 unit thereby vacate for widget 201.If consider attractive in appearance, system can also by the width of icon 201 to 217 also suitably compression.Page layout after adjustment as shown in Figure 2 c.
A kind of mode of dwindling existing other icon on the described page is, the setting in advance of system basis, in the part or all of scope of current page, redefine the size as the grid of the elementary cell of page space, reduce its absolute size, thereby in the case of the grid number that on not changing in this spatial dimension, existing icon, other widget occupy, realize the object of dwindling existing icon, other widget.
It is pointed out that above-mentioned two kinds of preferred versions can be used alone or in combination, within all falling into protection scope of the present invention.
105, carry out described instruction.
If there are enough spaces on current page, or vacate behind enough spaces for the widget of choosing by step 104, increase the space of widget on the page according to user's instruction.
Correspondingly, the present invention also provides a kind of apparatus for placing of desktop widget.Refer to Fig. 3, in the embodiment of the present invention, the apparatus for placing of desktop widget comprises:
Receiving element 301, increases the instruction in the space of widget on current page for obtaining user;
Judging unit 302, for judging whether the free space of the described page meets the requirement of described instruction;
Computing unit 303, realizes for being retrieved as the value that described instruction needs the free space increasing on the described page;
The first performance element 304, for according to the described value that needs the free space increasing, reduces the space that on the described page, existing other icon takies;
The second performance element 305, for carrying out described instruction.
In the present embodiment, receiving unit 301, increases the instruction in the space of widget on current page for obtaining user; Judging unit 302 judges whether the free space of the described page meets the requirement of described instruction, if not, judged result is sent to computing unit 303; Computing unit 303 is retrieved as realizes the value that described instruction needs the free space increasing on the described page, and result is sent to the first performance element 304, with according to the described value that needs the free space increasing, reduce the space that on the described page, existing other icon takies; Thereafter, the second performance element 305 is carried out described instruction.
Alternatively, the first performance element 304, its implementation that reduces the space that on the described page, existing other icon takies be by existing other icon movings on the described page to other the page, or dwindle existing other icon on the described page.
Those skilled in the art can be well understood to, for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
In the several embodiment that provide in the application, should be understood that, disclosed system, apparatus and method, can realize by another way.For example, device embodiment described above is only schematic, for example, the division of described unit, be only that a kind of logic function is divided, when actual realization, can have other dividing mode, for example multiple unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
The described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in multiple network element.Can select according to the actual needs some or all of unit wherein to realize the object of the present embodiment scheme.
In addition, the each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and also can adopt the form of SFU software functional unit to realize.
If described integrated unit is realized and during as production marketing independently or use, can be stored in a computer read/write memory medium using the form of SFU software functional unit.Based on such understanding, the all or part of of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions (can be personal computers in order to make a computer equipment, server, or the network equipment etc.) carry out all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), the various media that can be program code stored such as random access memory (RAM, Random Access Memory), magnetic disc or CD.
The above, above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement; And these amendments or replacement do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. the method that desktop widget is placed, is characterized in that, comprising:
Obtaining user increases the instruction in the space of widget on current page;
Judge whether the free space of the described page meets the requirement of described instruction;
If not, be retrieved as and realize the value that described instruction needs the free space increasing on the described page;
According to the described value that needs the free space increasing, reduce the space that on the described page, existing other icon takies;
Carry out described instruction.
2. method according to claim 1, is characterized in that, described widget has been present on the described page; The space of the described parts of described increase in specified page is specially:
On the described page, amplify described widget.
3. method according to claim 1, is characterized in that, described widget is not present on the described page; The space of the described parts of described increase in specified page is specially:
Described widget is increased on the described page.
4. according to the method described in claims 1 to 3, it is characterized in that, on the described page of described minimizing, the space of other icon is specially:
By existing other icon movings on the described page to other the page.
5. method according to claim 4, is characterized in that, described existing other icon movings on the described page is specially to other the page:
Existing other icons on the described page are postponed and moved on the next page after the described page.
6. according to the method described in claims 1 to 3, it is characterized in that, on the described page of described minimizing, the space of other icon is specially:
Dwindle existing other icon on the described page.
7. method according to claim 1, is characterized in that, the requirement whether described free space that judges the described page meets described instruction is specially:
The space size that will increase according to widget described in described command calculations also saves as the first value;
Calculate free space size current on the described page and save as the second value;
Judge whether described the second value is more than or equal to described the first value.
8. the device that desktop widget is placed, is characterized in that, comprising:
Receiving element, increases the instruction in the space of widget on current page for obtaining user;
Judging unit, for judging whether the free space of the described page meets the requirement of described instruction;
Computing unit, realizes for being retrieved as the value that described instruction needs the free space increasing on the described page;
The first performance element, for according to the described value that needs the free space increasing, reduces the space that on the described page, existing other icon takies;
The second performance element, for carrying out described instruction.
9. described device according to Claim 8, is characterized in that, described the first performance element, specifically for by existing other icon movings on the described page to other the page.
10. described device according to Claim 8, is characterized in that, described the first performance element, specifically for dwindling existing other icon on the described page.
CN201410436979.7A 2014-08-29 2014-08-29 A kind of laying method and device of desktop widget Active CN104156155B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410436979.7A CN104156155B (en) 2014-08-29 2014-08-29 A kind of laying method and device of desktop widget

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410436979.7A CN104156155B (en) 2014-08-29 2014-08-29 A kind of laying method and device of desktop widget

Publications (2)

Publication Number Publication Date
CN104156155A true CN104156155A (en) 2014-11-19
CN104156155B CN104156155B (en) 2017-09-19

Family

ID=51881667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410436979.7A Active CN104156155B (en) 2014-08-29 2014-08-29 A kind of laying method and device of desktop widget

Country Status (1)

Country Link
CN (1) CN104156155B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104991696A (en) * 2015-06-15 2015-10-21 联想(北京)有限公司 Information processing method and electronic equipment
CN105320405A (en) * 2015-11-06 2016-02-10 深圳市金立通信设备有限公司 Icon display method and terminal
CN105511789A (en) * 2015-12-08 2016-04-20 魅族科技(中国)有限公司 Icon processing method and terminal
CN105912262A (en) * 2016-05-24 2016-08-31 努比亚技术有限公司 Desktop icon regulation device, terminal and desktop icon regulation method
CN107632873A (en) * 2017-08-25 2018-01-26 网易(杭州)网络有限公司 A kind of quick interface arrangement method, device, terminal device and storage medium
CN108170397A (en) * 2018-01-19 2018-06-15 广州视源电子科技股份有限公司 data display method, device, equipment and storage medium
CN110045890A (en) * 2019-03-11 2019-07-23 维沃移动通信有限公司 The display methods and terminal device of application identities
CN111399963A (en) * 2020-03-23 2020-07-10 普联技术有限公司 Display interface configuration method, system, equipment and storage medium
US11188202B2 (en) 2020-03-10 2021-11-30 Apple Inc. Devices, methods, and graphical user interfaces for interacting with user interface objects corresponding to applications
WO2022032673A1 (en) * 2020-08-14 2022-02-17 上海传英信息技术有限公司 Device control method and apparatus, and storage medium
US11747969B1 (en) 2022-05-06 2023-09-05 Apple Inc. Devices, methods, and graphical user interfaces for updating a session region

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102811290A (en) * 2012-08-15 2012-12-05 北京小米科技有限责任公司 Widget regulating method, device and terminal
EP2535794A2 (en) * 2011-06-14 2012-12-19 Nintendo Co., Ltd. Multi-page sorting for menu items on a handheld
CN103530049A (en) * 2013-04-15 2014-01-22 Tcl集团股份有限公司 Method and system for one-handed operation processing of mobile terminal with touch screen
CN103914211A (en) * 2014-04-04 2014-07-09 华为终端有限公司 Automatic interface element adjusting method and automatic interface element adjusting device
CN103927098A (en) * 2014-04-30 2014-07-16 广州视源电子科技股份有限公司 Modifying and setting method of Widget function block

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2535794A2 (en) * 2011-06-14 2012-12-19 Nintendo Co., Ltd. Multi-page sorting for menu items on a handheld
CN102811290A (en) * 2012-08-15 2012-12-05 北京小米科技有限责任公司 Widget regulating method, device and terminal
CN103530049A (en) * 2013-04-15 2014-01-22 Tcl集团股份有限公司 Method and system for one-handed operation processing of mobile terminal with touch screen
CN103914211A (en) * 2014-04-04 2014-07-09 华为终端有限公司 Automatic interface element adjusting method and automatic interface element adjusting device
CN103927098A (en) * 2014-04-30 2014-07-16 广州视源电子科技股份有限公司 Modifying and setting method of Widget function block

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104991696A (en) * 2015-06-15 2015-10-21 联想(北京)有限公司 Information processing method and electronic equipment
CN105320405A (en) * 2015-11-06 2016-02-10 深圳市金立通信设备有限公司 Icon display method and terminal
CN105511789A (en) * 2015-12-08 2016-04-20 魅族科技(中国)有限公司 Icon processing method and terminal
CN105912262B (en) * 2016-05-24 2020-11-10 山东兴创信息科技有限公司 Desktop icon adjusting device, terminal and desktop icon adjusting method
CN105912262A (en) * 2016-05-24 2016-08-31 努比亚技术有限公司 Desktop icon regulation device, terminal and desktop icon regulation method
CN107632873A (en) * 2017-08-25 2018-01-26 网易(杭州)网络有限公司 A kind of quick interface arrangement method, device, terminal device and storage medium
CN108170397A (en) * 2018-01-19 2018-06-15 广州视源电子科技股份有限公司 data display method, device, equipment and storage medium
CN110045890A (en) * 2019-03-11 2019-07-23 维沃移动通信有限公司 The display methods and terminal device of application identities
US11733855B2 (en) 2019-03-11 2023-08-22 Vivo Mobile Communication Co., Ltd. Application identifier display method and terminal device
US11188202B2 (en) 2020-03-10 2021-11-30 Apple Inc. Devices, methods, and graphical user interfaces for interacting with user interface objects corresponding to applications
US11474674B2 (en) 2020-03-10 2022-10-18 Apple Inc. Devices, methods, and graphical user interfaces for interacting with user interface objects corresponding to applications
US11762538B2 (en) 2020-03-10 2023-09-19 Apple Inc. Devices, methods, and graphical user interfaces for interacting with user interface objects corresponding to applications
US11921993B2 (en) 2020-03-10 2024-03-05 Apple Inc. Devices, methods, and graphical user interfaces for interacting with user interface objects corresponding to applications
CN111399963A (en) * 2020-03-23 2020-07-10 普联技术有限公司 Display interface configuration method, system, equipment and storage medium
CN111399963B (en) * 2020-03-23 2023-10-03 普联技术有限公司 Display interface configuration method, system, equipment and storage medium
WO2022032673A1 (en) * 2020-08-14 2022-02-17 上海传英信息技术有限公司 Device control method and apparatus, and storage medium
US11747969B1 (en) 2022-05-06 2023-09-05 Apple Inc. Devices, methods, and graphical user interfaces for updating a session region
US11775128B1 (en) 2022-05-06 2023-10-03 Apple Inc. Devices, methods, and graphical user interfaces for updating a session region

Also Published As

Publication number Publication date
CN104156155B (en) 2017-09-19

Similar Documents

Publication Publication Date Title
CN104156155A (en) Desktop widget arranging method and device
RU2693909C2 (en) Command user interface for displaying and scaling selected control elements and commands
CN104834438A (en) Desktop display method and device
CN103164163A (en) Display adjustment method and display adjustment device
CN103076955B (en) Method, device and terminal for adjusting characters of application
CN104571877A (en) Display processing method and device for pages
CN103475572A (en) Method, device and system for sending multiple pictures in instant messaging application
CN104571819A (en) Application program management method and application program management device
CN104571829A (en) Display control method of terminal and terminal
US20150135141A1 (en) Method and apparatus for creating a control interface of a peripheral device
CN103019520A (en) Display method for optional item information of terminal application and terminal
CN102819417A (en) Picture display processing method and device
CN104615337A (en) Method and device for managing icons on main interface of intelligent terminal
CN104731500A (en) Information processing method and electronic equipment
CN104699408A (en) Operation method and device of touch screen and touch device
CN103207918A (en) Method, system and device for managing animation effect of presentation files
CN103902618A (en) File search method and device
CN104994223A (en) Text message editing method and device
CN104881224A (en) Method and device for adding cards
CN104679391A (en) Icon display method and device of smart watch
CN105100447A (en) Method and device for setting application attributes and method and device for processing messages
CN105700767A (en) File stacking type display system and method
US10083164B2 (en) Adding rows and columns to a spreadsheet using addition icons
CN103995706A (en) Method and device for displaying picture thumbnail
CN104679407A (en) Interface response method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant