[go: up one dir, main page]

CN103605457B - The conversion method of a kind of widget and icon and intelligent terminal - Google Patents

The conversion method of a kind of widget and icon and intelligent terminal Download PDF

Info

Publication number
CN103605457B
CN103605457B CN201310611591.1A CN201310611591A CN103605457B CN 103605457 B CN103605457 B CN 103605457B CN 201310611591 A CN201310611591 A CN 201310611591A CN 103605457 B CN103605457 B CN 103605457B
Authority
CN
China
Prior art keywords
widget
icon
desktop
conversion
transition region
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
CN201310611591.1A
Other languages
Chinese (zh)
Other versions
CN103605457A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201310611591.1A priority Critical patent/CN103605457B/en
Publication of CN103605457A publication Critical patent/CN103605457A/en
Application granted granted Critical
Publication of CN103605457B publication Critical patent/CN103605457B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

本发明公开了一种窗口小部件与图标的转换方法及智能终端,所述方法包括以下步骤:S1长按桌面上的图标或窗口小部件,进入元素转换模式,桌面上生成一转换区域;S2继续长按图标或窗口小部件,并将其拖至所述转换区域上;S3触发转换事件,转换区域内进行图标与窗口小部件之间的相互转换。实施本发明后,为用户带来一个全新的功能,用户可以灵活实现图标与窗口小部件之间的相互转换,能大大的提高了添加窗口小部件及窗口小部件与图标之间的转换的效率,简化了操作流程,缩短了手动操作的时间,提升了用户的使用体验,能给用户带来了不少娱乐性和良好的操作体验。

The invention discloses a method for converting widgets and icons and an intelligent terminal. The method includes the following steps: S1 long pressing the icon or widget on the desktop to enter an element conversion mode, and generating a conversion area on the desktop; S2 Continue to press and hold the icon or widget, and drag it to the conversion area; S3 triggers a conversion event, and the conversion between the icon and the widget is performed in the conversion area. After implementing the present invention, a brand-new function is brought to the user, and the user can flexibly realize the mutual conversion between icons and widgets, which can greatly improve the efficiency of adding widgets and conversion between widgets and icons , simplifies the operation process, shortens the time of manual operation, improves the user experience, and can bring a lot of entertainment and good operation experience to the user.

Description

一种窗口小部件与图标的转换方法及智能终端Method for converting widgets and icons and intelligent terminal

技术领域technical field

本发明涉及移动通信技术领域;具体涉及一种窗口小部件与图标的转换方法及智能终端。The invention relates to the technical field of mobile communication; in particular, it relates to a method for converting widgets and icons and an intelligent terminal.

背景技术Background technique

Widget(窗口小部件)是客户端的小Web(网页)程序,它可以显示并更新本地或远程数据,可以为相应的终端应用提供简便和快速操作接口。在目前的android桌面上,添加widget都只有一个入口,通常需要通过独立的“添加”操作来生成桌面小部件,比如只能通过桌面—menu—添窗口小部件等方式进行操作。操作步骤较为繁琐、复杂,并且不能灵活的实现Widget与图标之间的快速转换,从而导致用户的使用体验。Widget (small component) is a small Web (web page) program on the client side, which can display and update local or remote data, and can provide a simple and fast operation interface for the corresponding terminal application. On the current android desktop, there is only one entry to add a widget, and it is usually necessary to generate a desktop widget through an independent "add" operation, for example, it can only be operated through the desktop-menu-add widget. The operation steps are relatively cumbersome and complicated, and the rapid conversion between the Widget and the icon cannot be flexibly realized, thereby causing poor user experience.

发明内容Contents of the invention

本发明的目的在于解决现有技术中的上述缺陷,提供一种窗口小部件与图标的转换方法及智能终端,实现图标与窗口小部件可以快速相互转换,大大提升用户的使用体验。The purpose of the present invention is to solve the above-mentioned defects in the prior art, and provide a method for converting widgets and icons and an intelligent terminal, so that icons and widgets can be quickly converted to each other, and user experience is greatly improved.

本发明的目的可以通过采取如下技术方案达到:The purpose of the present invention can be achieved by taking the following technical solutions:

提供一种窗口小部件与图标的转换方法,该方法包括下述步骤:A method for converting widgets and icons is provided, and the method includes the following steps:

