CN104598104B - Widget treating method and apparatus - Google Patents

Widget treating method and apparatus Download PDF

Info

Publication number
CN104598104B
CN104598104B CN201410851989.7A CN201410851989A CN104598104B CN 104598104 B CN104598104 B CN 104598104B CN 201410851989 A CN201410851989 A CN 201410851989A CN 104598104 B CN104598104 B CN 104598104B
Authority
CN
China
Prior art keywords
widget
application
interface
icon
specified
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.)
Active
Application number
CN201410851989.7A
Other languages
Chinese (zh)
Other versions
CN104598104A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410851989.7A priority Critical patent/CN104598104B/en
Publication of CN104598104A publication Critical patent/CN104598104A/en
Application granted granted Critical
Publication of CN104598104B publication Critical patent/CN104598104B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/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
    • G06F3/04817Interaction 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 using icons
    • 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
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure is directed to a kind of widget treating method and apparatus, belong to field of terminal technology.The described method includes: showing the application scenarios interface of the application during running any application;When detecting the first predetermined registration operation during showing the application scenarios interface, in the application scenarios interface, widget icon list is shown, the widget icon list includes at least one widget icon, and each widget icon maps a widget;When detecting to the second predetermined registration operation for specifying widget icon in the widget icon list, in the application scenarios interface, the application widget of the specified widget is shown.The specified widget can be used without exiting the application scenarios interface in the disclosure, easy to operate, improves flexibility.

Description

