US20150113427A1 - Method and Apparatus for Creating Desktop Widget, and Terminal Device - Google Patents

Method and Apparatus for Creating Desktop Widget, and Terminal Device Download PDF

Info

Publication number
US20150113427A1
US20150113427A1 US14/567,225 US201414567225A US2015113427A1 US 20150113427 A1 US20150113427 A1 US 20150113427A1 US 201414567225 A US201414567225 A US 201414567225A US 2015113427 A1 US2015113427 A1 US 2015113427A1
Authority
US
United States
Prior art keywords
desktop widget
unit
desktop
movement operation
framework
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.)
Abandoned
Application number
US14/567,225
Other languages
English (en)
Inventor
Shoucheng Wang
Yujing Bai
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.)
Huawei Device Co Ltd
Original Assignee
Huawei Device 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 Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Assigned to HUAWEI DEVICE CO., LTD. reassignment HUAWEI DEVICE CO., LTD. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: BAI, Yujing, WANG, Shoucheng
Publication of US20150113427A1 publication Critical patent/US20150113427A1/en
Assigned to HUAWEI DEVICE (DONGGUAN) CO., LTD. reassignment HUAWEI DEVICE (DONGGUAN) CO., LTD. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: HUAWEI DEVICE CO., LTD.
Assigned to HUAWEI DEVICE CO.,LTD. reassignment HUAWEI DEVICE CO.,LTD. CHANGE OF NAME (SEE DOCUMENT FOR DETAILS). Assignors: HUAWEI DEVICE (DONGGUAN) CO.,LTD.
Priority to US16/424,042 priority Critical patent/US11068134B2/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Definitions

  • the present invention relates to the terminal device field, and in particular, to a method and an apparatus for creating a desktop widget, and a terminal device.
  • an interface of a terminal device is no longer used only to display application icons (icons), but can display desktop widgets (Widgets), such as a weather Widget, a mail Widget, and a calendar Widget, that are used to display functional information.
  • a Widget not only provides an entry to an application, but also can demonstrate corresponding function information, which is more attractive to a user.
  • an interface of a terminal device may display, in a desktop widget, corresponding information of a function or a set of functions of the widget; for example, display weather information of a city in a weather Widget; or display weather information of multiple cities in the weather Widget.
  • one Widget can implement only a single function, that is, one Widget can display only information of a same type; as a result, a user cannot acquire diversified information by using the Widget, and a single implementation manner cannot meet a personalization requirement of a user.
  • embodiments of the present invention provide a method and an apparatus for creating a desktop widget, and a terminal device.
  • Technical solutions are as follows.
  • an embodiment of the present invention provides a method for creating a desktop widget, where the method includes acquiring a desktop widget framework of the desktop widget, where the desktop widget framework is used to hold at least two or more than two desktop widget units, and the desktop widget framework includes at least two or more than two desktop widget configuration areas; controlling, according to a first movement operation performed on a first desktop widget unit, the first desktop widget unit to move along a movement track of the first movement operation, where the first movement operation is used to move the first desktop widget unit; and positioning the first desktop widget unit in a first specified desktop widget configuration area when the first movement operation ends, where the first specified desktop widget configuration area is a blank desktop widget configuration area the first movement operation is located when the first movement operation ends, and the first desktop widget unit maps to a first application program.
  • the acquiring a desktop widget framework of the desktop widget, where the desktop widget framework includes at least two or more than two desktop widget configuration areas includes displaying at least one desktop widget framework of the desktop widget; and when a first touchscreen operation performed on any desktop widget framework in the at least one desktop widget framework is received, acquiring a desktop widget framework corresponding to the first touchscreen operation, where the first touchscreen operation is used to select the at least one desktop widget framework.
  • the method further includes controlling, according to a second movement operation performed on a second desktop widget unit, the second desktop widget unit to move along a movement track of the second movement operation, where the second movement operation is used to move the second desktop widget unit; and positioning the second desktop widget unit in a second specified desktop widget configuration area when the second movement operation ends, where the second specified desktop widget configuration area is a blank desktop widget configuration area in which the second movement operation is located when the second movement operation ends; and the second desktop widget unit maps to the first application program or a second application program.
  • the positioning the first desktop widget unit in a first specified desktop widget configuration area when the first movement operation ends, where the first specified desktop widget configuration area is a blank desktop widget configuration area in which the first movement operation is located when the first movement operation ends, and the first desktop widget unit maps to a first application program includes, when the first movement operation ends, and an overlap ratio of the first desktop widget unit to the desktop widget configuration area in which the end point of the first movement operation is located is greater than or equal to a preset ratio, positioning the first desktop widget unit in the first specified desktop widget configuration area, where the first specified desktop widget configuration area is the blank desktop widget configuration area in which the first movement operation is located when the first movement operation ends; and the first desktop widget unit maps to the first application program.
  • the method further includes saving positioning information of the positioned first desktop widget unit in the desktop widget framework as layout information of the first desktop widget unit; and when a second touchscreen operation performed on the desktop widget is received, loading each desktop widget unit according to saved layout information of each desktop widget unit; and displaying each desktop widget unit at a location, corresponding to the layout information of each desktop widget unit, in the desktop widget, where the second touchscreen operation is used to start the desktop widget.
  • an embodiment of the present invention provides an apparatus for creating a desktop widget, where the apparatus includes a framework acquiring module configured to acquire a desktop widget framework of the desktop widget, where the desktop widget framework is used to hold at least two or more than two desktop widget units, and the desktop widget framework includes at least two or more than two desktop widget configuration areas; a control module configured to control, according to a first movement operation performed on a first desktop widget unit, the first desktop widget unit to move along a movement track of the first movement operation, where the first movement operation is used to move the first desktop widget unit; and a positioning module configured to position the first desktop widget unit in a first specified desktop widget configuration area when the first movement operation ends, where the first specified desktop widget configuration area is a blank desktop widget configuration area in which the first movement operation is located when the first movement operation ends, and the first desktop widget unit maps to a first application program.
  • the framework acquiring module is configured to display at least one desktop widget framework of the desktop widget; and when a first touchscreen operation performed on any desktop widget framework in the at least one desktop widget framework is received, acquire a desktop widget framework corresponding to the first touchscreen operation, where the first touchscreen operation is used to select the at least one desktop widget framework.
  • control module is further configured to control, according to a second movement operation performed on a second desktop widget unit, the second desktop widget unit to move along a movement track of the second movement operation, where the second movement operation is used to move the second desktop widget unit; and the positioning module is further configured to position the second desktop widget unit in a second specified desktop widget configuration area when the second movement operation ends, where the second specified desktop widget configuration area is a blank desktop widget configuration area in which the second movement operation is located when the second movement operation ends; and the second desktop widget unit maps to the first application program or a second application program.
  • the positioning module is configured to, when the first movement operation ends, and an overlap ratio of the first desktop widget unit to the desktop widget configuration area in which the end point of the first movement operation is located is greater than or equal to a preset ratio, position the first desktop widget unit in the first specified desktop widget configuration area, where the first specified desktop widget configuration area is the blank desktop widget configuration area in which the first movement operation is located when the first movement operation ends; and the first desktop widget unit maps to the first application program.
  • the apparatus further includes a storing module configured to save positioning information of the positioned first desktop widget unit in the desktop widget framework as layout information of the first desktop widget unit; and a loading module configured to, when a second touchscreen operation performed on the desktop widget is received, load each desktop widget unit according to saved layout information of each desktop widget unit; and display each desktop widget unit at a location, corresponding to the layout information of each desktop widget unit, in the desktop widget, where the second touchscreen operation is used to start the desktop widget.
  • a storing module configured to save positioning information of the positioned first desktop widget unit in the desktop widget framework as layout information of the first desktop widget unit
  • a loading module configured to, when a second touchscreen operation performed on the desktop widget is received, load each desktop widget unit according to saved layout information of each desktop widget unit; and display each desktop widget unit at a location, corresponding to the layout information of each desktop widget unit, in the desktop widget, where the second touchscreen operation is used to start the desktop widget.
  • an embodiment of the present invention provides a terminal device, where the terminal device includes a processor configured to acquire a desktop widget framework of a desktop widget, where the desktop widget framework is used to hold at least two or more than two desktop widget units, and the desktop widget framework includes at least two or more than two desktop widget configuration areas; where the processor is further configured to control, according to a first movement operation performed on a first desktop widget unit, the first desktop widget unit to move along a movement track of the first movement operation, where the first movement operation is used to move the first desktop widget unit; and the processor is further configured to position the first desktop widget unit in a first specified desktop widget configuration area when the first movement operation ends, where the first specified desktop widget configuration area is a blank desktop widget configuration area in which the first movement operation is located when the first movement operation ends, and the first desktop widget unit maps to a first application program.
  • the processor is configured to display at least one desktop widget framework of the desktop widget; and when a first touchscreen operation performed on any desktop widget framework in the at least one desktop widget framework is received, acquire a desktop widget framework corresponding to the first touchscreen operation, where the first touchscreen operation is used to select the at least one desktop widget framework.
  • the processor is further configured to control, according to a second movement operation performed on a second desktop widget unit, the second desktop widget unit to move along a movement track of the second movement operation, where the second movement operation is used to move the second desktop widget unit; and the processor is further configured to position the second desktop widget unit in a second specified desktop widget configuration area when the second movement operation ends, where the second specified desktop widget configuration area is a blank desktop widget configuration area in which the second movement operation is located when the second movement operation ends; and the second desktop widget unit maps to the first application program or a second application program.
  • the processor is configured to, when the first movement operation ends, and an overlap ratio of the first desktop widget unit to the desktop widget configuration area in which the end point of the first movement operation is located is greater than or equal to a preset ratio, position the first desktop widget unit in the first specified desktop widget configuration area, where the first specified desktop widget configuration area is the blank desktop widget configuration area in which the first movement operation is located when the first movement operation ends; and the first desktop widget unit maps to the first application program.
  • the terminal device further includes a memory configured to save positioning information of the positioned first desktop widget unit in the desktop widget framework as layout information of the first desktop widget unit; where the processor is further configured to, when a second touchscreen operation performed on the desktop widget is received, load each desktop widget unit according to saved layout information of each desktop widget unit; and display each desktop widget unit at a location, corresponding to the layout information of each desktop widget unit, in the desktop widget, where the second touchscreen operation is used to start the desktop widget.
  • the embodiments of the present invention provide a method and an apparatus for creating a desktop widget, and a terminal device.
  • the method includes: acquiring a desktop widget framework of the desktop widget, where the desktop widget framework is used to hold at least two or more than two desktop widget units, and the desktop widget framework includes at least two or more than two desktop widget configuration areas; controlling, according to a first movement operation performed on a first desktop widget unit, the first desktop widget unit to move along a movement track of the first movement operation, where the first movement operation is used to move the first desktop widget unit; and positioning the first desktop widget unit in a first specified desktop widget configuration area when the first movement operation ends, where the first specified desktop widget configuration area is a blank desktop widget configuration area in which the first movement operation is located when the first movement operation ends, and the first desktop widget unit maps to a first application program.
  • FIG. 1 is a flowchart of a method for creating a desktop widget according to an embodiment of the present invention
  • FIG. 2A is a schematic diagram of displaying two desktop widget frameworks on one page
  • FIG. 2B is a schematic diagram of a location relationship between a desktop widget configuration area and a desktop widget unit selection area according to an embodiment of the present invention
  • FIG. 2C is a schematic structural diagram of a standard Widget architecture according to an embodiment of the present invention.
  • FIG. 2D is a schematic structural diagram of an expanded MeWidget architecture according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of a method for creating a desktop widget according to an embodiment of the present invention
  • FIG. 4 is an exemplary diagram of desktop widget display according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an apparatus for creating a desktop widget according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for creating a desktop widget according to an embodiment of the present invention. Referring to FIG. 1 , the method includes the following steps.
  • the desktop widget framework is used to hold at least two or more than two desktop widget units, and the desktop widget framework includes at least two or more than two desktop widget configuration areas.
  • the desktop widget refers to a desktop widget collection that may be used to map at least two desktop widget units.
  • An organization manner of the desktop widget collection may be implemented by the desktop widget framework.
  • the desktop widget framework is used to hold at least two or more than two desktop widget units, and the desktop widget framework includes at least two or more than two desktop widget configuration areas.
  • Each desktop widget configuration area may be used to display a desktop widget unit, and each desktop widget unit may map to a same application program, and may also map to different application programs, where the mapping to different application programs may be implemented by expanding the desktop widget.
  • a creating process may be considered as a process of editing the desktop widget.
  • a desktop widget unit may be added, moved, and deleted.
  • Control according to a first movement operation performed on a first desktop widget unit, the first desktop widget unit to move along a movement track of the first movement operation, where the first movement operation is used to move the first desktop widget unit.
  • the first desktop widget unit may be a desktop widget unit that is already located in a desktop widget configuration area in the desktop widget framework, and may also be a desktop widget unit that is not positioned in the desktop widget configuration area. That is, the first movement operation may be an operation of adding the first desktop widget unit to the desktop widget configuration area in the desktop widget framework, and may also be an operation of moving the first desktop widget unit from one desktop widget configuration area to another desktop widget configuration area in the desktop widget framework.
  • the first movement operation that is used to move the first desktop widget unit may be a dragging operation, or another touchscreen operation that moves the first desktop widget unit.
  • the first desktop widget unit Position the first desktop widget unit in a first specified desktop widget configuration area when the first movement operation ends, where the first specified desktop widget configuration area is a blank desktop widget configuration area in which the first movement operation is located when the first movement operation ends; and the first desktop widget unit maps to a first application program.
  • the first application program may be any application program, such as a mobile phone address book, a contact list, and a clock, that can provide information for a user.
  • a desktop widget configuration area has two states, one is blank, that is, the desktop widget configuration area holds no desktop widget unit, and the other is occupied, that is, the desktop widget configuration area already holds a desktop widget unit.
  • the first desktop widget unit is positioned in the first specified desktop widget configuration area, where the positioning may be considered as placing the first application program, to which the first desktop widget unit maps, in the first specified desktop widget configuration area, and corresponding information of the first application program is displayed in the positioned desktop widget unit. For example, if the first desktop widget unit is a weather Widget, all weather information corresponding to the weather Widget is displayed in the positioned first desktop widget unit.
  • the first movement operation may be an operation combined by multiple sub-operations.
  • a first movement sub-operation such as a tapping operation performed on the first desktop widget unit
  • a selected movement object is the first desktop widget unit
  • a second movement sub-operation such as a tapping operation performed on a desktop widget unit in the desktop widget framework
  • step 101 “acquire a desktop widget framework of the desktop widget, where the desktop widget framework includes at least two or more than two desktop widget configuration areas” includes steps 101 a and 101 b in the following.
  • 101 a Display at least one desktop widget framework of the desktop widget.
  • the desktop widget may correspond to at least one desktop widget framework.
  • the number, display shapes, and location relationships of desktop widget configuration areas in the at least one desktop widget framework may be different.
  • a blank desktop widget framework may be displayed for a user, and the user may customize the number of desktop widget configuration areas, and display shapes and location relationships of the desktop widget configuration areas according to a usage habit, so as to generate a customized desktop widget framework.
  • the at least one desktop widget framework may be displayed on a same page, and may also be displayed on different pages.
  • FIG. 2A is a schematic diagram of displaying two desktop widget frameworks on one page. This embodiment of the present invention only uses that two desktop widget frameworks are displayed on a same page for one time as an example for description.
  • a left-side desktop widget framework in FIG. 2A includes 4 desktop widget configuration areas, and a right-side desktop widget framework in FIG. 2 includes 3 desktop widget configuration areas.
  • the first touchscreen operation is used to select the at least one desktop widget framework, and the first touchscreen operation may be a touchscreen operation of any kind, for example, a tapping operation or a dragging operation performed on a desktop widget framework.
  • a user may acquire, according to a requirement of the user, a desktop widget framework that meets the requirement from the at least one desktop widget framework.
  • the acquiring a desktop widget framework of the desktop widget may be acquiring a desktop widget framework that includes multiple blank desktop widget configuration areas, and may also be acquiring a desktop widget framework that includes some blank desktop widget configuration areas and some occupied desktop widget configuration areas.
  • a desktop widget unit displayed in the occupied desktop widget configuration areas may be a default desktop widget unit, and may also be a desktop widget unit that is configured by a user in a previous time.
  • step 101 “acquire a desktop widget framework of the desktop widget”, the method further includes the following steps.
  • the second desktop widget unit may be a desktop widget unit that is already located in a desktop widget configuration area in the desktop widget framework, and may also be a desktop widget unit that is not positioned in the desktop widget configuration area. That is, the second movement operation may be an operation of adding the second desktop widget unit to the desktop widget configuration area in the desktop widget framework, and may also be an operation of moving the second desktop widget unit from one desktop widget configuration area to another desktop widget configuration area in the desktop widget framework.
  • the second operation may a dragging operation or another touchscreen operation that moves the second desktop widget unit.
  • each application program may be corresponding to at least one desktop widget unit, and a display shape and a type of displayed information of a desktop widget unit corresponding to each application program may be different.
  • the second desktop widget unit maps to the first application is used as an example for description.
  • the first desktop widget unit may include first information, second information, and third information, and a display shape of the first widget unit is a 2 centimeters (cm) *2 cm square; and the second desktop widget unit includes only the first information and the second information, and a display shape of the second widget unit is a circle with a radius of 2 cm.
  • a desktop widget unit held in each desktop widget configuration area of the desktop widget framework may respectively map to a different application program.
  • one desktop widget configuration area maps to a weather application program, and another one maps to a clock application program.
  • step 103 “position the first desktop widget unit in a first specified desktop widget configuration area when the first movement operation ends, where the first specified desktop widget configuration area is a blank desktop widget configuration area in which the first movement operation is located when the first movement operation ends; and the first desktop widget unit maps to a first application program” includes, when the first movement operation ends, and an overlap ratio of the first desktop widget unit to the desktop widget configuration area in which the end point of the first movement operation is located is greater than or equal to a preset ratio, positioning the first desktop widget unit in the first specified desktop widget configuration area, where the first specified desktop widget configuration area is the blank desktop widget configuration area in which the first movement operation is located when the first movement operation ends; and the first desktop widget unit maps to the first application program.
  • a preset ratio may be set, where the preset ratio is used to measure, when a movement operation ends, whether an overlap ratio of a moved desktop widget unit to a desktop widget configuration area in which the desktop widget unit is located meets a positioning condition.
  • the positioning condition is met, and the first desktop widget unit is positioned.
  • the positioning herein may indicate repositioning of the first desktop widget unit; that is, layout information of the first desktop widget unit is updated to information about a desktop widget configuration area in which the first desktop widget unit is currently located.
  • the positioning condition is not met, and the first desktop widget unit is not positioned; that is, the layout information of the first desktop widget unit is not updated.
  • step 102 control, according to a first movement operation performed on a first desktop widget unit, the first desktop widget unit to move along a movement track of the first movement operation
  • the method further includes, when the first movement operation ends, and an overlap ratio of the first desktop widget unit to a desktop widget configuration area in which an end point of the first movement operation is located is less than a preset ratio, positioning the first desktop widget unit in a third specified desktop widget configuration area, where the third specified desktop widget configuration area is a desktop widget configuration area in which the first desktop widget unit is located before the first movement operation starts; and the first desktop widget unit maps to a first application program.
  • the overlap ratio of the first desktop widget unit to the desktop widget configuration area in which the end point of the first movement operation is located is less than the preset ratio, a positioning condition is not met, and the first desktop widget unit is not positioned; instead, the first desktop widget unit is positioned in the desktop widget configuration area in which the first desktop widget unit is located before the first movement operation starts; that is, layout information of the first desktop widget unit is not updated.
  • the preset ratio is a preset overlap ratio of the first desktop widget unit to the desktop widget configuration area in which the end point of the first movement operation is located.
  • the overlap ratio is 100%.
  • the first desktop widget unit may be adjusted according to a size of the desktop widget configuration area, so as to fill in the desktop widget configuration area.
  • the method further includes the following steps.
  • the positioning information of the positioned first desktop widget unit in the desktop widget framework is saved as the layout information of the first desktop widget unit, so as to ensure that, when the desktop widget is run again, the desktop widget loads the first desktop widget unit according to the save layout information.
  • the second touchscreen operation is used to start the desktop widget.
  • the second touchscreen operation may be a touchscreen operation of any kind that can start the desktop widget, for example, a tapping operation performed on the desktop widget, or a sliding operation performed, in a specified direction, on an icon of the desktop widget.
  • a terminal device presents a delete option in each desktop widget configuration area, or displays a delete option in a desktop widget configuration area selected by the user.
  • a desktop widget unit in the desktop widget configuration area may be deleted.
  • the delete option may also be used to delete all desktop widget units, and when the delete option is activated, the terminal device performs a deleting operation on desktop widget units in all desktop widget configuration areas, thereby displaying a blank desktop widget framework, so as to implement a one-tap-delete operation for the user.
  • the editing instruction may be triggered when the user taps a pane in a desktop widget configuration area, or when an edit option provided by the terminal device is activated.
  • the desktop widget framework further includes a desktop widget unit selection area, where the desktop widget unit selection area includes at least one desktop widget unit.
  • the first desktop widget unit is located in the desktop widget unit selection area, or the first desktop widget unit is located in any desktop widget configuration area of the desktop widget framework.
  • a desktop widget framework displayed on a screen of a terminal device may include a desktop widget configuration area and a desktop widget unit selection area.
  • the desktop widget unit selection area is a to-be-selected area of a desktop widget unit, and a user may select, from the desktop widget unit selection area, a desktop widget unit that the user needs to load.
  • the desktop widget unit selection area may load a desktop widget unit by acquiring basic information of all Widget application programs installed in a current system.
  • the area may be a drop-down area triggered by a touchscreen operation, where the drop-down area includes at least one desktop widget unit; and may also be a strip-type area of a desktop widget unit that may be displayed by triggering of a horizontal sliding operation.
  • a location relationship between the desktop widget configuration area and the desktop widget unit selection area may be vertical, horizontal, or the like.
  • FIG. 2B is a schematic diagram of a location relationship between a desktop widget configuration area and desktop widget unit selection area. In FIG. 2B , only a vertical relationship between the desktop widget configuration area and the desktop widget unit selection area is used as an example.
  • the desktop widget framework in this embodiment of the present invention is a WidgetUnitProvider framework that is implemented by expanding a standard Widget architecture.
  • Tag information that identifies a MeWidget application may be added by modifying configuration information of a general Widget.
  • a Widget Unit Provider is inherited from a WidgetUnitProvider type, so that the Widget Unit Provider has a related feature of a Widget Unit.
  • FIG. 2C is a schematic structural diagram of a standard Widget architecture according to an embodiment of the present invention.
  • the standard Widget architecture includes: a Graphical User Interface of application program (Home desktop), a desktop widget controller AppWidgetHost, multiple desktop widget providers Provider, and a desktop widget server AppWidgetService.
  • the Launcher possesses an AppWidgetHost, where the AppWidgetHost is used to manage multiple Widgets, and each Widget is displayed in one HostView.
  • the Provider is used to provide display information for a Widget Provider of an AppWidget.
  • the AppWidgetService is used as a link between the Provider and a desktop widget HostView, which ensures that display information of the Widget Provider can be updated to the HostView.
  • FIG. 2D is a schematic structural diagram of a MeWidget architecture obtained by expanding the standard Widget architecture according to this embodiment of the present invention.
  • the MeWidget architecture after expansion includes a Graphical User Interface of application program (Home desktop), a desktop widget unit controller MeWidgetHost, multiple desktop widget units WidgetUnitHostView, a desktop widget unit service MeWidgetService, and multiple desktop widget unit providers UnitProvider.
  • the MeWidgetHost is used to manage layout information of multiple (WidgetUnitHostViews).
  • a display location of each WidgetUnitHostView in the MeWidget may be controlled by using layout information, in the MeWidgetHost, of each desktop widget unit. For example, a clock UnitView is displayed below a weather UnitView and over a contact UnitView.
  • Each WidgetUnitHostView may display, in a nested manner, an application program corresponding to the WidgetUnitHostView, that is, layout information of an application package (APK).
  • API application package
  • the MeWidget may support displaying, in different desktop widget configuration areas, desktop widget units of a same application program; that is, desktop widget units mapping to a same APK are displayed in different WidgetUnitHostViews, and the desktop widget units (WidgetUnitHostView) may be configured.
  • the MeWidgetService is used as a link between the UnitProvider and a WidgetUnitHostView, which ensures that content of a Widget Provider can be updated to the WidgetUnitHostView.
  • the UnitProvider is used to represent a Widget Provider content provider of a Unit.
  • An implementation manner of the UnitProvider is similar to an implementation manner of a standard AppWidgetProvider. All operations, including updating (onupdate) and deleting (ondelete) of each desktop widget unit, are implemented in the UnitProvider.
  • FIG. 3 is a flowchart of a method for creating a desktop widget according to an embodiment of the present invention. Referring to FIG. 3 , the method includes the following steps.
  • a terminal device may provide an option of creating a desktop widget that can accommodate multiple desktop widget units and an option of creating a desktop widget that can accommodate one desktop widget unit.
  • an option of creating a desktop widget that can accommodate multiple desktop widget units is used as an example for description.
  • the desktop widget framework includes at least two or more than two desktop widget configuration areas and a desktop widget unit selection area, and the desktop widget unit selection area includes at least one desktop widget unit.
  • the first touchscreen operation is a tapping operation is used as an example for description.
  • a first desktop widget unit is the desktop widget unit A
  • a first application program to which the desktop widget unit A maps is the application program A′
  • a first movement operation is the dragging operation
  • steps 302 to 304 are only a process of positioning a desktop widget unit in the creation process.
  • a process of positioning each desktop widget unit in the creation process is similar to steps 302 to 304 , which is not described herein again.
  • a user saves the positioning information of the desktop widget unit A; that is, information about a desktop widget configuration area in which the desktop widget unit A is located is saved.
  • a user may perform an operation, such as adding, deleting, or moving on a desktop widget unit randomly.
  • the desktop widget may provide a save option for a user, and when the save option is activated, all layout information created in the creation process is saved in a database, so that the desktop widget performs corresponding loading in next running, and it is ensured that each desktop widget unit created this time can be displayed according to a display effect of a configuration page.
  • desktop widget units including a clock, weather, contact A and B, and an audio device, are created in the desktop widget; and the desktop widget may be as shown in FIG. 4 when the desktop widget runs according to the saved layout information of each desktop widget unit.
  • FIG. 4 is an exemplary diagram of display of the desktop widget according this embodiment of the present invention; and FIG. 4 is merely an example of the display of the desktop widget.
  • the desktop widget may be considered as a Home container, and nay desktop widget unit can be loaded in the desktop widget.
  • the desktop widget unit may be different desktop widget units that map to a same application program, and may also be desktop widget units that map to different application programs.
  • these desktop widget units separately belong to different APKs; and loading of these desktop widget units can be implemented by using a cross-APK loading technology.
  • the desktop widget may load views of different application programs (e.g., different APKs) together in a bounded manner during running, and display the views according to space and a location assigned during creation.
  • the desktop widget and each desktop widget unit are in a loose coupling relationship. This kind of organization manner is more favorable for subsequent expansion and maintenance of the desktop widget unit.
  • FIG. 5 is a schematic structural diagram of an apparatus for creating a desktop widget according to an embodiment of the present invention.
  • the apparatus includes a framework acquiring module 501 configured to acquire a desktop widget framework of the desktop widget, where the desktop widget framework is used to hold at least two or more than two desktop widget units, and the desktop widget framework includes at least two or more than two desktop widget configuration areas; a control module 502 configured to control, according to a first movement operation performed on a first desktop widget unit, the first desktop widget unit to move along a movement track of the first movement operation, where the first movement operation is used to move the first desktop widget unit; and a positioning module 503 configured to position the first desktop widget unit in a first specified desktop widget configuration area when the first movement operation ends, where the first specified desktop widget configuration area is a blank desktop widget configuration area in which the first movement operation is located when the first movement operation ends; and the first desktop widget unit maps to a first application program.
  • the framework acquiring module 501 is configured to display at least one desktop widget framework of the desktop widget; and when a first touchscreen operation performed on any desktop widget framework in the at least one desktop widget framework is received, acquire a desktop widget framework corresponding to the first touchscreen operation, where the first touchscreen operation is used to select the at least one desktop widget framework.
  • control module 502 is further configured to control, according to a second movement operation performed on a second desktop widget unit, the second desktop widget unit to move along a movement track of the second movement operation, where the second movement operation is used to move the second desktop widget unit; and the positioning module 503 is further configured to position the second desktop widget unit in a second specified desktop widget configuration area when the second movement operation ends, where the second specified desktop widget configuration area is a blank desktop widget configuration area the second movement operation is located when the second movement operation ends; and the second desktop widget unit maps to the first application program or a second application program.
  • the positioning module 503 is configured to, when the first movement operation ends, and an overlap ratio of the first desktop widget unit to the desktop widget configuration area in which the end point of the first movement operation is located is greater than or equal to a preset ratio, position the first desktop widget unit in the first specified desktop widget configuration area, where the first specified desktop widget configuration area is the blank desktop widget configuration area in which the first movement operation is located when the first movement operation ends; and the first desktop widget unit maps to the first application program.
  • the apparatus further includes a storing module configured to save positioning information of the positioned first desktop widget unit in the desktop widget framework as layout information of the first desktop widget unit; and a loading module configured to, when a second touchscreen operation performed on the desktop widget is received, load each desktop widget unit according to saved layout information of each desktop widget unit; and display each desktop widget unit at a location, corresponding to the layout information of each desktop widget unit, in the desktop widget, where the second touchscreen operation is used to start the desktop widget.
  • a storing module configured to save positioning information of the positioned first desktop widget unit in the desktop widget framework as layout information of the first desktop widget unit
  • a loading module configured to, when a second touchscreen operation performed on the desktop widget is received, load each desktop widget unit according to saved layout information of each desktop widget unit; and display each desktop widget unit at a location, corresponding to the layout information of each desktop widget unit, in the desktop widget, where the second touchscreen operation is used to start the desktop widget.
  • the apparatus for creating a desktop widget according to the foregoing embodiment creates a desktop widget
  • division of the foregoing function modules is exemplary only; in actual implementation, the foregoing functions can be allocated to different modules and implemented as necessary, that is, an inner structure of the apparatus is divided into different function modules to implement all or a part of the functions described above.
  • the apparatus for creating a desktop widget according to the foregoing embodiment pertains to a same conception as the embodiment of the method for creating a desktop top widget. For details about a specific implementation process of the apparatus, reference may be made to the method embodiment, and is not described herein again.
  • the program may be stored in a computer readable storage medium.
  • the storage medium may include a read-only memory, a magnetic disk, an optical disc, or the like.
  • FIG. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
  • the terminal device includes a processor 601 configured to acquire a desktop widget framework of a desktop widget, where the desktop widget framework is used to hold at least two or more than two desktop widget units, and the desktop widget framework includes at least two or more than two desktop widget configuration areas; where the processor 601 is further configured to control, according to a first movement operation performed on a first desktop widget unit, the first desktop widget unit to move along a movement track of the first movement operation, where the first movement operation is used to move the first desktop widget unit; and the processor is further configured to position the first desktop widget unit in a first specified desktop widget configuration area when the first movement operation ends, where the first specified desktop widget configuration area is a blank desktop widget configuration area in which the first movement operation is located when the first movement operation ends; and the first desktop widget unit maps to a first application program.
  • the processor 601 is configured to display at least one desktop widget framework of the desktop widget; and when a first touchscreen operation performed on any desktop widget framework in the at least one desktop widget framework is received, acquire a desktop widget framework corresponding to the first touchscreen operation, where the first touchscreen operation is used to select the at least one desktop widget framework.
  • the processor 601 is further configured to control, according to a second movement operation performed on a second desktop widget unit, the second desktop widget unit to move along a movement track of the second movement operation, where the second movement operation is used to move the second desktop widget unit; and the processor 601 is further configured to position the second desktop widget unit in a second specified desktop widget configuration area when the second movement operation ends, where the second specified desktop widget configuration area is a blank desktop widget configuration area in which the second movement operation is located when the second movement operation ends; and the second desktop widget unit maps to the first application program or a second application program.
  • the processor 601 is configured to, when the first movement operation ends, and an overlap ratio of the first desktop widget unit to the desktop widget configuration area in which the end point of the first movement operation is located is greater than or equal to a preset ratio, position the first desktop widget unit in the first specified desktop widget configuration area, where the first specified desktop widget configuration area is the blank desktop widget configuration area in which the first movement operation is located when the first movement operation ends; and the first desktop widget unit maps to the first application program.
  • the terminal device further includes a memory 602 configured to save positioning information of the positioned first desktop widget unit in the desktop widget framework as layout information of the first desktop widget unit; where the processor 601 is further configured to, when a second touchscreen operation performed on the desktop widget is received, load each desktop widget unit according to saved layout information of each desktop widget unit; and display each desktop widget unit at a location, corresponding to the layout information of each desktop widget unit, in the desktop widget, where the second touchscreen operation is used to start the desktop widget.
  • a memory 602 configured to save positioning information of the positioned first desktop widget unit in the desktop widget framework as layout information of the first desktop widget unit
  • the processor 601 is further configured to, when a second touchscreen operation performed on the desktop widget is received, load each desktop widget unit according to saved layout information of each desktop widget unit; and display each desktop widget unit at a location, corresponding to the layout information of each desktop widget unit, in the desktop widget, where the second touchscreen operation is used to start the desktop widget.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