S1、长按桌面上的图标或窗口小部件,进入元素转换模式,桌面上生成一转换区域;S1. Long press the icon or widget on the desktop to enter the element conversion mode, and a conversion area is generated on the desktop;

S2、继续长按图标或窗口小部件,并将其拖至所述转换区域上;S2. Continue to press and hold the icon or widget, and drag it to the conversion area;

S3、触发转换事件,转换区域内进行图标与窗口小部件之间的相互转换。S3. A conversion event is triggered, and mutual conversion between icons and widgets is performed in the conversion area.

作为一种优选的方案,所述步骤S1之前还包括:S0、若应用程序同时包含图标和窗口小部件,则将应用程序的图标与窗口小部件关联。As a preferred solution, before the step S1, it further includes: S0, if the application program includes both icons and widgets, associating the icon of the application program with the widgets.

作为一种优选的方案,所述步骤S1具体包括:As a preferred solution, the step S1 specifically includes:

S11、长按桌面上任意一个图标,若存在与该图标对应关联的窗口小部件,则进入元素转换模式,桌面上生成一转换区域;S11. Press and hold any icon on the desktop, if there is a widget corresponding to the icon, enter the element conversion mode, and generate a conversion area on the desktop;

S12、长按桌面上任意一个窗口小部件,若存在与该窗口小部件对应关联的图标,则进入元素转换模式,桌面上生成一转换区域。S12. Press and hold any widget on the desktop, if there is an icon corresponding to the widget, enter an element conversion mode, and generate a conversion area on the desktop.

作为一种优选的方案,在步骤S3之后还包括:As a preferred solution, after step S3, it also includes:

S4、转换完成后,长按转换生成的图标或窗口小部件,并将其拖出转换区域外,松手,则转换生成的图标或者窗口小部件安置在当前松手位置,同时桌面退出元素转换模式。S4. After the conversion is completed, press and hold the icon or widget generated by the conversion, and drag it out of the conversion area, let go, and the icon or widget generated by the conversion will be placed at the current position of letting go, and the desktop will exit the element conversion mode at the same time.

作为一种优选的方案,在元素转换模式下,As a preferred solution, in element conversion mode,

若在转换区域外对长按的图标或窗口小部件进行松手,则将该图标或窗口小部件安置在当前松手的位置,同时桌面退出元素转换模式。If the long-pressed icon or widget is released outside the conversion area, the icon or widget will be placed at the current release position, and the desktop will exit the element conversion mode at the same time.

若将图标或窗口小部件拖至转换区域上后,松手,则提示转换不成功,图标弹回原来位置,同时桌面退出元素转换模式。If you drag the icon or widget to the conversion area and let go, it will prompt that the conversion is unsuccessful, the icon will bounce back to its original position, and the desktop will exit the element conversion mode.

提供一种智能终端,该智能终端包括:An intelligent terminal is provided, and the intelligent terminal includes:

进入模块,用于在用户长按桌面上的图标或者窗口小部件时,进入元素转换模式,桌面上生成一转换区域;Enter the module, which is used to enter the element conversion mode when the user presses and holds the icon or widget on the desktop, and generates a conversion area on the desktop;

移动模块,用于供用户将长按的图标或窗口小部件拖至所述转换区域上;a mobile module, configured for the user to drag the long-pressed icon or widget to the conversion area;

触发转换模块,用于在所述图标或窗口小部件拖至转换区域上时,触发转换事件,转换区域内进行图标与窗口小部件之间的相互转换。The trigger conversion module is used for triggering a conversion event when the icon or widget is dragged onto the conversion area, and mutual conversion between icons and widgets is performed in the conversion area.

作为一种优选的方案,还包括:As a preferred solution, it also includes:

关联模块,用于在应用程序同时包含图标和窗口小部件时,将应用程序的图标与窗口小部件关联。The associating module is used for associating the icon of the application with the widget when the application contains both the icon and the widget.

作为一种优选的方案,所述进入模块具体包括:As a preferred solution, the entry module specifically includes:

第一判断进入单元,用于在用户长按桌面上任意一个图标,若存在与该图标对应关联的窗口小部件,则进入元素转换模式,桌面上生成一转换区域;The first judgment entry unit is used for long pressing any icon on the desktop by the user, if there is a widget associated with the icon, then enter the element conversion mode, and generate a conversion area on the desktop;