Widget treating method and apparatus
Technical field
The disclosure is directed to field of terminal technology, specifically about widget treating method and apparatus.
Background technique
With the fast development of intelligent terminal, user is higher and higher to the operation convenience requirement of terminal, in order to meet use The requirement at family, terminal can provide multiple widgets (widget) icon, such as calculator, calendar, note, Yong Huke on the table To click widget icon, these widgets are easily accessed.
When the terminal is currently running a certain in application, application scenarios interface can be shown, if user is desirable at this time Widget can trigger and exit operation, then the terminal exits the application scenarios interface, is back to desktop, and user can be on the table Widget icon to be used is clicked, the widget is accessed.When access is completed, user runs before can also searching from multiple applications Application, reenter the application scenarios interface.
In implementing the present disclosure, inventor has found the relevant technologies existing defects, such as: the terminal shows the application When scene interface, it is necessary to which widget could be accessed by exiting the application scenarios interface, and cumbersome, limitation is strong, and access mode is ineffective It is living.
Summary of the invention
In order to solve the problems, such as present in the relevant technologies, present disclose provides a kind of widget treating method and apparatus.It is described Technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of widget processing method is provided, which comprises
During running any application, the application scenarios interface of the application is shown;
When detecting the first predetermined registration operation during showing the application scenarios interface, in application scenarios circle In face, widget icon list is shown, the widget icon list includes at least one widget icon, each widget icon mapping one A widget;
When detecting to the second predetermined registration operation for specifying widget icon in the widget icon list, in the applied field In scape interface, the application widget of the specified widget is shown.
In another embodiment, described in the application scenarios interface, display widget icon list includes:
The first floating layer is drawn in the top layer of the predeterminable area at the application scenarios interface;
In first floating layer, the widget icon list is drawn.
In another embodiment, described in the application scenarios interface, show the application widget packet of the specified widget It includes:
Obtain the final position of the operation trace of the second predetermined registration operation;
According to the pre-set dimension of the final position and the application widget of the specified widget, at the application scenarios interface Region is specified in middle determination, and the specified region is for showing the application widget;
Top layer in the specified region draws the second floating layer;
In second floating layer, the application widget is drawn.
In another embodiment, described in the application scenarios interface, show the specified widget application widget it Afterwards, the method also includes:
When detecting the shutoff operation to the application widget, the application widget is closed.
In another embodiment, described when detecting the first predetermined registration operation, in the application scenarios interface, show micro- After part icon list, the method also includes:
When detecting the clicking operation to the specified widget icon, from the application scenarios changing interface to the finger Determine the application interface of widget.
In another embodiment, described the first predetermined registration operation is the slide for meeting desired guiding trajectory, and described second is default Operation is that the operation at the application scenarios interface is drawn to from the widget icon list.
According to the second aspect of an embodiment of the present disclosure, a kind of widget processing unit is provided, described device includes:
Scene interface display module, for showing application scenarios circle of the application during running any application Face;
Icon list display module shows the mistake at the application scenarios interface in the scene interface display module for working as When detecting the first predetermined registration operation in journey, in the application scenarios interface, widget icon list, the widget column of icons are shown Table includes at least one widget icon, and each widget icon maps a widget;
Application widget display module is detected for working as to widget column of icons shown by the icon list display module When specifying the second predetermined registration operation of widget icon in table, in the application scenarios interface, the application of the specified widget is shown Window.
In another embodiment, the icon list display module is for the predeterminable area at the application scenarios interface Top layer draws the first floating layer;In first floating layer, the widget icon list is drawn.
In another embodiment, the application widget display module is used to obtain the operation trace of the second predetermined registration operation Final position;According to the pre-set dimension of the final position and the application widget of the specified widget, in the application scenarios Specified region is determined in interface, the specified region is for showing the application widget;Top layer in the specified region is drawn Second floating layer;In second floating layer, the application widget is drawn.
In another embodiment, described device further include:
Application widget closedown module, for closing the application when detecting the shutoff operation to the application widget Window.
In another embodiment, described device further include:
Changing interface module, for when detecting the clicking operation to the specified widget icon, from the applied field Scape changing interface to the specified widget application interface.
In another embodiment, described the first predetermined registration operation is the slide for meeting desired guiding trajectory, and described second is default Operation is that the operation at the application scenarios interface is drawn to from the widget icon list.
According to the third aspect of an embodiment of the present disclosure, a kind of widget processing unit is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
During running any application, the application scenarios interface of the application is shown;
When detecting the first predetermined registration operation during showing the application scenarios interface, in application scenarios circle In face, widget icon list is shown, the widget icon list includes at least one widget icon, each widget icon mapping one A widget;
When detecting to the second predetermined registration operation for specifying widget icon in the widget icon list, in the applied field In scape interface, the application widget of the specified widget is shown.
The technical scheme provided by this disclosed embodiment can include the following benefits:
Method and apparatus provided in this embodiment, by during showing application scenarios interface, detecting that first is pre- If operation when, show widget icon list in the application scenarios interface, when detect to this specify widget icon second in advance If when operation, the application widget of the specified widget is shown in the application scenarios interface, without exiting the application scenarios interface i.e. The specified widget can be used, it is easy to operate, improve flexibility.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited It is open.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of flow chart of widget processing method shown according to an exemplary embodiment;
Fig. 2 is a kind of flow chart of widget processing method shown according to an exemplary embodiment;
Fig. 3 A is the first predetermined registration operation schematic diagram shown according to an exemplary embodiment;
Fig. 3 B is widget icon list display schematic diagram shown according to an exemplary embodiment;
Fig. 3 C is second predetermined registration operation schematic diagram shown according to an exemplary embodiment;
Fig. 3 D is application widget display schematic diagram shown according to an exemplary embodiment;
Fig. 4 A is a kind of block diagram of widget processing unit shown according to an exemplary embodiment;
Fig. 4 B is a kind of block diagram of widget processing unit shown according to an exemplary embodiment;
Fig. 4 C is a kind of block diagram of widget processing unit shown according to an exemplary embodiment;
Fig. 5 is a kind of block diagram of device for widget processing shown according to an exemplary embodiment.
Specific embodiment
It is right below with reference to embodiment and attached drawing for the purposes, technical schemes and advantages of the disclosure are more clearly understood The disclosure is described in further details.Here, the exemplary embodiment and its explanation of the disclosure be for explaining the disclosure, but simultaneously Not as the restriction to the disclosure.
The embodiment of the present disclosure provides a kind of widget treating method and apparatus, carries out specifically below in conjunction with attached drawing to the disclosure It is bright.
Fig. 1 is a kind of flow chart of widget processing method shown according to an exemplary embodiment, as shown in Figure 1, this is micro- Part processing method is in terminal, comprising the following steps:
In a step 101, during running any application, the application scenarios interface of the application is shown.
Wherein, which can be mobile phone, tablet computer, computer etc., which can run multiple applications, work as operation It is any in application, the application scenarios interface of the application can be shown.For example, showing the browsing when the terminal operating browser The web page display interface of device shows scene of game interface when the terminal operating game application.
In a step 102, it when detecting the first predetermined registration operation during showing the application scenarios interface, answers at this With in scene interface, widget icon list is shown, which includes at least one widget icon, each widget icon Map a widget.
In the present embodiment, which can preset the first predetermined registration operation, and the first predetermined registration operation is micro- for calling Part icon list.When detecting the first predetermined registration operation during showing the application scenarios interface, indicate that user will make With a certain widget, then the terminal shows the widget icon list, so that user selects widget icon to be used.Wherein, this is micro- Part icon list may include all widget icons provided by the terminal, also may include user's commonly several widget figures Mark, or including the preset widget icon of user, the present embodiment is not limited this.
Each widget icon maps a widget, and for each widget icon, the widget icon is micro- with the mapping There is Map Interface, when the widget icon is selected, which can call the Map Interface of the widget icon, starting between part The widget.
In step 103, when detecting to the second predetermined registration operation for specifying widget icon in the widget icon list, In the application scenarios interface, the application widget of the specified widget is shown.
In the present embodiment, which can preset the second predetermined registration operation, and the second predetermined registration operation is for selecting Widget icon starts the widget of selection under the premise of showing the application scenarios interface.When the terminal detect to this specify it is micro- When the second predetermined registration operation of part icon, indicate that the specified widget icon is selected, user wishes showing the application scenarios interface Under the premise of start the specified widget, then the terminal calls the Map Interface of the specified widget icon, start the specified widget, and In the application scenarios interface, the application widget of the specified widget is shown.Wherein, which is the widget column of icons Any widget icon in table, the present embodiment are illustrated so that this specifies widget icon as an example.
Method provided in this embodiment, by detecting the first predetermined registration operation during showing application scenarios interface When, widget icon list is shown in the application scenarios interface, when detecting the second predetermined registration operation for specifying widget icon to this When, the application widget of the specified widget is shown in the application scenarios interface, can be used without exiting the application scenarios interface i.e. The specified widget, it is easy to operate, improve flexibility.
In another embodiment, should be in the application scenarios interface, display widget icon list includes:
The first floating layer is drawn in the top layer of the predeterminable area at the application scenarios interface;
In first floating layer, the widget icon list is drawn.
In another embodiment, it should show that the application widget of the specified widget included: in the application scenarios interface
Obtain the final position of the operation trace of the second predetermined registration operation;
According to the pre-set dimension of the final position and the application widget of the specified widget, determined in the application scenarios interface Specified region, the specified region is for showing the application widget;
In top layer second floating layer of drafting for specifying region;
In second floating layer, the application widget is drawn.
In another embodiment, should be in the application scenarios interface, after the application widget for showing the specified widget, the party Method further include:
When detecting the shutoff operation to the application widget, the application widget is closed.
In another embodiment, when should detect the first predetermined registration operation, in the application scenarios interface, widget figure is shown After marking list, this method further include:
When detect the clicking operation of widget icon is specified to this when, specify widget from the application scenarios changing interface to this Application interface.
In another embodiment, which is the slide for meeting desired guiding trajectory, the second predetermined registration operation For the operation for being drawn to the application scenarios interface from the widget icon list.
All the above alternatives can form the alternative embodiment of the disclosure, herein no longer using any combination It repeats one by one.
Fig. 2 is a kind of flow chart of widget processing method shown according to an exemplary embodiment, as shown in Fig. 2, this is micro- Part processing method is in terminal, comprising the following steps:
In step 201, during running any application, which shows the application scenarios interface of the application.It should Application scenarios interface can be e-book reading interface, web page display interface, scene of game interface etc., and the present embodiment does not do this It limits.
In step 202, when the terminal detects the first predetermined registration operation during showing the application scenarios interface, In the application scenarios interface, widget icon list is shown, execute step 203 or step 205.
Wherein, which can be the slide for meeting desired guiding trajectory, which may include one The track of a contact perhaps the track of the multiple contacts desired guiding trajectory can specify that each contact glide direction or sliding away from From, or the situation of change etc. that the distance between provides any two contacts, for example, the desired guiding trajectory can be 45 ° of top to the right The sliding trace of angular direction, or the sliding trace or a contact that distance becomes larger between two contacts are motionless, and another The sliding trace of one contact to the right, the present embodiment do not limit this.
When the terminal detects slide during showing the application scenarios interface, available sliding behaviour The track of work confirmly detects the first predetermined registration operation when the track of the slide meets the desired guiding trajectory.When the terminal It, can be in the default of the application scenarios interface when detecting the first predetermined registration operation during showing the application scenarios interface Region shows the widget icon list.The terminal can show the widget icon list in the form of floating layer, i.e., the terminal is at this The top layer of predeterminable area draws the first floating layer and draws the widget icon list in first floating layer, so that the widget column of icons Table can cover the application scenarios interface in the predeterminable area.
Wherein, the positions and dimensions of the predeterminable area can be preset by the terminal or be preset by user, The predeterminable area can be located at lower zone, the intermediate region etc. at the application scenarios interface, and the present embodiment does not limit this.
Referring to Fig. 3 A, when the terminal detects that a contact is motionless during showing application scenarios interface, and it is another When the slide to the right of a contact, widget icon list as shown in Figure 3B is shown, include 5 micro- in the widget icon list The icon of part: " calendar ", " clock ", " note ", " calculator " and " voice assistant ".At this point, the terminal is still in the widget icon Above and below list, the application scenarios interface is shown.
In step 203, when the terminal is detected to the second default behaviour for specifying widget icon in the widget icon list When making, in the application scenarios interface, the application widget of the specified widget is shown.
Wherein, the second predetermined registration operation can for from the widget icon list be drawn to the application scenarios interface operation, The operation pulled to the right or other operations etc., the present embodiment does not limit this.When the terminal detect to this specify it is micro- When the second predetermined registration operation of part icon, in the application scenarios interface, the application widget of the specified widget is shown.
Referring to Fig. 3 C, the icon of " calculator " is drawn to the applied field from the widget icon list when the terminal detects When the operation at scape interface, the second predetermined registration operation of the icon to " calculator " is confirmly detected, then as shown in Figure 3D, the terminal is aobvious Show the application widget of " calculator ", user can input numerical value in the application widget, the number which can input according to user Value is calculated, and shows calculated result in the application widget.
It, can be at the application scenarios interface when the terminal, which is detected, specifies the second predetermined registration operation of widget icon to this Specified region shows the application widget of the specified widget.The terminal can show the application widget in the form of floating layer, i.e., refer at this The top layer for determining region draws the second floating layer and draws the application widget in second floating layer.
The terminal can also predefine the pre-set dimension of the application widget, when the terminal detects the second predetermined registration operation When, the operation trace of the second predetermined registration operation is obtained, determines the final position of the operation trace, it is pre- with this according to the final position If size, the specified region is determined, specify region to show the application widget at this.For example, the terminal can establish coordinate system, obtain The coordinate for taking the final position determines the specified region according to the coordinate of the final position and the pre-set dimension.
Referring to Fig. 3 C and Fig. 3 D, the terminal can the center at the application scenarios interface be origin, from the side of the origin to the right To for X-axis positive direction, it is Y-axis positive direction from the origin upwardly direction, establishes coordinate system, then by the ordinate of the final position As the ordinate of the top edge for specifying region, so that it is determined that the top edge in the specified region, by the application scenarios interface Right hand edge specifies the right hand edge in region as this, further according to the pre-set dimension, top edge and right hand edge, determines the specified region.
In step 204, when the terminal detects the shutoff operation to the application widget, the application widget is closed, is tied Beam.
The terminal can provide the off option in the application widget, which can be by the point to the off option Hit operation triggering.The shutoff operation can also be to pull the operation of the application widget to the right, or double-click the behaviour of the application widget Make etc., the present embodiment does not limit this.When the terminal detects the shutoff operation to the application widget, this can be closed Application widget.At this point, the terminal only shows the application scenarios interface, user can continue to grasp on the application scenarios interface Make.
Referring to Fig. 3 D, which shows the off option "×" in the upper right corner of the application widget of " calculator ", when detecting When to the clicking operation of the off option "×", the application widget is closed.
In step 205, it when the terminal detects the clicking operation for specifying widget to this, is cut from the application scenarios interface Shift to the application interface of the specified widget.
During the terminal shows the widget icon list in the application scenarios interface, when the terminal is detected to this When the clicking operation of specified widget, indicate that the specified widget icon is selected, user wishes exiting the application scenarios interface Under the premise of start the specified widget, then the terminal specifies the application interface of widget from the application scenarios changing interface to this, directly It shows the application interface of the specified widget, and no longer shows the application scenarios interface.
In the follow-up process, when the terminal, which is detected, specifies the shutoff operation of the application interface of widget to this, closing should Application interface, the terminal can show the main interface of the terminal at this time, can also show the application scenarios interface, this implementation again Example does not limit this.
Step 203 and step 205 give two kinds of modes for showing the application interface of the specified widget, correspondingly, when using When family wishes to start the specified widget under the premise of showing the application scenarios interface, it can trigger and widget icon is specified to this Second predetermined registration operation, the terminal can show the application widget of the specified widget in the application scenarios interface.When user wishes When starting the specified widget under the premise of exiting the application scenarios interface, it can trigger and specify the click of widget icon to grasp this Make, which can show the application interface of the specified widget.By providing two ways, so that in the current application field of the terminal Under scape, user can be with according to whether exiting the demand of current application scene, triggering corresponding operation improves flexibility.
The present embodiment, can by detecting the first predetermined registration operation of user during showing the application scenarios interface It quickly shows the widget icon list, is specified by the second predetermined registration operation of widget icon or is clicked for this by detection user and is grasped Make, can more easily start widget, the application widget or switching of the specified widget are shown in the application scenarios interface The application interface of widget is specified to this, so that the starting of widget, switching all become more convenient.
It should be noted that the present embodiment is illustrated so that this specifies widget as an example, and the operating process to other widgets Similar with the operating process for specifying widget, details are not described herein.Wherein, the corresponding second predetermined registration operation of different widgets, application The pre-set dimension of window, specified region for showing application widget etc. may be the same or different, and the present embodiment is to this Without limitation.
Method provided in this embodiment, by detecting the first predetermined registration operation during showing application scenarios interface When, widget icon list is shown in the application scenarios interface, when detecting the second predetermined registration operation for specifying widget icon to this When, the application widget of the specified widget is shown in the application scenarios interface, can quickly show the widget icon list or Person should specify the application widget of widget, easy to operate, and the specified widget can be used without exiting the application scenarios interface, improve Flexibility.
Fig. 4 A is a kind of block diagram of widget processing unit shown according to an exemplary embodiment.A referring to fig. 4, the device Including scene interface display module 401, icon list display module 402 and application widget display module 403.
During scene interface display module 401 is configured in any application of operation, answering for the application is shown With scene interface;
Icon list display module 402, which is configurable for working as, shows application scenarios circle in the scene interface display module When detecting the first predetermined registration operation during face, in the application scenarios interface, widget icon list, the widget icon are shown List includes at least one widget icon, and each widget icon maps a widget;
Application widget display module 403 is configurable for working as and detect to micro- shown by the icon list display module When specifying the second predetermined registration operation of widget icon in part icon list, in the application scenarios interface, the specified widget is shown Application widget.
Device provided in this embodiment, by detecting the first predetermined registration operation during showing application scenarios interface When, widget icon list is shown in the application scenarios interface, when detecting the second predetermined registration operation for specifying widget icon to this When, the application widget of the specified widget is shown in the application scenarios interface, can be used without exiting the application scenarios interface i.e. The specified widget, it is easy to operate, improve flexibility.
In another embodiment, which is configured in the pre- of the application scenarios interface If the top layer in region draws the first floating layer;In first floating layer, the widget icon list is drawn.
In another embodiment, which is configurable for obtaining the second predetermined registration operation The final position of operation trace;According to the pre-set dimension of the final position and the application widget of the specified widget, in the applied field Specified region is determined in scape interface, which is configurable for showing the application widget;In the top layer for specifying region Draw the second floating layer;In second floating layer, the application widget is drawn.
B referring to fig. 4, in another embodiment, the device further include:
Application widget closedown module 404 is configurable for when detecting the shutoff operation to the application widget, is closed The application widget.
C referring to fig. 4, in another embodiment, the device further include:
Changing interface module 405 be configurable for when detect the clicking operation of widget icon is specified to this when, from this Application scenarios changing interface specifies the application interface of widget to this.
In another embodiment, which is the slide for meeting desired guiding trajectory, the second predetermined registration operation For the operation for being drawn to the application scenarios interface from the widget icon list.
All the above alternatives can form the alternative embodiment of the disclosure, herein no longer using any combination It repeats one by one.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
It should be understood that widget processing unit provided by the above embodiment is when handling widget, only with above-mentioned each function The division progress of module can according to need and for example, in practical application by above-mentioned function distribution by different function moulds Block is completed, i.e., the internal structure of terminal is divided into different functional modules, to complete all or part of function described above Energy.In addition, widget processing unit provided by the above embodiment and widget processing method embodiment belong to same design, it is specific real Existing process is detailed in embodiment of the method, and which is not described herein again.
Fig. 5 is a kind of block diagram of device 500 for widget processing shown according to an exemplary embodiment.For example, dress Setting 500 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical treatment Equipment, body-building equipment, personal digital assistant etc..
Referring to Fig. 5, device 500 may include following one or more components: processing component 502, memory 504, power supply Component 508, multimedia component 508, audio component 510, the interface 512 of input/output (I/O), sensor module 514, and Communication component 516.
The integrated operation of the usual control device 500 of processing component 502, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing element 502 may include that one or more processors 520 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 502 may include one or more modules, just Interaction between processing component 502 and other assemblies.For example, processing component 502 may include multi-media module, it is more to facilitate Interaction between media component 508 and processing component 502.
Memory 504 is configured as storing various types of data to support the operation in device 500.These data are shown Example includes the instruction of any application or method for operating on device 500, contact data, and telephone book data disappears Breath, picture, video etc..Memory 504 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Electric power assembly 508 provides electric power for the various assemblies of device 500.Electric power assembly 508 may include power management system System, one or more power supplys and other with for device 500 generate, manage, and distribute the associated component of electric power.
Multimedia component 508 includes the screen of one output interface of offer between described device 500 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the operation on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 508 includes a front camera and/or rear camera.When device 500 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 510 is configured as output and/or input audio signal.For example, audio component 510 includes a Mike Wind (MIC), when device 500 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 504 or via communication set Part 516 is sent.In some embodiments, audio component 510 further includes a loudspeaker, is used for output audio signal.
I/O interface 512 provides interface between processing component 502 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 514 includes one or more sensors, and the state for providing various aspects for device 500 is commented Estimate.For example, sensor module 514 can detecte the state that opens/closes of device 500, and the relative positioning of component, for example, it is described Component is the display and keypad of device 500, and sensor module 514 can be with 500 1 components of detection device 500 or device Position change, the existence or non-existence that user contacts with device 500,500 orientation of device or acceleration/deceleration and device 500 Temperature change.Sensor module 514 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 514 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 516 is configured to facilitate the communication of wired or wireless way between device 500 and other equipment.Device 500 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 516 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 516 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 500 can be believed by one or more application specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 504 of instruction, above-metioned instruction can be executed by the processor 520 of device 500 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is held by the processor of terminal When row, enable the terminal to execute a kind of widget processing method, which comprises
During running any application, the application scenarios interface of the application is shown;
When detecting the first predetermined registration operation during showing the application scenarios interface, in application scenarios circle In face, widget icon list is shown, the widget icon list includes at least one widget icon, each widget icon mapping one A widget;
When detecting to the second predetermined registration operation for specifying widget icon in the widget icon list, in the applied field In scape interface, the application widget of the specified widget is shown.
In another embodiment, described in the application scenarios interface, display widget icon list includes:
The first floating layer is drawn in the top layer of the predeterminable area at the application scenarios interface;
In first floating layer, the widget icon list is drawn.
In another embodiment, described in the application scenarios interface, show the application widget packet of the specified widget It includes:
Obtain the final position of the operation trace of the second predetermined registration operation;
According to the pre-set dimension of the final position and the application widget of the specified widget, at the application scenarios interface Region is specified in middle determination, and the specified region is for showing the application widget;
Top layer in the specified region draws the second floating layer;
In second floating layer, the application widget is drawn.
In another embodiment, described in the application scenarios interface, show the specified widget application widget it Afterwards, the method also includes:
When detecting the shutoff operation to the application widget, the application widget is closed.
In another embodiment, described when detecting the first predetermined registration operation, in the application scenarios interface, show micro- After part icon list, the method also includes:
When detecting the clicking operation to the specified widget icon, from the application scenarios changing interface to the finger Determine the application interface of widget.
In another embodiment, described the first predetermined registration operation is the slide for meeting desired guiding trajectory, and described second is default Operation is that the operation at the application scenarios interface is drawn to from the widget icon list.
All the above alternatives can form the alternative embodiment of the disclosure, herein no longer using any combination It repeats one by one.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (7)