US14/567,225 2013-01-31 2014-12-11 Method and Apparatus for Creating Desktop Widget, and Terminal Device Abandoned US20150113427A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/424,042 US11068134B2 (en) 2013-01-31 2019-05-28 Method and apparatus for creating desktop widget, and terminal device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN2013100389212A CN103116452A (zh) 2013-01-31 2013-01-31 桌面组件创建方法、装置和终端设备
CN201310038921.2 2013-01-31
PCT/CN2014/070803 WO2014117654A1 (zh) 2013-01-31 2014-01-17 桌面组件创建方法、装置和终端设备

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/070803 Continuation WO2014117654A1 (zh) 2013-01-31 2014-01-17 桌面组件创建方法、装置和终端设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/424,042 Continuation US11068134B2 (en) 2013-01-31 2019-05-28 Method and apparatus for creating desktop widget, and terminal device

Publications (1)

Publication Number Publication Date
US20150113427A1 true US20150113427A1 (en) 2015-04-23

Family

ID=48414847

Family Applications (2)

Application Number Title Priority Date Filing Date
US14/567,225 Abandoned US20150113427A1 (en) 2013-01-31 2014-12-11 Method and Apparatus for Creating Desktop Widget, and Terminal Device
US16/424,042 Active US11068134B2 (en) 2013-01-31 2019-05-28 Method and apparatus for creating desktop widget, and terminal device