第二判断进入单元,用于在用户长按桌面上任意一个窗口小部件,若存在与该窗口小部件对应关联的图标,则进入元素转换模式,桌面上生成一转换区域。The second judgment entry unit is used for long pressing any widget on the desktop by the user. If there is an icon corresponding to the widget, the element conversion mode is entered, and a conversion area is generated on the desktop.

作为一种优选的方案,还包括:安置及退出模块,用于在转换完成后,用户长按转换生成的图标或窗口小部件,并将其拖出转换区域外,松手,则转换生成的图标或者窗口小部件安置在当前松手位置,同时桌面退出元素转换模式。As a preferred solution, it also includes: a placement and exit module, for after the conversion is completed, the user long presses the icon or widget generated by the conversion, and drags it out of the conversion area, and then releases the generated icon Or the widget is placed in the current release position, and the desktop exits element transition mode at the same time.

本发明相对于现有技术具有如下的有益效果:Compared with the prior art, the present invention has the following beneficial effects:

1、通过用户长按同时具有图标和窗口小部件的应用程序所对应图标或窗口小部件,那么桌面便进入元素转换模式,此时在桌面上生成一转换区域,那么用户只需将长按的图标或窗口小部件拖拽至转换区域上,即可实现图标与窗口小部件之间的相互转换,操作十分简便、灵活,具有智能化程度高,操控简便,误操作率低等优点,有效的提升了终端的人性化设计。1. When the user long presses the icon or widget corresponding to the application program that has both icon and widget, the desktop will enter the element conversion mode. At this time, a conversion area will be generated on the desktop, and the user only needs to long press the Drag the icon or widget to the conversion area to realize the mutual conversion between the icon and the widget. The operation is very simple and flexible, and it has the advantages of high intelligence, easy operation, and low misoperation rate. Enhanced the user-friendly design of the terminal.

2、通过将图标拖放至转换区域,即可实现加载相应的窗口小部件,为窗口小部件的添加提供一个捷径入口,解决了现有技术中的添加widget都只有一个入口,并需要通过独立的“添加”操作来生成桌面小部件导致操作繁琐、效率低等的问题,提升了用户的操作体验。2. By dragging and dropping the icon to the conversion area, the corresponding widget can be loaded, providing a shortcut entry for adding widgets, which solves the problem that there is only one entry for adding widgets in the prior art, and requires independent The "add" operation to generate desktop widgets leads to cumbersome operations and low efficiency, which improves the user's operating experience.

3、由于图标与窗口小部件之间可以灵活的相互转换,因此当桌面元素过多时,可以非常方便的将窗口小部件转换为图标,用以节省桌面的使用面积。3. Since icons and widgets can be flexibly converted to each other, when there are too many desktop elements, it is very convenient to convert widgets into icons to save the use area of the desktop.

4、实施本发明后,为用户带来一个全新的功能,能大大的提高了添加窗口小部件、及窗口小部件与图标之间的转换的效率,简化了操作流程,缩短了手动操作的时间,提升了用户的使用体验,能给用户带来了不少娱乐性。4. After implementing the present invention, a brand-new function is brought to the user, which can greatly improve the efficiency of adding widgets and the conversion between widgets and icons, simplify the operation process, and shorten the time for manual operation , which improves the user experience and brings a lot of entertainment to the user.

附图说明Description of drawings

图1是本发明一个实施例的窗口小部件与图标的转换方法的流程示意图;1 is a schematic flow chart of a method for converting widgets and icons according to an embodiment of the present invention;

图2是本发明窗口小部件与图标的转换方法的图解示意图之一;Fig. 2 is one of the schematic diagrams of the conversion method of widgets and icons of the present invention;

图3是本发明窗口小部件与图标的转换方法的图解示意图之二;Fig. 3 is the second schematic diagram of the conversion method between widgets and icons of the present invention;

图4是本发明窗口小部件与图标的转换方法的图解示意图之三;Fig. 4 is the third schematic diagram of the conversion method between widgets and icons of the present invention;

图5是本发明窗口小部件与图标的转换方法的图解示意图之四;Fig. 5 is the fourth schematic diagram of the conversion method between widgets and icons of the present invention;

图6是本发明窗口小部件与图标的转换方法的图解示意图之五;Fig. 6 is the fifth schematic diagram of the conversion method between widgets and icons in the present invention;

图7是本发明窗口小部件与图标的转换方法的图解示意图之六;Fig. 7 is the sixth schematic diagram of the conversion method between widgets and icons in the present invention;