1. a kind of widget processing method, which is characterized in that the described method includes:
During running any application, the application scenarios interface of the application is shown;
When detecting the first predetermined registration operation during showing the application scenarios interface, at the application scenarios interface In, show widget icon list, described the first predetermined registration operation is the slide for meeting desired guiding trajectory, the widget icon list Including at least one widget icon, each widget icon maps a widget, has between each widget icon and the widget of mapping There is Map Interface;
When detecting to the second predetermined registration operation for specifying widget icon in the widget icon list, the specified widget is called The Map Interface of icon starts the specified widget of the specified widget icon mapping, and the second predetermined registration operation is from described micro- Part icon list is drawn to the operation at the application scenarios interface;
Coordinate system is created by origin of the center at the application scenarios interface, obtains the operation trace of the second predetermined registration operation Final position, using the ordinate of the final position as the ordinate of the top edge in specified region, by application scenarios circle Right hand edge of the right hand edge in face as the specified region, according to the pre-set dimension of the application widget of the specified widget, described Top edge and the right hand edge determine the specified region, and the specified region is for showing the application widget;In the finger The top layer for determining region draws the second floating layer and draws the application widget in second floating layer;
When detecting the clicking operation to the specified widget icon, from the application scenarios changing interface to it is described specify it is micro- The application interface of part.
2. the method according to claim 1, wherein described in the application scenarios interface, display widget figure Marking list includes:
The first floating layer is drawn in the top layer of the predeterminable area at the application scenarios interface;
In first floating layer, the widget icon list is drawn.
3. showing the finger the method according to claim 1, wherein described in the application scenarios interface After the application widget for determining widget, the method also includes:
When detecting the shutoff operation to the application widget, the application widget is closed.
4. a kind of widget processing unit, which is characterized in that described device includes:
Scene interface display module, for showing the application scenarios interface of the application during running any application;
Icon list display module, for during the scene interface display module shows the application scenarios interface When detecting the first predetermined registration operation, in the application scenarios interface, show that widget icon list, described the first predetermined registration operation are Meet the slide of desired guiding trajectory, the widget icon list includes at least one widget icon, each widget icon mapping One widget has Map Interface between each widget icon and the widget of mapping;
Application widget display module is detected for working as in widget icon list shown by the icon list display module When the second predetermined registration operation of specified widget icon, the Map Interface of the specified widget icon is called, starts the specified widget The specified widget of icon mapping, the second predetermined registration operation are to be drawn to the application scenarios interface from the widget icon list Operation;
The application widget display module is also used to create coordinate system by origin of the center at the application scenarios interface, obtain The final position of the operation trace of the second predetermined registration operation, using the ordinate of the final position as the top in specified region The ordinate of edge, using the right hand edge at the application scenarios interface as the right hand edge in the specified region, according to it is described specify it is micro- The pre-set dimension of the application widget of part, the top edge and the right hand edge determine that the specified region, the specified region are used In the display application widget;Top layer in the specified region draws the second floating layer, in second floating layer, described in drafting Application widget;
Changing interface module, for when detecting the clicking operation to the specified widget icon, from application scenarios circle Face switches to the application interface of the specified widget.
5. device according to claim 4, which is characterized in that the icon list display module is used in the applied field The top layer of the predeterminable area at scape interface draws the first floating layer;In first floating layer, the widget icon list is drawn.
6. device according to claim 4, which is characterized in that described device further include:
Application widget closedown module, for closing the application widget when detecting the shutoff operation to the application widget.
7. a kind of widget processing unit characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
During running any application, the application scenarios interface of the application is shown;
When detecting the first predetermined registration operation during showing the application scenarios interface, at the application scenarios interface In, show widget icon list, described the first predetermined registration operation is the slide for meeting desired guiding trajectory, the widget icon list Including at least one widget icon, each widget icon maps a widget, has between each widget icon and the widget of mapping There is Map Interface;
When detecting to the second predetermined registration operation for specifying widget icon in the widget icon list, the specified widget is called The Map Interface of icon starts the specified widget of the specified widget icon mapping, and the second predetermined registration operation is from described micro- Part icon list is drawn to the operation at the application scenarios interface;
Coordinate system is created by origin of the center at the application scenarios interface, obtains the operation trace of the second predetermined registration operation Final position, using the ordinate of the final position as the ordinate of the top edge in specified region, by application scenarios circle Right hand edge of the right hand edge in face as the specified region, according to the pre-set dimension of the application widget of the specified widget, described Top edge and the right hand edge determine the specified region, and the specified region is for showing the application widget;In the finger The top layer for determining region draws the second floating layer and draws the application widget in second floating layer;
When detecting the clicking operation to the specified widget icon, from the application scenarios changing interface to it is described specify it is micro- The application interface of part.
CN201410851989.7A 2014-12-31 2014-12-31 Widget treating method and apparatus Active CN104598104B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410851989.7A CN104598104B (en) 2014-12-31 2014-12-31 Widget treating method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410851989.7A CN104598104B (en) 2014-12-31 2014-12-31 Widget treating method and apparatus

Publications (2)

Publication Number Publication Date
CN104598104A CN104598104A (en) 2015-05-06
CN104598104B true CN104598104B (en) 2019-01-04

Family

ID=53123935

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410851989.7A Active CN104598104B (en) 2014-12-31 2014-12-31 Widget treating method and apparatus

Country Status (1)

Country Link
CN (1) CN104598104B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105204737B (en) * 2015-09-17 2019-07-23 小米科技有限责任公司 Application rollouts method and apparatus
CN106970735B (en) * 2016-01-14 2020-06-23 联想(北京)有限公司 Information processing method and electronic equipment
CN105930147B (en) * 2016-04-13 2020-09-08 北京小米移动软件有限公司 Application function starting method and device
KR102545605B1 (en) * 2016-09-20 2023-06-20 삼성전자주식회사 Electronic device and operating method thereof
CN108446140A (en) * 2017-02-15 2018-08-24 阿里巴巴集团控股有限公司 Interface display method, device, the device and operating system
CN108415752A (en) * 2018-03-12 2018-08-17 广东欧珀移动通信有限公司 Method for displaying user interface, device, equipment and storage medium
WO2019183779A1 (en) 2018-03-26 2019-10-03 华为技术有限公司 Control method and electronic device
EP3757739A4 (en) 2018-04-19 2021-03-10 Huawei Technologies Co., Ltd. Method for display when exiting an application, and terminal
CN110858119B (en) * 2018-08-24 2021-08-06 阿里巴巴(中国)有限公司 Application interaction method and device and electronic equipment
CN112241227A (en) 2019-07-19 2021-01-19 腾讯科技(深圳)有限公司 Interface display method, device, terminal and storage medium
CN114721761B (en) * 2022-04-15 2023-09-19 青岛海信移动通信技术有限公司 Terminal equipment, application icon management method and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929478A (en) * 2012-09-25 2013-02-13 东莞宇龙通信科技有限公司 Application switching method and communication terminal
CN102945138A (en) * 2012-11-14 2013-02-27 李江涛 Switching method and terminal for application programs
CN103294402A (en) * 2013-06-20 2013-09-11 青岛海信移动通信技术股份有限公司 Method and device for switching application interface of smart terminal
CN103793176A (en) * 2014-02-27 2014-05-14 朱印 Method and device for fast switching between application programs

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014134937A1 (en) * 2013-03-07 2014-09-12 Tencent Technology (Shenzhen) Company Limited View mode switch of graphical user interface

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929478A (en) * 2012-09-25 2013-02-13 东莞宇龙通信科技有限公司 Application switching method and communication terminal
CN102945138A (en) * 2012-11-14 2013-02-27 李江涛 Switching method and terminal for application programs
CN103294402A (en) * 2013-06-20 2013-09-11 青岛海信移动通信技术股份有限公司 Method and device for switching application interface of smart terminal
CN103793176A (en) * 2014-02-27 2014-05-14 朱印 Method and device for fast switching between application programs

Also Published As

Publication number Publication date
CN104598104A (en) 2015-05-06

Similar Documents

Publication Publication Date Title
CN104598104B (en) Widget treating method and apparatus
CN104503689B (en) Application interface display methods and device
CN105511631B (en) Gesture identification method and device
CN105138259B (en) Operation executes method and device
KR101990036B1 (en) Mobile terminal and control method thereof
CN110020313A (en) Show the method and device of task management interface
CN104793843B (en) desktop display method and device
CN103995666B (en) A kind of method and apparatus of setting operating mode
KR101952177B1 (en) Mobile terminal and control method thereof
CN108595074A (en) Status bar operating method, device and computer readable storage medium
CN107992257B (en) Screen splitting method and device
CN104503690B (en) A kind of aligning method and device of application icon
CN108717344A (en) page navigation method, device, terminal and computer readable storage medium
CN107390977A (en) Button operation method, apparatus and storage medium
CN107102772A (en) Touch control method and device
CN105094626B (en) Content of text selection method and device
KR20150064332A (en) Mobile terminal and controlling method thereof
CN109358929A (en) Multi-screen display method, device and storage medium
CN109324846A (en) Application display method and device, storage medium
CN105955808B (en) The task management method and device of instant messaging application
CN110209454A (en) Interface switching method and changing interface device
CN105468281B (en) The method and apparatus for showing set interface
CN113867550A (en) Attitude detection method and device for electronic equipment and storage medium
KR20130038753A (en) Mobile terminal and method for providing user interface thereof
CN104750478B (en) The display methods and device of application interface

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