Family Applications After (1)

Application Number Title Priority Date Filing Date
US16/424,042 Active US11068134B2 (en) 2013-01-31 2019-05-28 Method and apparatus for creating desktop widget, and terminal device

Country Status (7)

Country Link
US (2) US20150113427A1 (zh)
EP (1) EP2851774B1 (zh)
JP (1) JP6135883B2 (zh)
KR (1) KR101784978B1 (zh)
CN (2) CN103116452A (zh)
BR (1) BR112015018201B1 (zh)
WO (1) WO2014117654A1 (zh)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103116452A (zh) 2013-01-31 2013-05-22 华为终端有限公司 桌面组件创建方法、装置和终端设备
CN106033293B (zh) * 2015-03-13 2019-07-26 联想(北京)有限公司 一种信息处理方法及电子设备
CN104850302A (zh) * 2015-04-17 2015-08-19 天脉聚源(北京)传媒科技有限公司 一种浮游控件的放置方法及装置
CN106162302B (zh) * 2015-04-22 2020-08-18 Tcl科技集团股份有限公司 一种Launcher主界面的编排方法、装置及智能电视
CN106156274A (zh) * 2016-06-23 2016-11-23 北京金山安全软件有限公司 页面内容加载方法、装置及电子设备
CN107678809A (zh) * 2017-09-04 2018-02-09 北京京东尚科信息技术有限公司 展示数据的方法和装置
CN107977248B (zh) * 2017-10-30 2022-05-31 维沃移动通信有限公司 一种桌面挂件的显示方法及移动终端
CN109917976B (zh) * 2017-12-25 2023-06-20 海能达通信股份有限公司 终端的微件处理方法、移动终端及存储介质
WO2019126952A1 (zh) * 2017-12-25 2019-07-04 海能达通信股份有限公司 终端的微件处理方法、移动终端及存储介质
CN109213401A (zh) * 2018-08-28 2019-01-15 南昌努比亚技术有限公司 双面屏应用图标整理方法、移动终端及可读存储介质
CN113900740A (zh) * 2021-11-01 2022-01-07 青岛海信移动通信技术股份有限公司 加载多项列表数据的方法及装置
CN114860349B (zh) * 2022-07-06 2022-11-08 深圳华锐分布式技术股份有限公司 数据加载方法、装置、设备及介质

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030020671A1 (en) * 1999-10-29 2003-01-30 Ovid Santoro System and method for simultaneous display of multiple information sources
US20070044039A1 (en) * 2005-08-18 2007-02-22 Microsoft Corporation Sidebar engine, object model and schema
US20100088597A1 (en) * 2008-10-02 2010-04-08 Samsung Electronics Co., Ltd. Method and apparatus for configuring idle screen of portable terminal
US20100100841A1 (en) * 2008-10-20 2010-04-22 Samsung Electronics Co., Ltd. Method and system for configuring an idle screen in a portable terminal
US20110078616A1 (en) * 2004-06-25 2011-03-31 Chaudhri Imran A Configuration bar for launching layer for accessing user interface elements
US20120169768A1 (en) * 2011-01-04 2012-07-05 Eric Roth Mobile terminal and control method thereof
US20120284658A1 (en) * 2011-05-03 2012-11-08 Nokia Corporation Methods and apparatuses for facilitating management of widgets
US8438495B1 (en) * 2009-08-17 2013-05-07 Adobe Systems Incorporated Methods and systems for creating wireframes and managing containers

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8566732B2 (en) * 2004-06-25 2013-10-22 Apple Inc. Synchronization of widgets and dashboards
US8619038B2 (en) 2007-09-04 2013-12-31 Apple Inc. Editing interface
JP5557420B2 (ja) * 2007-11-02 2014-07-23 アプリックスIpホールディングス株式会社 ウィジェットの動作制御方法
KR101067424B1 (ko) * 2008-07-28 2011-09-27 삼성전자주식회사 휴대단말기의 위젯을 이용한 교통정보 표시 방법 및 장치
KR101613838B1 (ko) 2009-05-19 2016-05-02 삼성전자주식회사 휴대 단말기의 홈 스크린 지원 방법 및 이를 지원하는 휴대 단말기
CN101996019A (zh) * 2009-08-17 2011-03-30 龙旗科技(上海)有限公司 一种移动终端支持双触摸屏多点触摸的人机交互方式
KR101646254B1 (ko) * 2009-10-09 2016-08-05 엘지전자 주식회사 이동 통신 단말기에서의 아이콘 삭제 방법 및 이를 적용한 이동 통신 단말기
CN102045436A (zh) * 2009-10-22 2011-05-04 国基电子(上海)有限公司 移动通信终端及其操作方法
CN101853158A (zh) 2010-05-11 2010-10-06 中兴通讯股份有限公司 Widget窗口调整的方法及装置
KR101669967B1 (ko) * 2010-08-23 2016-10-27 엘지전자 주식회사 이동단말기 및 그 제어방법
CN102436335A (zh) * 2010-09-29 2012-05-02 鸿富锦精密工业(深圳)有限公司 微件添加系统及方法
CN102736903A (zh) 2011-04-08 2012-10-17 腾讯科技(深圳)有限公司 一种基于智能终端桌面管理微件的方法及装置
CN102156750A (zh) * 2011-04-22 2011-08-17 宇龙计算机通信科技(深圳)有限公司 一种桌面组件的分类显示方法及移动终端
KR101681618B1 (ko) 2011-07-07 2016-12-12 후아웨이 디바이스 컴퍼니 리미티드 배경화면에 애플리케이션 구성요소를 자동으로 표시하는 방법 및 장치
KR101916742B1 (ko) * 2011-11-10 2018-11-09 삼성전자 주식회사 휴대 단말기의 사용자 인터페이스 제공 방법 및 장치
CN102662578B (zh) * 2012-03-29 2015-06-17 华为终端有限公司 一种桌面容器的切换控制方法及终端
CN103116452A (zh) * 2013-01-31 2013-05-22 华为终端有限公司 桌面组件创建方法、装置和终端设备

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030020671A1 (en) * 1999-10-29 2003-01-30 Ovid Santoro System and method for simultaneous display of multiple information sources
US20110078616A1 (en) * 2004-06-25 2011-03-31 Chaudhri Imran A Configuration bar for launching layer for accessing user interface elements
US20070044039A1 (en) * 2005-08-18 2007-02-22 Microsoft Corporation Sidebar engine, object model and schema
US20100088597A1 (en) * 2008-10-02 2010-04-08 Samsung Electronics Co., Ltd. Method and apparatus for configuring idle screen of portable terminal
US20100100841A1 (en) * 2008-10-20 2010-04-22 Samsung Electronics Co., Ltd. Method and system for configuring an idle screen in a portable terminal
US8438495B1 (en) * 2009-08-17 2013-05-07 Adobe Systems Incorporated Methods and systems for creating wireframes and managing containers
US20120169768A1 (en) * 2011-01-04 2012-07-05 Eric Roth Mobile terminal and control method thereof
US20120284658A1 (en) * 2011-05-03 2012-11-08 Nokia Corporation Methods and apparatuses for facilitating management of widgets