图8是本发明智能终端的结构示意框图。Fig. 8 is a schematic block diagram of the structure of the intelligent terminal of the present invention.

具体实施方式detailed description

了能够更清楚地理解本发明的上述目的、特征和优点,下面结合附图和具体实施方式对本发明进行进一步的详细描述。In order to more clearly understand the above objects, features and advantages of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

在下面的描述中阐述了更多具体细节以便于充分理解本发明,但是,本发明还可以采用其他不同于在此描述的其他方式来实施,因此,本发明的保护范围并不受下面公开的具体实施例的限制。In the following description, more specific details are set forth in order to fully understand the present invention. However, the present invention can also be implemented in other ways different from those described here. Therefore, the protection scope of the present invention is not limited by the following disclosure. Limitations of specific embodiments.

实施例1:Example 1:

本发明的实施例1提供了一种窗口小部件与图标的转换方法,图1是根据本发明实施例1的流程示意图,本方法应用于如智能手机、PAD、掌上电脑等智能终端上。Embodiment 1 of the present invention provides a method for converting widgets and icons. FIG. 1 is a schematic flow chart according to Embodiment 1 of the present invention. This method is applied to smart terminals such as smart phones, PADs, and handheld computers.

参照图1,根据本发明一个实施例的窗口小部件与图标的转换方法,包括下述步骤:With reference to Fig. 1, the conversion method of widget and icon according to one embodiment of the present invention, comprises the following steps:

S0、首先,若智能终端内的应用程序同时包含图标和窗口小部件,则将应用程序的图标与窗口小部件关联;S0. First, if the application program in the smart terminal includes icons and widgets at the same time, associate the icon of the application program with the widgets;

具体的,由于如果应用程序同时包含图标和窗口小部件(Widget),那么他们之间会有一定联系,比如通过包名联系或者通过窗口小部件与应用程序之间的方法类的传递而联系等。本发明所述的将应用程序的图标与窗口小部件关联,其中的关联方式包括下述至少一项:通过包名进行关联,或通窗口小部件与应用程序之间的方法类的传递进行关联;当然,本领域技术人员也可根据具体情况选择其他关联方式进行设置。Specifically, if the application contains both icons and widgets (Widget), there will be a certain relationship between them, such as through package name or through the transfer of method classes between the widget and the application, etc. . According to the present invention, the icon of the application program is associated with the widget, wherein the association method includes at least one of the following: associating through the package name, or associating through the transfer of the method class between the widget and the application program ; Of course, those skilled in the art can also choose other association methods to set according to specific situations.

S1、长按桌面上的图标或窗口小部件,进入元素转换模式,桌面上生成一转换区域;显然的,所示转换区域可设置在桌面的顶端、底端、左端、右端或者桌面的任意空白位置,只需保证所述转换区域不覆盖桌面图标及窗口小部件等元素操作即可。S1. Long press the icon or widget on the desktop to enter the element conversion mode, and a conversion area is generated on the desktop; obviously, the conversion area shown can be set at the top, bottom, left, right or any blank space of the desktop It is only necessary to ensure that the conversion area does not cover elements such as desktop icons and widgets.

进一步而言,所述步骤S1具体包括:Further, the step S1 specifically includes:

S11、长按桌面上任意一个图标,判断若存在与该图标对应关联的窗口小部件,则进入元素转换模式,桌面上生成一转换区域;否则,不进入元素转换模式,桌面上不生成转换区域,并按照系统原本配置的长按指令进行响应。S11. Press and hold any icon on the desktop to determine if there is a widget corresponding to the icon, then enter the element conversion mode, and generate a conversion area on the desktop; otherwise, do not enter the element conversion mode, and no conversion area will be generated on the desktop , and respond according to the long press command originally configured by the system.

S12、长按桌面上任意一个窗口小部件,判断若存在与该窗口小部件对应关联的图标,则进入元素转换模式,桌面上生成一转换区域;否则,不进入元素转换模式,桌面上不生成转换区域,并按照系统原本配置的长按指令进行响应。S12. Long press any widget on the desktop to determine if there is an icon corresponding to the widget, then enter the element conversion mode, and generate a conversion area on the desktop; otherwise, do not enter the element conversion mode, and do not generate on the desktop Switch the area and respond according to the long press command originally configured by the system.

显然的,所述步骤S11和步骤S12没有先后顺序。Apparently, the steps S11 and S12 are in no sequence.

S2、继续长按图标或窗口小部件,并将其拖至所述转换区域上;S2. Continue to press and hold the icon or widget, and drag it to the conversion area;

S3、触发转换事件,转换区域内进行图标与窗口小部件之间的相互转换;S3. Trigger a conversion event, and perform mutual conversion between icons and widgets in the conversion area;

S4、转换完成后,长按转换生成的图标或窗口小部件,并将其拖出转换区域外,松手,则转换生成的图标或者窗口小部件安置在当前松手位置,同时桌面退出元素转换模式。S4. After the conversion is completed, press and hold the icon or widget generated by the conversion, and drag it out of the conversion area, let go, and the icon or widget generated by the conversion will be placed at the current position of letting go, and the desktop will exit the element conversion mode at the same time.

需要特别说明的是,本实施例所述的窗口小部件与图标的转换方法,其在步骤S1至步骤S4过程中,相应的图标或窗口小部件需要一直处于长按状态。若在进入元素转换模式后,用户在转换区域外对长按的图标或窗口小部件进行松手,那么,则将该图标或窗口小部件安置在当前松手的位置,同时桌面退出元素转换模式;或者用户将图标或窗口小部件拖至转换区域上后,松手,那么提示用户转换不成功,图标弹回原来位置,同时桌面退出元素转换模式。It should be specially noted that, in the method for converting widgets and icons described in this embodiment, during the process from step S1 to step S4, the corresponding icon or widget needs to be in a long-press state all the time. If after entering the element conversion mode, the user releases the long-pressed icon or widget outside the conversion area, then the icon or widget is placed at the current release position, and the desktop exits the element conversion mode at the same time; or After the user drags the icon or widget to the conversion area and then lets go, the user will be prompted that the conversion is unsuccessful, the icon will bounce back to its original position, and the desktop will exit the element conversion mode.

另外,在实际应用过程中,在用户将当前桌面上的图标转换生成窗口小部件时,若检测到当前桌面没有足够的空间放置,即对应的窗口小部件的所需的面积大于桌面的可用面积时,提示用户当前桌面没有足够的可用面值,窗口小部件转换失败等;或者提示用户前桌面没有足够的可用面积,可将该窗口小部件添加至其他桌面等;本领域技术人员可根据具体需要进行设置。In addition, in the actual application process, when the user converts the icons on the current desktop to generate widgets, if it is detected that the current desktop does not have enough space to place them, that is, the required area of the corresponding widget is greater than the available area of the desktop , the user is prompted that the current desktop does not have enough available face value, the widget conversion fails, etc.; or the user is prompted that the front desktop does not have enough available area, and the widget can be added to other desktops, etc.; those skilled in the art can according to specific needs to set.

参照图2至图7,以智能手机为例进行具体说明:Referring to Figure 2 to Figure 7, take a smart phone as an example for specific description:

如图3所示,用户长按窗口小部件A,此时系统判断存在与该窗口小部件A相关联的图标A,那么桌面进入元素转换模式,桌面上生成一转换区域;As shown in Figure 3, the user presses the widget A for a long time, and the system judges that there is an icon A associated with the widget A at this time, and then the desktop enters the element conversion mode, and a conversion area is generated on the desktop;

如图4所示,用户继续长按窗口小部件A并向转换区域拖拽,此时桌面通过窗口小部件A的位置坐标判断窗口小部件A的具体位置;As shown in Figure 4, the user continues to press and hold widget A and drags it to the conversion area. At this time, the desktop judges the specific position of widget A through the position coordinates of widget A;

当用户将窗口小部件A拖至转换区域时,触发转换事件,实现窗口小部件与图标之间的转换;此时在转换区域内生成图标A;When the user drags the widget A to the conversion area, a conversion event is triggered to realize the conversion between the widget and the icon; at this time, the icon A is generated in the conversion area;

如图5和图6所示,用户长按图标A,并将其从拖出转换区域;As shown in Figure 5 and Figure 6, the user long presses the icon A and drags it out of the conversion area;

如图7所示,用户在转换区域外松手,图标A安置在当前松手位置,桌面退出元素转换模式。As shown in FIG. 7 , when the user releases the hand outside the transition area, the icon A is placed at the current position of the hand release, and the desktop exits the element transition mode.

实施本发明所述的窗口小部件与图标的转换方法后,相应的智能终端会给用户带来一个全新的功能。用户可以灵活实现图标与窗口小部件之间的相互转换,能大大的提高了添加窗口小部件、及窗口小部件与图标之间的转换的效率,简化了操作流程,缩短了手动操作的时间,提升了用户的使用体验,能给用户带来了不少娱乐性和良好的操作体验。After implementing the method for converting widgets and icons described in the present invention, the corresponding smart terminal will bring a brand new function to the user. Users can flexibly realize the mutual conversion between icons and widgets, which can greatly improve the efficiency of adding widgets and the conversion between widgets and icons, simplify the operation process, and shorten the time of manual operation. It improves the user experience and can bring users a lot of entertainment and good operating experience.

实施例2:Example 2:

本发明的实施例2提供了一种应用上述窗口小部件与图标的转换方法的智能终端,图8是根据本发明实施例2的结构示意框图,本发明称之为智能终端如智能手机、电子书、个人数字助理(PDA)、掌上电脑等智能终端设备。Embodiment 2 of the present invention provides an intelligent terminal applying the method for converting widgets and icons described above. FIG. 8 is a schematic block diagram of the structure according to Embodiment 2 of the present invention. Smart terminal devices such as books, personal digital assistants (PDAs), and handheld computers.

如图8所示,根据本发明一个实施例的智能终端,包括:进入模块10、移动模块20及触发转换模块30,其中:As shown in FIG. 8, an intelligent terminal according to an embodiment of the present invention includes: an entry module 10, a movement module 20 and a trigger conversion module 30, wherein:

所述进入模块10,用于在用户长按桌面上的图标或者窗口小部件时,进入元素转换模式,桌面上生成一转换区域;The entry module 10 is used to enter the element conversion mode when the user presses the icon or widget on the desktop for a long time, and a conversion area is generated on the desktop;

所述移动模块20,用于供用户将长按的图标或窗口小部件拖至所述转换区域上;The moving module 20 is used for the user to drag the long-pressed icon or widget to the conversion area;

所述触发转换模块30,用于在所述图标或窗口小部件拖至转换区域上时,触发转换事件,转换区域内进行图标与窗口小部件之间的相互转换。The trigger conversion module 30 is configured to trigger a conversion event when the icon or widget is dragged onto the conversion area, and the mutual conversion between icons and widgets is performed in the conversion area.

作为一种优选的方案,还包括:As a preferred solution, it also includes:

关联模块40,用于在应用程序同时包含图标和窗口小部件时,将应用程序的图标与窗口小部件关联。The associating module 40 is configured to associate the icon of the application with the widget when the application contains both the icon and the widget.

作为一种优选的方案,所述进入模块10具体包括:As a preferred solution, the entry module 10 specifically includes:

第一判断进入单元11,用于在用户长按桌面上任意一个图标,若存在与该图标对应关联的窗口小部件,则进入元素转换模式,桌面上生成一转换区域;The first judgment entry unit 11 is used to long press any icon on the desktop by the user, if there is a widget associated with the icon, then enter the element conversion mode, and generate a conversion area on the desktop;

第二判断进入单元12,用于在用户长按桌面上任意一个窗口小部件,若存在与该窗口小部件对应关联的图标,则进入元素转换模式,桌面上生成一转换区域。The second judgment entry unit 12 is used for long pressing any widget on the desktop by the user. If there is an icon corresponding to the widget, the element conversion mode is entered, and a conversion area is generated on the desktop.

作为一种优选的方案,还包括:安置及退出模块50,用于在转换完成后,用户将转换生成的图标或窗口小部件长按并拖出转换区域外,松手,则转换生成的图标或者窗口小部件安置在当前松手位置,同时桌面退出元素转换模式。As a preferred solution, it also includes: placement and exit module 50, for after the conversion is completed, the user presses and drags the icon or widget generated by the conversion out of the conversion area, and releases the icon or widget generated by the conversion. The widget is placed in the current let go position, and the desktop exits element transition mode.

具体而言,安置及退出模块50还用于,在进入元素转换模式后,若用户在转换区域外对长按的图标或窗口小部件进行松手,那么,则将该图标或窗口小部件安置在当前松手的位置,同时桌面退出元素转换模式;若用户将图标或窗口小部件拖至转换区域上后,松手,那么提示转换不成功,图标弹回原来位置,同时桌面退出元素转换模式。Specifically, the placement and exit module 50 is also used for, after entering the element conversion mode, if the user releases the long-pressed icon or widget outside the conversion area, then place the icon or widget At the current position of releasing the hand, the desktop exits the element conversion mode at the same time; if the user drags the icon or widget to the conversion area and then lets go, it will prompt that the conversion is unsuccessful, the icon bounces back to the original position, and the desktop exits the element conversion mode at the same time.

值得注意的是,上述智能终端实施例中,所包括的各个模块和单元只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能模块的具体名称也只是为了便于相互区分,并不用于限制本发明的保护范围。It is worth noting that in the above smart terminal embodiments, the modules and units included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, each functional module The specific names are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present invention.

另外,本领域普通技术人员可以理解实现上述各实施例方法中的全部或部分步骤是可以通过应用来指令相关的硬件来完成,相应的应用可以存储于一计算机可读取存储介质中,所述的存储介质,如ROM/RAM、磁盘或光盘等。In addition, those of ordinary skill in the art can understand that all or part of the steps in the methods of the above embodiments can be implemented by instructing related hardware through applications, and the corresponding applications can be stored in a computer-readable storage medium. Storage media, such as ROM/RAM, magnetic disk or optical disk, etc.

上述实施例为本发明较佳的实施方式,但本发明的实施方式并不受上述实施例的限制,其他的任何未背离本发明的精神实质与原理下所作的改变、修饰、替代、组合、简化,均应为等效的置换方式,都包含在本发明的保护范围之内。The above-mentioned embodiment is a preferred embodiment of the present invention, but the embodiment of the present invention is not limited by the above-mentioned embodiment, and any other changes, modifications, substitutions, combinations, Simplifications should be equivalent replacement methods, and all are included in the protection scope of the present invention.

Claims (9)

1. a widget and the conversion method of icon, it is characterised in that the method comprises the steps:
S1, the long icon on desktop or the widget pressed, entrance element translative mode, desktop generates a transition region;
S2, continuation length are pressed icon or widget, and are dragged on described transition region;
S3, triggering change event, carry out the mutual conversion between icon and widget in transition region.
Widget the most according to claim 1 and the conversion method of icon, it is characterised in that also include before described step S1: if S0 application program comprises icon and widget simultaneously, then the icon of application program is associated with widget.
Widget the most according to claim 2 and the conversion method of icon, it is characterised in that described step S1 specifically includes:
S11, length press any one icon on desktop, if there is the widget of association corresponding with this icon, then enter element translative mode, desktop generates a transition region;
S12, length press any one widget on desktop, if there is the icon of association corresponding with this widget, then enter element translative mode, desktop generates a transition region.
4. according to the conversion method of the widget described in any one of claims 1 to 3 Yu icon, it is characterised in that the most also include:
S4, convert after, the long icon generated by conversion or widget, and hauled out outside transition region, loose one's grip, then icon or the widget of changing generation are placed in position of currently loosing one's grip, and desktop exits element translative mode simultaneously.
Widget the most according to claim 1 and the conversion method of icon, it is characterised in that under element translative mode,
If transition region outer to long by icon or widget loose one's grip, then this icon or widget are placed in the position currently loosed one's grip, desktop exits element translative mode simultaneously;
If after icon or widget being dragged on transition region, loosing one's grip, then prompting conversion is unsuccessful, and icon rebounds origin-location, and desktop exits element translative mode simultaneously.
6. an intelligent terminal, it is characterised in that this intelligent terminal includes:
Enter module, for when pressing the icon on desktop or widget with the head of a household, enter element translative mode, desktop generates a transition region;
Mobile module, for for user by long by icon or widget be dragged to described transition region;
Trigger modular converter, for when described icon or widget are dragged on transition region, trigger change event, in transition region, carry out the mutual conversion between icon and widget.
Intelligent terminal the most according to claim 6, it is characterised in that also include:
Relating module, for when application program comprises icon and widget simultaneously, associates the icon of application program with widget.
Intelligent terminal the most according to claim 7, it is characterised in that described entrance module specifically includes:
First judges to enter unit, for pressing any one icon on desktop with the head of a household, if there is the widget of association corresponding with this icon, then enters element translative mode, desktop generates a transition region;
Second judges to enter unit, for pressing any one widget on desktop with the head of a household, if there is the icon of association corresponding with this widget, then enters element translative mode, desktop generates a transition region.
9. according to the intelligent terminal described in any one of claim 6 to 7, it is characterized in that, also include: dispose and exit module, for after converting, the icon generated by conversion with the head of a household or widget, and hauled out outside transition region, loose one's grip, icon or the widget of then changing generation are placed in position of currently loosing one's grip, and desktop exits element translative mode simultaneously.
CN201310611591.1A 2013-11-26 2013-11-26 The conversion method of a kind of widget and icon and intelligent terminal Active CN103605457B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310611591.1A CN103605457B (en) 2013-11-26 2013-11-26 The conversion method of a kind of widget and icon and intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310611591.1A CN103605457B (en) 2013-11-26 2013-11-26 The conversion method of a kind of widget and icon and intelligent terminal

Publications (2)

Publication Number Publication Date
CN103605457A CN103605457A (en) 2014-02-26
CN103605457B true CN103605457B (en) 2016-09-07

Family

ID=50123689

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310611591.1A Active CN103605457B (en) 2013-11-26 2013-11-26 The conversion method of a kind of widget and icon and intelligent terminal

Country Status (1)

Country Link
CN (1) CN103605457B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107168613B (en) * 2017-05-15 2020-11-17 海能达通信股份有限公司 Interface interaction method and cluster terminal
CN108920036A (en) * 2018-05-24 2018-11-30 华为技术有限公司 view switching method and mobile terminal
CN109614191A (en) * 2018-12-07 2019-04-12 上海商米科技有限公司 The processing method and processing device of application
CN112527431B (en) 2020-01-17 2022-02-25 华为技术有限公司 A widget processing method and related device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101504601A (en) * 2004-06-25 2009-08-12 苹果公司 Widget authoring and editing environment
CN102695097A (en) * 2011-02-15 2012-09-26 Lg电子株式会社 Display device and method of controlling operation thereof
CN103139371A (en) * 2011-11-29 2013-06-05 Lg电子株式会社 Mobile terminal and control method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9563350B2 (en) * 2009-08-11 2017-02-07 Lg Electronics Inc. Mobile terminal and method for controlling the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101504601A (en) * 2004-06-25 2009-08-12 苹果公司 Widget authoring and editing environment
CN102695097A (en) * 2011-02-15 2012-09-26 Lg电子株式会社 Display device and method of controlling operation thereof
CN103139371A (en) * 2011-11-29 2013-06-05 Lg电子株式会社 Mobile terminal and control method thereof

Also Published As

Publication number Publication date
CN103605457A (en) 2014-02-26

Similar Documents

Publication Publication Date Title
US11294562B2 (en) Multi-gesture media recording system
CN108196759B (en) Icon control method and terminal
US9003283B2 (en) Copying text using parameters displayed on a clipboard
CN109976645B (en) Application interface display method and device and electronic equipment
EP3160150A1 (en) Electronic device and method for executing function using speech recognition thereof
CN107924283B (en) Human-computer interaction method, equipment and user graphical interface
CN102654814B (en) Method and device for calling functions in application as well as electronic equipment
KR20140032924A (en) Method and apparatus to facilitate interoperability of applications in a device
WO2014032611A1 (en) Desktop management method and device
CN103605457B (en) The conversion method of a kind of widget and icon and intelligent terminal
CN104298428B (en) A kind of application program image target moving method and device
JP2011505641A (en) Terminal and its function execution method
CN105100460A (en) Method and system for controlling intelligent terminal by use of sound
KR102091509B1 (en) Method for processing character input and apparatus for the same
CN102830906A (en) Method and terminal equipment for carrying out file processing based on user interface
JP2019510299A (en) Information processing method and electronic device
WO2014169607A1 (en) Icon dragging method and device
CN103440095A (en) File transmission method and terminal
CN103034396A (en) Method and device for moving icon to Android system desktop
JP2016010111A (en) Mobile communication terminal, incoming call control program, and incoming call control method
CN109669662A (en) A kind of pronunciation inputting method, device, storage medium and mobile terminal
CN111694626B (en) Application jump method, device, terminal and storage medium
CN109240573A (en) A kind of folder management method thereof, terminal device and computer readable storage medium
CN103257829A (en) Terminal control system and method for switching latest task in front-back mode under Android
CN106462352B (en) A kind of processing method, device and the terminal of fingerprint event

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: Guangdong Opel Mobile Communications Co., Ltd.