Also Published As

Publication number Publication date
BR112015018201B1 (pt) 2022-04-19
JP2016506005A (ja) 2016-02-25
KR20150110682A (ko) 2015-10-02
US20190278447A1 (en) 2019-09-12
JP6135883B2 (ja) 2017-05-31
WO2014117654A1 (zh) 2014-08-07
EP2851774A1 (en) 2015-03-25
BR112015018201A2 (pt) 2017-07-18
EP2851774A4 (en) 2015-06-10
US11068134B2 (en) 2021-07-20
CN108628651A (zh) 2018-10-09
KR101784978B1 (ko) 2017-10-20
EP2851774B1 (en) 2018-01-03
CN103116452A (zh) 2013-05-22

Similar Documents

Publication Publication Date Title
US11068134B2 (en) Method and apparatus for creating desktop widget, and terminal device
US11307745B2 (en) Operating method for multiple windows and electronic device supporting the same
US10180767B2 (en) Portable device and method facilitating execution of multiple applications simultaneously
KR20150060754A (ko) 지능형 윈도우 배치
EP2284728A1 (en) Web browsing method and web browsing device
US20140068501A1 (en) System and method for home screen navigation
CN105335041A (zh) 一种提供应用图标的方法及装置
US20150095836A1 (en) Method, apparatus and computer storage medium for switching pages
AU2014216029A1 (en) Electronic device and method for providing content according to field attribute
EP2763131A1 (en) Method and electronic device for configuring screen
US20160110035A1 (en) Method for displaying and electronic device thereof
US20140337778A1 (en) Navigation Framework for Visual Analytic Displays
CN105760038A (zh) 一种多窗口显示方法及装置
WO2014019207A1 (zh) Widget处理方法、装置及移动终端
WO2015184736A1 (zh) 一种触屏设备背景图变换的方法及终端
CN107562324B (zh) 数据显示控制的方法和终端
CN110489023A (zh) 多窗口显示的实现方法、装置、设备、介质和系统
KR20120008385A (ko) 모바일 환경에서 복잡한 구조의 계층을 가지는 컨텐츠의 페이지 이동을 지원하기 위한 방법, 단말 장치 및 컴퓨터 판독 가능한 기록 매체
CN109032728B (zh) Ui界面显示方法、智能终端及计算机可读存储介质
KR102031104B1 (ko) 웹 브라우저 표시 장치 및 웹 브라우저 표시 방법
CN111814087B (zh) Web窗口的动态布局方法、装置、电子设备及可读存储介质
CN102955648A (zh) 终端设备、融合内容的方法以及显示方法
KR20150069126A (ko) 안드로이드 플랫폼 기반의 단말에서 어플리케이션 메뉴 인터페이스 관리 방법 및 매체
CN103269401B (zh) 一种图标的展示方法及终端

Legal Events

Date Code Title Description
AS Assignment

Owner name: HUAWEI DEVICE CO., LTD., CHINA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:WANG, SHOUCHENG;BAI, YUJING;REEL/FRAME:034482/0558

Effective date: 20141210

AS Assignment

Owner name: HUAWEI DEVICE (DONGGUAN) CO., LTD., CHINA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:HUAWEI DEVICE CO., LTD.;REEL/FRAME:043750/0393

Effective date: 20170904

STPP Information on status: patent application and granting procedure in general

Free format text: FINAL REJECTION MAILED

AS Assignment

Owner name: HUAWEI DEVICE CO.,LTD., CHINA

Free format text: CHANGE OF NAME;ASSIGNOR:HUAWEI DEVICE (DONGGUAN) CO.,LTD.;REEL/FRAME:048555/0951

Effective date: 20181116

STPP Information on status: patent application and granting procedure in general

Free format text: ADVISORY ACTION MAILED

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION